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

0
votes
0answers
2 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 ...
-3
votes
0answers
22 views

How are memory read, write, execute permissions enforced in the Linux kernel?

How is a system able to restrict processes from being able to write to regions of memory set read-only? In particular, how is the Linux kernel able to enforce these permissions, assuming that the ...
-2
votes
0answers
13 views

I need to restore the rpi backup image if the boot time of RPI time out (watchdog)? [closed]

Or Continuous 5 failed boot loading leads to restore (Image)point.. Key points: GPU loads the first stage of the boot loader then parallel i want to start my Watchdog which is on RPI. and if the ...
0
votes
0answers
6 views

Can kexec be used to start Linux on a separate partition?

Assume I have two partitions. Each contains a full installation of a different distribution. I know kexec is like using one kernel as a bootloader to start another. But can this process be used to ...
12
votes
6answers
14k views

What does “sudo -s” actually do?

I am using ubuntu 10.04. I notice that after I run "sudo -s" in terminal, the prompt changed from "XXX@XXX" to "root@XXX", seems it changed to root privilege. But when I check the ...
0
votes
1answer
15 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
3k views

What do these error messages mean and how to fix it?

============================================================== actually I figured out this is an issue of intel video driver:http://lkml.indiana.edu/hypermail/linux/kernel/0902.3/01703.html ...
0
votes
1answer
29 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
16 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 ...
0
votes
0answers
13 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 ...
7
votes
3answers
16k views

Linux kernel hangs at 'Switching to clocksource tsc" on Pentium 4

Hardware: Dell Dimension 4500S : i845G, Pentium 4, stock + 2GB RAM and latest (circa 2002) BIOS update. I've been building a Linux system from source, so far it's LFS 7.0 by the book. The first ...
5
votes
1answer
11k views

Where can I find the Linux kernel file?

Is there any common directory to find kernel file in all Linux distributions?if yes please tell me how to browse to the directory? Where can I find the Linux file in Ubuntu & RedHat operating ...
0
votes
1answer
45 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 ...
0
votes
0answers
13 views

Strange noise with alsa-oss-emulation

I try to access the sound chip via ALSO OSS emulation on a ETX-BT-module (x64-CPU, x86-Kernel, vanilla kernel 3.10.10, busybox, Realtek ALC 262, 4-channel High Definition Audio integrated into SOC ...
0
votes
2answers
20 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
0answers
45 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
0answers
27 views

Ubunbtu 12.04 iptables error after upgrading kernel to 3.4

I been using Ubuntu 12.04 for well 3 years and using it with kernel 3.2. I decided to upgrade to kernel 3.4 because some freezing problems starting to occur more and more. Well the update went well. ...
0
votes
0answers
16 views

notebook asus x551ma - moire pattern takes place - how to reduce effect on linux

I just faced a strange issue with my notebook asus x551ma LED and LCD (the Moire Pattern) which is quite good described on wiki pages; Some users provide "how they handle the effect for their ...
2
votes
1answer
39 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
1answer
15 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 [ ...
1
vote
1answer
40 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 ...
0
votes
4answers
3k views

Can I install Linux on a USB flash drive?

I want to install Red Hat Linux on my flash drive. Is there a way that I can do this? I tried a lot found through searching, but couldn't get a satisfactory answer. In fact, if I try the same for ...
1
vote
1answer
88 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 ...
1
vote
1answer
262 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: ...
2
votes
2answers
670 views

Where do I look for Linux kernel module documentation?

Where do I look for Linux kernel module documentation? For example, I've tried googling the module iwlagn, but I cannot find anything that tells me about available options. Where do I look?
4
votes
2answers
2k views

lsmod and /proc/modules

I can get a list of modules using either lsmod or cat /proc/modules. Do the two approaches use the same mechanism to retrieve the modules? I want to know this as we could use it to find some hidden ...
9
votes
2answers
6k views

How to get a list of active drivers that are statically built into the linux kernel?

While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
2
votes
1answer
53 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. ...
4
votes
1answer
738 views

What is the exact difference between the parameters (pgpgin, pswpin) and (pswpout, pgpgout) in /proc/vmstat?

Please note that this question is specific to linux only. And by swap space, I mean the dedicated swap partition. I did google a bit on this, and found these definitions: Paging refers to writing ...
0
votes
1answer
102 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
23 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, ...
0
votes
1answer
64 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
3k 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 ...
0
votes
1answer
80 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
1answer
31 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?
0
votes
0answers
22 views

Thinkpad Edge E545: Failure to load kernel through efi

Now this is an issue I've been battling for a long time ... I am trying to make a proper UEFI dualboot system, the problem is I cannot seem to load gentoo kernel either simply by using EFI stub (also ...
1
vote
2answers
1k views

Not enough host controller resources for new device state

I have a debian mint based system where I plug in 16 usb devices. The Kernal is: 3.11.0-12-generic After about 10 or so devices I start to experience problems with connecting new ones. There error ...
0
votes
0answers
71 views

Kernel building with CONFIG_LOCALVERSION doesn't work with fakeroot debian/rules binary-generic?

I'm following the instructions in https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel and I've set CONFIG_LOCALVERSION in the menu to "xhci_mod_test". I then run fakeroot debian/rules and it proceeds ...
1
vote
0answers
20 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
19 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
0answers
41 views

Build DAHDI for Beagleboneblack Error

I'm planning to build DAHDI for Beagleboneblack Firstly, I built the kernel for BBB completely by following this tutorial http://elinux.org/Building_BBB_Kernel make ARCH=arm ...
0
votes
0answers
32 views

why an interrupt context should not sleep?

In linux i have studied that an interrupt context should not sleep because it can not wake up again. Why it can not wakeup ? What happened if its go to sleep ? please explain in detail Thanks in ...
0
votes
0answers
21 views

cpusets compiled in kernel but not visible when running

Device: radxa ( 4-core ARM ) the official kernel from radxa is used with the ubuntu 14.04 rootfs : https://github.com/radxa/linux-rockchip.git. As cpusets where not enabled in def_config, i enabled ...
1
vote
1answer
63 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 ...
2
votes
1answer
97 views

Gentoo Linux: Building a kernel that only only contains drivers for the hardware in place

I would like to build a kernel for my system that only contains modules for the hardware which is really in place. Of course I can walk through lspci and manually select all the necessary device ...
0
votes
0answers
40 views

How can I change a ChrUbuntu 12.04 install over to Arch ARM on a first generation Samsung Chromebook XE500C21?

I installed ChrUbuntu 12.04 on my Chromebook (Samsung XE500C21) using this script. Is there a way to swap my distro over to Arch ARM? Failing that, is there an easy way to install Arch ARM on the ...
1
vote
5answers
29k views

Where can I find linux-kernel-headers-x.x.x.x for SUSE?

I'm installing VMware Workstation on a SLED 11 SP1, and the installation is blocked by an error message "Kernel headers for version 2.6.32.27-0.2-default were not found". If you installed them in a ...
-1
votes
1answer
47 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
55 views

UBI ERROR: Attach Error

I get this UBI error while I try to attach mtd device. [root@npa-be ~]# ubiattach -d 0 -m 3 UBI: attaching mtd3 to ubi0 UBI: physical eraseblock size: 1048576 bytes (1024 KiB) UBI: logical ...
0
votes
0answers
106 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 ...