The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

2
votes
1answer
1k views

Running bzImage in QEMU

I compiled the kernel by doing make menuconfig and make. I was trying to run the bzImage in qemu, by doing qemu -kernel bzImage but it didn't work out: How can I fix it? How can I run the bzImage ...
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 ...
6
votes
1answer
2k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?
2
votes
1answer
1k views

Is VMWARE_BALLOON (Linux kernel option) intended for guests or hosts?

The kernel configuration option: VMware Balloon Driver (VMWARE_BALLOON) [N/m/y/?] (NEW) ? CONFIG_VMWARE_BALLOON: This is VMware physical memory management driver which acts like a "balloon" ...
1
vote
1answer
889 views

SDcard support in Linux for ENE Flash UB6250 card reader (found on Acer Aspire One 522)

I have an Acer Aspire One 522 netbook for which I want to get the SDcard reader working, but I'm having trouble getting it to recognize the SDcard after it is inserted. I use Slackware and always ...
20
votes
1answer
458 views

How to get started writing drivers?

I have a throw-away cheap laptop I'd like to twiddle around, a Thinkpad SL 500. What bothers me are two leds, the one for wireless connectivity, and the one for hibernation, which don't light up at ...
4
votes
3answers
3k views

What exactly are Linux kernel headers? [duplicate]

Possible Duplicate: What does a kernel source tree contain? Is this related to Linux kernel headers? I know that if I want to compile my own Linux kernel I need the Linux kernel headers, ...
1
vote
3answers
5k views

The command to upgrade to a new kernel from Ubuntu repositories

In the distro I'm most familiar with -- ALTLinux, a command like apt-get install kernel-image-std-def#3.0.... would install another kernel, and update the initramfs and the bootloader config ...
11
votes
2answers
2k views

How many actual developers work on the Linux Kernel

For a study I am doing I was asked how many actual developers commit on a typical kernel version. I know there is Linus Torvalds as the main developer, followed by many second main developers. ...
3
votes
1answer
7k 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: ...
0
votes
1answer
278 views

Does Linux Kernel 3.5 have the improvement from 3.3? [closed]

Some weeks ago I updated to Linux kernel version 3.3 because Radeon Audio HDMI wasn't working on my laptop. The issue was fixed with the upgrade to version 3.3 (Though Suspend still doesn't work) I ...
1
vote
2answers
227 views

loading python when the linux kernel boots

I was reading This and I was wondering if I could write an API in python or have python load in an init script. If this were to be possible would I need to edit the kernel's makefile?
2
votes
0answers
344 views

Error cross compiling linux kernel using buildroot

I am trying to build a kernel bt in cross compiling the kernel when I ran following command make CROSS_COMPILE=i686-linux- ARCH=x86 I got the following error: UCLIB_EXTRA_CFLAGS="" \ ...
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
379 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.
13
votes
3answers
1k views

Given a git patch id, how to find out which kernel release contains it?

Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know ...
2
votes
2answers
581 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 ...
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 ...
0
votes
1answer
563 views

How to compile kernel for KVM guest (without paravirtualization)?

So I have a KVM machine, where I run an Ubuntu 12.04 (server edition). I want to compile a minimalistic kernel for the KVM guest, but I only found the howto for hosts, and guests with ...
4
votes
1answer
2k views

What does Linux's “nointremap” option do?

Ubuntu 12.10 alpha 2 works perfectly on my new 11" 2012 Macbook Air, but only when I boot with the "nointremap" option. Supposedly this is not good to use as a permanent solution. What exactly does ...
1
vote
0answers
97 views

“nopage” method for ISA vs PCI [closed]

This is with reference to LDD3 ch. 15, section "Mapping memory with nopage". I am having trouble understanding the third paragraph on page 429. It says: Note that this implementation works for ISA ...
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 ...
5
votes
5answers
412 views

Which tasks to learn and which books to read to become more skilled at Unix/Linux internals? [closed]

I recently interviewed at a major company and did well on programming questions such as: "What is the time complexity of quicksort? What is the opposite in C of malloc? What is the opposite in ...
4
votes
2answers
892 views

can't initialise/detect 16550A UART at unusual io port address

I've got a board based on the Vortex86DX CPU which is an x86 based microcontroller. It has five 16550A UARTS, four (COM1-COM4) of which are at the usual io port addresses (0x3f8, 0x2f8, 0x3e8, 0x2e8) ...
-1
votes
1answer
713 views

Hurd vs Plan9 vs Linux vs eCos vs FreeRTOS what are the main differences specially with Hurd?

Hurd is actually not Unix nor Linux. But more superior says. Where Plan9 and Linux are in the range of Unix/Linux. eCos and FreeRTOS is also completely not unix/linux. What is the main differences ...
1
vote
1answer
874 views

IO Error in rsync while doing everyday backup

I have a sample NAS server (QNAP TS-210), with very limited Linux on-board (although a bit reinforced with Optware/IPKG). I'm a Linux newbie. After digging through Internet I was able to write my own ...
5
votes
1answer
367 views

Does the kernel delete entries in /dev on an initramfs?

I have a fully custom, minimal, embedded Linux (vanilla, 3.3.8, i486, Vortex86dx) system that boots from an initramfs image. No standard distribution scripts are used, just a single rcS file that does ...
0
votes
3answers
395 views

“Modules not found” error during kernel install

I have a question regarding a kernel installation. I downloaded a new version of net-next kernel source and I performed the following steps: make allyesconfig make -j16 make modules_install make ...
-2
votes
2answers
671 views

Entry point of linux kernel [closed]

In the linux kernel is there a file that I can start to add my code, ex. load libraries? thanks
18
votes
3answers
14k views

Linux: How to find the device driver used for a device?

If my target has one device connected and many drivers for that device loaded, how can I understand what device is using which driver?
5
votes
1answer
3k views

How do I convert a kernel .config file from 32-bit to 64-bit?

At this page you can download a configuration file that lets you target a particular notebook architecture during the compilation of a new 32-bit Linux kernel. I need a 64 bit version. What do I ...
5
votes
2answers
2k views

how is the file /proc/net/dev filled?

So, I'm writing a kernel module that needs stats about local network interfaces and I came up with the following code ... everything works fine except for the part where I try to read wireless device ...
3
votes
0answers
565 views

How extended (4MB) and regular (4KB) paging coexist?

On x86 architecture, "Extended paging" allows page frames (physical memory) to be 4 MB instead of 4 KB. The book "Understanding the Linux Kernel, 3rd" at chapter 2 "Memory Addressing", sub-chapter ...
3
votes
2answers
903 views

Where can I find the Linux driver for headphones in the kernel tree?

I have headphones with three buttons on them which allow me to control my music player with my phone. I want to write a driver for my headphones to make it control my music player on my pc (Ubuntu ...
2
votes
3answers
483 views

Why does Linux on sparc64 architecture use 32-bit pointers in user-space and 64-bit pointers in kernel-space?

What are the advantages of deviating from the norm; that is 64-bit pointers in both user and kernel space for a 64-bit architecture? Reference: http://lwn.net/images/pdf/LDD3/ch11.pdf (Page 2)
1
vote
0answers
390 views

Booting linux from SD Card on a Leopard board (Ti DM365)

I have a Leopard board with Ti DM365 processor. Problem is that I tried to flash the bootloader (uboot) to nand and landed up corrupting the NAND. Now I can't use the NAND to bring up the board. So I ...
-5
votes
1answer
155 views

Linux kernel compiling commands [closed]

I'm trying to make a mini operating system (using the linux kernel). I'm planning on it being for x86 and I'm trying to make it so that it not only runs on qemu but also on a real device. What are the ...
0
votes
1answer
1k views

Can the Linux kernel be compiled on Mac OS X 10.6.8?

I have a Macbook Pro and I want to build the Linux Kernel. Can I build 3.3.6 on my Mac? How?
2
votes
1answer
362 views

Binding lsmod module name with kernel configuration menu entry

Lets suppose I have a module named "mptsas". How can I find out, what kernel configuration menu entry (make menuconfig inside /usr/src/linux) corresponds to that module? By 'corresponds' I mean what ...
3
votes
1answer
3k views

Search through kernel make menuconfig configuration menu entries

When I run make menuconfig inside /usr/src/linux directory, the kernel configuration wizard appears. How can I search through the menu entries inside the make menuconfig wizard? I've tested /, but / ...
3
votes
1answer
119 views

LILO vga option

In LILO config file (/etc/lilo.conf) what's the difference between specifying vga option in Global section and when specifying it in per-image section.
6
votes
4answers
1k views

Difference between bootable and non-bootable partitions

What is the difference between a bootable and non-bootable partition? I know that a user cannot boot a system from a partition marked non-bootable and can from one marked bootable. I want to know ...
23
votes
1answer
2k views

High CPU usage with CFS?

I asked a previous question to try and isolate the source of an increase in CPU usage when moving an application from RHEL 5 to RHEL 6. The analysis that I did for that seems to indicate that it is ...
2
votes
1answer
650 views

Learning how to build my own linux kernel

Reference - http://www.linode.com/wiki/index.php/PV-GRUB#Building_Your_Own_Kernel In order to work with Xen, a number of options that must be selected: CONFIG_PARAVIRT_GUEST=y CONFIG_XEN=y ...
4
votes
3answers
559 views

Does the linux kernel (specifically 2.6 onwards) have any recursive function?

Given the limited fixed size of kernel stack, my guess is that although theoretically we might have a recursive function if its recursion doesn't go too deep, pragmatism would suggest to do away with ...
8
votes
1answer
3k views

Isolating cause of higher CPU usage on RHEL 6 vs RHEL 5

I'm currently looking to move our system from RHEL 5 to RHEL 6, but I've run into a snag with unexpectedly high CPU usage on the RHEL 6 machines. It appears that this may be due at least in some part ...
2
votes
0answers
217 views

When would I use FBDEV vs DRM vs DSS?

I'm new to Linux graphics, and I'm interested in developing a graphics driver. I see that Linux supports three methods for writing graphics to the display device FBDEV DRM DSS2 When would I use ...
1
vote
2answers
230 views

Why does boot fail with my custom kernel at the mknod step?

I want to build a custom kernel under Ubuntu. I configured and built the new kernel. The new kernel hasn't initrd and comes from vanilla source. I build this new monolithic kernel only with drivers it ...
1
vote
2answers
463 views

NAND flash memory wear & virtual memory page swap

For a linux kernel with virtual memory and disk storage, pages are swapped back and forth into swap area. But embedded systems generally use NAND flash instead of disk. A NAND flash has a limited ...
1
vote
0answers
528 views

How do I create more /dev/tty entries and /dev/ptmx on boot up?

After building kernel 3.2.13 and installing via RPM on my system, I have this problem: There is no /dev/ptmx which the rest of my system is expecting. There is actually a /dev/tty/ptmx device ...