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

learn more… | top users | synonyms

0
votes
0answers
8 views

LVM2 Mirror Support Missing from Kernel after System Migration

I had a system that was running on a small netbook that had LVM2 set up to group two external USB hard drives into a volume group, and to use that volume group to create a mirrored logical volume. ...
1
vote
1answer
30 views

How do I compile the linux kernel version 3.16.1 to run in Slackware 14.1?

Could someone teach me or give me some tutorial? How do I compile the linux kernel version 3.16.1 to run in Slackware 14.1.
6
votes
1answer
4 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
0
votes
0answers
16 views

Generate what a GRUB2 kernel line would look like

In GRUB 0.97 we were able to see what the kernel line/options would look like by just viewing /boot/grub/grub.conf. Now the only way I know how to check the next boot kernel options/kernel version ...
1
vote
0answers
22 views

drm Kernel v>3.11 Issues

Just a regular Fedora 20 user here (coming from no answers on ask.fedoraproject.org). I'm having some issues with the most recent kernel versions. The last working (no black line) kernel I have ...
1
vote
0answers
11 views

Kexec immediately after Kickstart install (where is cmdline?)

I used to be able to kexec into a new kernel immediately after a kickstart (anaconda) install via pxe. I was able to do this by figuring out the current kernel version, and grabbing cmdline options ...
0
votes
0answers
15 views

Warning for kernel “make config” command without sudo

while trying to configure kernel before compile, when I give this command without sudo privileges: make config I get these: /boot/config-3.2.0-4-amd64:488:warning: symbol value 'm' invalid for ...
2
votes
1answer
19 views

Installing a new OpenBSD kernel “safely”: why does `make install` go through these extra hoops?

After building a new OpenBSD kernel, the install target of the kernel Makefile does the following: rm -f /obsd ln /bsd /obsd cp bsd /nbsd mv /nbsd /bsd I understand that the first two lines remove ...
1
vote
0answers
22 views

“disagrees about version” message

I get a message "disagrees about version" on boot time, after compiling kernel and modules with KGDB. Why should this happen ? Is there any problem with KGDB ? This is the relevant log at boot: ...
0
votes
0answers
47 views

Resume from Suspend/Hibernate issues

I have a peculiar problem while trying to resume from both suspend and hibernate. I believe the problem to be within the kernel itself since I have tried different distros (Ubuntu, Suse, Mageia) on ...
0
votes
0answers
15 views

How to boot on a ramdisk?

I'm working on a linux embedded for a custom board with a ARM9 processor. My kernel version is : 2.6.33 I'm trying to boot on a ramdisk, kernel correctly mount the file system but failed to execute ...
1
vote
0answers
34 views

What does __ prefix before some kernel api's convey?

Why do some function calls in kernel specially have this prefix __ example: __init initialization(void) is __init a macro? What does this convey? Are these a special class of function calls inside ...
1
vote
2answers
103 views

How to install/make the kernel section 9 manpages which document its functions and data structures?

The kernel sources contain functions and data structures which are documented, for instance in panic.c: /** * panic - halt the system * @fmt: The text string to print * * Display a message, ...
7
votes
1answer
416 views

How pipes work in Linux

I've been reading up about how pipes are implemented in the Linux kernel and wanted to validate my understanding. If I'm incorrect, the answer with the correct explanation will be selected. Linux ...
1
vote
1answer
30 views

/proc/config.gz is of 0 bytes

I have an Android TV stck I compiled Linux for IT from https://github.com/Galland/rk3x_kernel_3.0.36 But when I booted that Image I found /proc/config.gz is of 0 bytes can some please explain how ...
3
votes
1answer
24 views

eCryptfs key in kernel image or initramfs

I have an embedded Linux system with unencrypted kernel image and initramfs in NAND flash. My RootFS is in SD card. I want to encrypted some files on SD Card as my SD card is easily accessible ...
0
votes
0answers
9 views

Module load map

How can I obtain a module load map? I've tried with the -m flag in insmod but it seems that since 2.6 there is no support for it. Thanks
1
vote
0answers
50 views

kernel log in /var/log/messages: task xxx blocked blocked for more than 120 seconds . System frozen

Monit sent out emails in the morning that my java app on the server was not responding to HTTP calls made on the 127.0.0.1 interface. App log shows nothing out of the ordinary, nginx log shows no ...
0
votes
1answer
28 views

install kernel headers without overwriting old headers

I've built a newer (3.16-rc2) kernel which is running fine. My userspace program needs to link against the newer headers as it uses some new definitions in fcntrl.h etc. My question is how do I ...
0
votes
2answers
42 views

Error Installinig Kernel on Centos (from Source)

I am running GNU/Linux (Centos 6) on kernel 2.6.32-431.17.1.el6.x86_64. I am trying to update the kernel to 3.2.61. I performed the following steps inside the 3.2.61 folder structure: make ...
1
vote
1answer
42 views

Is it possible to use XNU on GNU/Linux?

I was wondering whether it is possible to use the XNU kernel on a GNU/Linux system? But it would be, in effect, GNU/XNU. But is that possible? Does the kernel have sufficient drivers to boot on a ...
2
votes
0answers
19 views

Linux kernel module to read out GPS device via USB [migrated]

I'm writing a Linux kernel module to read out a GPS device (a u-blox NEO-7) via USB by using the book Linux Device Drivers. I already can probe and read out data from the device successfully. But, ...
0
votes
0answers
7 views

Communication between two kernel drivers [migrated]

I have custom embedded hardware i'm working on which runs linux. I've implemented a spi kernel driver to handle spi access to a eeprom which is exposed to userspace. Now i have another kernel driver ...
0
votes
1answer
77 views

CentOS ELRepo Kernel installing VMware

Already installed VMware Workstation 9 on my Linux CentOS 6.5 Final with 3.10.40-1.el6.elrepo.x86_64 running kernel. When I open VMware Workstation, it asks me to locate the Kernel Headers ...
2
votes
1answer
25 views

How do you patch a kernel? [duplicate]

I got diff text from lkml how do I patch it into a kernel source? I am very new to compiling kernels, and I couldn't find decent sources online I am using debian if it is relevant
3
votes
0answers
28 views

Kernel bisect: when a patch is failing for a reason other than original bisect purpose, what do you do?

Let's say you're trying to find the cause of a bug between 3.11.0 and 3.12.0. The bug is really difficult to catch, because it may or may not manifest itself over several days of regular workload ...
0
votes
0answers
87 views

nfsd fails to start: modprobe: FATAL: Could not load /lib/modules/2.6.18-238.1.1.el5/modules.dep: No such file or directory

Before asking, here are some system specs: [root@SERVER ~]# cat /etc/*release **##############CARS build log for cars20-rhel-x86_64############## Date: Mon Feb 28 20:06:05 PST 2011 Builder: ...
1
vote
0answers
25 views

CPUFreq Kernel module

I would like to try the CPUFreq module on my board (Marvell Soc based on ARMv7 running a v3.15 linux kernel). My architecture is obviously not supported by the default source code (located in the ...
1
vote
1answer
18 views

Which kernel module name is currently correct “usb-storage” or “usb_storage”?

I have found a number of examples how to prevent a kernel module from being loaded. One of them is about USB storage module. The next code has been provided: echo "blacklist usb-storage" | sudo tee ...
4
votes
2answers
81 views

Why would the kernel drop packets?

I interrupted tcpdump with Ctrl+C and got this total summary: 579204 packets captured 579346 packets received by filter 142 packets dropped by kernel What are the "packets dropped by kernel"? Why ...
1
vote
1answer
30 views

Built new kernel, LVM won't mount from initrd

I need to upgrade my kernel on a RHEL 5 system to build with some experimental drivers. I have configured the kernel with module loading for LVM (dm_* modules). Once the initrd runs the /init ...
3
votes
0answers
39 views

Output shutdown messages to multiple consoles

I have configured my system to direct console output on boot to serial and vga using kernel parameters. Serial is the last argument in the kernel parameters and will be the default used for ...
0
votes
0answers
37 views

psmouse sync issues!

I have Compaq CQ61-420US (64-bit AMD) laptop with Synaptics touchpad checked using $ egrep -i 'synap' /proc/bus/input/devices N: Name="SynPS/2 Synaptics TouchPad" But recently after Arch Linux ...
3
votes
1answer
49 views

Is there a man section or other doc repository for data structure definitions?

For the millionth time or so I had to look in /usr/include/foo.h to find the members of a struct foo or foo_t or whatever. There's a man section for library and kernel calls, some of which include ...
0
votes
0answers
22 views

SLES 10 SP4 - how to get specific kernel source?

I want to look at the kernel source for some specific kernel versions on SLES 10 SP4. I don't want to see just the Linux kernel source, but the one SLES is actually running. Suppose I wanted to get ...
5
votes
0answers
51 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
0
votes
1answer
51 views

ncurses-devel problems in SuSE Linux Enterprise Desktop 11

Searching on the WEB, I found this tutorial (the only one that has convinced me) for installing a new kernel and I followed the steps provided. But, I got these problems: In the first step I tried ...
0
votes
0answers
22 views

Calling speaker-test from usermode-helper API

I needed to call come audio-producing applications from kernel in a toy module. In order to test that, I thought of calling speaker-test from a simpler module, but no sound would ever come from it. I ...
2
votes
3answers
51 views

Un-mount active partition

Is it possible to umount the partition, whose files/directories are in use? The underlying files and directories are in memory so un-mounting the partition is technically safe (I guess). But umount ...
1
vote
0answers
46 views

cross compile embedded arm

I have the android 4.2.2 code in directory /home/sghPhone2 which compiles normal with make menuconfig but I need to compile a 4.4 kernel and possibly patch it but when I download the source from ...
1
vote
3answers
52 views

Could it cause any problem if I not reboot after a kernel upgrade?

I know there are solution for not rebooting after kernel update: https://en.wikipedia.org/wiki/Ksplice But If Ksplice isn't installed, and the user doesn't reboots it's notebook after even several ...
3
votes
1answer
275 views

YUM won't update KERNEL

... ... ... --> Running transaction check ---> Package db4-devel.x86_64 0:4.7.25-18.el6_4 will be installed --> Processing Dependency: db4-cxx = 4.7.25-18.el6_4 for package: ...
4
votes
1answer
382 views

get kernel source code

I need a specific kernel version to compile it with some additional modules. When I typing: uname -r I get 3.8.0-29-generic I need this one. uname -a Linux "..." 3.8.0-29-generic ...
1
vote
1answer
56 views

How not to write kernel warnings into /var/log/messages?

I keep getting these log warnings due to a bug in kvm. Jun 30 19:12:31 server kernel: kvm: 28882: cpu0 ignored rdmsr: 0x345 Jun 30 21:12:31 server kernel: kvm: 31191: cpu0 ignored rdmsr: 0x345 Jun ...
1
vote
1answer
30 views

How to modify huge patch file properly?

I have this patch. I want to disable patching of Makefile and drivers/video/logo/logo_linux. What is best way of doing this? Do I edit it, and delete that specific entries? If so, is there a tool ...
1
vote
1answer
339 views

Upgrading kernel 2.6.18 to 2.6.32 on CentOS 5.10

I've been looking on Google for 4 hours and I can't find a solution to my problem. I have a computer running CentOS 5.10 using Kernel 2.6.18-371.9.1.el5 and I would like to upgrade my kernel to ...
0
votes
1answer
32 views

The meaning of Linux Kernel bug output

I have a quick, (maybe naive),question about Linux kernel's output. When I issue a command, the system (Ubuntu 12.04) freezes, the serial port output of this system is as follows: [ 373.805067] BUG: ...
1
vote
1answer
145 views

Debian + Linux kernel 3.12.22: “Kernel module loader” option is not available

The Debian guide for compiling a kernel says: Do not forget to select “Kernel module loader” in “Loadable module support” (it is not selected by default). If not included, your Debian installation ...
0
votes
1answer
44 views

Common code for kernel and userspace [closed]

I'm working on a linux project. I want to have some code (to be specific, a struct) and a header file (my own implementation) common to both the kernel and the userspace. Can someone tell me how to ...
0
votes
1answer
45 views

Debian: GPG cannot fetch Linux Kernel key

I am in the process of recompiling the kernel on Debian. Following the instructions on kernel.org, the first step is to verify the signature. But GPG complains that it cannot find the public key: # ...