for questions concerning Ubuntu's kernel, including compiling and questions relating to modules

learn more… | top users | synonyms (4)

28
votes
5answers
21k views

Will Linux Kernel 3.5 be coming to 12.04?

I'm wondering if Kernel 3.5 or 3.6 will be available for Ubuntu 12.04 when the Kernel is officially released?
29
votes
1answer
11k views

What are the differences between linux-generic, linux-server and linux-virtual kernel packages?

I'm getting new VMs built for development and staging environments, and was wondering whether there are compelling reasons for or against using the linux-virtual package on all of these images. Do ...
20
votes
3answers
40k views

“no symbol version for module_layout” when trying to load usbhid.ko

I am trying to build my own module for usbhid.ko, but after I compiled, I can't load the module. dmesg says no symbol version for module_layout. I am wondering what is the problem? I have already used ...
31
votes
2answers
24k views

What is the linux-image-extra package for and do I need it?

I occasionally update my kernel from this web site http://kernel.ubuntu.com/~kernel-ppa/mainline/ I have been always downloading 3 deb files for installing linux header all, linux image and linux ...
3
votes
4answers
5k views

elantech touchpad - multi touch is not working for kernel 3.13.0-35-generic

I recently updated my kernel to 3.13.0-35-generic,after update my elantech touchpad multi touch stopped working I tried fixing it from here ...
16
votes
4answers
19k views

How do I add the kernel PPA?

I can get Ubuntu mainline kernels from this kernel PPA - is there a way to add it to my repository list the same as regular Launchpad PPAs?
7
votes
4answers
14k views

How do I update my nvidia modules after updating my kernel?

Every time there's a kernel update, nvidia graphics drivers stops working because there's not a valid kernel module. What is the ubuntu way to 'recompile' the nvidia module for the new kernel? ...
7
votes
3answers
29k views

How to change default scaling governor back to ondemand

After playing with GRUB profiling and installing preload, default scaling governor suddenly becomes 'performance' not 'ondemand'. I tried to enable /etc/init.d/ondemand service, but nothing changes - ...
6
votes
2answers
9k views

Will Ubuntu point releases include a new Linux kernel?

Now that Kernel 3.6 has been officially released, I'm wondering if the next Ubuntu point release will include the new Kernel?
14
votes
2answers
21k views

How to add kernel module parameters?

How to add a kernel module parameter in Ubuntu 11.04? Can I use the /etc/module file? If yes, how?
7
votes
1answer
8k views

Nvidia drivers don't work with mainline kernel

I want to try some of the new features in the btrfs filesystem, and to do that I need to use a newer kernel than is included in Ubuntu 12.04. To do that, I have installed ...
16
votes
3answers
4k views

What is an kernel update with “Bump ABI”?

As you can see in the changelog for the Linux kernel, there are update messages like "Bump ABI - Maverick ABI 28". According to the Ubuntu Wiki, ABI is something like a bridge between the kernel ...
13
votes
3answers
4k views

Why is 12.04 removing the -server kernel flavour?

Ubuntu is removing -server flavour, as specified on release notes of 12.04: ...
4
votes
2answers
7k views

kernel version 3.13 even I have ubuntu 14.04.2

I am using 14.04.2 probably it was upgraded over 14.04.1 but my kernel version seems still 3.13. According to 14.04.2 it seems that 3.16. I did not understand why it was not upgraded ...
3
votes
2answers
2k views

Building own kernel on ubuntu

I'm trying to build my own kernel, as I want to write a kernel program which I need to compile into the kernel. So what did I do? Download from kernel.org, extract, do the make menuconfig and ...
7
votes
1answer
12k views

How to reinstall newest Linux Kernel?

Hello I upgraded all packages on my Ubuntu, and kernel also. But in upgrading process kernel upgrade failed, and I must always after grub load select older kernel. It is a terminal command to ...
3
votes
2answers
2k views

How to remove/ignore most recent kernel?

After the most recent kernel upgrade, my system hangs during boot. Since my machine seems especially persnickety about pulling up the grub menu*, what is the best way to set the previous kernel as ...
0
votes
1answer
2k views

grub cannot load my newly installed kernel

I needed a minimally-configured Real Time kernel, I compiled a new kernel with menuconfig. Firstly I added the rt patch to the new kernel directory using patch, and then ran make menuconfig. Then I ...
23
votes
0answers
5k views

How to remove old kernel versions automatically? [duplicate]

I know number of ways to remove old kernel versions manually. Is there any way to remove old kernel versions automatically? Automatically, in the sense i don't have to do the same thing each time the ...
8
votes
6answers
15k views

How can I upgrade kernel to 3.1?

The Ubuntu kernel PPA doesn't have kernel 3.1. Is there any other guaranteed way to upgrade because I don't want to reinstall Ubuntu again.
7
votes
3answers
10k views

Are the Ralink RT3090 drivers incompatible with Ubuntu 10.10?

Ralink Technology publishes their drivers in source code form on their website here. When complied with make and make install in 10.04, the drivers worked well in 32 and 64 bit versions of Lucid. ...
5
votes
0answers
1k views

Remove linux version 3.19.31 [duplicate]

My system was just updated with linux image 3.19.31. When it was rebooted, the system hang at the login screen and did nothing. How can I remove this image? It has a major bug in it.
4
votes
1answer
3k views

Where do I get the AppArmor 2.4 compatibility patch?

I just compiled the 2.6.39-rc1 kernel and AppArmor complains about a missing /sys interface (plus, it slows down the boot). Where do I get the AppArmor 2.4 compatibility patch AppArmor asks for?
3
votes
1answer
428 views

Is there a way to check if specific hardware is supported under the kernel?

I'm planning on building my first PC and I've decided on an ASRock z77 extreme4 motherboard. I've searched on google, but I haven't had any luck finding whether it's supported. Is there a new list of ...
2
votes
2answers
2k views

Installed 14.04 on a non-PAE (Pentium-M), but now I can't update (“This kernel does not support a non-PAE CPU.”)

Here is what I'm looking at. This isn't my computer. I repair PC's and I had an end user with this low powered laptop running XP so I decided to let him try out lubuntu. The install went smoothly with ...
2
votes
2answers
7k views

How do I get my BCM43228 card working in mainline kernel 3.4 or higher?

I followed https://wiki.ubuntu.com/Kernel/MainlineBuilds to install kernel 3.4 and 3.5 from debs. Unfortunately after booting I can't connect to the internet cause I have problems with my network ...
1
vote
1answer
2k views

I get two kernel updates, one for Generic and one for Generic-PAE

I am using Ubuntu 11.10 32 bit on notebook core 2 duo, 4GiB RAM. In order Ubuntu to detect and use more than 3GiB RAM, I apt-get PAE Kernel. The problem comes when there were two update of kernel, ...
0
votes
4answers
4k views

Installing driver for Atheros AR8131

I am having the same trouble as others getting my Atheros AR8131 Ethernet card recognised by Ubuntu 12.10 on my new HP Pavillion P7-1449 PC. I found the same question where the answer suggested the ...
48
votes
4answers
189k views

How do I install kernel header files?

i want to write a device driver but not able to find the header file can someone please help me find them?Also if someone can point out some important site links that would be really appreciated
22
votes
2answers
7k views

Compile 32bit kernel on 64bit machine

I'm trying to compile a kernel for a 32bit single-core Intel Atom machine. Needless to say, the compile is taking inordinate amounts of time. It's been going for 2 hours and it's still only halfway ...
15
votes
1answer
2k views

Is there ongoing work in the kernel team to improve battery life under linux?

I have read in some forums that the kernel team is working on improving battery life and energy efficiency in Linux. Unfortunately our community really lags behind Windows and Mac in that regard. I ...
45
votes
1answer
2k views

What is Ubuntu's policy on keeping old kernels

I've just run out of disk space on /. Looking into the situation I realised that since first installing 12.04, Ubuntu has upgraded the kernel ~23 times and has kept every old kernel, binaries and ...
15
votes
5answers
31k views

How to enable the Radeon dynamic power management feature?

So recently, the RC's of Linux Kernel 3.11 were released. As you may know, this new kernel comes with dynamic power management for users of the open source Radeon driver. Since I have power management ...
8
votes
3answers
16k views

For a 32-bit kernel, what are the pros/cons of PAE vs. non-PAE?

I am using Ubuntu 12.04 32-bit. My kernels are PAE kernels. I know these are the kernels we can use for 32-bit OS which have 4 GB RAM, to utilize all 4GB of RAM. My system is a 32-bit system. So I ...
33
votes
5answers
22k views

Does Ubuntu have support for the TRIM command for use with SSD?

SSD drives need to be "cleared/reset" after the drive fills up to maintain performance. This is done through the TRIM command for new SSD drives. Does Ubuntu support the TRIM command (through hdparm ...
31
votes
5answers
11k views

Why doesn't apt-get autoremove remove my old kernels?

My boot partition is on a SSD, so it doesn't have room for more than about 8 installed kernel versions, and eventually some kernel update will fail to install because my boot partition is full of old ...
15
votes
2answers
6k views

Why are there so many “linux-” kernel packages on my machine, and what do they all do? [duplicate]

In my usage of Ubuntu, I have noticed a baffling array of different Linux kernel packages. Some of them are listed below: linux-generic linux-headers-generic linux-headers-generic-pae ...
5
votes
1answer
1k views

laptop suspend broken after latest kernel update

I ran a software update (Ubuntu 14.04) on my laptop over the weekend, which included an update from kernel 3.13.0-24 to 3.13.0-27, among other things. Today i had to take my laptop to work, so closed ...
12
votes
1answer
5k views

nVidia driver reset after each kernel update

I am using the official nVidia driver because my card (GeForce 750 Ti) isn't yet supported by the Ubuntu one. Every time the kernel updates, my system breaks. I've formatted my system two-three times ...
12
votes
5answers
8k views

How do I debug an overheating problem on a Dell Inspiron 1564?

I have a problem with my Laptop (Dell Inspiron 1564 Core i5 4GB Ram VGA ATI Mobility Radeon HD 4300 running Ubuntu 10.10 32bit). It shuts down abruptly without even a lag in the application I am ...
9
votes
3answers
26k views

How can I remove new kernel versions after downgrading?

I upgraded Ubuntu to 12.04, all packages. But after that I encountered a lot of problems so I decided to downgrade to 11.10. After I did that I found I now have two kernels: 3.2.x and 3.0.x. I found ...
7
votes
1answer
1k views

Linux kernel regression on power usage

Webupd8 reported this power management fix for the 2.6.38 Linux kernel regression: Add the following to the boot grub line "pcie_aspm=force" My question - how does this suggested fix differ from ...
5
votes
2answers
5k views

Cannot adjust brightness after sleep

I have a Toshiba Satellite R830 laptop with Ubuntu 12.04.1 64 bit. The Fn + F6 and Fn + F7 buttons adjust brightness until I put my laptop on sleep. On wakeup they don't work any longer. Is there a ...
1
vote
4answers
15k views

Ubuntu 11.10 nvidia module failed to load (no module exists)

I have an ASUS Ul30vt with an intel/nvidia hybrid graphics card. I can get the intel driver to load just fine, but I am struggling to get the nvidia graphics card loaded. I have tried a number of ...
9
votes
3answers
3k views

Kernel patch that solves battery issues when for ubuntu ? [closed]

http://www.phoronix.com/scan.php?page=news_item&px=MTAxNDM When will this come for ubuntu ? I am getting tired with my 11.10 dieing at little over 50 minutes of battery when at the most extreme ...
8
votes
5answers
8k views

Bash one-liner to delete only old kernels

I've seen lots of threads on how to free space on the /boot partition and that is my objective as well. However, I'm only interested in deleting old kernels and not each one of them but the current ...
8
votes
2answers
11k views

what kernel version comes with ubuntu 10.04.1?

Could you tell me the version number of the 10.04.1 kernel?
7
votes
3answers
12k views

VirtualBox 4.3 on Ubuntu 13.10 unable to run VM

Like Ubuntu 13.10 VirtualBox Error Kernel driver not installed (rc=-1908) I am also having a problem I keep getting the following error : Trying to register the VirtualBox kernel modules using ...
7
votes
3answers
7k views

How do I install this patched b43 driver?

Recently I purchased a Macbook Pro that has a BCM4331 802.11a/b/g/n WiFi card that does not work with the default kernel. sudo dmidecode -s system-product-name MacBookPro8,2 lspci |grep 4331 ...
6
votes
2answers
2k views

How does 'apt' decide how many old kernels to keep?

I'm managing a couple of servers for core services (NTP, DNS, etc) and it just occured to me that one of the servers seems to keep the 3 latest kernels, instead of 2 on the others : nul@quark:~$ sudo ...