Tagged Questions

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

learn more… | top users | synonyms

2
votes
3answers
607 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
857 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
5k 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
225 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
624 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
217 views

Changing default line discipline at kernel level [closed]

How to assign line discipline to particular serial port at kernel level?
4
votes
3answers
916 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 ...
10
votes
1answer
10k 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 ...
3
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
981 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
475 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
4k 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
6k 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
8k 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
279 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
244 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
371 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
402 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
2k 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
685 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 ...
7
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
600 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
103 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
91 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
427 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
961 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) ...
0
votes
1answer
772 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
979 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
387 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
473 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
761 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
20
votes
2answers
18k 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
611 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
1k 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
505 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
437 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
156 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
391 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 / ...