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
10 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
20 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 ...
9
votes
2answers
468 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
77 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 ...
1
vote
1answer
64 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
7 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. ...
0
votes
0answers
43 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
0answers
31 views

unable to find a suitable fs

I am trying to install edx on a virtual machine. But i am getting problem with apparrmor.When i run command. $ apparmor_parser Warning: unable to find a suitable fs in /proc/mounts, is it ...
0
votes
0answers
10 views

Is ramdisk_size still needed with a .cpio initrd?

I'm creating a rescue system with the following two files: rescue.linux (version 3.2) initrd.cpio The initrd.cpio file can be quite large, larger than the default 4MB of a ramdisk. However, it ...
0
votes
0answers
14 views

kernel configuration: select specific drivers or symbols regardless of dependencies?

Is there a way in "make menuconfig" et al. to start with enabling device drivers that you want included, and have it enable the necessary (dependent) generic options and APIs automatically? As it is, ...
0
votes
0answers
20 views

Virtual machines on Secure Boot

I have Fedora 20 installed with Secure Boot. I've been trying to make a virtual machine using OracleVM VirtualBox and VMware Workstation, but none of them work (vmmon couldn't be started). After ...
1
vote
1answer
47 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 ...
0
votes
1answer
140 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
18 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
20 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
0answers
37 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
78 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
0answers
20 views

Acpitool no information

When I run as root acpitool I recieved Battery is not present, bailing out. AC adapter : <info not available> Thermal info : <not available> I can understand why all the ...
0
votes
0answers
42 views

What is the difference between cat and normal file operations on proc files

I have implemented a ps like utility module for procfs which extracts basic information such as command, pid, tgid etc. I have used the sequence file approach. I am inspecting my proc file using two ...
0
votes
1answer
111 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
77 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
44 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
0answers
22 views

How can I to update the kernel in my network NAS from Conceptronic: CH3SNAS (same as D-Link DNS-323)?

I have installed Fun_Plug (up to v0.7) and using it for years in my CH3SNAS, following instructions from Uli's web site, but even when the site has new kernel modules for download, I have not been ...
0
votes
1answer
161 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 ...
1
vote
1answer
340 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
55 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 ...
0
votes
1answer
409 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
58 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
565 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
56 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 ...
0
votes
0answers
17 views

Need an application that takes a few seconds to test some speed up techniques

there is this ARM9 SAM9G25 embedded device, which I like to improve its performance. I'm using Buildroot 2013.10 to generate the bootable Linux 2.6.39 images. There are some methods I'd like to apply ...
0
votes
0answers
26 views

Linux: Keypresses missed when typed, possibly IRQ issues?

I have a strange behavior on a Raspberry Pi, running a buildroot'ed Linux kernel 3.13.5. When the system comes under a little load (eg. mpd is running in the background happily playing out some ...
0
votes
0answers
72 views

Linux kernel module is not running anymore when switching from mdev to udev

I'm using Buildroot 2013.10 to generate my Linux 2.6.39 Images, with the following Kernel module: void GPIO_LED(void) { printk(" GPIO: set PC8: '0'); at91_set_gpio_value(AT91_PIN_PC8, 1); ...
0
votes
0answers
44 views

Hardware watchdog only works on one of two almost identical systems

I've got two industrial single board computers which should be identical except for one has a Intel Atom Z510 and the other a Z530 (1.1GHz vs 1.6GHz and Z530 has hyperthreading). I'm pretty sure the ...
1
vote
1answer
61 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 ...
1
vote
1answer
68 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 ...
1
vote
1answer
510 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: ...
0
votes
1answer
138 views

Which version of the Linux kernel does Firefox OS use?

Firefox OS is described as a Linux-based operating system, but I've never seen any information about which kernel version various releases use. Mozilla's release management only mentions the ...
0
votes
1answer
29 views

building custom kernel on redhat 9

I'm trying to build a kernel 2.4 on redhat 9. but when I go through theses steps: make menuconfig make dep make bzImage make install they return no error but when I try to boot into it, it returns ...
1
vote
0answers
69 views

Linux Kernel TCP socket functions

So I have been looking through the Linux Kernel v3.8.0-19-generic source code and I noticed that the proto struct, whose members are virtual functions for socket operations depending on the particular ...
1
vote
0answers
67 views

getting error while adding a system call

I'm using Ubuntu 12.04(64bit) and installed kernel version linux-2.6.37.3. My device is ASUS x201ev net-book(64 bit). I'm providing the link of procedure i used. i edited unistd_64.h file also and ...
1
vote
2answers
26 views

Where can I find submitted Linux patches?

Is there a central repository that holds Linux kernel/driver patches that have been submitted, but not yet integrated into a kernel release? Ideally, such a repository would be searchable by kernel ...
2
votes
1answer
78 views

Why is INSTALL_MOD_STRIP not on by default?

I haven't compiled Linux kernels in a couple of years, and now that I started doing so again I discovered that modules are installed with debug symbols by default unless INSTALL_MOD_STRIP=1 is passed ...
1
vote
1answer
209 views

Linux: Random kernel oops in mmap functions

For the last month or so I've been getting seemingly random kernel oopses. I've started to notice a pattern: from looking at the traces, the call trace always involves mmap functions. Whenever one of ...
1
vote
1answer
95 views

Linux root filesystem on custom hardware

I have a custom-designed SoC implemented on FPGA, based on an ARM-processor clone, on which I am trying to boot Linux (kernel 3.10). I have successfully added support to my custom peripherals (an ...
0
votes
0answers
36 views

why the device file can not be found in init process after kernel booted?

I want to execute a script in init process, and I want it auto restart whenever it is terminated. I put this line in /etc/inittab ::respawn:/root/test.sh and the test.sh contains this line (I ...
0
votes
1answer
555 views

How to get ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter running on Ubuntu 12.04

I've got issues getting ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter to run ob an Ubuntu 12.04 box. I've downloaded latest sources from http://www.mediatek.com/_en/07_downloads/dl.php ...
1
vote
0answers
85 views

My own linux Chorded keyboard driver and interface to my embedded application

I wan to develop my own keypad driver to my own keypad. I have to used GPIO to identify Key Events and used I2c to get scan code. I am going to develop keypad driver like this. #include ...
0
votes
1answer
499 views

Building Custom Kernels for ChrUbuntu on Samsung Chromebook XE500C21

I am trying to build custom kernels for my Samsung XE500C21 running ChrUbuntu. I need kernels that are at least 3.4.0 because I'm trying to run VMWare Workstation. I am running ChrUbuntu 13.04. I have ...
0
votes
0answers
145 views

Buildroot : how to install generated images on another disk?

I use buildroot to generate linux kernel, rootfs and boot-loader (grub) for i386-i686 architecture. The generated image works with qemu. I have tested with "unetbootin" and "linuxlive usb creator" to ...