Everything about UNIX kernels: development, configuration, compilation, design, etc.
3
votes
0answers
236 views
After installing a new Kernel in Ubuntu 14.04, rebooting takes me to busybox initramfs. How do I mount a filesystem after that?
I have a virtual machine with Ubuntu 14.04 in it. I recently built and installed linux-3.14.5 kernel on it, and tried to boot into it, but it drops me to BusyBox v1.21.1 built-in shell.
Here's what I ...
3
votes
0answers
321 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
185 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
164 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
138 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
36 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
38 views
Kernel crash on Fedora distribution but no sign of kernel panic
I am running kernel 3.14.4 on Fedora 18.
I am experimenting with a kernel module I am making.
The module has a bug (at least one) and crashes the kernel.
Sometimes I see a stack trace on my frozen ...
2
votes
0answers
161 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
184 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
80 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
565 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
222 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
538 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
112 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
52 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
250 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
469 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
283 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
315 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
86 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
61 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
101 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
384 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
591 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
210 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
169 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
218 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
582 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
29 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
37 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
22 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
19 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
32 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
37 views
How to check and set “rhash_entries” parameter?
I'm reading this article, and it says:
rhash_entries is the size of the hash table. If you don't specify it on the
kernel command line, it is computed dynamically based on the memory available
on ...
1
vote
0answers
58 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
59 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
22 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
98 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
769 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
105 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
54 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
28 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
52 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
1k 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
29 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
286 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
61 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
82 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
55 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
142 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 ...