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

learn more… | top users | synonyms

0
votes
0answers
25 views

Driver Module Backup from a Running Installation

Is it theoretically possible to make a backup of all the driver modules (especially the ones that are not merged into the original kernel) from a running installation of LinuxMint? The source of the ...
7
votes
1answer
219 views

How to understand the modinfo output?

I'm just trying to understand the modinfo output that describes a kernel module. For instance, in the case of the module i915, the output looks like this: $ modinfo i915 filename: /lib/modules/...
0
votes
0answers
49 views

USB device keeps disconnecting on boot

When booting a linux kernel off a usb device, via a usb hub, a light panel attached to my board (via the hub) disconnects during the kernel boot. Once the system is booted I unplug the panel and ...
0
votes
0answers
47 views

how to enable 1MB dma-kmalloc

I'm running a ubuntu 15.10 VM and testing code that will allocate 1MB dma buffers. However, from the /proc/slabinfo, the max that can be allocated is 8K dma-kmalloc-8192 0 0 8192 4 ...
1
vote
0answers
78 views

uncompression error, no file system could mount root, kernel panic not syncing

I am using Linux Mint maya on vbox (Windows XP host), it's working fine without issues. Now I would like to install it with XP(dual boot) so I made a bootable DVD with same iso which I used for vbox, ...
2
votes
2answers
63 views

What's the use of this empty function declaration in exec.c kernel source?

I see some empty functions in the Linux kernel file exec.c here: http://lxr.free-electrons.com/source/fs/exec.c#L235 But, some functions like free_arg_pages is again declared below here (with same ...
0
votes
0answers
42 views

There is possible to read 1-wire (ds18b20) without waiting for conversion?

I want to read temperature value from ds18b20 by 1-wire interface without blocking. There is any way to do that? I tried fnctl(fd, F_SETFL, O_NONBLOCK) but its not working. Actually I have a loop ...
1
vote
0answers
52 views

Backlight control configuration misbehaves on an Ideapad.

I did a clean Ubuntu install on a Lenovo Ideapad P500. The backlight started okay, but after pressing the keyboard light function once, it got reset to a very dark state. The brightness setting ...
3
votes
1answer
125 views

Two compiles of the same kernel version: one boots, one unable to find root device

I have two compiles of the same kernel version (4.0.5+gentoo patches). One boots, correctly, but lacks several kernel CONFIG flags. Adding those flags and running make all && make install ...
0
votes
0answers
64 views

Negative dentry

When we do rm foo.bar, kernel decrements inode ref count and checks if it's become zero. In case of 0, inode is removed and foo.bar dentry becomes negative. This negative dentry continues to stay in ...
2
votes
0answers
61 views

What hardware support is needed for linux to do `gettimeofday` / `clock_gettime` in userspace using `hped`?

On reasonably modern systems Linux can service "system" calls like gettimeofday and clock_gettime entirely in userspace through the linux-vdso.so (or linux-gate.so) virtual library, so it does not ...
0
votes
0answers
2k views

Kernel panic : Kernel offset disabled

I was trying to install the linux-next kernel in my system with the following steps. Copied the existing configuration file from /boot to the root of source directory Updated the .config file with ...
1
vote
0answers
228 views

Disk benchmark IO depth clear out

When I'm manipulating over some benchmark tool I/O depth, what exactly am I changing? Let's say I have SATA disk on /dev/sda. If I run hdparm: root@linaro-gnome:~# hdparm -I /dev/sda | grep Queue ...
0
votes
0answers
24 views

what do I need to activate in my kernel to get dm-crypt

I am on an armv7, kernel 3.15.0 I have enabled device mapper and crypt target support. but I cannot find anything that specifically references dm-crypt in my kernel menu, would someone please be able ...
2
votes
1answer
224 views

Which distro uses a Kernel 3.19 or above

I am looking for a distro that supports Intel HD 6000 , i believe kernel 3.19 and above is needed. So does anyone know of a beginner friendly distro Many thanks
2
votes
2answers
174 views

ACPI wakeup 4-letters code meaning?

I have to disable some event to avoid an immediate wakeup after suspend in my desktop machine, and I made it by trial and error (works well, so that is not a problem). But I wonder... for example in ...
2
votes
0answers
263 views

Errors cross-compiling with distcc

I'm currently attempting a build of the Raspbian kernel using both a cross-compiler (for the Raspberry Pi 2's ARM processor) and distcc, based on the instructions posted at the Raspberry Pi website. I ...
3
votes
1answer
202 views

What is the usual Allocation unit for a process on Linux?

I'm currently studying memory management in Operating Systems. Allocation Unit is the smallest unit of memory the OS will give to any process. I've read in this page, in the 'Memory allocation ...
2
votes
1answer
59 views

Qemu - debug new syscall

as a school project I have to add a syscall to the latest stable linux kernel. I did and recompiled the kernel using make defconfig and make. After going through several tutorials to boot the kernel (...
2
votes
1answer
215 views

Error compiling kernel using guide provided on Raspberry Pi website

I'm encountering errors while trying to compile the kernel from source. I've looked around but I'm not finding anything that deals with the error I'm seeing specifically. I am using the guide on the ...
20
votes
3answers
1k views

The Linux kernel: breaking user space

I started thinking about this issue in the context of etiquette on the Linux Kernel Mailing list. As the world's best known and arguably most successful and important free software project, the Linux ...
0
votes
0answers
29 views

Create Wheezy UML filesystem

I'm trying to create a Debian Wheezy filesystem to use in User Mode Linux. right now I'm following this tutorial. The commands after # Remove the other terminal events don't work here and I can't find ...
2
votes
0answers
392 views

Virtualbox and GPU Pass-trough: Device with host PCI address already attached to this VM

I have server with several GPUs. My idea is to attach them to different VMs in order to use that VMs in CUDA (or OpenCL) calculations. My setup: CPU: Intel Xeon E5-2670 GPUs: 1 x Radeon HD 7970 $...
0
votes
0answers
97 views

fglrx kernel 3.18.22

I'm trying to compile kernel 3.18.22 and while the kernel successfully compiles I can't get Catalyst 15.9 to work. According to AMD's website it should work with anything up to kernel 3.19. The driver ...
0
votes
0answers
104 views

system user + kernel time using /proc/stat

user: normal processes executing in user mode nice: niced processes executing in user mode system: processes executing in kernel mode idle: twiddling thumbs iowait: waiting for I/O to complete irq: ...
0
votes
0answers
25 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
29 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
104 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
1k 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
2answers
3k 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
99 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
567 views

Is there a version of linux that can be run on the 2015 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 2015 Kindle Fire can support a version of Linux? If so, ...
1
vote
2answers
287 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
5k 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
118 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
117 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
332 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
17 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
126 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
959 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
76 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
55 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
46 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
133 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
105 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 ...