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

learn more… | top users | synonyms

1
vote
2answers
312 views

What type of file is /dev/core or /proc/kcore?

While scanning a filesystem for changes with a shellscript, I forgot to exclude /dev, so core got tested too. Strangely enough, which ever way I test it, it is not consistent for a type: $ if [ -f ./...
8
votes
1answer
6k views

Your kernel headers for kernel 3.10.0-229.el7.x86_64 cannot be found

When I type the command service vboxdrv setup in my CentOS 7 terminal, I get the following error: Your kernel headers for kernel 3.10.0-229.el7.x86_64 cannot be found How can I resolve this ...
-1
votes
1answer
32 views

Forwarding problem inside gateway device using custom network driver

I am trying to implement a custom network device driver on linux kernel version 4.0 and 3.16. and it is working well on link. however, I found out the device has some problem about the forwarding ...
1
vote
1answer
133 views

Is there a way to get libusb to behave in real time?

I recently applied the rt patch to my kernel in an attempt to lower the worst-case latency of sending messages over USB. Unfortunately I have seen no improvement in the worst-case over the unpatched ...
0
votes
1answer
128 views

How to compile kernel module without a makefile?

Is it possible to compile a kernel module without a makefile and if so, how?
3
votes
1answer
383 views

How to boot linux without an initramfs?

As the title says I'm looking for a way to boot an existing linux kernel without an initramfs. According to this link it should be possible simply by editing /boot/grub2/grub.cfg. But if I try this ...
1
vote
0answers
18 views

Combine TuxOnIce and µswsusp?

Is it possible to tune uswsusp/ TuxOnIce such that one can write/ read the image for/ from the other suspend system, respectively? Use case: On my machine TuxOnIce hibernates without problems, but ...
1
vote
1answer
130 views

libinput touchpad is “dead” around the perimter

I have a Logitech T650. Long ago, I encountered a problem with about 1cm of the perimeter of the trackpad being "dead" -- no POINTER_MOTION events, no clicks, nothing in any of xev, libinput-debug-...
7
votes
2answers
1k views

What decides which kernel modules are built in the kernel statically during compilation?

I just compiled a new kernel and asked myself: What decides during the compilation process which kernel modules are built in the kernel statically? I then deleted /lib/modules, rebooted and found ...
0
votes
1answer
28 views

Relationship and distinction between VFS and FHS

It is clear that VFS provides programs to access different file systems with same interfaces. Meanwhile, FHS is standard for directory structure. I would like to have some inputs regarding them ...
1
vote
0answers
38 views

How to redirect sys log of ubuntu running on virtual machine to host?

I have ubuntu installed on my VM(Vmwarefusion - version 7) running on my Mac book Pro. I am actually doing kernel development by writing kernel modules on ubuntu. If have a kernel crash, sometimes my ...
1
vote
1answer
79 views

What parts of the Linux kernel I do not need? [closed]

I'd like to get the answer in LOC. I know that most of the modules/drivers, virtualization enhancements, android patches etc. can be excluded from kernel right away. But my question is more a call ...
2
votes
0answers
23 views

Use netconsole to debug with kernel crash

Recently I use netconsole to debug with kernel crash. However the log prints too fast, it seems that netconsole cannot transfer all the log in real-time, since ehternet allows maximum payload of each ...
2
votes
1answer
56 views

Embedded board - Install debian

I'm new in embedded world and I'm quite confuse. I have a Freescale board which contains an ARM926 32 Bits and mounts Linux 2.6.35. First question: this is the kernel, right? Second question: I ...
0
votes
0answers
50 views

Find system idle time using any system call in microseconds

For the perf analysis and to make decision based on system and app performance I need to find the idle time of system. I want the precise value in microseconds. I know that I can get the value in ...
8
votes
1answer
1k views

Increase FIFO size limit

Thanks to the answers to my other question, I now understand that FIFO on Linux, i.e. /dev/xconsole has a buffer limit of 64 KB. How can I increase this limit to 128 KB? Apparently, I will need to ...
1
vote
0answers
141 views

weak-modules from module-init tools directory

I see in module-init directory, files named as weak-modules*. bash # ls /usr/lib/module-init-tools/weak-modules* /usr/lib/module-init-tools/weak-modules /usr/lib/module-init-tools/weak-modules2 ...
0
votes
1answer
109 views

Root file system vs partition's file system

Based on the first paragraph from linfo as quoted below, one can conclude that root file system is actually the partition's file system where Linux is installed. The root filesystem is the ...
1
vote
0answers
89 views

Linux shared mount point inconsistent between child and parent processes

Let me try to explain the background: In main bash: We use mount --bind /tmp/source /tmp/target mount --make-shared /tmp/target to create this shared mount point target And then we use unshare ...
1
vote
2answers
162 views

Do i need to recompile the whole linux kernel

If I change some part or some subsystem of Linux kernel, do I have to recompile the whole kernel? Is there any way to recompile only that particular subsystem?
0
votes
0answers
87 views

How udev works when we connect USB device

Whenever, I am connecting USB device like Pen drive, Bar-code scanner, mouse etc. udev creates dynamic files in /sys/bus/usb/devices/. like 1-1, 2-1. inside these files I am getting all information ...
0
votes
0answers
19 views

How to create Cent OS 6.5 DVD with the 3.10 or 4.0.1 Kernel?

The Cent OS 6.5 comes with a old 2.x kernel. I would like to build new kernel for it(3.10 or 4.0.1) and re-package it with the Cent OS 6.5 OS DVD. How can I do this?
0
votes
0answers
31 views

RHEL7 : Freeing memory allocated for Block IO i.e. bio -> bio_destructor

I want to know HOW memory allocated for BIO gets free specific to RHEL 7. I think, in RHEL 7 , bio->destructor field is removed from the bio structure. So, how exactly the memory will be freed? ...
1
vote
0answers
99 views

Change device framebuffer to use overlay layer

I'm using atmel-hlcdc driver to control a LCD panel and an application uses the /dev/fb0 framebuffer created by the driver. The display works fine except that the panel's standard orientation is ...
8
votes
1answer
149 views

Where in GRUB2 source code is the handover/jump to kernel code?

I'm looking for the line of code where GRUB2 finally jumps to kernel code and thus hands over execution on x86 systems? I guess it's in an assembler file since this is very low architecture stuff. I ...
2
votes
1answer
59 views

How to reduce bootup time of linux? [closed]

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 ...
0
votes
1answer
418 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 ...
1
vote
0answers
44 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 ...
2
votes
1answer
268 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
2answers
58 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 ...
0
votes
1answer
1k 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 2....
0
votes
0answers
108 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 ...
1
vote
3answers
447 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
44 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
2
votes
0answers
49 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
167 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 ...
1
vote
1answer
35 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 ...
2
votes
1answer
299 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 check-...
1
vote
0answers
79 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
116 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 ...
4
votes
5answers
375 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 ...
4
votes
0answers
390 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 ...
0
votes
0answers
7 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
50 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
263 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, ...
73
votes
6answers
14k 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 ...
2
votes
0answers
44 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
171 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 ...
5
votes
3answers
239 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 ...
4
votes
1answer
2k 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 ? 00:...