This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.

learn more… | top users | synonyms

1
vote
0answers
17 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?
0
votes
0answers
31 views

IOstat command changes in Linux Kernel 4.2

I implemented this IOStat command http://sourceforge.net/projects/iostat/ in Java successfully but it turns out that this command is working only for Linux Kernels between 2.4 and 2.6. If someone is ...
0
votes
0answers
6 views

Custom built Linux kernel automatically reboots after entering my password

Recently I build my own custom kernel. After update-grub I can see the log-in windows, but after I type my password, It suddenly reboots, and I can not see the Ubuntu desktop. And then I reboot as ...
1
vote
1answer
74 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 ...
0
votes
2answers
116 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
1answer
425 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
1answer
28 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
0answers
621 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
0answers
82 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
1answer
82 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 ...
1
vote
0answers
86 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)> | | |...
0
votes
0answers
948 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 ...
0
votes
0answers
26 views

An interrupt of a DMA(=Direct Memory Access) and a running kernel process

Can an interrupt of a DMA(=Direct Memory Access) stop a running kernel process?
0
votes
0answers
105 views

LFS (Linux From Scratch) USB boot crashing

A hard drive in an enclosure has the following, assume that this drive is being recognized by grub2 as hd0: partitions 1 to 3 are primary partition 1: /boot (boot partition) partition 2: / (linux ...
1
vote
1answer
111 views

How to get mac address of a device using linux without using automatic tools?

I want to know if there is a method to obtain mac address of a protected(wpa 2 ) wifi hotspot or network without using aircrack -ng , airdump-ng,etc. But rather by some basic command.
1
vote
2answers
615 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
0answers
37 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
1answer
2k 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
2answers
4k 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
1answer
128 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
0answers
157 views

How to downgrade kernel of samsung device SM-T230

I am facing a weird problem. My client reported that our game(which is based on cocos-2dx 2.2.6) displays black screen after focus change on one device namely Samsung Galaxy Tab 4 SM-T230 the Log ...
0
votes
1answer
69 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
1answer
32 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
1answer
25 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
0answers
14 views

Possible problems of down grading linux-kernel

I am running a Open Network Linux on a switch, it is running a 3.8.13-OpenNetworkLinux-e500mc-1.5, which is a variant of linux kernel 3.8 . I want to change to linux kernel 2.6.27. Will there be any ...
0
votes
0answers
162 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 ...
0
votes
1answer
270 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
1answer
197 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
2answers
29 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
1answer
38 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
1answer
49 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 ...
2
votes
1answer
600 views

Force a Linux kernel module to be compiled as a module instead of built-in

I have the sources of the kernel of an embedded Linux box (specifically a QNAP NAS) which is running a 64-bit v3.12.6 Linux kernel, together with the kernel config files. What I'm trying to do is ...
0
votes
1answer
253 views

How to change the default terminal beep frequency of the PC speaker?

I want to change the default sound frequency ofSND_BELL(which is used when\aor BEL or ^G is printed on the screen) to higher values (the current default is around 750Hz). Of course this turn to need a ...
1
vote
1answer
38 views

Ubuntu 10.04 | Terminal Freezes on certain commands | MTU

Isolated problem: I try to cat /etc/rc.local and I can't do anything in the ssh session after that. I've tried many of the common things, but it seems to freeze on any command, but I can do an ls, w,...
2
votes
1answer
115 views

VirtualBox broke Fedora networking - how to fix it?

I was trying to install VirtualBox in my Fedora 21 machine. However, the cited machine has Secure Boot enabled and obviously VirtualBox startup failed miserably due to lack of signing in its modules. ...
0
votes
1answer
194 views

Uninstall latest kernel using yum

The latest kernel kernel-3.10.0-229.1.2.el7.x86_64 panics at boot on my CentOS 7 box due to a kernel bug. Since this kernel is the default in GRUB, if I forget to manually change the kernel selection ...
1
vote
0answers
68 views

Which devices in /sys/block are HDDs?

I'm interested which devices in /sys/block are real HDD drives: [root@sdp1a block]# pwd /sys/block [root@sdp1a block]# ls dm-0 dm-12 dm-3 dm-7 loop1 loop5 ram1 ram13 ram3 ram7 sdaa sdae ...
0
votes
0answers
47 views

How to change kernel message VT in linux

I feel kinda stupid, since I'm certain I used to know this. But here goes. How can I change which VT kernel messages print to? I use text-mode primarily, typically on vt1. Unfortunately, kernel ...
0
votes
1answer
329 views

how to enable pci hotplug support in ubuntu 13.04

Kindly help. I have a pci-based wifi adapter which is not getting detected when i plugged it into the laptop. OS: Ubuntu 13.04 Kernel version: 3.8.0-19-generic
3
votes
2answers
7k views

Where are Kernel Headers for Fedora 21?

I'm trying to install VMware on Fedora 21. I've installed the kernel headers: sudo yum install kernel-headers-`uname -r` And I receive the following message: Package kernel-headers-3.18.5-201.fc21....
2
votes
1answer
181 views

Where is /sys/subsystem as described in Linux kernel doc?

Quote from https://www.kernel.org/doc/Documentation/sysfs-rules.txt: [...] It is planned to merge all three classification directories into one place at /sys/subsystem, following the layout of the ...
1
vote
1answer
181 views

What's the minimum overhead of a Linux container?

If I understand this correctly, a container, once running, shouldn't have any CPU overhead. Is that correct? It does have a memory overhead. How big might that be? How would I measure it?
-1
votes
1answer
114 views

Does the guest OS need updates/changes after changing the number of cores in VMware Player?

I installed ubuntu on a vm in VMware Player and forgot to change the number of cores from 1 to 8. If I change that now will the linux kernel need to be recompiled or anything like that or will it just ...
0
votes
0answers
313 views

Using a gif for linux kernel boot up

I want to use either a gif or multiple looped images instead of the default linux boot up image. I know it is possible to replace the default image with another image, but is it possible to use a gif ...
2
votes
2answers
336 views

How can I get socket information, from outside of a Linux process, on its socket?

I'm specifically interested in listening TCP sockets, but getting all and any socket (struct sock, as defined in Kernel's include/net/sock.h) information for a socket would be nice. For example, this ...
-2
votes
1answer
46 views

How to compile the linux without any audio codecs?

I want "no audio" functionality in an embedded system. So, any idea about how to configure kernel without any audio? Thanks.
2
votes
1answer
682 views

Cannot start LXC container: failed creating cgroups

I am using LXC (Linux Container) 1.0.6 on a Ubuntu 14.04 64bit Virtual Machine trying to build HTTP service in a container. I have trouble starting the container: $ sudo lxc-start -n test1 lxc-start: ...
0
votes
1answer
190 views

Where can I find the origin of specific modprobe conf option to erase it?

When I do modprobe -c |less The configuration files contains: options nouveau modeset=1 options bbswitch load_state=0 unload_state=1 options b43 nohwcrypt=1 qos=0 options rd md=0 options rd dm=0 ...
0
votes
1answer
308 views

What could cause out_of_memory & __alloc_pages

Sadly my server is permanently hangging due to out of memory: Nov 8 07:30:43 crawler kernel: Nov 8 07:30:43 crawler kernel: Call Trace: Nov 8 07:30:43 crawler kernel: [<ffffffff800cb625>] ...
1
vote
0answers
37 views

Keyboard and mouse don't work after kexec

While installing Fedora on my MacBook Pro Mid 2012 I've occasionally used kexec command to "boot" from live environment to the installed system. # yum install kexec-tools.x86_64 # mount LABEL=/boot /...