Everything about UNIX kernels: development, configuration, compilation, design, etc.
4
votes
0answers
66 views
Locate occasional CPU kernel hog
I have a 2.6.35 PREEMPT kernel running on moderate-speed ARMv7 processor. About once every 100 - 125s, something causes the kernel to fail to process some audio-related drivers sufficiently quickly to ...
4
votes
0answers
663 views
WARNING: modpost: Found 10 section mismatch(es)
Is this error message something that I should be worried about?
linux-y3pi:/usr/src/linux-2.6.38.8 # make modules
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
...
3
votes
0answers
158 views
How do I determine ZCACHE works on my box?
I have an Marwell Kirkwood ARM-based NAS server Zyxel NSA 310. I compiled my own 3.8 kernel and enabled ZCACHE, but I still see 256 MB of RAM. I am not sure if GNU free utility should show extra ...
3
votes
0answers
91 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
97 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
53 views
Timescales of any task in linux kernel?
I am studying how Linux kernel works and getting interested in the timescale of anything that happens in the kernel.
Of course I know it depends on the HW, but would like to get an example.
For ...
2
votes
0answers
38 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
157 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
150 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
191 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
121 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
63 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
48 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
78 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
363 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
142 views
Linux kernel headers' organization
While I was doing some reading on system calls, I did a search for "syscalls.h" to find the header file in LXR. The search results puzzled me. There is a dozen of "syscalls.h" files coming from ...
2
votes
0answers
145 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
230 views
regarding shared memory behaviour
Noticing a strange performance behaviour while using shared memory that are file backed (i.e open user defined file and mmap() the same into process space). While doing a memcpy() into the shared ...
2
votes
0answers
151 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
403 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 ...
2
votes
0answers
222 views
`power/persist` file not found in USB device sysfs directory
The file /usr/share/doc/linux-doc/usb/persist.txt.gz mentions that the USB-persist capability can be enabled for a given USB device by writing 1 to the file persist in that device's directory in ...
1
vote
0answers
77 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 ...
1
vote
0answers
47 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
49 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 ...
1
vote
0answers
409 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
104 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
45 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
152 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 ...
1
vote
0answers
242 views
Make and apt-get Have Stopped Working
So I downloaded the non-free broadcom driver(b44) for my debian install, however when I try to make it I get the following error:
make
make -C /lib/modules/2.6.32-5-amd64/build ...
1
vote
0answers
72 views
Change terminal resolution on Whiite (Wii Linux)
Is there a way to change the terminal resolution in Whiite (Linux for Wii)? All the answers I can find suggest editing grub configuration, but Whiite uses a custom bootloader instead of grub.
1
vote
0answers
144 views
BackTrack5 R2 video driver works, but presents disturbing error message
I've installed backtrack 5 R2 on my computer and everything works fine but the video driver. The solution described here does work, but whenever I start the graphics mode, a message saying that the ...
1
vote
0answers
82 views
memtester runs faster after couple of runs
I am using this test tool : http://pyropus.ca/software/memtester/
And I noticed that first 3 iterations take 4 hours but 30 iterations take only 12 hours. I was hoping that 30 iterations will take 40 ...
1
vote
0answers
241 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 ...
1
vote
0answers
279 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 ...
1
vote
0answers
160 views
360 degree scrolling with Apple Magic Mouse in Linux?
I read that there is out of the box support for the Apple Magic Mouse in recent Linux kernels, but does that include full functionality such as multiple mouse buttons and multitouch??
For me the two ...
1
vote
0answers
144 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 ?
1
vote
0answers
55 views
Mouse pad error after new Linux kernel install
Yesterday I upgraded my debian laptop with the backports repository. Amongst the packages it installed, a new kernel was added (3.2.0). When booting on this kernel, the right-click on my mouse pad (is ...
1
vote
0answers
140 views
Install an app made for SUSE Enterprise 11 on openSUSE 11.4
I'm trying to see if I can install Symantec System Recovery 2011 Linux edition on an openSUSE 11.4 system. According to the docs, SSR 2011 for Linux supports (among others) SUSE Linux Enterprise ...
1
vote
0answers
283 views
How is the Linux kernel stack organised for ARM architecture?
Can any one explain how exactly linux kernel stack organisation is handled?
When a child process is created using the fork() system call, how is the kernel stack space initialized?
1
vote
0answers
101 views
Make kernel detect garmin device
I'm trying to connect a usb garmin forerunner device to my system, but the usb device is not detected. I have loaded the following mods:
garmin_gps 11544 0
usbserial 25449 ...
0
votes
0answers
14 views
Is ZONE_NORMAL mapped on the kernel space only?
In several textbooks I've stumbled upon a strange phrase, that "if the amount of physical RAM available is small, the ZONE_HIGH might not exist at all and all the memory would belong to ZONE_NORMAL".
...
0
votes
0answers
49 views
*ERROR* timed out waiting for panel to power on
I'm using Ubuntu 13.04 on Asus VX6 (1.8GHz Atom - 2 cores, optimus nVidia ION) with Kernel 3.9.0.
When I start my system I get this error:
[ 15.728106] [drm:intel_enable_lvds] *ERROR* timed out ...
0
votes
0answers
38 views
Decreasing mouse sensitivity at kernel level
I have developed a custom-GUI Server, which runs on virtual console of Linux.For mouse-handling purpose, it reads the mouse device file
/dev/input/mice
and retrieves the event data and updates ...
0
votes
0answers
40 views
microphones on apple macbookair1,1
I'm running linux ubuntu 12,04 on a mba. I can't make the microphones (neither external nor internal) work.
Speaking with some wise guys, it seems there is a problem with linux kernel trying to ...
0
votes
0answers
15 views
PID Grabbing Via LSM Hooks
I am grabbing the LSM hooks in my own created module and showing into the securityfs psuedo filesystem which is showing correctly.
The path where these hooks are showing is
...
0
votes
0answers
25 views
How to create a debian 3.x kernel rootfs on a 2.x host
I'm trying to build a rootfs for an embedded A10 board. This will be matched up against 3.0.62+ modules and a corresponding vmlinux image.
I've been trying for a few days to get a rootfs set up for ...
0
votes
0answers
82 views
Invoking memory compaction on linux 2.6.35 kernels and beyond
This LWN article about memory compaction indicates that memory compaction can be invoked in the linux kernel by
Writing a node number to /proc/sys/vm/compact_node, causing compaction to happen on ...
0
votes
0answers
102 views
pptp differs between 3.7 and 3.8 linux kernel milestone with 3.2.0-4 milestone
Unfortunately, current kernel of debian has problem with my hardware: 3.2.0-4-686-pae , and when i compile one of 3.7.x milestone or 3.8.1 itself , my problem is solved.
But my problem with new ...
0
votes
0answers
23 views
Compatibility between Xenomai version and Linux kernel version
Is there a way to determine what versions of Xenomai are suitable with Linux kernel versions?
0
votes
0answers
94 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 ...
