Everything about UNIX kernels: development, configuration, compilation, design, etc.

learn more… | top users | synonyms

1
vote
0answers
88 views

Change terminal resolution on Whiite (Wii Linux)

Is there a way to change the terminal resolution in Whiite (Linux for Wii)? All the answers I can find suggest editing grub configuration, but Whiite uses a custom bootloader instead of grub.
3
votes
3answers
2k views

Given vmlinuz and initrd.gz, how do I find out, where the kernel is going to load / (root) file system from?

I'm trying various ways of Linux installation (from iso, flash, iso on flash, kernel on flash, root FS in iso-file on flash...) and want to understand what's going on. My question is: is it possible, ...
3
votes
2answers
413 views

Linux: Is there a IPv6 equivalent to the IPv4 kernel option accept_local?

Since linux kernel >= 2.6.33 the kernel option "accept_local" can be modified: /proc/sys/net/ipv4/conf/${interfaceID}/ accept_local - BOOLEAN Accept packets with local source addresses. ...
0
votes
1answer
3k views

Kernel upgrade 2.6 to 3.5.3 on CentOS 5.8 -> switchroot: mount failed: No such file or directory

I upgraded kernel on my CentOS 5.8 from 2.6.18 to 3.5.3 and now it is unable to mount the root filesystem: I could not find any explanation through Google. Can you point me in the right direction? ...
1
vote
0answers
163 views

BackTrack5 R2 video driver works, but presents disturbing error message

I've installed backtrack 5 R2 on my computer and everything works fine but the video driver. The solution described here does work, but whenever I start the graphics mode, a message saying that the ...
1
vote
0answers
499 views

Install CentOS in a VirtualBox to a Compact Flash and use it on a mini PC

I got into a very specific situation and want to get to know your opinions. I have got a mini PC with Intel Atom processor which should run CentOS with an upgraded kernel to 3.x and some ...
3
votes
2answers
2k views

Adding a new System call to Linux 3.2.x with a loadable kernel module [closed]

I want to add a particular new system call in the linux kernel 3.2.x but as a loadable kernel module (as I don't want to recompile the kernel again and again) I read through many posts on internet ...
1
vote
2answers
112 views

Migrating Data from Debian to ubuntu server

I am current in the process of migrating my website(big and complex with mysql backend) from debian server to ubuntu server. The kernel of debian and ubuntu are different. I have some concerned ...
5
votes
2answers
2k views

What is resolv.conf and why VPN client's hack it?

As stated in a previous question I want to connect to 2 VPN servers at the same time and for each connection specify the IPs of computers I want to reach with it. One of this VPN connection is done ...
6
votes
2answers
5k views

How does the Linux kernel handle shared IRQs?

According to what I've read so far, "when the kernel receives an interrupt, all the registered handlers are invoked." I understand that the registered handlers for each IRQ can be viewed via ...
20
votes
5answers
7k views

What is the difference between kernel drivers and kernel modules?

When I do a lspci -k on my Kubuntu with a 3.2.0-29-generic kernel I can see something like this: 01:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1) Subsystem: ...
1
vote
2answers
1k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 ...
1
vote
1answer
182 views

Can't install driver in Arch

I'm using Arch Linux, kernel 3.5.3 on a MacBook. I'm trying to get the keyboard backlight working. I found the driver in the AUR: http://aur.archlinux.org/packages.php?ID=25467, but I'm having trouble ...
2
votes
0answers
326 views

Delayed write scenario

I was reading the design of unix OS by Maurice J bach and had a confusion. Suppose a process requests for a buffer for disk block number 18. The kernel searches for a free buffer from the free list. ...
2
votes
1answer
380 views

Trapping “READ FPDMA QUEUED”

Recently I encountered a kernel message: ata3.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 ata3.00: irq_stat 0x40000008 ata3.00: failed command: READ FPDMA QUEUED ata3.00: cmd ...
5
votes
2answers
3k views

Where to download Linux Kernel source code of a specific version?

Is there a resource to download a specific kernel version source? For example, I want to get 2.6.36.2 sources to compare with this package and see what changes were introduced?
11
votes
3answers
296 views

Where to find explanation of kernel processes?

I want to know about kernel processes, like [migration], [kswapd], etc. Where are kernel processes like these documented?
2
votes
1answer
6k views

/proc/sys/kernel/hung_task_timeout_secs error

I am building a CentOS 6.2 webserver on a Hyper-V Cluster and have hit a major issue. The current setup is this: Operating System: CentOS 6.2. Minimal Server Install Installed software includes: ...
12
votes
2answers
3k views

Why is Linux NFS server implemented in the kernel as opposed to userspace?

I was just wondering why the Linux NFS server is implemented in the kernel as opposed to a userspace application? I know a userspace NFS daemon exists, but it's not the standard method for providing ...
0
votes
1answer
212 views

Occasionally kernel panics during boot since 3.3.x with Sandy Bridge

Since kernel 3.3.x there are frequent kernel panics during the boot process. It seems to be a kernel problem since I downgraded to 3.0 and the problems are gone. The kernel panics happen almost at ...
5
votes
1answer
283 views

Virtual kernel memory layout: negative values [closed]

i'm porting drivers for omap3-board to 3.5 kernel. When I start board I see it: Memory: 256MB = 256MB total Memory: 253564k/253564k available, 8580k reserved, 3226106074K highmem Virtual kernel ...
4
votes
1answer
3k views

“Argument list too long”: How do I deal with it, without changing my command?

When I run a command like ls */*/*/*/*.jpg, I get the error -bash: /bin/ls: Argument list too long I know why this happens: it is because there is a kernel limit on the amount of space for ...
1
vote
1answer
99 views

Displaying just an image instead of text

Is it possible to compile the linux kernel so that when it is booting up, instead of the boot up text to display and image and ONLY an image (like osx)?
0
votes
0answers
26 views

Loading a custom library [duplicate]

Possible Duplicate: Entry point of linux kernel I'm compiling my own linux kernel and I was wondering how I could make the kernel load a library that I made when it first boots up.
1
vote
1answer
375 views

Parse JSON or XML on bootup

I'm compiling my own version of the linux kernel and I was wondering if there is any way to do parse a local XML or JSON file.
3
votes
1answer
273 views

Gentoo Kernel failing to boot

My machine has two hard drives -- /dev/sda and /dev/sdb. The first has Ubuntu installed. On the second, sdb, I want to install Gentoo. I did all the installation steps, chrooted and compiled the ...
6
votes
1answer
2k views

dd: writing '/dev/null': No space left on device

I am reading a 550MB file into /dev/null and I am getting dd: writing '/dev/null': No space left on device I was surprised. I thought /dev/null is a black hole where you can send as much as you ...
2
votes
2answers
476 views

stuck at “make install”

I'm building the kernel (3.5) from /media/src_prog/linux-3.5/ to /media/sda5_k/. I've gone through the following steps: make O=/media/sda5_k/ menuconfig make -j2 O=/media/sda5_k/ make ...
3
votes
1answer
455 views

How can I tell if I have a bug with my kernel or with my UEFI firmware?

I have a dz77ga-70k motherboard with version 0049 of the Intel firmware on it. Linux and elilo will not boot in uefi mode. The symptoms are that when I run bzImage.efi initrd=initrd.img ro debug ...
4
votes
1answer
168 views

How are Linux kernel compile config's determined?

I am compiling my first Kernel (3.5 rc1) from source through menuconfig. Certain configuration options are pre-set. Who / what determines if they are pre-set? Does the make menuconfig somehow ...
1
vote
0answers
145 views

memtester runs faster after couple of runs

I am using this test tool : http://pyropus.ca/software/memtester/ And I noticed that first 3 iterations take 4 hours but 30 iterations take only 12 hours. I was hoping that 30 iterations will take 40 ...
1
vote
0answers
202 views

how can one program an operating system from scratch? [closed]

My programming skills are still rudimentary but I'm curious to know how can one program an operating system from scratch . I know that one must understand how the hardware of the computer work and how ...
3
votes
3answers
284 views

Should I update my Fedora or not?

Here is my problem. My laptop has an NVidia Geforce 310 M graphic card. And since kernel 2.6 I had problems with the display. I had to use nomodeset option in the grub, if not my screen will be off ...
3
votes
1answer
2k views

Does Linux log when a process is started, and the PID that gets assigned to it? Where can I find that log?

When my Ubuntu server starts up, I see a message that says: kernel: [11.895392] init: failsafe main process (631) killed by TERM signal. I would like to know what process this is but I'm not sure ...
4
votes
1answer
204 views

Writing a driver to fool *nix systems about having a GPU

I'm into something about writing a "Mock GPU driver" for *nix based systems. What I mean is that, simply I want to write a driver (Behind X-server obviously) to answer X's API calls with some ...
2
votes
2answers
1k views

GParted LiveCD: Is there a version with a 64-bit kernel?

I'm trying to chroot with the GParted LiveCD onto an existing 64-bit system, attempting to fix grub.
6
votes
3answers
3k views

How to read the in-memory (kernel) partition table of /dev/sda?

I accidentally overwrote my /dev/sda partition table with GParted (full story on AskUbuntu). Since I haven't rebooted yet and my filesystem is still perfectly usable, I was told I might be able to ...
2
votes
2answers
539 views

SIOCSIFADDR: File exists after upgrading kernel

Since upgrading my (Gentoo) kernel from 2.6.38 to 3.3.8 (via oldconfig), I can't get the network on eth0 up anymore. It reports "SIOCSIFADDR: File exists" with a number of other SIOCSIF* errors that ...
3
votes
1answer
125 views

How to submit a Linux module upstream?

I've written a useful kernel module for a specific fan controller that I want to submit upstream. Where can I find an address to submit my module? Do I need it make GPL or can I use a less ...
6
votes
2answers
1k views

An oom killer thats baffling me

I am not able to understand why would kernel issue this oom killer when I see enough memory is available: Also why are there so many kernel cache pages allocated? I say enough memory is available ...
4
votes
4answers
177 views

Why are Linux installs bigger than I've read? Some beginner questions

I've read in different textbooks that say Linux is light-weight(e.g. It could fit on a 1.4MB floppy). So why is the download from the Ubuntu or Fedora CD sized or larger? Do the device drivers extend ...
5
votes
3answers
1k views

Does /init (or /linuxrc) script creates temporary device nodes in /dev?

Considering that GRUB executes following lines: kernel /vmlinuz root=/dev/sda1 ro initrd /initrd On boot, how does the Linux kernel finds out about /dev/sda1 device node? I know that ...
4
votes
4answers
3k views

Cannot create “Hello World” module (and NVIDIA, and VirtualBox)

First off, the details. BEFORE: kernel: 3.2.0-2-amd64, nvidia driver: 295.59 AFTER: kernel: 3.2.0-3-amd64, nvidia driver: 302.17-3 My Debian wheezy is kept recent at all times. Actually, doing ...
5
votes
2answers
1k views

How to know which firmware is loaded by kernel?

I have an Intel wireless card driven by iwlwifi, and I can see the following message in dmesg: iwlwifi 0000:03:00.0: loaded firmware version 17.168.5.3 build 42301 But how do I know which firmware ...
4
votes
1answer
484 views

Is it safe to use customized CFLAGS for linux kernel, e.g mmx sse instructions

Is it safe to use customized CFLAGS while compiling linux kernel, e.g enable SSE, MMX instructions, is that a problem ?
4
votes
2answers
1k views

Can I detect if my custom made kernel was built with module support?

I have been provided with a vendor supplied minimal linux installation. From an answer to a previous question I discovered that it is possible to build a kernel with or without module support. I have ...
1
vote
0answers
443 views

Linux thin station

I have this pc that I just installed and set it up as Linux thin station. I did all the formatting procedures and copying of image to the HD. When I boot it up, I get these, which I think are driver ...
2
votes
0answers
86 views

How to deal with closed source modules when configuring a new kernel build

I found this command very useful: make localmodconfig However, having some closed source drivers/modules ends up being a problem because this command can't find an appropriate way of including the ...
0
votes
2answers
287 views

yum is asking the kernel version which is already there

I have a server with centos 5.3 x86_64 on it. I am trying to install some asterisk modules on this server using yum. So yum asked me to upgrade my kernel to "kernel-2.6.18-308.11.1.el5" Then i have ...
2
votes
0answers
61 views

What are the differences between the current Linux kernel and the Unix SVR4 kernel in terms of device drivers+i/o and virtual files systems?

Yes I realize that Linux supports many more file systems and recognizes more devices than Unix SVR4. I'm interested in what the differences are in the abstraction on top of an actual file system, or ...