Everything about UNIX kernels: development, configuration, compilation, design, etc.

learn more… | top users | synonyms

2
votes
1answer
45 views

What are linux long term support kernels?

I'm running an arch linux server and recently switched to an lts kernel from the repositories. Since I'm not rebooting the server very often, I want a stable kernel that is supported for a very long ...
1
vote
1answer
48 views

Why is /lib/modules so huge under my gentoo, compared to Ubuntu

I have a Gentoo installation. For compiling the kernel I used the configuration from Ubuntu 14.04 kernel. I find it hard to understand why the sizes of the modules libraries are so different: In ...
0
votes
1answer
40 views

grub2 + how to print the current index according to grubby --info=ALL

how to verify in linux 7 , what is the current index that have the current kernel version for example I want to know if the kernel - 3.10.0-327.18.2.el7.x86_64 is located in index=0 or index=1 or ...
2
votes
0answers
54 views

how to capture the latest kernel version from grub.conf

how to capture the latest kernel version from grub.conf ( in case default=0) for example the latest kernel from the file is 2.6.18-409.el5 # all kernel and initrd paths are relative to /...
4
votes
2answers
20k views

Command to install linux headers fails

I need to install my linux headers for an Nvidia driver install. But I get an error when doing so: peter@peter-deb:~$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done ...
5
votes
1answer
767 views

Why isn't “REISUB” working on Debian?

I'm using Debian 'Jessie'. Sometimes my computer freezes, and then I can't use Ctrl+Alt+Del to reboot, Ctrl+Alt+Backspace to kill the X Window System nor Ctrl+Alt+F1 to open a new shell. I've read in ...
1
vote
1answer
29 views

linux + grub.conf not exist

I just need to check some redhat machine version - 6 and I notice that grub.conf inst exists how this Linux machine know with which kernel to start? ( in case grub.conf not exists ) is it safe to ...
1
vote
1answer
26 views

How to print the latest kernel version from grub.conf on Linux 7

On Linux 5 and 6 I can print the /etc/grub.conf How to verify the latest kernel version on Linux 7? , like we do on Linux 5 and 6 from grub.conf #boot=/dev/sda default=0 timeout=15 #splashimage=(hd0,...
1
vote
0answers
83 views

Unable to compile Linux Kernel 4.7-rc2

I was trying to compile Linux Kernel from source. I've compiled the kernel previously and never got any error. But this time I am facing an error. The error is CHK include/generated/asm-...
1
vote
0answers
15 views

Package additional in-tree modules

Targeting an up to date Fedora whose kernel unfortunately lacks a module: Is it possible to package the module (using kmod or whatever existing infrastructure), so that the module package has the ...
0
votes
1answer
115 views

Too many rcuos and rcuob processes in my VM

I am running CentOS 7.2 (3.10.0-327.18.2.el7.x86_64) as VMware guest with 2 cpu and 6 GB RAM on my Lenevo W540 iCore 7 having 32 GB RAM. I see 128 processes each for rcuos and rcuob in my VM. This ...
1
vote
0answers
50 views

kernel messages “lost 9599 rtc interrupts”

I just started getting these messages on my Fedora 23 x86_64 system. Can someone tell me what they mean please? rtc broken or failing? Jun 4 01:32:54 fc23 kernel: hpet1: lost 9599 rtc interrupts Jun ...
3
votes
1answer
42 views

Update kernel on ARM device

How can I update the kernel of my ARM device? The device I have been using is A20-Olinuxino LIME board, withDebian GNU/Linux 7.6 (wheezy) image booted from NAND. The uname -a command displays 3.4.102....
0
votes
1answer
49 views

Debian installation does not boot, shows iwl3945 0000:03:00.0: Could not read microcode: -12 error repeatedly instead

When trying to boot my Debian laptop, I encountered this error: May 31 06:59:44 Termina kernel: [28753.081242] iwl3945 0000:03:00.0: Direct firmware load failed with error -2 May 31 06:59:44 Termina ...
2
votes
2answers
205 views

extract Embedded initramfs

I have a kernel in which one initramfs is embedded. I want to extract it. I got the output x86 boot sector when I do file bzImage I have System.map file for this kernel image. Is there any way to ...
0
votes
1answer
32 views

qemu infinite loop on boot

I'm currently trying to set up a virtual machine emulating a ARMv7 Cortex-A8 on a x64 host running qemu. I've got a zImage which was built with the realview defconfig and a rootfs in cpio format. ...
3
votes
1answer
2k views

What does “DMA: Out of SW-IOMMU space” error mean?

First the link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1060268 Since this affects the kernel and other Distros, what does this type of error mean and why it happens?
0
votes
2answers
30 views

Updating kernel: vmlinuz in /boot not being created by DNF

Brand new F23 install, trying to update the kernel. I did lose power during the first round of dnf update and have to go clear out a bunch of conflicts that dnf kept reporting. It's possible I removed ...
1
vote
1answer
1k views

psmouse sync issues!

I have Compaq CQ61-420US (64-bit AMD) laptop with Synaptics touchpad checked using $ egrep -i 'synap' /proc/bus/input/devices N: Name="SynPS/2 Synaptics TouchPad" But recently after Arch Linux 3.15-...
1
vote
0answers
37 views

Possible slab memory leak related to bio and btrfs?

I'm currently running a rebuild on a btrfs NAS (~20TB) that had a drive failure. It's going to take a few days. My problem is about once every 24 hours the RAM filled up and the kernel starts killing ...
1
vote
1answer
25 views

Push firmware files in ath10k to Debian firmware-atheros

I would like to quote wireless.wiki.kernel.org: The ath10k firmware images are available from linux-firmware.git which all common Linux distributions should install by default. Latest firmware ...
0
votes
0answers
31 views

Partitioning (format) problems with LiteOn PCIe SSD

I recently got a HP Z Book 15 g2. That model has two disks, one of them (in my model) is a LiteOn PCIe SSD (Liteon CX1 JB256 HP). I want to install Linux on that particular disk. First, I tried with ...
3
votes
1answer
1k views

Scaling issues of i7 3520M with intel_pstate module on Kernel 3.10.0

Few days ago I updated my openSUSE 12.3 system from Kernel 3.9.8-1.gf3348a8-desktop to 3.10.0-1.g3dcd746-desktop and since then, turbo mode of my i7 3520M is enabled by default and it does not ...
2
votes
1answer
17 views

How to find a specific patch for a kernel file

I've been debugging an issue in my linux kernel and have found a fix for the issue. Checking cross reference, I can see that the fix was applied to that file between kernel version A and kernel ...
1
vote
1answer
2k views

how to make LVMs at available boot? kernel panic - dracut cannot find logical volumes after kernel upgrade in CentOS 6.6

I have a centoOS 6.6 vmware vm that I ran yum update on which upgraded the kernel after reboot, I started getting this: dracut Warning: No root device "block:/dev/vg_myhost/lv_root" found dracut ...
0
votes
1answer
37 views

psmouse kernel module recompiling

I have a ultrabook and its touchpad doesn't work. Linux mike 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux touchpad doesn't work and it is also not listed in output of ...
1
vote
1answer
102 views

Centos 7 not loading latest kernel at boot

By default, centos 7 comes with kernel version 3.10.x. After installation of centos 7, I have upgraded kernel to 4.6.x that is latest stable version. My system is remote. First, it is very expensive ...
1
vote
1answer
47 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
6
votes
2answers
145 views

scripted configuring of a linux kernel

Given a list of kernel features, I want to create a minimal linux configuration supporting all given features (and the corresponding dependencies) but nothing else. Is there a way to create a ...
2
votes
1answer
146 views

How to switch arch linux to lts kernel?

I'm running a headless server installation of arch linux. The high rate of kernel upgrades caused me some maintainance headache and I therefore wish to switch to the lts kernel. I already installed ...
0
votes
0answers
40 views

Linux + what are the steps use the oldest kernel version in place of the current

I have Linux red-hat 5 version I want to reboot the machine with the previous kernel - 2.6.18-408.el5 so I set the default to 1 but before I will reboot the machine to startup with the older kernel ...
2
votes
1answer
24 views

Packing a bootloader as kernel image

Can a bootloader (lets say lilo) be packed as a valid zImage to trick other bootloaders to chainload another bootloader? Sorry about my english and excuse me if I am not clear enough.
2
votes
0answers
41 views

How to remove all old kernels except the two latest

The following command deletes all kernels except the latest: package-cleanup --oldkernels --count=1 Does the following command delete all but the two latest kernels? package-cleanup --...
6
votes
1answer
362 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
2
votes
1answer
878 views

Error compiling buildroot

I updated my buildroot for the version "2014.08" (stable version) and I updated the Kernel version (3.12.26) of my project, when the buildroot try to build the linux-headers-3.12.26 package, occurs ...
1
vote
1answer
60 views

Invalid Build path for driver creation

I wanted to create a simple Hello world driver as in here: Page2 and compile it with Makefile: obj-m := hello.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
0
votes
2answers
40 views

Why should not I update to most recent kernel immediately after release [closed]

Question intended for system administrators. Consider system running a old but working kernel and all the required functionality is available. (Ubuntu 12.04 LTS specifically with kernel 3.2) Then a ...
0
votes
1answer
9 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...
16
votes
4answers
8k views

How can I write to dmesg from command line?

I'd like to write a statement to dmesg. [How] can I do this?
2
votes
1answer
46 views

How do I run the Linux kernel?

I'm reading Robert Love's Linux Kernel Development in order to learn more about, well, Linux kernel development! But in Chapter 2: Getting Started with the Kernel, I'm instructed to download and ...
0
votes
1answer
25 views

Missing NIC in CentOS 5 - AsteriskNow 1.7.1

So I have two nics, but I can't get the second to load, here is the output from lspci -vvv 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Super ...
2
votes
2answers
56 views

How can strace monitor itself?

I have a Hypothetical Situation. (1) Let us say we have two strace Processes S1 & S2, which are simply monitoring each other. How can this be possible ? Well, in the command-line options for ...
2
votes
1answer
40 views

Compiling a kernel on STLinux

I have recently accessed STMicroelectronics Base Distribution with BusyBox v1.18.2, built-in shell. I read all the information on STLinux documentary regarding my problems, and followed all the steps....
1
vote
0answers
67 views

No perf (linux-tools) for kernel 4.5.2

When I first installed 16.04 LTS, at kernel 4.4.0, I had a decent battery life of about 3 hours average, but I upgraded to 4.5.2 to solve the suspend problem and some other issues, and now it's less ...
0
votes
1answer
41 views

Linux red-hat + kernel patch update

I need to run the yum update on my Linux redHat machine during the yum update , I sow that yum perform some patch kernel update therefore I little worry to perform a reboot , because the patches of ...
1
vote
1answer
69 views

Remove the new kernel

I was working without any problem and one day the computer didn't start he said that there is a problem in the Xserver , so I connected to my computer through ssh and reinstalled xserver-xorg ,xserver-...
1
vote
1answer
114 views

Unable to boot after updating the kernel rhel 6.7

I am having a Red Hat 6.7 running on VM which I updated with the latest version kernel-2.6.32-573.26.1.el6.x86_64. but after this update I received the below error: kernel panic-not syncing: VFS: ...
1
vote
3answers
279 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use make menuconfig to ...
2
votes
1answer
586 views

How to automate configuration of the Linux kernel build

I'm compiling a flavor of the Linux kernel based on the default configuration (for an ODROID system), with some additional features enabled. I want to automate this process so that I don't have to ...
1
vote
1answer
43 views

Dracut failure when trying to boot Fedora with Qubes kernel

I would like to boot Fedora 23 Workstation x86_64 with a kernel from QubesOS 3.1. I have copied vmlinuz-4.1.13-9.pvops.qubes.x86_64 and initramfs-4.1.13-9.pvops.qubes.x86_64.img into the /boot ...