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
65 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
116 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
67 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
20 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
150 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
26 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
1answer
297 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
40 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
105 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
79 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
151 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
29 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
48 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 ...
2
votes
1answer
115 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
70 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
36 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
50 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
124 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 ...
3
votes
1answer
3k 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
74 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
55 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
166 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
58 views

Upgrading Linux kernel module without reboot

Is there any way to upgrade linux driver module without rebooting the system ?
1
vote
0answers
311 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
248 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
535 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
1answer
207 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
6k 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
249 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 ...
5
votes
1answer
2k 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 ...
5
votes
1answer
807 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 ...
1
vote
1answer
170 views

CONFIG_CMDLINE_OVERRIDE set but hardcoded vga-boot-parameter ignored?

I have build a custom linux kernel with the options: ... CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE_OVERRIDE=y CONFIG_CMDLINE="initrd=linux_os.gz root=/dev/ram0 init=/sbin/init ramdisk_size=25600 ...
2
votes
1answer
3k views

dkms does not find kernel source

For days now I am trying to get ZFS-on-Linux working on Debian 7 but the module doesn't want to compile: # dpkg-reconfigure zfs-dkms ------------------------------ Deleting module version: 0.6.3 ...
1
vote
0answers
25 views

How to disable USB Mouse only

I was developing a device driver for a USB mouse which uses the USB HID driver. The problem is that I cannot test out my module as Linux takes over the mouse directly. So how do I find out which ...
0
votes
0answers
59 views

What HID/Module does Air mouse use in Linux?

I was thinking about developing a module for running a Air Mouse. I am not sure as what module s used to carry out the operation done by air mouse. Is it under HID? (I am talking about a wireless Air ...
0
votes
1answer
200 views

How to rewrite ACPI control tables from Linux?

I have a HP Probook 4720s laptop with broken ACPI tables. The fan is always switched off and the computer tends to overheat and shut down. Under Windows I can use a program called RW_Everything to ...
0
votes
2answers
115 views

Why does the /dev directory exist?

In Linux, there is the /dev directory, which is a special directory which contains all of the files for devices and other things like random, urandom, etc. Why did this directory exist? Was it just ...
0
votes
1answer
408 views

NO <DUTY, RUN, PERIOD, POLARITY> in bone_capemgr.9(ocp.2/pwm_test_P8_13.#)FILE Beaglebone Black

I just a fresher did the servo test with my BBB, however, when I use some command as ...
0
votes
0answers
155 views

How to install kernel 3.9 in Debian Jessie from repos?

I was wondering if it is possible to install kernel 3.9 in Debian Jessie from repos. A brief check shows that there are only 2.6, 3.2 and 3.13 kernels in repos Compiling my own kernel is the last ...
0
votes
1answer
83 views

How to add code into the linux kernel?

I am studying how to analyse and evaluate the TCP/IP protocol stack of Linux. My goal is to study the performance of the tcp/ip protocol stack as a whole, to study the time cost of each layer and ...
0
votes
1answer
462 views

Error in kernel 2.6.32 compilation and stable kernel 2.6.32 source needed for customization

I am using Ubuntu 10.04 LTS with kernel 2.6.32-21-generic , and Ubuntu 10.04.4 LTS with kernel 2.6.32-38-generic. While I am trying to compile the source for both kernel version - 2.6.32-21-generic ...
2
votes
1answer
2k views

linux; return “RTNETLINK answers: Operation not supported” for dummy interface creation

I am trying to create a L3 interface in kernel v3.4.34, that is not attached to a physical interface/device and this is to be used purely as a management interface as an externally visible interface ...
-1
votes
1answer
95 views

Minimal OS with less background process [closed]

I am currently doing experiments on L1/L2/L3 cache. Measurement of L1/L2/L3 cache access time fully depends on where is my current data present, and that also depends on background process of OS ...
1
vote
2answers
2k 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 ...
1
vote
0answers
232 views

Linux - How to list all device nodes using a specific device driver

I know I can see what driver is being used for a device node if I know the major and minor number of the device(see this link). But I want to know if there's a way to list all device nodes that are ...
2
votes
1answer
2k views

Linux kernel: getting ELAN touchscreen to work, USB debug related

This problem is actually known (ext: ELAN Touchscreen regression in recent 3.12's), but has no known solution up to kernel 3.13.6: [ 3844.533281] usb 2-7: new full-speed USB device number 91 using ...
0
votes
1answer
124 views

Linux 2.6.39.4 how to find available loadable kernel modules

I'm customizing the 2.6.39.4 linux kernel on an arm platform and trying to test out a "Hello World" driver I created. I selected "M" (loadable) in the kernel make menuconfig and verified that it ...
1
vote
1answer
219 views

How Fake raid communicates with Operating system(Linux)?

I am a programmer, I studied about software, hardware and Fake raid's and I am unable to understand how fake raid communicates with operating system (Linux)? I mean which software layer or driver ...
2
votes
1answer
287 views

Linux: Is it possible to know if my kernel has support for “policy routing” enabled?

I am following these instructions in order to configure multiple default routes for Linux (I am testing it on Ubuntu v12.04 and Kali v1.0.6), and the feature "policy routing" is requested enabled in ...
2
votes
1answer
1k views

nfs and cifs shares hanging from Linux

I've got a NAS (Dlink DNS-323) that I mount from my linux box. It used to work fine, and then I upgraded my distro (apt-get upgrade). I'm running Linux Mint Debian Edition. Current kernel is: ...