How To: Upgrade your kernel, painlessly.

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Re: How To: Upgrade your kernel, painlessly.

Postby Kevin108 on Tue Jan 31, 2012 12:21 pm

I tried the same thing but my NIC quit working.
User avatar
Kevin108
Level 4
Level 4
 
Posts: 318
Joined: Fri Nov 18, 2011 11:07 am
Location: Virginia Beach, VA

Linux Mint is funded by ads and donations.
 

Re: How To: Upgrade your kernel, painlessly.

Postby AlbertP on Tue Jan 31, 2012 12:33 pm

You'd better open a new topic on that, and please post the output of inxi -N in there.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: How To: Upgrade your kernel, painlessly.

Postby Kevin108 on Wed Feb 01, 2012 1:03 am

No worries as that was multiple distro-hop sessions ago however should I try it again, I will start a new thread and shoot you a PM. Thanks!
User avatar
Kevin108
Level 4
Level 4
 
Posts: 318
Joined: Fri Nov 18, 2011 11:07 am
Location: Virginia Beach, VA

Re: How To: Upgrade your kernel, painlessly.

Postby melbo on Wed May 02, 2012 11:00 pm

+1
melbo
Level 2
Level 2
 
Posts: 67
Joined: Fri Jan 04, 2008 11:57 pm
Location: WA, USA

Re: How To: Upgrade your kernel, painlessly.

Postby LinuxPudina on Sat May 12, 2012 1:35 am

Thankx Kendall,

Following ur post I successfully upgraded to 3.4 Kernel RC6. Very very helpful.

$ uname -a
Linux computer 3.4.0-030400rc6-generic #201205061835 SMP Sun May 6 22:36:08 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Image
LinuxPudina
Level 1
Level 1
 
Posts: 8
Joined: Wed May 09, 2012 1:09 am
Location: Bangalore

Re: How To: Upgrade your kernel, painlessly.

Postby skelooth on Tue May 15, 2012 2:23 pm

Followed post, got a 'bad return status'

Code: Select all
sudo dpkg -i linux-headers-3.2.16-030216-generic_3.2.16-030216.201204221935_amd64.deb
Selecting previously deselected package linux-headers-3.2.16-030216-generic.
(Reading database ... 226954 files and directories currently installed.)
Unpacking linux-headers-3.2.16-030216-generic (from linux-headers-3.2.16-030216-generic_3.2.16-030216.201204221935_amd64.deb) ...
Setting up linux-headers-3.2.16-030216-generic (3.2.16-030216.201204221935) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.16-030216-generic /boot/vmlinuz-3.2.16-030216-generic
Error! Bad return status for module build on kernel: 3.2.16-030216-generic (x86_64)


from the tail of the log
Code: Select all
/var/lib/dkms/virtualbox-guest/4.1.2/build/vboxsf/utils.c: In function ‘sf_nlscpy’:
/var/lib/dkms/virtualbox-guest/4.1.2/build/vboxsf/utils.c:562:13: warning: passing argument 3 of ‘utf8_to_utf32’ from incompatible pointer type [enabled by default]
include/linux/nls.h:53:12: note: expected ‘unicode_t *’ but argument is of type ‘wchar_t *’
make[2]: *** [/var/lib/dkms/virtualbox-guest/4.1.2/build/vboxsf/utils.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox-guest/4.1.2/build/vboxsf] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-guest/4.1.2/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.2.16-030216-generic'



Not sure, but i guess i'm going to see if/how i can roll back the changes I made. :shrug:
skelooth
Level 1
Level 1
 
Posts: 10
Joined: Mon May 14, 2012 2:52 pm

Re: How To: Upgrade your kernel, painlessly.

Postby melbo on Tue May 22, 2012 7:39 pm

Just installed 3.4 Generic for LMDE and noticed that there is now a 3.4 Quantal.
3.4 Generic is working fine but I'm curious as to what would be the difference between the two and if it would matter for LMDE.

Any experience with the Intel specific kernels?
melbo
Level 2
Level 2
 
Posts: 67
Joined: Fri Jan 04, 2008 11:57 pm
Location: WA, USA

Re: How To: Upgrade your kernel, painlessly.

Postby AlbertP on Wed May 23, 2012 7:40 am

@ melbo: They are not Intel specific. amd64 is just the 64-bit technology invented by AMD that's also used in today's Intel CPU's and i386 also targets the AMD CPU's from before 64-bit was introduced such as Athlon XP and early Semprons.

One 3.4 is meant for Ubuntu Precise / 12.04, while Quantal is the upcoming 12.10 version which will be there in half a year. The structure of the kernel packages somehow changed - i.e. the difference between PAE and non-PAE has been dropped, everyone has to use PAE kernels on 32-bit hardware now, and there are new "extra" packages. It is possible that Ubuntu Quantal's kernel packages don't install anymore on older versions. This also happened with 2.6.39.2 on Mint 11 (Ubuntu Natty) for example. But it certainly won't harm your system to try 3.4-quantal. If your new kernel fails to install, the old one will be left intact.
Anyway, as long as the newest version is still available as -precise, I'd just use that one as -precise kernels are proven to work on Mint 12/13.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: How To: Upgrade your kernel, painlessly.

Postby Windowsfree2012 on Tue Jun 19, 2012 9:48 pm

I have an issue with my Realtek rtl8191se wireless card, it work perfectly with LM10 but I did a fresh install of LM13 and it connects and it 30 seconds drops the connection and cannot reconnect. I have been all over the wireless boards and had one suggestion to drop back to an older kernel. Sounds like it should work. If I do that with LM13, will I still have the Cinnamon interface?
Any suggestions appreciated.

thanks.
Bob

Linux Mint 10 (64bit)
Windows 7 Pro (64bit)
User avatar
Windowsfree2012
Level 1
Level 1
 
Posts: 44
Joined: Thu Mar 15, 2012 9:11 am

Re: How To: Upgrade your kernel, painlessly.

Postby melbo on Sat Jun 23, 2012 4:10 pm

AlbertP wrote:@ melbo: They are not Intel specific. amd64 is just the 64-bit technology invented by AMD that's also used in today's Intel CPU's and i386 also targets the AMD CPU's from before 64-bit was introduced such as Athlon XP and early Semprons.

One 3.4 is meant for Ubuntu Precise / 12.04, while Quantal is the upcoming 12.10 version which will be there in half a year. The structure of the kernel packages somehow changed - i.e. the difference between PAE and non-PAE has been dropped, everyone has to use PAE kernels on 32-bit hardware now, and there are new "extra" packages. It is possible that Ubuntu Quantal's kernel packages don't install anymore on older versions. This also happened with 2.6.39.2 on Mint 11 (Ubuntu Natty) for example. But it certainly won't harm your system to try 3.4-quantal. If your new kernel fails to install, the old one will be left intact.
Anyway, as long as the newest version is still available as -precise, I'd just use that one as -precise kernels are proven to work on Mint 12/13.


Now it appears that only the /quantal kernels are progressing and precise is still at 3.4
It could be LMDE but the /quantal kernels are not working on my i7 quad core
melbo
Level 2
Level 2
 
Posts: 67
Joined: Fri Jan 04, 2008 11:57 pm
Location: WA, USA

Re: How To: Upgrade your kernel, painlessly.

Postby florus on Sun Jun 24, 2012 5:39 am

Great thread, thanks; worked like a charm.
Two queries: Does the pae kernel offer any advantages to old hardware (core2 processor, 3GB ram)?
And why did the installer tell me that I probably did not want to install the 3.4 linux-image directly, but should use the meta file?
florus
Level 1
Level 1
 
Posts: 29
Joined: Sat Nov 05, 2011 2:18 pm
Location: UK

Re: How To: Upgrade your kernel, painlessly.

Postby mint4user on Mon Jun 25, 2012 10:40 pm

Now updating to 3.4.4 or 3.5 (when it is release out of rc.) will it hurt the system or anything?From my reading I get yes and no on that. I know it depends on the system build (Thinking out loud.). But I was hoping more for software side of it. Will it fix a lot ubuntu issues with the kernel and all? Will it also make mint 13 run smoother? From read this article http://askubuntu.com/questions/100233/h ... ernel?rq=1 quoting "Neither the mainline kernel or compiling a newer kernel are going to have the standard set of patches Ubuntu applies, most notable is Apparmor." Also will apparmor not work when you update to the newer kernel's from what they said? I just want to know if updating to the newer kernel's will keep my system secure or just stay with current kernel 3.2.x and the issues that mint13/ well more ubuntu problems? haha

Thanks
mint4user
Level 1
Level 1
 
Posts: 1
Joined: Mon Jun 25, 2012 10:00 pm

Re: How To: Upgrade your kernel, painlessly.

Postby florus on Tue Jun 26, 2012 3:44 am

Clearly there are advantages and disadvantages to upgrading your kernel. Upgrading to 3.4 gave me a more responsive system with no crashes so far.
My advice would be to avoid being too ambitious. 3.4 precise is designed to work on Ubuntu 12.04, and hence on Mint 13. Leave 3.5 and 3.4.4 until they have received the same treatment.
3.4 offers definite gains as well as possible problems, but at the end of the day it is your choice.
florus
Level 1
Level 1
 
Posts: 29
Joined: Sat Nov 05, 2011 2:18 pm
Location: UK

Re: How To: Upgrade your kernel, painlessly.

Postby dinogorgon on Fri Jul 06, 2012 3:02 am

Hi, it seems that the mainline kernel updates do not longer work for Mint 13. I sucessfully installed the precise kernel 3.3.7 and 3.4.0,
on my 64bit MATE laptop, but i never managed to install one of the quantal kernel.

After some search i found instructions that (at least for me) seem to work:

Here you find the download links and installation instructions for the actual Quantal kernel for precise LTS:

http://packages.qa.dev.stgraber.org/qat ... /downloads

Here you can see which is the actual kernel:

http://packages.qa.dev.stgraber.org/qat ... /testcases

By now it is kernel 3.5.0-2.2~precise1

I gave it a try with kernel 3.5.0-1.1~precise1 first on my test-pc and it worked perfectly, so i tried it on my notebook and it worked as well.

Just follow the instructions in the first download link for installing and uninstalling. For uninstalling you may have to adapt the name of your kernel.
At least it worked on both of my pc's. The kernel 3.5.0-2.2 runs well, with my Mint 13 Mate on my notebook, no severe problems.
Google-Earth does not start with 3.5, and the wake-up-function from standby does not work properly - thats the only problems i noticed so far.

My notebook runs longer as it does with the 3.2 Kernel, obviously the energy saving functions fit better to my hardware.
dinogorgon
Level 1
Level 1
 
Posts: 3
Joined: Mon Jun 04, 2012 8:56 am

Re: How To: Upgrade your kernel, painlessly.

Postby rdanner3 on Mon Jul 30, 2012 6:25 pm

Using this method to (attempt to) undo an apparent regression in the current kernels; my Toshiba Satellite A505-S6005 laptop's fan is not working AND ToshSet complains (bitterly) that the Toshiba extension is not installed. Up until recently, it all just worked. Now, I'm averaging 59 deg. C on the CPU, and no discernable fan activity. Maximum observed temp so far has been 71 deg. C, so I'm a bit desperate to correct this!
Toshiba Satellite A505-S6005 on LM13 x64 (MATE/LXDE).
Linux dabbler since 1996. Registered Linux User #547455
Serious Linux user since Linux Mint 9 (also x64).
User avatar
rdanner3
Level 2
Level 2
 
Posts: 84
Joined: Thu Jun 17, 2010 10:19 pm
Location: Central Alabama, USA

Re: How To: Upgrade your kernel, painlessly.

Postby joshg253 on Sat Oct 27, 2012 1:41 am

dinogorgon wrote:Here you find the download links and installation instructions for the actual Quantal kernel for precise LTS:
http://packages.qa.dev.stgraber.org/qat ... /downloads

Just updated my HP 6510b laptop with Mint 13 x64 MATE to
/ 3.5.0-17-generic #28~precise1-Ubuntu SMP Tue Oct 9 22:04:42 UTC 2012 x86_64 /
using the link above.

Everything seems to be working fine including WiFi, Google Earth, and sleep/wake.
Image
User avatar
joshg253
Level 1
Level 1
 
Posts: 11
Joined: Sat Jul 30, 2011 8:29 pm
Location: Bellevue, WA

Re: How To: Upgrade your kernel, painlessly.

Postby HardBoiled on Mon Dec 03, 2012 3:48 am

And here I thought all I had to do was open a terminal and type #sudo apt upgrade ;or #sudo apt dist-upgrade ,depending
I have been doing it hap hazardly all along.
Thank you for the information about upgrading with dpkg -i.
HardBoiled
Level 1
Level 1
 
Posts: 2
Joined: Mon Dec 03, 2012 3:21 am

Re: How To: Upgrade your kernel, painlessly.

Postby d00med on Wed Dec 05, 2012 11:57 am

I'm at 3.6.9. UpUbuntu makes it easy to upgrade the kernel with their script. Always works flawlessly here.
d00med
Level 4
Level 4
 
Posts: 332
Joined: Fri Nov 26, 2010 9:55 am

Re: How To: Upgrade your kernel, painlessly.

Postby eMcE on Wed Jan 09, 2013 10:47 am

Or use kernel installer "NeteXt'73 v3.50" from here:
PL version - http://netbit73.blogspot.com/2013/01/netext73-v350.html
EN version - http://translate.google.com/translate?s ... -v350.html
:)
Miłość i prawda rządzą :] a hipokrytom chooy w tylny exit :]
Image
User avatar
eMcE
Level 3
Level 3
 
Posts: 109
Joined: Tue Oct 30, 2012 9:53 am
Location: Czołg.. Gdzieś na pustyni..

Re: How To: Upgrade your kernel, painlessly.

Postby Acid_1 on Tue Apr 16, 2013 3:58 pm

How to compile the latest kernels the Ubuntu/Mint way.

You can use the prebuilt ones in the repo, or you can build your own if you really want to.

Tutorial here
Website: Forkwhilefork
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Tutorials / Howtos

Who is online

Users browsing this forum: southernboy and 13 guests