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

learn more… | top users | synonyms

0
votes
0answers
23 views

Need help getting bug fix for RHEL6

How can I get the new kernel as mentioned here? I have a RHEL6 server that's using subscription manager and also registered with RHN. I have ran the usual yum updates and still am not getting the ...
0
votes
0answers
15 views

GPIO edge-file missing

I have exported some GPIOs in sys/class/gpio but when I look into the GPIO directories i cant find the edge file. I only see value, direction and a few other files. what does that mean. Is it in any ...
0
votes
2answers
64 views

How to apply patches in linux

I'm trying to build a kernel using a make command. I need to apply patches. All the patches are present in the SOURCES directory, and I have extracted linux-3.8.0 in another directory. I have around ...
4
votes
2answers
363 views

Kernel compilation error recipe for target 'deb-pkg' failed

I am compiling the latest kernel cloned from Linus's git repository for a challenge. Here are the steps I followed, 1. Installed cross compilation tools sudo apt-get install git build-essential ...
2
votes
1answer
469 views

how do I safely delete old kernel versions in CentOS 7?

I might be encountering odd symptoms resulting from competing kernels in CentOS 7. So how do I safely delete the old kernels? And how do I know which kernel is the newest one? Below is the ...
0
votes
2answers
72 views

Error when booting new kernel - overlays [closed]

I'm trying to boot my first custom kernel from Linus's latest repo: During the decompressing stage I get the following error: Could not find overlay #6 ### dt-test ### of ...
0
votes
0answers
230 views

Is there a version of linux that can be run on the new $50 kindle fire

I have been doing some research and I have been reading all kinds of answers but none of them fully answer my question. I wanted to know if the new kindle fire can support a version of linux? If so ...
1
vote
2answers
152 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
3k 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
26 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
57 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
69 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
142 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
13 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
72 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, ...
7
votes
2answers
626 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
27 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
27 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
68 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 ...
1
vote
0answers
17 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
46 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
37 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
581 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
86 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
92 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
60 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
51 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
60 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
15 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
26 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
66 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 ...
4
votes
0answers
87 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
48 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
171 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
38 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
42 views

What does raw_spinlock mean? [closed]

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 ...
2
votes
1answer
98 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
36 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
814 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
73 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
321 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
24 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
40 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
62 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
28 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
119 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
56 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
62 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
235 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
163 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 ...