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

4
votes
1answer
507 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
91 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
29 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
37 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
29 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
136 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
2k 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
23 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
51 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
120 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
110 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
69 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
59 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
343 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
129 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
77 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
391 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
1k 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
80 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
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 ...
1
vote
0answers
167 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
97 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
179 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
192 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: ...
0
votes
1answer
215 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
33 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
1answer
120 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
110 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
28 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
276 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
332 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
131 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
1answer
908 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
112 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
667 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
1answer
1k 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
150 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 ...
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
340 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 ...
0
votes
1answer
134 views

How should I prioritize specs for a Linux Kernel development workstation/system? [closed]

I'm working on a Linux Kernel development project (specifically OpenEmbedded/Yocto Project) in which kernel and embedded software compilation is the primary task and my laptop with a dual-core Core ...
2
votes
1answer
188 views

How to make Linux reliably boot on multi-cpu machines?

I've got two machines, one with 4x12 AMD Opteron cores (AMD Opteron(tm) Processor 6176), one with 2x8 Xeon cores (HT disabled; Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz). On both machines I experience ...
1
vote
2answers
503 views

What are the Compile time considerations to reduce the size of binary on Linux?

I have compiled one utility and created the binary on my Linux System. But the size of this binary is 2.3 MB and I need to reduce the size of this binary. I tried applying STRIP on the binary but its ...
0
votes
1answer
638 views

How to disable logging to serial terminal - embedded linux

I have an embedded device running embedded linux and I connect to it using a serial port. I am capturing the logs I need using cat proc/kmsg into a file in a background process. I would like to not ...
0
votes
1answer
161 views

Why doesn't the monitor output anything in Linux console mode?

I install Linux without graphics support. Previously I used a monitor with 720p support. And it can display normally. Now I change to a monitor with 1080p support. I can see BIOS and GRUB info on ...
0
votes
2answers
104 views

Why do linux kernels include files for all devices?

The kernel for my device includes so many files for other devices and situations that my device cannot use. The kernel carries around the files for everything and is much bigger than just the files ...
1
vote
0answers
491 views

DKMS failing to complete in Ubuntu 12.04

After my last attempt to run an update with sudo apt-get update; sudo apt-get upgrade I got into a never returning update step (see below). So far I can only Ctrl+C but it will be triggered again ...
2
votes
1answer
87 views

Debian loses harddisk on bootup 4 times and then boots. Why?

Dmesg Dump: http://paste.debian.net/44975 at time 32.832045 That error is delaying my boot process significantly. Does anyone know what this is about? Devices: Maxtor IDE drive with new cable on ...
3
votes
1answer
618 views

Why is the kernel and the watchdogs consuming all the CPU?

I run a bunch of heavy user space processes on a powerful Xeon machine (32 virtual processors according to /proc/cpuinfo). The CPU load is normally around 30 and the machine feel responsive, but later ...