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
1answer
800 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
115 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
1k 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
77 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
19 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
34 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
115 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
63 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
109 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
123 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
870 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
192 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
31 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
100 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
90 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
171 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
280 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
112 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
760 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
101 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
612 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
145 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
228 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
122 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
155 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
391 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
541 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
138 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
102 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
413 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
78 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 ...
2
votes
1answer
433 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 ...
3
votes
1answer
507 views

Microphone not working on Apple Macbook Air 1,1 (Early 2008; A1237) under Linux

I'm running Linux on the MBA. I can't make the microphone work. I test using alsamixer and arecord -Dhw -fdat -vv mic.wav together with aplay -Dhw -vv mic.wav It seems there is a problem with Linux ...
0
votes
1answer
445 views

how do Major number and minor numbers used to locate file operation for drivers?

I am beginner at the device driver.... I would like to know how the file operations are located from device files and drivers using major and minor numbers ?
0
votes
1answer
2k views

Booting linux without bootloader

I installed Ubuntu-Server in Oracle Virtual Machine and it failed grub install step. At the end of install it gave me a message: You need to manually boot linux /vmlinuz kernel on partition /dev/sda1 ...
2
votes
1answer
431 views

Kernel bypass possible with non-specialised NIC?

Is it possible to perform kernel bypass and have a NIC send data to the user space (where I will write my network stack) with no copying, without having to purchase a specialised Solarflare etc NIC?
0
votes
1answer
299 views

Error building mvfs

I am trying to build mvfs so that I can run IBM Rational ClearCase on a CentOS 6.4 machine. I have all the dependencies installed so I cd to the mvfs_src folder and get the following error while ...
0
votes
1answer
767 views

Configuring DRAM size when compiling an ARM (linux-sunxi) kernel for an allwinner a10 tablet

I've got a goclever a103 tablet (http://goclever.com/goclever_tab_a103) and I want to install linux on it to boot it from an SD card. First thing I found online were SD card images for a very similar ...
0
votes
1answer
335 views

Tar of Linux Kernel corrupted error while untaring

I have downloaded two versions of Linux kernel 3.9.9 and 3.10 from kernel.org. When I am trying to untar this file I am getting this error Lzma library error: Corrupted input data . I am not ...
0
votes
0answers
28 views

Missed record in GRUB

I did install a new linux kernel from deb packages and run reboot. This new kernel replaced my current one. But the new kernel caused corrupted and it fails on booting (no console and no X... just ...
-1
votes
1answer
993 views

How to switch off discrete graphics card?

I've got one big problem that I simply can't solve. I got a HP Pavilion dv6 Laptop and it runs Linux Mint Debian Edition. This Laptop runs a hybrid graphics system and I want to switch off the ...
0
votes
3answers
6k views

How to downgrade a kernel?

I need to downgrade the kernel from 2.6.32-358.6.2.el6.centos.plus.x86_64 to 2.6.32-220.el6.x86_64 I am unable to install the older version using Yum/rpm as it gives the following error ...
0
votes
0answers
2k views

linux kworker's CPU percentage extremely high

I have a laptop with i7 processor and ATI video card, all the distros I'v installed have a common problem -- there is always a kworker(kernel thread) occupy 40% of the CPU, (i.e. one of the 8 logical ...
3
votes
1answer
279 views

enabling CONFIG_LIBIPW on kernel compiling

I need to enable CONFIG_LIBIPW=m on kernel 3.4.0 I see that IPW2100, IPW2200, and PCI needs to be enabled, but I could not find any clue where they are on the menuconfig. I read on ...
2
votes
0answers
169 views

In Linux Driver, how to disable a specific USB Device [closed]

Assume a USB devices is powered by USB bus. Sometimes the firmware in the USB device encounter a problem and can't recovery by itself. I have to unplug and plug the USB device from the host. Is there ...
0
votes
1answer
985 views

Problems boot Ubuntu 13.04, kernel version 3.8.0 UEFI boot

few days ago I UPGRADED my Ubuntu 12.10 to Ubuntu 13.04 version on my NP300E5C samsung notebook with ssd. I reloaded ubuntu few times and everything has gone well, BUT after a complete shutdown I ...
1
vote
1answer
645 views

Latest Security update “firmware for linux kernel drivers” failed - how do i fix this?

I have copied the update-manager's update failure/error message installArchives() failed: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE ...