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

learn more… | top users | synonyms (4)

10
votes
0answers
10k views

How to “clean” previous kernels after update? [duplicate]

Possible Duplicate: How do I to remove or hide old kernel versions, to clean up the boot menu? I know this topic was brought up many times but I didn't really found an answer that would ...
4
votes
2answers
3k views

Why aren't old linux-images removed when installing new kernel updates? [duplicate]

Possible Duplicate: Is there a way to remove/hide old kernel versions? On my laptop I have limited space but install all new updates, including kernel updates. However, Ubuntu doesn't seem ...
54
votes
4answers
216k 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
31
votes
6answers
59k views

VirtualBox doesn't load after 12.04 upgrade

After upgrading from 11.10 to 12.04, virtual box stopped working. I've run the following to try to fix it: sudo aptitude update sudo aptitude install dkms sudo /etc/init.d/vboxdrv setup but when ...
16
votes
6answers
4k views

Could not load 'vboxdrv' after upgrade to Ubuntu 16.04

I upgrade from Ubuntu 15.10 to 16.04 and since then VirtualBox 5.0.18 isn't starting my VMs anymore. It complains that 'vboxdrv' isn't loaded. So I try to load it and get the following error: $ sudo ...
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?
32
votes
1answer
13k 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 ...
21
votes
3answers
43k 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 ...
34
votes
2answers
28k 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
5answers
7k 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
20k 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?
8
votes
4answers
15k 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
31k 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
23k 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 ...
1
vote
2answers
3k views

New laptop (Skylake) cannot boot Xubuntu even with boot parameters

I recently bought a new laptop and I would love to install Xubuntu 15.10 next to the current Windows 10 installation. The laptop I bought is a the ASUS ROG GL552VW-CN104T. The CPU of this laptop is ...
17
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: ...
8
votes
1answer
13k 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 ...
5
votes
2answers
10k 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 ...
4
votes
2answers
7k views

Kernel downgrade after update broke my system

I need to downgrade from 3.8.0-33 to version -29. After booting the latest kernel I'm greeted by a black screen. How do I keep this version permanently? Output of dpkg -l linux-image* ...
3
votes
4answers
769 views

Boot partition full, failing to delete old kernels. Broken packages

Sorry for asking about what is probably really simple, but I've been Googling about for a week now and I've tried a lot of stuff without success. To start off, I get a pop-up every time I boot saying ...
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
11k 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
434 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
1answer
1k views

Kernel panic - not syncing : attempted to kill int ! exit code=0x00007f00

While I was upgrading to Ubuntu 15 (the development version), my system crashed. After I restarted the laptop, I saw a kernel panic. I also did a memtestx86 which didn't find any error. more info : ...
0
votes
4answers
5k 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 ...
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 ...
46
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 ...
23
votes
4answers
38k views

Command to rebuild all DKMS modules for all installed kernels?

Occasionally, my system gets into a state where some kernels are missing a module or two, because DKMS somehow forgot to compile those modules for that kernel. Rather than spend time diagnosing the ...
15
votes
5answers
33k 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
17k 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 ...
34
votes
5answers
13k 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 ...
33
votes
5answers
23k 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 ...
27
votes
3answers
3k views

What are the differences between the Ubuntu shipped kernel and the upstream kernel?

What are the differences in feature set between the main Linux kernel and the kernel being used by Ubuntu? Why is Ubuntu branched off of the main kernel instead of using the main kernel directly?
15
votes
2answers
7k 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 ...
13
votes
1answer
6k 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
5answers
10k 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 ...