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

learn more… | top users | synonyms

3
votes
0answers
62 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 ...
3
votes
0answers
461 views

Debian driver needed for Intel ICH7M SouthBridge I/O controller

I am using a motherboard based on this architecture. http://www.intel.com/content/www/us/en/intelligent-systems/navy-pier/embedded-intel-atom-n270-with-mobile-intel-945gse-express-chipset.html I ...
3
votes
0answers
250 views

Enabling GPIO in kernel not working

I have tried to enable the GPIO pins for my system through the Kernel but I am not able to get them to work. When I try this: echo 1 > /sys/class/gpio/export The terminal window just closes. ...
3
votes
0answers
219 views

How to enable VESA framebuffer as default in NetBSD 6.1

When booting NetBSD, the old Tecra 720CDT that I have, works quite nicely in 1024x768x15 mode with vesa fb. I always have to activate VESA when booting the system: > vesa on > vesa 0x116 > ...
3
votes
0answers
146 views

Can I get WCHAN from ps on Mac OS X 10.7.4?

From the manual it seems that ps -AO wchan should tell me what everything is sleeping on, but everything comes up as -. (And nwchan as 0). Did they do away with the old sleep()/tsleep() interface in ...
2
votes
0answers
43 views

Explanation of the building process of the kernel on Ubuntu/Debian systems

I'm getting into Linux kernel programming and I have successfully built my own kernel several times now. However, I have done it using step by step guides found from the internet and I don't really ...
2
votes
0answers
34 views

Why does each process folder under /proc contain the same information?

Under /proc/<PID>/net pseudo-file system each process seems to have files with the same content. For example I use cat /proc/<PID>/net/ip_tables_names to list iptables tables under the ...
2
votes
0answers
33 views

Why is there no rootfs file system present on my system?

The linux kernel documentation claims: Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs … On all linux ...
2
votes
0answers
104 views

kernel build: why does 'make install' complain about missing modules?

I'm building a 3.2.x kernel on a RedHat Enterpise system. During 'make install' it takes a very long time and is complaining : ERROR: modinfo: could not find module xxx I assume its probing ...
2
votes
0answers
274 views

graph TCP connection performance based on `ss -i`

A nearby question has brought to my attention the ss utility on Linux, another utility to investigate sockets. It would appear that it may be a great tool to monitor the performance of, say, an ssh ...
2
votes
0answers
163 views

How can I compile minix when I make changes in libraries

I am looking for a way to compile minix. The make hdboot command seems to do nothing with the directories under /usr/src/lib. I changed only one .c file in syslib. Do I have to do make world for this ...
2
votes
0answers
669 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
2
votes
0answers
240 views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev ...
2
votes
0answers
698 views

Unable to install the selected kernel

I have problem with my DVD drive. It's corrupted and when I'm trying to install Ubuntu it stucks (even with the miniISO) I was able to successfully start the OS from system rescue CD. I'd like to ...
2
votes
0answers
117 views

Is there a way to undo VGA adapter modesetting in Linux

I'm looking for a way to reset the graphics adapter to textmode after it has been set to some sort of graphical mode by the kernel on bootup, and possibly used by an X server. Is there any code to do ...
2
votes
0answers
55 views

kgdb not returning control to gdb

I've compiled a kernel with kgdb support and I'm trying to debug it. I have two machines running, a debug machine (running the kgdb kernel) and the machine I'm using to debug it. They are connected ...
2
votes
0answers
292 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
2
votes
0answers
598 views

Kernel does not detect Hardware / Software or Hardware fault

I've got more of a basic question for you: My linux kernel (I tried several here from stock 2.6, 3.2 and 3.5 as well as a custom 3.7.3 one) does not detect my synaptics touchpad - or I'am too dumb ...
2
votes
0answers
330 views

Booting over the LAN using uboot

I am trying to boot my beaglebone over the LAN. I am able to download the Kernel uImage from the TFTP server. Here is what I did - U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55) Texas ...
2
votes
0answers
366 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
0answers
89 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 ...
2
votes
0answers
62 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 ...
2
votes
0answers
107 views

How to find where driver.mod.c links to?

I'm trying to port the webcam composite gadget from kernel 2.6.37 to 2.6.32. I don't have a choice on this since I depend on other drivers and a SDK which only compile for this version. My train of ...
2
votes
0answers
430 views

Can I apply real time Linux kernel patch on Android kernel?

I would like to apply real time patch on the Android kernel (given I've found Kernel patch for corresponding Kernel version). Is it possible or should I create a patch specifically for the purpose of ...
2
votes
0answers
659 views

Qemu doesn't boot kernel after “Uncompressing Linux… done, booting the kernel. ”

I've compiled qemu for s5pc110 (it's from http://gitorious.org/samsung-linux-platform/qemu, somebody had added support for s5pc110), version 0.12. But when I load the kernel: qemu-system-arm -M ...
2
votes
0answers
229 views

Perform test of aes-ni and aes module in linux kernel

Since both aes-ni and aes module are available in linux kernel , how can I give it a performance test , to decide which one's faster ?
2
votes
0answers
470 views

To what does the byte sequence in this kerneloops (syslogd@hostname) message refer?

Message from syslogd@ROOROO at Mar 22 19:36:12 ... kernel:[13988.165672] Oops: 0000 [#1] SMP Message from syslogd@ROOROO at Mar 22 19:36:12 ... kernel:[13988.169607] Stack: Message from ...
2
votes
0answers
171 views

What are the current differences between tuxonice and µswsusp?

I tried to find out what is the current comparation between TOI and µswsusp. Unfortunately I could not find any recent information about the state of hibernation in Linux and how TOI compares to ...
2
votes
0answers
229 views

Uname gives unfamiliar timestamp for kernel

I'm recompiling a new kernel (adding some debugging info) on Ubuntu by doing the following: make vmlinux; make install; after this I do a reboot and select my new custom kernel from the list. ...
2
votes
0answers
633 views

Linux kernel slab usage growing on embedded system

I'm in the process of QA/debugging a project on a custom embedded linux system. The problem we're VERY tight on memory, and even a couple megs can cause issues with our software. What I'm seeing ...
1
vote
0answers
13 views

How/where are linux device capabilities / bitfields set?

I have a device that has this output in /proc/bus/input/devices: I: Bus=0003 Vendor=05b8 Product=3280 Version=0111 N: Name="PixArt USB Optical Mouse" P: Phys=usb-0000:00:1a.0-1.1/input0 S: ...
1
vote
0answers
21 views

Linux Oracle - Random crash CPU Stuck

I have several Linux oracle VMs running under hyper-V. Kernel version is 2.6.32-358.el6.x86_64. Sometimes, the VM stuck, we still can ping it, but we cannot ssh, or through the hyper-v console this ...
1
vote
0answers
24 views

How build wireless-compat-old in-kernel?

I'm running linux 2.6.24 with custom patches from Freescale, on an embedded board. I want to use a usb wlan modem that uses the Realtek rtl8191su chipset. Realtek provides a driver out of tree, ...
1
vote
0answers
20 views

extract Embedded initramfs

I have a kernel in which one initramfs is embedded. I want to extract it. I got the output x86 boot sector when I do file bzImage I have System.map file for this kernel image. Is there any way to ...
1
vote
0answers
58 views

Linux 0.0.1 Kernel - Starting Kernel Programming

To start kernel programming, instead of reading the books, the online references suggested to download the linux 0.0.1 source and find bugs. I have downloaded it and I am going through the code with ...
1
vote
0answers
77 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
24 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 ...
1
vote
0answers
28 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: ...
1
vote
0answers
48 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
0answers
26 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
0answers
74 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
0answers
95 views

What does this “general protection fault” in my console mean, and how do I interpret it?

I had a couple of consoles open for other work and when I came back to them they both contained the following: Message from syslogd@Stacey-Windows at Jun 19 09:43:28 ... kernel:[ 4375.127165] ...
1
vote
0answers
57 views

Do kernel threads seem to interfere with full tickless mode?

I'm trying to disable local timer interrupts for low latency. I have full tickless mode enabled in the kernel config and I have the boot parameter nohz_full set for the cores in question. However ...
1
vote
0answers
64 views

Adding IPVS to the kernel

I am trying to setup keepalived on a pair of VPS load balancer servers. I have hit the road block of IPVS not being included with the kernal. IPVS: Can't initialize ipvs: Protocol not available I ...
1
vote
0answers
37 views

Get log from kernel while loading

There is a arm/omap2-based device without ethernet, UART ports. It has usb connection with host, numeric keyaboard, LCD display. There is working U-Boot and kernel images for this. I'm trying to ...
1
vote
0answers
176 views

Some questions compiling linux kernel with make-kpkg

I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions. For this task, I has set up a Virtual Machine guesting debian ...
1
vote
0answers
93 views

Debugging a “brutal” system hang (no longer responds to Alt+SysRq+B)

I've had a series of system hangs where I hoped to get a crash dump to at least get some clues but the normal "magic sysrq" functionality is broken too; not even the immediate reboot key works. The ...
1
vote
0answers
2k views

Kernel panic not syncing : Attempted to kill init

OEL 5.9 (Tikanga) 2.6.18-371.6.1.0.1.el5 On boot I get the following errors: ... exec of init (/sbin/init) failed!!!: No such file of directory Kernel panic - not syncing - Attempted to ...
1
vote
0answers
25 views

How to correctly set kernel command parameter for sdboot

Thease are the kernel command line parameter Kernel command line (user set) root=/dev/mmcblk0p2 rw rootwait console=ttyPS0,115200 I am trying to run linux from sd card, and the file ...
1
vote
0answers
114 views

Looking for a list of modules that are used during boot sequence

I'd like to use deferred init calls. This function allows to load modules in userland, that should actually be loaded during the boot sequence. Just for testing I'd like to modularize as many entries ...