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

learn more… | top users | synonyms

0
votes
0answers
3 views

Installing kernel headers (prior to `make install_headers`)

I'm trying to accomplish this make ARCH=x86_64 INSTALL_HDR_PATH=/opt/cross/x86_64-linux headers_install But with the 2.6.9 kernel tarball. It does not support the make target headers_install and ...
1
vote
0answers
16 views

How to see kernel time variables without using adjtimex?

The man page for adjtimex says Anyone may print out the time variables, but only the superuser may change them. How do I see the value shown by adjtimex -p as the tick variable without using ...
0
votes
1answer
368 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
0
votes
0answers
25 views

Debian boot freeze (hard lockup)

I'm using debian sid and during two years i watch the same problem. When I boot from grub my system on the screen appears follow text: Linux kernel in decompress level...Parsing elf and then freeze ...
5
votes
2answers
139 views

How do you get hardware info and select drivers to be kept in a kernel compiled from source?

I would like to create a minimal kernel for a web server. When you compile a kernel from source how do you get hardware info and then know what drivers need to be kept in the kernel so the rest can ...
1
vote
0answers
6 views

How do kernel inform OSPF daemon when a physical interface status is down?

When a physical interface status is changed from up to down, there are 3 things related to the computer's current routing table and OSPF. The (connected) network for that interface and remote ...
1
vote
1answer
19 views

Kernel config: Is undefined the same as disabled?

Reading the Debian Kernel Handbook I came across the config option CONFIG_DEBUG_INFO. That option isn't in the official debian 3.2 kernel config, so what I'd like to know: If a certain option is not ...
1
vote
1answer
445 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
2answers
1k views

running kernel on QEMU

I face this message: Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel. I am using this command line: qemu-system-x86_64 -hda disk.img -kernel ...
2
votes
0answers
17 views

Improve kernel boot time

I am using OMAPL138 and kernel version 2.6.37 and I would like to improve the boot time. By analyzing the kernel boot process I think it is taking a long time at MII PHY CONFIGURATION. The printscreen ...
1
vote
2answers
95 views

Why is Linux “Unix-like” if its kernel is monolithic?

As I understand it, part of the Unix identity is that it has a microkernel delegating work to highly modular file processes. So why is Linux still considered "Unix-Like" if it strays from this ...
1
vote
0answers
31 views

Debugging info in linux kernel - how does it work?

I have found that I can compile linux kernel with some flags adding debugging support like CONFIG_DEBUG_INFO. These options while useful in debugging are also required by some utilities like ...
1
vote
1answer
4k 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
3answers
30 views

Boot process - Dev sdX name changes

I had a Slack 13.1 machine with 2.6.36 kernel. Then, I updated the kernel to 3.12.1. This machine has connected: a bootable disk with three partions (/dev/sda1 --> Linux OS files..., /dev/sda2 --> ...
3
votes
1answer
80 views

Building a minimal linux

I have been following A Minimal Linux System from Scratch in order to build a Linux with a small footprint (10MB or less). I'm fairly certain that there were no errors up until the last point, where ...
2
votes
2answers
61 views

How to return 0 if a pattern is matched from a file? [duplicate]

I have a binary that repacks android kernel (not mkbootimg). I'm making a script to automate the process. I don't want any output on the screen. So I have redirected the output to a file named ...
2
votes
0answers
21 views

Can I masquerade a kernel uevent?

What I think happens From my understanding this is what happens when I connect a USB device to my computer: Kernel recognizes that I plugged in a USB device Kernel setups the very low-level things ...
4
votes
1answer
2k views

Setting up HDMI output from Linux console

I am currently running Debian Wheezy on a HP Microserver N54L with an AMD Radeon 5450 video card. I would like to be able to play audio from the console through the HDMI port of my video card and ...
3
votes
2answers
5k views

Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile

So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
3
votes
1answer
97 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 ...
1
vote
0answers
76 views

Install rtl8188etv/rtl8188eu driver on Orange-Pi

I'm trying to install the wifi driver on Orange-Pi board. The real chip is rtl8188etv but the driver is the same. I have compiled 3.4.105+ Kernel to have the headers: mkdir ...
0
votes
1answer
71 views

ubuntu Kernel panic while installing CentOS 7 in VirtualBox

I have a laptop with Xubuntu desktop 14.10 , and I installed VirtualBox and updated it to the latest version . I'm trying to install CentOS 7 (source downloaded from the official site) as a VM, ...
2
votes
0answers
30 views

View syscalls/kernel activity for I/O from a running process

I'd like to be able to view syscalls or kernel activity for a process...I'm not actually sure of the terminology I need here! Specifically I'm looking for the difference between I/O going to local ...
2
votes
1answer
36 views

What is /proc/filesystems supposed to be and why is it different from /lib/modules/linux_ver/kernel/fs?

The very little documentation about /proc/filesystems says it is a "list of supported file systems". I see a lot of file system modules in /lib/modules/linux_ver/kernel/fs, most of which do not appear ...
3
votes
1answer
1k views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
1
vote
1answer
28 views

Missing kernel headers, but need them to install the Wifi driver

I am trying to install Kali on my Lenovo Yoga13, but after formatting the disk the setup failed to install grub because of no internet access (no Ethernet, need driver to get Wifi to work). So, I ...
0
votes
0answers
11 views

What happens with functions using macro *__init* as prefix? [migrated]

From the info I've read about module initialization in a Linux OS, I came to know that the function calls that are having a prefix like __init will be placed in a single ELF location. For example we ...
4
votes
2answers
2k views

Sign a module after kernel compilation

I've built a kernel in tmpfs, then I rebooted. Now I see a message when I compile the 3rd party module, NO SIGN [M] XXXX.ko How can I get it signed? The key pair generated during rpmbuild is lost ...
1
vote
1answer
32 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
12
votes
2answers
798 views

Is it good to have multiple version of Linux Kernel?

Once, I was installing some kernel patches & something went wrong on a live server where we had hundreds of clients. Only one kernel was there in the system. So, the server was down for some time, ...
3
votes
2answers
385 views

How does a bootloader and kernel interact after the kernel is loaded in memory?

I'm a little bit confused about the role of bootloader and its interaction with kernel, especially when talking wrt ARM Llnux. Once the Kernel is loaded into RAM, is there any job left for the ...
29
votes
7answers
18k views

Linux Kernel: Good beginners' tutorial [closed]

I'm interested in modifying the kernel internals, applying patches, handling device drivers and modules, for my own personal fun. Is there a comprehensive resource for kernel hacking, intended for ...
2
votes
2answers
1k views

busybox initramfs loop mount

I'm trying to loop mount my root filesystem (a loop file) within a busybox initramfs. I try to run the command: mount /rootfs.raw /root ... which works on my Ubuntu laptop, however, I simply get ...
1
vote
1answer
31 views

How to manually compile Fedora 20 kernel

I am trying to recreate an environment for debugging purposes. I require Fedora 20 specific kernel version (in this case its 3.17.7-200.fc20.x86_64). I have manually compiled vanilla kernel (3.17.7) ...
2
votes
1answer
2k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 ...
6
votes
2answers
752 views

Asus X101H - Touchpad not recognized (want to disable while typing)

I have been struggling with this issue for a while and have done an exhaustive search for answers here and elsewhere before posting this question. On my Asus X101H, the touchpad is not recognized as ...
1
vote
1answer
60 views

can't filter printk messages

I'm writing a driver and usually I implement my own log-level scheme. However, this time I figured that I would try to utilize the printk scheme that is built into Linux. I see that I can adjust the ...
2
votes
2answers
1k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
1
vote
2answers
7k views

Partition table not recognized by Linux kernel

I experience relatively often that the partition table of a USB stick or SD card is suddenly no longer recognized by the kernel while (g)parted and fdisk still see it, as do other systems. I can even ...
3
votes
1answer
57 views

bash runs out of memory

This question is a fork of this SO question. Here is the MCVE version: $ PS1='Parent-$ ' Parent-$ type seq seq is /usr/bin/seq Parent-$ bash $ PS1='Child-$ ' Child-$ for i in $(seq 1000000000); do ...
0
votes
1answer
2k views

bnx2: Can't load firmware file “bnx2/bnx2-mips-09-6.2.1b.fw”

I just compile the kernel 3.10.19 from kernel.org Support for bnx2 is enable. On my server when I try to start the eth0 interface I got the following error : bnx2: Can't load firmware file ...
2
votes
1answer
420 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 ...
57
votes
5answers
29k views

What are high memory and low memory on Linux?

I'm interested in the difference between Highmem and Lowmem: Why is there such a differentiation? What do we gain by doing so? What features does each have?
0
votes
0answers
24 views

Using DKMS, to automatically patch and install kernel on update

I have a system that needs patching a file in kernel to work properly. The system is running Ubuntu 14.04. The patch patches a file in drivers/hwmon. So after every kernel update I need to download ...
0
votes
0answers
36 views

Avoid Booting Fedora in Failsafe Mode

I recently bought a Lenovo G50-45 and managed to setup a dual boot system with Windows 8.1 and Fedora 21 (UEFI booting). But when I boot Fedora, the following error message shows up: [1.079848] EFI: ...
2
votes
1answer
116 views

Can the hard drive timeout be disabled in Linux (attempting task abort)

Unfortunately, when a hard drive (usually a virtual drive) is slow, Linux aborts requests to that drive after a timeout, possibly causing data corruption. Last time this happened to me, I had 2 vms ...
0
votes
0answers
35 views

Linux Kernel Panic and Problem with boot

I have installed CentOS 6.4 on VmWare Workstation (Win 8 as Host OS). I worked with it for several days, but suddenly when I rebooted it, it did not boot properly and on stopped with this error : ...
2
votes
1answer
990 views

Scaling issues of i7 3520M with intel_pstate module on Kernel 3.10.0

Few days ago I updated my openSUSE 12.3 system from Kernel 3.9.8-1.gf3348a8-desktop to 3.10.0-1.g3dcd746-desktop and since then, turbo mode of my i7 3520M is enabled by default and it does not ...
3
votes
0answers
60 views

How to prevent kernel or any broadcast messages from flooding the TTYs?

Because of some hot-plugging issue, similar to what talked of here, the TTY displays show a continuous stream of messages (which are also logged in the /var/log directory). Every text I key in flows ...
0
votes
0answers
3 views

Doubt about kswapd reclaimation? [migrated]

In kswapd page reclamation flow what is difference between shrink_zone() and shrink_slab(), which pages are included in zone lruvec and shrinker_list. I want to know which pages are added in lurvec ...