The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

2
votes
2answers
865 views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this ...
2
votes
1answer
21 views

How to reduce bootup time of linux? [on hold]

First of all, I appreciate for taking times. I have a PC with the following configuration: 1- CPU: Cor2Duo 2- Ram: 2 GB 3- 40 GB HDD I just need serial and network. I don't need Xwindow. I just ...
2
votes
1answer
11 views

How to make SysRq working on laptop?

My /proc/sys/kernel/sysrq contains the number 502, but Alt+SysRq+... seems not to work on my HP Pavilion laptop. How can I fix that? Update 1: By the way: neither my print-screen-key nor any other ...
1
vote
1answer
2k views

How to fix make error “No rule to make target 'menuconfig'” when building a kernel for Beagleboard?

The aim is to build and install the USB Video Class (UVC) module, via make modules_install. I'm trying to configure the kernel via make menuconfig on Angstrom distribution, running on BeagleBoard-xM. ...
0
votes
1answer
9 views

Kernel panic – not syncing: Fatal machine check on current CPU

In the latest few weeks, my machine rebooted a few times with this kernel panic error. It's a fedora 21, Linux 4 machine on an AMD E-350 APU. I didn't observe any pattern. When I reboot, the BIOS ...
13
votes
7answers
1k views

Linux on a 286?

I don't own a 286 nor do I intend to run Linux on one. However since the 286 has protected mode, why is it frequently stated that Linux requires a 386 CPU or higher? From ...
1
vote
0answers
9 views

Detecting Hardware of the Dyconn Dubbler Dock

I purchase USB3 dual-hard-drive docking station from Fry Electronics called the Dyconn Dubbler Dock. When I plug this device into an Ubuntu Linux 15.04 laptop (kernel: 3.19.0-26-generic), I see no ...
1
vote
0answers
28 views

What does raw_spinlock mean? [on hold]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
1
vote
1answer
15 views

compling kernels for armhf

I am trying to compile my own kernel but I am having some issues with understanding. I am using the latest kernel available from kernel.org. My issue is at current: I have zero clue on what options ...
1
vote
1answer
690 views

DisplayPort and Intel HD cause GPU hangs

My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for beeing the cause, ...
1
vote
2answers
161 views

What is “fs” short for in kernel function “get_fs()”?

There are two Linux kernel functions: get_ds() and get_fs() According to this article, I know ds is short for data segment. However, I cannot guess what "fs" is short for. Any explanations?
0
votes
1answer
30 views

Downgrade Kali Linux

I have upgraded my system to KALI Sana 2.0 and kernel 4.0.0-Kali1-amd64. Previously I had the version kali-linux 1.1.0 and kernel 3.18-Kali1-amd64. The reason I want to downgrade is that Kali Sana ...
0
votes
0answers
3 views

usb_buffer_alloc, kmalloc, usb_alloc_coherent error writing USB Device Driver [migrated]

I'm writing a USB Device Driver for simple communication with an FPGA (UART / USB) and I intend to end this available for use in the Linux community. Introduction to the problem: I wrote my code and ...
1
vote
3answers
268 views

Everything is a file?

In Linux, every single entity is considered as FILE. If I do vim <cd-Name> then, vim will open the directory content into it's editor, because, it do not differentiate between file and ...
0
votes
0answers
7 views

Registering virtual SPI master device

I need to create a virtual SPI master device. Having a proprietary solution that communicates directly with a sensor using SPI I want to move the sensor away. To do so I want to create a kernel ...
0
votes
0answers
6 views

How to use RTNETLINK in kernel module/kernel space to extract routing table?

I want to extract routing table information in kernel module using Netlink sockets? Is it possible? I know that in user space we can do that. Regards
23
votes
3answers
36k views

Linux: How to find the device driver used for a device?

If my target has one device connected and many drivers for that device loaded, how can I understand what device is using which driver?
4
votes
0answers
28 views

Kernel - Measuring the rate of timer interrupts

I am working on optimizing kernels of my boxes for telephony, which involves (among other things) adjusting the HZ rate and the preemption model. Initially the kernel was compiled with the default ...
1
vote
1answer
11 views

How download complete patch series from patchwork?

I want to download the patch series RFC PATCH 00/26 i.MX5/6 IPUv3 CSI/IC In patchwork I can get access to individual patches https://patchwork.linuxtv.org/patch/24331/. But downloading 26 patches and ...
0
votes
0answers
18 views

What does Linux wait for when switches from Xorg to text console?

Sometimes my Xorg hangs and locks the console dead, with a “stale frame” of GUI on the monitor. Hardware and driver-related problems are likely (see here for description of particular configuration), ...
1
vote
1answer
14 views

Why is debug_putstr() not being printed during boot?

I'm asking myself why debug_putstr() in arch/x86/boot/compressed/misc.c is not being printed during x86 boot phase, though it is configured to do so with GRUB_CMDLINE_LINUX_DEFAULT="". On other ...
4
votes
5answers
113 views

Is there a plain GNU/Linux OS?

I'm currently looking at all the different Linux distros and can't seem to find the original GNU/Linux OS. Apparently there is a GNU System which combined the GNU project with the Linux kernel. How do ...
3
votes
1answer
1k views

Device eth0 does not seem to be present, delaying initialization

I have cloned a fedora and now trying to configure network interfaces. Every time i am adding a new NIC, it starts with number eth3 (rather eth0). i have tried removing and modifying the ...
0
votes
0answers
15 views

check-config errors on Linux 3.19.0 kernel, configured under Ubuntu 15.04 x86-64

I'm new to configuring Linux kernels, and am receiving the following errors when running config-check: check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.generic: loading config ...
1
vote
0answers
11 views

Best way to approach HID_MAX_USAGES kernel errors?

This is an issue I have for the second time now: basically, an USB based device reports some wrong numbers for "HID_MAX_USAGES", resulting in the kernel giving an error message and the device not ...
0
votes
2answers
37 views

Compiling Kernel : Unable to locate ncurses

I am trying to compile the kernel. I downloaded the source . When I tried 'make menucionfig'. I got following result : * Unable to find the ncurses libraries or the * required header files. * 'make ...
7
votes
2answers
14k views

Why does Linux have poor battery life by default compared to Windows?

Is there something inherent to Linux operating systems that makes them poor managers of battery power by default? I would have thought a light distro like Lubuntu would have a clear battery life ...
64
votes
6answers
9k views

Why is the Linux kernel 15+ million lines of code? [closed]

What are the contents of this monolithic code base? I understand processor architecture support, security, and virtualization, but I can't imagine that being more than 600,000 lines or so. What are ...
0
votes
0answers
5 views

.config not getting updated after modification to tegra3_android_defconfig

.config not getting updated after modification to tegra3_android_defconfig After adding a module(MODULE_XX_CONFIG=y) inside tegra3_android_defconfig, I did "make tegra3_android_defconfig" though the ...
1
vote
0answers
7 views

Using two memory controllers with SPARSE_MEM on AT91SAM9G45

There are lot posts on this problem in google, but I have tried all the solutions but they are not working for me, so I'm posting here… I am working with AT91BootStarp 3.5.9 with linux kernel 3.6.9. ...
1
vote
2answers
187 views

What files does the Linux kernel access?

/init during early userspace, /sbin/init, and /sbin/request-key are three files that the Linux kernel accesses (and they are all executables). Are there any other files, possibly non-executable ones, ...
0
votes
0answers
45 views

module verification failed: signature and/or > required key missing - tainting kernel

I am a newbie in Linux device drivers. I got some problem after installing the driver, which was written by me. The driver is working fine in all functional aspects, but it is is giving one warning ...
3
votes
1answer
2k views

How do you compile your own kernel on a RHEL6 system?

In RHEL6, the kernel is 2.6.32. What is the procedure to compile your own kernel?
1
vote
1answer
610 views

Determine whether kernel built-in driver supports a device

I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel. I'm working with RHEL 5.5 ...
15
votes
2answers
223 views

Process which locks up, ignores SIGKILL, is runnable (not a zombie or in uninterruptable sleep). What state is it in?

I have a process which several times now has stopped responding and appears to be completely locking up. It doesn't respond to any attempt at strace or peeking with gdb (gdb just hangs on a wait4() ...
1
vote
0answers
9 views

Kernel symbol gets .part suffix

When cross compiling the Linux kernel 3.18.10 the compiler adds a .part.<N> suffix at the end of some symbols (see an example below). The number <N> changes when using different ...
0
votes
2answers
4k views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
0
votes
1answer
639 views

Issue with Hugepage reservation in linux

I have reserved hugepages for my process using below commands: #echo 64 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages #mkdir -p /mnt/huge && mount -t hugetlbfs nodev /mnt/huge ...
3
votes
2answers
732 views

Real mode and loading linux kernel confusing

As far as I know, protected mode will be activated in kernel and in grub stages it still real mode. My misunderstanding is: In real mode, total memory available for use is less than 1MB but how grub ...
1
vote
1answer
619 views

Enable kernel's net_key, inet_esp, crypto_hmac modules for to use in a VPN

I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 . But the features I've turned on using make menuconfig seem not to be enabled. (the features I ...
5
votes
3answers
66 views

How can I verify `nice` is working?

Looking at different jobs running on a system with shared resources, it seems the nice values are being ignored. Many jobs with nice set at 19 are running at 100% cpu load while other many other jobs ...
2
votes
0answers
16 views

Replacement for cap-bound

We have an old Linux from scratch kernel used in one of our systems, that uses the old cap-bound mechanism (modifying /proc/sys/kernel/cap-bound) to restrict the capabilities of the system. This was ...
0
votes
0answers
43 views

Wifi driver on Kernel 4.x

I've upgrade my kernel from 3.19 to 4.1.5 but the Wifi driver don't work. Does anyone know how I can make it work? I've tried a few methods but it doesn't work. First method I've tried was to try ...
1
vote
0answers
19 views

Linking shared library in linux kernel [migrated]

I would like to modify the linux kernel. I would like to use functions from a shared library (an .so file) in file kernel/panic.c. Unfortunately I don't know how to compile it. When I put it in ...
0
votes
1answer
59 views

CPU warning - abrt-watch-log

I am running a Red Hat Enterprise Linux Server release 7.1 (Maipo) on Intel(R) Xeon(R) CPU X5690 @ 3.47GHz I keep getting this error in abrt-watch-log. root 888 1 0 Aug03 ? ...
1
vote
2answers
1k views

File system CRC check

I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error. I want to do same thing ...
19
votes
7answers
14k views

Is it possible to install the linux kernel alone?

I'm just curious if it's possible to install the linux kernel alone, or if you need to use one of the flavours. If it were possible, how would you do it? I don't need a detailed tutorial. I just want ...
4
votes
4answers
5k views

Installing a cross-toolchain to build ARM binaries on Debian

I tried to install a cross toolchain so I could build Linux kernel on amd64 (Debian testing "jessie") for my ARM system. I have this entry in sources.list: deb http://www.emdebian.org/debian sid main ...
1
vote
0answers
23 views

Print kernel memory layout

Userland memory layout can be inspected by looking into /proc/self/maps. I am wondering if there is a similar facility allowing to inspect runtime kernel memory layout?
1
vote
0answers
17 views

Unattended build of linux kernel

Goal: I am trying to automate the 4.0.4 kernel build to provision it to multiple machines. Since AUFS no longer ships in "extras" package, I am compiling it as well, and then adding via make ...