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

learn more… | top users | synonyms

1
vote
0answers
54 views

Would it be possible to not have the network link cycled on loading the kernel module?

Using some cheap hardware in a thin-client setup we use a diskless PXE booting a small Linux kernel. Currently, it takes a quite some time to boot it fully up and we're looking into some optimizations ...
2
votes
2answers
880 views

Finding out the values of kernel options related to sysctl.conf and sysctl.d

On my Ubuntu machine, in /etc/sysctl.conf file, I've got reverse path filtering options commented out by default like this: #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 but in ...
2
votes
1answer
127 views

directions about customized Layer 2 implementation in linux

I have some machines running on the same network. One node is the control node which distributes traffic coming to it to the other nodes. The thing is that I want to have a custom protocol header ...
2
votes
1answer
339 views

Chain loading kernel without a boot loader

I am working on an embedded project that will do in-place upgrades. There may come a time when an upgrade will need to reinstall everything. Since this is a pretty risky thing, I would like to have ...
1
vote
0answers
84 views

Further clarification as to whether interuppts are disabled in top-half handler or not [closed]

Recently I came across a note in an online post that states the following: In modern kernels, most of the differences between fast and slow interrupts have disappeared. There remains only one: ...
7
votes
3answers
14k views

Enabling IOMMU in the kernel for graphics card pass-through

Short question: How can I turn on the intel_iommu setting in the Linux kernel? I run a Debian host, using the grub2 bootloader. Documentation I've seen says to edit /boot/grub/menu.lst, which seems ...
2
votes
1answer
579 views

Is TRESOR included in the latest kernel?

Did TRESOR get included in the mainline Linux kernel? Where would I look to find out? Is there any documentation describing its use? Reading about cold boot attacks on Wikipedia makes me think TRESOR ...
2
votes
1answer
474 views

is linux/compiler.h a userspace header?

VirtualBox is looking for this file in /usr/include but it's missing in gentoo linux-headers Does someone know if that is userspace header and gentoo is missing it? Or if that is not it, then if ...
5
votes
2answers
3k views

How to build a custom kernel? [duplicate]

I want to test an (upstream) custom kernel on Fedora. The plan so far is: use a recent fedora config as starting point, e.g. /boot/config-3.6.6-1.fc17.x86_64 lookup build dependencies lookup right ...
0
votes
1answer
64 views

What mode of memory at the time linux kernel was loaded?

Can anyone tell me what the memory mode is at the time linux kernel is loaded (by bootloader)? As this link says, the memory mode is real mode then the linux kernel will ask user to choose video mode ...
2
votes
2answers
960 views

exec() and system() system calls

I do understand that while exec() does not return after it executes in Unix ,system() may or may not return depending on the situation.But can anyone explain why exec() system call does not return and ...
1
vote
1answer
496 views

how to download linux kernel using rsync

I tried git clone, but it's too slow, how to do it with rsync? is it faster? If I do rsync rsync://rsync.kernel.org/pub/ it just shows: drwxr-sr-x 4096 2011/11/16 04:40:02 kernel
8
votes
2answers
7k views

How to boot EFI kernel using QEMU (kvm)?

Hey guys I'm trying to emulate a EFI enviroment using QEMU (kmv), virtualbox takes 15 minutes to boot in EFI mode using archboot. Using legacy BIOS mode I can boot using this command: ...
1
vote
2answers
346 views

Can't compile kernel in gentoo

I installed gentoo by the handbook from official site. When I got into the step 7.b. Installing the Sources, the book says: Code Listing 2.2: Viewing the kernel source symlink When you take ...
4
votes
1answer
1k views

VirtualBox: mount a shared folder automatically in Gentoo

I'm currently writing a template (in veewee) to build a vagrant box running Funtoo x86_64. Currently, my box fails the last step for vagrant basebox validate, in which a shared folder has to be ...
2
votes
1answer
937 views

Unable to mount root fs after new kernel compile in VMware

So, I'm attempting to compile and use the 3.6.2 kernel on my Debian 6 VM (running under Windows 7 in VMware Workstation 9). I've already had several hick ups, but I am slowly getting through them but ...
4
votes
2answers
638 views

c++ programming on a Real-time linux OS

Is there any gotcha's programming RealTime C++ applications (user space and linux drivers) on RT linux kernel compare to a std linux kernel? The Linux RT patch applies changes to kernel scheduler, ...
2
votes
3answers
495 views

compile software with older version of gcc and linux kernel

Distributor ID: SUSE LINUX Description: openSUSE 11.4 (x86_64) Release: 11.4 Codename: Celadon gcc (SUSE Linux) 4.5.1 Linux linux-14ay 2.6.37.6-0.20-desktop #1 SMP PREEMPT 2011-12-19 ...
2
votes
2answers
736 views

Automatically include N latest kernel versions in GRUB / GRUB2 menu on kernel upgrade

What I like about Ubuntu is that the GRUB menu always allows me to pick the latest (default) or second-latest (etc.) kernel version at boot time. In Arch Linux, I can't do that by default. The only ...
2
votes
2answers
4k views

How can I install php5-curl on Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64)

I have a working server running Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64), including apache and php. Now I want to add curl support for php by running this: apt-get install php5-curl ...
1
vote
1answer
211 views

How do I know which kernel version will have a bug fix I need? [duplicate]

Possible Duplicate: Given a git patch id, how to find out which kernel release contains it? I encountered a bug in one of the newer kernel versions. There is no workaround; if I want to ...
1
vote
2answers
1k views

Running Linux kernel in Virtualbox

I just built a Linux kernel on Ubuntu and now I want to make it run on VirtualBox. I wanted it to be in an img format. I created a hard drive image by doing the commands: $ qemu-img create disk.img ...
2
votes
1answer
557 views

Learning the Unix/Linux Kernel [closed]

I've been reading The Design of the UNIX OS by Maurice J Bach. It's good overall. However, I learn better with audio/visual aids so does anyone know some good video lecture series or tutorials for ...
2
votes
1answer
1k views

How to debug Linux kernel panic?

I am trying to debug a kernel panic. Panic message says unable to handle kernel paging request for address 40025694. At the time of panic it was executing ldreq r10, [lr, #-4] @ get SWI instruction. ...
1
vote
0answers
197 views

Changing default line discipline at kernel level [closed]

How to assign line discipline to particular serial port at kernel level?
4
votes
3answers
865 views

How to tell of whether the kernel parameter [passed at command line] is a valid kernel parameter?

In the grub.conf configuration file I can specify command line parameters that the kernel will use, i.e.: kernel /boot/kernel-3-2-1-gentoo root=/dev/sda1 vga=791 plasticDuck After booting up a ...
9
votes
1answer
7k views

How to display kernel command line parameters?

In the grub.conf configuration file I can specify command line parameters that the kernel will use, i.e.: kernel /boot/kernel-3-2-1-gentoo root=/dev/sda1 vga=791 After booting a given kernel, is ...
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
869 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
455 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
2k 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. ...
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: ...
0
votes
1answer
275 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
224 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
337 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
376 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
543 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
539 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
1k 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
93 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
407 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 ...