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

2
votes
1answer
278 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
855 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
1k 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
2answers
115 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
820 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
124 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
1k 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
783 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
777 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
2answers
7k 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 ...
3
votes
1answer
888 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
554 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
1k 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
737 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
1k 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 ...
1
vote
2answers
11k 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
434 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
229 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
994 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
771 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 ...
3
votes
1answer
2k views

Reliable HFS+ Journaled mount in any OS for ARMv6

I need an operating system for ARMv6 (Raspberry Pi) that can reliably mount HFS+ Journaled as read/write, with volume sizes up to 16TB. I've not been able to find details on how stable HFS+ Journaled ...
0
votes
1answer
379 views

Where is my /boot/grub/menu.lst file

I m using VMware for my linux version Ubuntu 11.04 and i have searched for /boot/grub/menu.lst file but this file was not there. Why?? I was creating a new kernel in virtual linux but unable to ...
1
vote
0answers
802 views

bash autocompletion is slow, freezing my desktop

sometimes when working with a custom kernel, pressing tab in the bash autocompletes at a horrible pace. It freezes the whole desktop. Then comes back after awhile. This is the only quirk that I've ...
0
votes
1answer
540 views

UDP packets from kernel

I would like to know what is this and how can i stop this? Apr 10 15:30:17 -- kernel: [ 1182.295900] [UFW BLOCK] IN=eth0 OUT= MAC=00:16:3e:5b:f3:c1:00:08:e3:ff:fd:90:08:00 SRC=95.37.189.176 ...
0
votes
1answer
595 views

The difference between task context and process context in Linux kernel

I was reading Linux kernel Document and found in some places, they use task context and process context. linux/Documentation$ grep -R "task context" . ./driver-model/driver.txt:147:The probe() entry ...
1
vote
2answers
2k views

In the output of lspci -vv, what do the Region lines mean?

I have the following output from running lspci -vv -s 00:00 on my single board computer running Linux. 07:05.0 RAID bus controller: Adaptec AAC-RAID (Rocket) (rev 03) Subsystem: Adaptec ...
14
votes
2answers
12k views

How to get a list of active drivers that are statically built into the linux kernel?

While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
2
votes
0answers
156 views

How are ties broken in AuFS with the top-down-parent file creation policy?

The AuFS manual says: Policies for Creating create=tdp | top−down−parent Selects the highest writable branch where the parent dir exists. If the parent dir does not exist on a writable branch, ...
0
votes
3answers
603 views

Machine needs F1 key to reboot, how to skip this?

Each time the machine (Linux, RHEL) reboots, it waits for F1 key to be pressed in order to continue the boot process. How can I skip this ? These are the message :Node3 DRAM uncorrected ECC ...
0
votes
1answer
688 views

Intel Wifi card module not visible in linux menuconfig

I've gotten myself into a pickle it seems. I just got the latest gentoo kernel (3.7.10), and it seems that they didn't include my wireless lan driver in the menuconfig (or it depends on another option ...
0
votes
1answer
2k views

linux ipv6 default route to loopback

I am trying to understand what is the reason that in recent linux kernels there is ipv6 default route to loopback ::/0 :: !n -1 1 4 lo is it ...
1
vote
2answers
754 views

What kind of methods are used to calculate IP ID fields?

I'm doing a bit of research on the methods of generating the ID field of the IP headers. I have read the sources and other documents and have confirmed that Linux generates a random number for every ...
2
votes
1answer
563 views

GENTOO: disadvantages to using genkernel all?

I'm wondering, what are the disadvantages to using genkernel when I'm compiling a kernel in gentoo? Is it perfectly ok to use genkernel all in pretty much any situation, and skip this ...
1
vote
0answers
49 views

Who is filling the ELF header

I have ELF file which I dumped using readelf -h filename and I can see the different fields with the some values like entry point address is 0x99cc ,but really want to know from where these values get ...
3
votes
1answer
110 views

How is PAE implemented in Linux?

There are only 36 physical address lines but a page table entry is 64 bit long. How does the CPU check if the address is valid ? How does Linux OS map the same virtual address in different processes ...
0
votes
1answer
128 views

Permanently detach device

I'm setting up a vm box and I've enabled IOMMU. Works great, except I get PTE Read access is not set errors flooding my dmesg. In particular it is for one device, a USB 1.1 controller, that just ...
0
votes
2answers
2k views

How to load a module in gentoo?

I am using gentoo 2.6.30 and I tried to load a module as follows: modprobe usbcore with the response modprobe: module 'usbcore' not found However, I can find a directory with that name in the ...
0
votes
2answers
796 views

Linux kernel conflicts

rpm --query --all '*kernel*' kernel-headers-2.6.32-220.17.1.el6.x86_64 kernel-firmware-2.6.32-220.17.1.el6.noarch dracut-kernel-004-256.el6.noarch kernel-devel-2.6.32-220.17.1.el6.x86_64 ...
0
votes
2answers
204 views

Will dual wireless interfaces in Linux increase my bandwidth? [duplicate]

I have two wireless interfaces connected to the same network. Is it possible for data to be transferred on them simultaneously?
1
vote
2answers
165 views

Linux boot parameters and hacking

Bear with me since I'm a linux noob... I had an assignment for a security class in which I was supposed to gain access to a file in on an administrator's desktop. I modified the boot settings by ...
2
votes
2answers
3k views

AR9485 chipset support by linux kernel

The wireless in my Asus P8Z77-V Pro didn’t work (it’s a new machine, in which I installed Debian Linux 6.0.6, kernel 2.6.32-5-amd64), and since I’m not an advanced user, and knew naught about ...
0
votes
1answer
2k views

How to downgrade Linux kernel

I have a Linux machine running RHEL3.8 with kernel release 2.4.21-66.ELsmp. How can I downgrade the Linux kernel to 2.4.21-47.ELsmp? Second: About the last kernel upgrade, can we find logs somewhere ...
2
votes
2answers
756 views

Linux kernel compiling: standalone OS

Hi guys I'm new to linux kernel compiling so I have some question: By compiling linux kernel are we building a totally standalone OS which doesn't depend on any linux destributions? If yes... Well ...
0
votes
2answers
499 views

AMD driver installation kernel header issues

I am having problems getting the AMD linux graphics drivers installed; every time I try to install it errors saying that it cannot find the kernel headers. The current kernel version running is ...
2
votes
2answers
5k views

Linux: Disable loopback interface from kernel

I know it is possible to bring down lo interface by doing ifconfig lo down. But is it possible to configure the kernel that the lo interface will simply not be available? Please note that I don't want ...
1
vote
1answer
655 views

Radeon HD6570 only working in Linux Kernel 3.6.7

I have an interesting problem getting my Radeon HD6570 graphics card working in Fedora 17: When booting into any Linux kernel version above 3.6.7-4, after GRUB finishes there is no video except for a ...
0
votes
0answers
193 views

rtl8111/8168b doesn't work after upgrade linux kernel

my computer has a ethernet controller: realtek semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) my computer is installed archlinux. Before I upgrade kernel, it ...
3
votes
2answers
2k views

Install VirtualBox on Ubuntu 12.04.1 (on [Samsung] Chromebook)

I have dual booted Ubuntu Linux 12.04.1 LTS on my Samsung Series 5 ChromeBook, and am trying to run/install Oracle VirtualBox (from the generic .run file downloaded from their website). However, every ...