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
21 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
55 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
12 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, ...
2
votes
1answer
27 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
49 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 ...
0
votes
0answers
38 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
13 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
13 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
23 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
9 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 ...
0
votes
0answers
19 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
1answer
23 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
724 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
0answers
14 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
28 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
23 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
31 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
votes
1answer
41 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
36 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
68 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 ...
0
votes
0answers
49 views

How to say the kernel to prefer self built kernel module from extra folder?

I am on Debian 8 with 3.16.0-4-amd64 kernel. It delivers already a driver for some hardware and I want to replace it with my self built module. The files are correctly installed in the extra folder: ...
0
votes
0answers
15 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
1
vote
2answers
80 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
23 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.
1
vote
0answers
167 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
0answers
24 views

update-grub creates a menu entry with read only option

I am trying to automate the installation of a new linux kernel across a data center. After the installation, my script runs update-grub to add an entry to the grub menu. It updates ...
0
votes
1answer
67 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
0answers
55 views

BATMAN protocol

I am having problems with Batctl. I installed Batman adv and batctl on ubuntu 14.04.1. I am having problems with batctl commands. When I write comand "Batctl p 00:16:bf:01:68:46" i get this error: ...
0
votes
1answer
67 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
22 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 ...
0
votes
1answer
45 views

Patch files for Linux Kernel 2.6

I am doing some data analysis on the code base of Linux kernel version 2.6. However I noticed that in the kernel website (https://www.kernel.org/pub/linux/kernel/v2.6/) patch files are missing after ...
1
vote
1answer
65 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
1answer
50 views

Will Linux work correctly with full root partition?

Will Linux work correctly when root partition is completely filled up? Let's say my application is running on different partition and has enough space. What about Linux kernel? Will it continue ...
1
vote
0answers
27 views

pppd retry issue with multiple wan interfaces

I am using two wan connections in my router with linux kernel 2.6.21. PPPOE Ethernet cable and 3G connection. Both need ppp setup. But boot sequence is different for both. many times 3G disconnect and ...
1
vote
1answer
43 views

Linux NTFS-3G General Protection Fault when using OS X in VirtualBox

I have an OS X virtual machine in VirtualBox on a Debian host. The disk image is located on an NTFS partition (which is not the system's root partition), mounted using NTFS-3G. The machine was ...
2
votes
0answers
99 views

Chipsee 7 inch LCD support in Linux kernel 3.14

Has anybody ported Chipsee 7 inch LCD on Linux kernel 3.14 or later ? Is there any patch available for the same ? If no patches any suggestion porting Chipsee LCD support from Linux kernel 3.8 to ...
2
votes
1answer
1k views

How do I stop rfkill module from hardblocking my wifi, without rfkill command?

I went into my BIOS the other day, didn't change anything, and rebooted. After this, my wifi was hardblocked. I looked online for solutions, and learned of the rfkill command. But I get rfkill: ...
0
votes
2answers
70 views

installing linux without any packages

I am programming a OS based on Linux but I want to "re-invent the wheel" in this OS just as an achievement. I have been told that Linux can be installed on a PC without any packages (obviously causing ...
0
votes
0answers
48 views

Switch off WIMAX/Wifi Intel 5150 chip under Linux

How switch off WIMAX/Wifi Intel 5150 chip under Linux using command or utilities? I recompile Linux kernel without WiMAX support, but indicator lights on the front panel of my notebook. P.S. Is it ...
1
vote
1answer
135 views

Install recent linux version in old computer?

I have tried to install several distros and versions of linux (Ubuntu and Lubuntu, from 13 to 14.04, and Mint 17) without success. Everytime the system blocks while loading the installation. I can ...
0
votes
1answer
54 views

Upgrading Linux kernel module without reboot

Is there any way to upgrade linux driver module without rebooting the system ?
1
vote
0answers
200 views

/sbin/init exists but couldn't execute it

I'm building Linux from scratch. Currently I have the kernel, glibc and sysvinit. I've compiled everything myself following these instructions. Though my version of glibc is 2.19. Also, I use grub ...
0
votes
0answers
190 views

Hide all kernel boot messages/logging when disabling splash screen Lubuntu 14.04.1

In Lubuntu 13.10 I was able to redirect the kernel messages/logging to another tty by adding the following to the Grub file in order to hide all kernel boot messages when disabling the splash screen ...
0
votes
0answers
288 views

Disable TCP keepalive on RHEL6

Is it possible to disable TCP keepalive on RHEL6? I know the kernel parameters for tuning TCP keepalive timeout are as follows: net.ipv4.tcp_keepalive_time net.ipv4.tcp_keepalive_intvl ...
0
votes
0answers
43 views

Xen E820 memory map for domU kernels

How does xen handle E820 memory map for domU kernels? In my specific problem I am trying to map Non-Volatile RAM to domU kernels. The dom0 memory map returns the following relevant parts. ...
0
votes
1answer
167 views

Can't load tun module in Linux

I am trying to set up a VPN connection, but OpenVPN fails with ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19) modprobe tun has no effect, and modinfo tun shows that the ...
13
votes
2answers
4k views

Directory - /sys in linux

Can anyone explain me what is going inside the /sys directory on a Linux system? I Googled it and got some results, but I need a clear mind on this. Is there anyone ready to give me a short (and ...
0
votes
0answers
208 views

How may I mount a disk with a Apple / Mac partition table (APM) in Linux?

I've backed up some files from a old Powerbook G4 (AluBook), and I used the Mac Partion manager or whatever to first initialize the disk. It worked, originally, as one large volume, and I copied ...
2
votes
1answer
833 views

IPsec in the Linux Kernel

I have some issues (questions) related tot the Linux Kernel implementation of IPsec and it's user-space interface. The biggest question is which is the actual official project for the Linux Kernel ...
0
votes
0answers
10 views

How to install cached linux debug symbols?

I am doing work which requires downloading and installing debug symbols multiple times for a specific linux kernel i.e: linux-image-3.8.0-26-generic-dbgsym I'm on a fast university fiber network. ...