Questions tagged [linux-kernel]
This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.
487
questions
0
votes
1
answer
630
views
How to handle this warning: The Linux source in /lib/modules/3.19.0-25-generic/build has not been configured
I am trying to install a Sangoma PRI card on a Ubuntu 14.04 LTS. During installation of the drivers, it gives me this warning, followed by other errors which are a consequence of this issue (or so I ...
2
votes
0
answers
761
views
Disable RAID in custom kernel?
I need a Gentoo 13 machine to test some software on the platform. I'm not a Gentoo regular, so I'm suffering their procedures. I noticed the kernel spends a couple of seconds booting due to RAID ...
2
votes
0
answers
1k
views
Linux boot fails with /dev/disk/by-uuid/XXXX does not exist - Asus Zenbook Pro Touchpad Not Working
Device: Asus Zenbook Pro ux501vw-ds71t
Ubuntu Version: 15.10
I installed Ubuntu 15.10 and the installation was successful. However, the Elantech touchpad did not work. I read that the newer 4.5.0-...
1
vote
2
answers
540
views
How to pass CONFIG_BUILD_DOCSRC=n to genkernel?
I need a Gentoo 13 machine to test some software on the platform. I'm not a Gentoo regular, so I'm suffering their install procedures. I'm at Configuring the Linux kernel, and it failed with:
(chroot)...
-2
votes
2
answers
2k
views
How to get linux terminal print info and save it to a file
How to get linux terminal print info and save it to a file? there are print information about the application, there are kernel print information.I want to save all the terminal program's output to a ...
1
vote
1
answer
660
views
How does encrypting /home partition with ecryptfs on linux stop malicious modification of /boot or /(root)?
This is a page where a developer of ecryptfs explains the difference between ecryptfs and dm-crypt: https://stackoverflow.com/questions/18230784/what-is-difference-between-linux-kernel-subsystem-dm-...
1
vote
1
answer
397
views
why is openat() needed to avoid a two-step race condition with stat and then open()?
The explanation at
http://man7.org/linux/man-pages/man2/open.2.html
about why openat is needed, reads in part:
openat() allows an application to avoid race conditions that
could occur when ...
0
votes
1
answer
5k
views
Kernel 4.4.1-1 fails to boot - root volume "does not exist" - 3.10.0.327 and 4.3.3-1 both continue to boot fine
I'm trying to install and boot kernel-ml (currently 4.4.1-1) on RHEL 7.2 following the instructions here: http://linuxg.net/install-kernel-4-x-on-enterprise-linux-7-centos-7-and-rhel-7/
Install works ...
3
votes
4
answers
17k
views
How to launch vmlinuz-linux from efi shell?
How to start vmlinuz-linux from efi shell ? I jump into the ESP and type vmlinuz-linux (vmlinuz-linux is in the ESP) but it says vmlinuz-linux isn't recognized as an internal or external command, ...
1
vote
0
answers
299
views
How to Disable Linux kernel tracer
I have installed Ubuntu 12.04 (32bit). The current tracer is set as nop.
cat current_tracer
nop
cat tracing_on
0
Although the current tracer is nop and tracing is disabled, all these following ...
1
vote
1
answer
464
views
Virtual machine running a *newer* linux kernel?
Is it possible to, for example, have the main system be Ubuntu 15.04 and install a virtual box that runs Ubuntu 15.10 inside of it? Or does the host system have to have a Linux kernel that is at least ...
0
votes
0
answers
339
views
Cannot find root device when loading a new kernel image
I am trying to install an old linux kernel image 2.6.32.69 just for learning purposes. The machine is ubuntu 15.10 32 bit. The commands to build kernel are:
make oldconfig
make bzImage
make modules
...
10
votes
5
answers
27k
views
How do I fix Manjaro error hibernation device not found on boot?
After installing updates and restarting I got these errors.
ERROR: resume: hibernation device 'UUID=long number here' not found
ERROR: device '/dev/mapper/ManjaroVG-ManjaroRoot' not found. Skipping ...
2
votes
1
answer
3k
views
sd card not detected at all in linux
My SD card reader is not detecting any SD card. There is no output from dmesg when an SD card is inserted. df does not detect anything and also nothing in fdisk -l. Does linux support SD cards? I ...
5
votes
2
answers
3k
views
How to install kernel rc rawhide in Fedora?
I am new to Fedora and I decided to try it on my new laptop instead of Ubuntu. I have an XPS 13 (9343) and the sound is not working. I researched online and found out that people had success ...
0
votes
0
answers
92
views
Freeze when starting Windriver os
When I start Windriver OS, it always freeze. And it shows this text in console window:
acpid: 0 rules loaded <br>
acpid: waiting for events <br>
Starting advanced configuration and power ...
5
votes
2
answers
6k
views
What is the exact different between Linux kernel release and version? [duplicate]
In Linux based operating system we can find Kernel release and Kernel version. So what is the exact different between Release and Version ?
0
votes
0
answers
2k
views
linux bluetooth firmware missing
The kernel is trying to load a bluetooth firmware version that does not exists.
dmesg:
[ 4.435796] Bluetooth: hci0: read Intel version: 370810011001140d00
[ 4.436742] bluetooth hci0: Direct ...
0
votes
0
answers
230
views
How to get config from a EFISTUB kernel?
I am working on getting normal Linux onto a x86 Android tablet. Only kernel I can find is efilinux.efi located inside the system’s ESP (\EFI\Intel\efilinux.efi). But I can’t get config through these ...
2
votes
0
answers
2k
views
How to upgrade kernel in Ubuntu 14.04?
I want to use Docker on my Linux server for which I need to upgrade the kernel to 3.10 or higher. So following this answer I was trying sudo apt-get install linux-generic-lts-trusty, which results in:
...
8
votes
1
answer
9k
views
Hairpinning in Linux
I have a router in which I installed a Linux system.
I want my router to support NAT hairpinning.
Does a such feature exists in Kernel Linux? If yes how to activate it? Are there a patch to apply it ...
2
votes
0
answers
165
views
Why WiFi drivers carry firmware with them?
Why do linux kernel modules for wireless LANs have 'device firmware'accompanying them while other driver modules don't seem to carry a copy of the firmware with them?
Edit: I've been informed that ...
3
votes
1
answer
636
views
Why is USB Serial so fast in linux?
I've just started using a 3G modem on a RaspberryPi using the "stock" USB Serial driver from the linux kernel (as indicated in the modem documentation).
Once the modem was recognized and appeared as a ...
3
votes
2
answers
157
views
Does Installing a driver increase linux kernel memory footprint?
I have read that linux kernel is monolithic kernel and it contains drivers within it, in a single file.
For example, I have two linux kernels 3.16.0.40 and 3.16.0.50 Currently booted system with 3.16....
1
vote
1
answer
7k
views
Problems installing VMware on arch linux
I'm trying to install VMware but when it gets to "before you can run VMware, several modules must be compiled and loaded into the running kernel" I click install, enter my password, and i get a error
...
0
votes
1
answer
1k
views
udev - change event from udev_device_get_action
I am monitoring the events of all devices connected to the host.
Linux has udev daemon , which listens to all the device specific events such as online, offline, add, remove and change.
I use a ...
1
vote
0
answers
38
views
usb issue, boot not completed; hw or sw issue?
I can't realize whether I'm having a kernel or hardware issue...
clicking ctl-d the boot process doesn't come to its end.
any hint?
1
vote
1
answer
634
views
How are system calls dealt with in a multicore Linux system?
When a thread or process from one core initiates a system call(ex. it can be fork()), the OS goes into kernel mode, assuming that multiple systems calls(ex. maybe also fork()) come in from different ...
1
vote
2
answers
754
views
kworker is running modprobe every second
Using fatrace, I discovered that on my computer, modprobe runs approximately every second. To find out why, I replaced modprobe temporarily with this script:
#!/bin/bash
echo "$0" "$@" > /tmp/...
2
votes
1
answer
1k
views
Centos 7 , cant update kernel
I am running centos-7(vm) on http://www.ovh.com/. My kernel version is 2.6.32-042stab108.8. Even after yum clean all && yum update and reboot. still kernel version is 2.6.32-042stab108.8. Any ...
0
votes
1
answer
79
views
Linux kernel working only on kernel mode [closed]
Porting the Linux kernel to an architecture that has no execution modes (is always in kernel mode) and has no MMUs seems like a very unprotected system. Would it be possible to make Linux run in that ...
1
vote
0
answers
1k
views
Need help resolving kernel panic - not syncing: timeout synchronizing machine check over cpus
I'm attempting to install Xubuntu 15.04 x64 on a brand new high end laptop. I've already fixed a problem with the NVidia cards and needing to set nomodeset on boot but now I get this one kernel panic ...
1
vote
0
answers
568
views
Network IO throttling in cgroups
cgroups allow the user to manage the resource usages of processes or groups of processes. Block IO throttling is supported and works well. Why is it however that network IO throttling (specifying hard ...
0
votes
1
answer
223
views
Signing Error during kernel compilation
I was trying to compile kernel on my system by following this link http://www.ramkitech.com/2012/04/how-to-compile-kernel-step-by-step.html
when I run make command, I am getting the following error
...
2
votes
1
answer
293
views
F2FS issue - unsuccessful remove, lost access to files
While removing unnecessary files I bumped into an error. with
fsck.f2fs /dev/sda4 -t
I can see
| | |-- Die Ärzte - Manchmal haben Frauen <ino = 0xc11874>, <encrypted (0)>
| | | ...
1
vote
0
answers
2k
views
Program xxx tried to read /dev/mem between xxxxxx->xxxxxx
I've got a program that runs on RHEL 6.5 perfectly fine on a virtual machine generated with OpenStack. But since I updated my version of OpenStack (from Mirantis fuel 5.0 to 6.0) I have a new instance ...
1
vote
2
answers
1k
views
Free space in /boot partition with dependency loop
Summarising my problem is that my /boot partition is almost full but I can't free it up due some dependencies loop.
Detailed description:
I am running a Ubuntu 14.04.2 LTS which has the /boot ...
1
vote
0
answers
61
views
How do I compile a module with different active kernel/kernel-after-reboot versions?
Let me explain, I updated my kernel but have to recompile the wifi module to work with the new one.
The thing is, I can't reboot and compile, because it's my media server to which I only have access ...
1
vote
1
answer
3k
views
openSUSE 13.2 kernel upgrade to stable version (4.1)
I have openSUSE 13.2, and I try to upgrade the kernel to the last stable version.
I added http://download.opensuse.org/repositories/Kernel:/stable/standard/ to repository and try to upgrade with ...
1
vote
2
answers
12k
views
Repair bootloader for fedora 22 after install windows
I already have fedora 22 and windows 7 in my machine , i wanna to upgrade to windows 10 but in fact i'm afraid to losing fedora
i have read the fedora documentation but still afraid to start this ...
0
votes
1
answer
487
views
CentOS 7 image naming conventions
I'm looking at the following on CentOS 7:
boot$ ls
config-3.10.0-229.7.2.el7.x86_64
config-3.10.0-229.el7.x86_64
grub
grub2
initramfs-0-rescue-9fde7dd9a7884e1b8fdef68620955b36.img
initramfs-3.10.0-...
0
votes
1
answer
361
views
USB device driver module getting killed while executing insmod?
While running make, it is showing no warnings or errors, but when I am inserting the basic USB device driver module inside the running kernel, then I am getting a "killed" message.
Here is my code:
#...
0
votes
1
answer
69
views
Why an OS has same name on different achitectures?
What is the similarity in running a same OS (like Linux) on different architectures? I mean, we cannot run Linux x86 apps on Linux ARM. And even the OS itself is constructed differently for different ...
1
vote
1
answer
3k
views
Unable to find linux Kernel Headers
I am running a custom kernel(I am not the creator of it). I need the header files for the same. .
I have tried installing the header files using this command.
sudo apt-get install linux-headers-$(...
0
votes
0
answers
976
views
USB drive not getting recognized as scsi device in custom linux kernel
I am facing a slow write speed problem with a USB drive in my custom linux kernel. I suspected to be a hardware problem but with the same hardware and Opensuse 12.1 OS, write speed of my USB drive is ...
2
votes
1
answer
2k
views
System hangs when using too much RAM even with swap off
When I run a piece of python code that uses too much RAM, my computer would start to swap so badly that I had to do a hard reboot. To fix this I turned off swap assuming that the OOM killer would ...
2
votes
1
answer
1k
views
In Linux, how is a program loaded into memory when the OS decided to run it?
As we know, Linux implements page cache to store the code or data from pieces of a file that will be potentially used. One of my question is, when a program, e.g. vim, is going to run, its data and ...
0
votes
2
answers
285
views
How can I tell what process is unmounting a file system?
I am trying to troubleshoot an issue with a fuse library, where it appears that someone is causing my file system to be unmounted soon after it is mounted.
Does anybody have any clever ideas how I ...
0
votes
1
answer
694
views
dmesg -n 7 doesn't print anything, but dmesg prints a lot
As stated:
$> dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacc
...
$> dmesg -n 2
[ root@...
1
vote
1
answer
129
views
Sharing a hard drive between two hosts, one at a time
I have a large hard drive in my desktop computer. My laptop has an eSata port. Sometimes, I power-up the desktop PC, without booting, just to get juice flowing into the hard drive so that I can ...