Page 5 of 7

Re: How To: Upgrade your kernel, painlessly.

Posted: Wed Feb 01, 2012 1:03 am
by Kevin108
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!

Re: How To: Upgrade your kernel, painlessly.

Posted: Wed May 02, 2012 11:00 pm
by melbo
+1

Re: How To: Upgrade your kernel, painlessly.

Posted: Sat May 12, 2012 1:35 am
by LinuxPudina
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

Re: How To: Upgrade your kernel, painlessly.

Posted: Tue May 15, 2012 2:23 pm
by skelooth
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:

Re: How To: Upgrade your kernel, painlessly.

Posted: Tue May 22, 2012 7:39 pm
by melbo
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?

Re: How To: Upgrade your kernel, painlessly.

Posted: Wed May 23, 2012 7:40 am
by AlbertP
@ 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.

Re: How To: Upgrade your kernel, painlessly.

Posted: Tue Jun 19, 2012 9:48 pm
by Windowsfree2012
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.

Re: How To: Upgrade your kernel, painlessly.

Posted: Sat Jun 23, 2012 4:10 pm
by melbo
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

Re: How To: Upgrade your kernel, painlessly.

Posted: Sun Jun 24, 2012 5:39 am
by florus
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?

Re: How To: Upgrade your kernel, painlessly.

Posted: Mon Jun 25, 2012 10:40 pm
by mint4user
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

Re: How To: Upgrade your kernel, painlessly.

Posted: Tue Jun 26, 2012 3:44 am
by florus
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.

Re: How To: Upgrade your kernel, painlessly.

Posted: Fri Jul 06, 2012 3:02 am
by dinogorgon
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.

Re: How To: Upgrade your kernel, painlessly.

Posted: Mon Jul 30, 2012 6:25 pm
by rdanner3
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!

Re: How To: Upgrade your kernel, painlessly.

Posted: Sat Oct 27, 2012 1:41 am
by joshg253
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.

Re: How To: Upgrade your kernel, painlessly.

Posted: Mon Dec 03, 2012 3:48 am
by HardBoiled
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.

Re: How To: Upgrade your kernel, painlessly.

Posted: Wed Dec 05, 2012 11:57 am
by d00med
I'm at 3.6.9. UpUbuntu makes it easy to upgrade the kernel with their script. Always works flawlessly here.

Re: How To: Upgrade your kernel, painlessly.

Posted: Wed Jan 09, 2013 10:47 am
by MartinaNeumayer
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
:)

Re: How To: Upgrade your kernel, painlessly.

Posted: Tue Apr 16, 2013 3:58 pm
by Acid_1
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

Re: How To: Upgrade your kernel, painlessly.

Posted: Mon Jun 03, 2013 11:58 am
by TheOne
The new easy way is:

Menu --> Update Manager ---> Edit ---> Preferences ---> Mark everything, including Level 4 and 5

Reload updates and update kernel.

Re: How To: Upgrade your kernel, painlessly.

Posted: Mon Jun 03, 2013 5:06 pm
by AlbertP
That updates you to the latest kernel version that Ubuntu put in the repository of your version (Mint 13 is based on Ubuntu 12.04, Mint 14 on Ubuntu 12.10, Mint 15 on Ubuntu 13.04). With the how-to posted by Kendall, which should still work on all supported Mint editions, you're free to choose your own kernel version including RC versions. I won't deprecate that how-to.

Also, if you need Ubuntu's kernel updates for your version, you can just as well use Synaptic to update linux-image and linux-headers (Status > Installed (upgradeable)), then you don't need to un-hide the other level 4/5 updates. I don't think you need level 4, though.