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
16 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
14 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
7 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
13 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
16 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
27 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
45 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
17 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
16 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
28 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
76 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
12 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
33 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
76 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
59 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
41 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
18 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
134 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
207 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
49 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
0answers
302 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
41 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 ...
1
vote
1answer
415 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
44 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
24 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
59 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
33 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
55 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
57 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
404 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
113 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
28 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
59 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
65 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
25 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 ...
1
vote
1answer
52 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 ...
0
votes
1answer
181 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
86 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
34 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
498 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
80 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
457 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
138 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 ...
0
votes
0answers
88 views

Oom-killer (out of memory) with plenty of RAM (?!) - inotify

I'm facing an issue by putting inotify to a huge amount of folder (~2 000 000). I changed the max_user_watches to 8388608 : echo 8388608 > /proc/sys/fs/inotify/max_user_watches To support this ...
0
votes
1answer
728 views

Error when compiling Linux kernel

I get an error when trying to compile Linux kernel 3.8.0-32 on Elementary OS Luna, based on Ubuntu. I have a Lenovo S400 notebook, and the command I used is: sudo make-kpkg --initrd ...
0
votes
2answers
131 views

Running OS X command-line programs on Ubuntu

Given that Mac OS X is derived from BSD (Berkeley Systems Distribution) UNIX, I would assume that in some way or another, it would be possible to run command-line OS X programs on Ubuntu. I am really ...
0
votes
0answers
26 views

What are the basic dependencies in linux to detect and use USB?

What are the basic requirements to detect and mount usb on the Linux platform till now I have found following dependencies : Power up pulse to the pins of USB port in GPIO drivers usb drivers ...
1
vote
0answers
7 views

How to approach searching for sources of interface unresponsiveness

On Debian Linux: On a relatively powerful machine I ran an update and both the kernel and the window manager got updated to newer version. At that point the machine become noticeably less responsive: ...
0
votes
1answer
110 views

Linux kernel - check currently used drivers

Is it possible to check what drivers from linux kernel source are used for currently working devices in the system? I know that usually device drivers are written as kernel modules, but some of them ...