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

learn more… | top users | synonyms

0
votes
0answers
9 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. ...
0
votes
2answers
14 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
990 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 ...
1
vote
0answers
14 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 ...
3
votes
4answers
3k views

running kernel on QEMU

I face this message: Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel. I am using this command line: qemu-system-x86_64 -hda disk.img -kernel ...
1
vote
1answer
12 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
14 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 ...
33
votes
2answers
29k views

What is difference between User space and Kernel space?

Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)? If it is the first ...
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
14 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 ...
0
votes
1answer
865 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
1
vote
1answer
1k 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 ...
1
vote
0answers
21 views

Why kernel may be throttled?

My MBR start freezing up for over hour and I've found that my kernel reported being throttled, e.g. (this is just a sample for 2 seconds) $ sudo fs_usage | | grep -i throttled 12:26:45 THROTTLED ...
0
votes
1answer
26 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
40 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
votes
0answers
23 views

What is the difference between “make defconfig” and “make alldefconfig”?

When configuring a linux kernel there are different ways to use a "default" config: defconfig - New config with default from ARCH supplied defconfig alldefconfig - New config with all ...
1
vote
1answer
28 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
140 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
42 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 ...
2
votes
0answers
14 views

WiFi card disappears after reboot, but not after cold boot

I have an Arch-based server (Zotac Nano, AMD Kabini-based) which doubles as WiFi access point using a miniPCI Atheros WiFi card. If I start it form cold boot (as in “it was off”), then everything ...
-1
votes
0answers
21 views

Using specific driver version for the device jointly defaul driver [duplicate]

I have dongle USB-RS85 like this, based on CH340G. There is linux kernel driver ch341 that support this device (and create device /dev/ttyUSB0). But this driver does not support parity modes ...
0
votes
0answers
35 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
23 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.
0
votes
1answer
863 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
2
votes
0answers
38 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 ...
5
votes
2answers
1k views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
6
votes
1answer
352 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
787 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
36 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
30 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 ...
4
votes
1answer
4k views

Setting up HDMI output from Linux console

I am currently running Debian Wheezy on a HP Microserver N54L with an AMD Radeon 5450 video card. I would like to be able to play audio from the console through the HDMI port of my video card and ...
0
votes
1answer
8 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
7k 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
42 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
18 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
51 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
34 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 ...
1
vote
0answers
47 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
28 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
56 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 ...
1
vote
1answer
66 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
564 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
34 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 ...
1
vote
0answers
48 views

Qualcomm Atheros AR298X not working with recent kernels

My wifi doesnt work. It used to when the kernel was 3.18 or less. If I have a kernel more than 4.1 it will not work. I would like to use ubuntu 16 and I don't want to downgrade the kernel. lspci | ...
2
votes
2answers
331 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
0
votes
0answers
16 views

Kernel bug at at fs/dcache.c on XenServer

Yesterday on of our servers running Xen 6.5 restarted, in /var/log/messages I found following messages: Apr 29 11:52:59 server kernel: [7476681.051566] ------------[ cut here ]------------ Apr 29 ...
58
votes
3answers
32k views

Why is swappiness set to 60 by default?

I just read some stuff about swappiness on Linux. I don't understand why the default is set to 60. According to me this parameter should be set to 10 in order to reduce swap. Swap is on my hard ...
5
votes
3answers
78 views

How filesystem atomically writes a block to disk?

Block is an abstraction provided by filesystem, block size is integer multiples of disk sector size. Suppose a filesystem uses 4K as its block size, and the disk sector size is 512B, when the ...
0
votes
1answer
45 views

Designing a new Operation System

I want to design a new OS to learn more about how an OS works. This OS is only for educational purpose and I had a few doubts choosing its kernel. Is there any legal issue for using an Ubuntu ...