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

learn more… | top users | synonyms

4
votes
0answers
173 views

How to specify an ISO as the location of root filesystem for GRUB?

I'm trying to understand the Debian "booting from Hard Disk" installation manual. The process is as follows: I copy a kernel image, a ramdisk initrd and an ISO with installer to the hard drive and ...
3
votes
0answers
230 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
154 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
132 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
189 views

My SMDK2416 (for s3c2416) kernel works on 64MRAM but crashed on 128M

I'm currently working on embedded arm linux with smdk2416(s3c2416) The kernel is working on the 64MRAM. Recently, I need to increase the RAM from 64M to 128MB with 64MB on bank0 and 64MB on bank1. ...
3
votes
0answers
131 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 ...
3
votes
0answers
473 views

Memory mapping of the Linux kernel : 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 ...
2
votes
0answers
39 views

Why isn't the -rt (RT-Preempt) kernel patch included by default in the mainline kernel?

According to https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO , the RT-Preempt patch converts Linux into a fully preemptible kernel. The magic is done by: Making in-kernel locking-primitives ...
2
votes
0answers
78 views

Wireless constantly reconnecting on Ideapad running Arch

I just bought a new laptop, a Lenovo IdeaPad U330 touch, and after some struggle (with the Secure Boot stupidity) I have managed to install Arch Linux. I have configured my system, installed all the ...
2
votes
0answers
90 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
54 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
478 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
207 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
422 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
104 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
50 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
209 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
408 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
253 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
265 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
85 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
60 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
99 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
361 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
534 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
193 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
165 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
207 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
537 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
34 views

Kernel optimiziations for ioctl AF_INET operations

Our server solution handles many tunnel operation requests (add/update/delete) using the ioctl interface, and the AF_INET address family socket. Aprox. numbers are 100 operations/minute with over 8k ...
1
vote
0answers
17 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
84 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 ...
1
vote
0answers
161 views

How to get back from “testing” to “stable” - Kernel downgrade

currently I am having lot's of fun with apt-get - and the bad thing is, it was my own fault. I had enabled the testing packages in /etc/apt/sources.list to install a certain package. And I told my ...
1
vote
0answers
68 views

D-Link usb dongle detection problem [ Debian Wheezy ]

according to this topic,I was upgrade kernel from 3.2 to 3.12 (using .deb backport),But at installation process I get some error message like this : # dpkg -Ri kernel3.12 Selecting previously ...
1
vote
0answers
34 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
1
vote
0answers
19 views

Patching the kernel source through git

I'm trying to understand how the patching of the kernel source works. I found the patch that I would like to try an apply on the following page. I found no .patch files that I can use to apply the ...
1
vote
0answers
41 views

kernel 3.1x and optimus support

I have encountered a negative observation regarding bumblebee. Namely, using optirun the performance of the GPU seems to be an order of magnitude lower than it should be. To be more specific: I have ...
1
vote
0answers
553 views

kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs”

I got this errors in syslog. Any idea what does it mean? The system is running on Ubuntu 12.04, kernel: 3.8.0-35-generic #52~precise1 It looks to me like failure when trying to write to disk... ...
1
vote
0answers
16 views

sysrq-trigger doesn't accept parameter 'g'

I'm trying to debug the kernel. But I couldn't trigger kgdb with echo g > /proc/sysrq-trigger, it just prints help message. I have enabled kernel debugging, kgdb over serial, frame pointer etc. ...
1
vote
0answers
203 views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
1
vote
0answers
53 views

Kernel IPsec SA database: FIFO instead of LIFO

When processing an IP packet, the kernel looks into the security policy (SP) database to determine whether it is to be protected with IPsec. If the identifiers of the packet (e.g. IP addresses, etc.) ...
1
vote
0answers
49 views

Booting failing in different Debian and Debian derivated distros?

I've tried Ubuntu, Linux Mint and Debian, even though all have worked great for me I'm keeping with Ubuntu, I tested 12.04, 12.10 and even 13.04. The 12.04 LTS is the one I work with. There's one ...
1
vote
0answers
55 views

Virtual address of Global variables in Kernel code

If my understanding is not wrong, every process has a Kernel Address space associated with it (which is typically 1GB). As far as local variables are concerned, they are assigned on the kernel stack ...
1
vote
0answers
50 views

configure allowed_tcp_congestion_control via config files in linux kernel

I am trying to come up with a custom set of TCP congestion control variants as part of the tcp_allowed_congestion_control. I do have multiple variants on my tcp_available_congestion_control list but ...
1
vote
0answers
125 views

Pinnacle TV tuner card, readreg error, dvb_register failed, cx8802 probe failed, firmware never loads

I'm trying to make this card work in a touch screen kiosk running Ubuntu 10.04, kernel 2.6.32-45-generic This card seems to use the s5h1411 chip instead of the s5h1409 the modules are expecting. I've ...
1
vote
0answers
266 views

Lowering kernel timer interrupt frequency

When I run my Virtual Machine with Gentoo as guest, I have found that there is considerable overhead coming from tick_periodic function.( this is the function which runs on every timer interrupt).This ...
1
vote
0answers
870 views

Intel Core i3/i5/i7 Sandy Bridge CPU throttling

Intel Sandy-Bridge family i5 Core CPU, running Linux kernel 3.2 (Debian Squeeze/Wheezy), under heavy computation load, does not react to to cpufreq-set -g powersave (using acpi_cpufreq module). It is ...
1
vote
0answers
251 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
1
vote
0answers
76 views

CONFIG_NLS_UTF8: please explain the meaning of this option

There is an option NLS_UTF8 option in kernel configuration. It can be found under File systems -> Native language support. Please explain thoroughly the meaning of this option. Its description ...
1
vote
0answers
276 views

Unusual vmware.modconfig-console output

Upon running a batch file I created to iterate recursive directories from / trying to find the Kernel headers for vmware-modconfig-console running on openSUSE, when it comes across /usr/include/ it ...