VectorLinux
August 22, 2014, 11:25:24 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: HOWTO: Upgrade Kernel  (Read 12506 times)
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« on: August 23, 2009, 08:52:49 am »

1)download the kernel packages and then install them.
kernel packages are stored in the repo, but NOT accessible from slapt-get or gslapt
you can manually download the 6.0 kernel packages from here: http://vectorlinux.osuosl.org/veclinux-6.0/kernels/

You will need the kernel and kernel-module packages, the kernel-src package is optional and only needed to build kernel and drivers

NOTE: All the following commands need to be ran as root
Code:
installpkg kernel-2.6.27.29-i686-1vl60.tlz
installpkg kernel-modules-2.6.27.29-i686-1vl60.tlz
installpkg kernel-src-2.6.27.29-i686-1vl60.tlz

2)update your bootloader to add the new kernel, this can be done easily with vliloconf
Code:
vliloconf

3)install any extra driver packages needed by your system, these can be found by searching for the old kernel version in /var/log/packages
Code:
ls /var/log/packages/*$(uname -r)*
all kernel driver packages should be stored in the repo
you can download the 6.0 kernel driver packages from here: http://vectorlinux.osuosl.org/veclinux-6.0/kernels/drivers/
make sure to get the package that matches the kernel version you are installing
broadcom-wl-5.10.27.6_2.6.27.29-i586-1vl60.tlz
install any extra needed driver packages
Code:
installpkg broadcom-wl-5.10.27.6_2.6.27.29-i586-1vl60.tlz

4)run depmod to update the kernel module dependancies
Code:
root:$ depmod -aq 2.6.27.29
depmod needs to be ran with the new kernels version as an argument or ran under the kernel you want the modules updated for.

5)reboot into the new kernel and verify that it is working correctly
run "depmod -aq" and reboot if not ran in lest step
This would include making sure your video driver was working and that you compiled a driver for the running kernel if needed.
running the command "vxconf" as root will update the nvidia driver module
Code:
vxconf

6)*OPTIONAL remove old kernel and driver packages with removepkg
be careful not to remove the kernel-headers package even if it looks like an old version
Code:
removepkg kernel-2.6.27.12

7)If you removed the old kernel you should upload your symlinks in /boot
first remove the old ones
Code:
rm /boot/vmlinuz /boot/System.map /boot/config
then simply reinstall the NEW kernel package and let it update the symlinks
Code:
installpkg kernel-2.6.27.29-i686-1vl60.tlz


Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: August 23, 2009, 05:28:48 pm »

Hi. Uelsk8s

Great tutorial.
Only thing I can not find a 2.6.27.29 version of the alsa-driver where indicated in the tutorial...
http://vectorlinux.osuosl.org/veclinux-6.0/kernels/drivers/

I'm not sure if I should even attempt to complete the kernel upgrade without it.  Ah, what the hell, I'll give it a try in a virtual machine, let you know what happens.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #2 on: August 23, 2009, 06:27:55 pm »

Hi. Uelsk8s

Great tutorial.
Only thing I can not find a 2.6.27.29 version of the alsa-driver where indicated in the tutorial...
http://vectorlinux.osuosl.org/veclinux-6.0/kernels/drivers/

I'm not sure if I should even attempt to complete the kernel upgrade without it.  Ah, what the hell, I'll give it a try in a virtual machine, let you know what happens.
The alsa drivers are built into the kernel-modules package for the 2.6.27.29 kernel
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #3 on: August 23, 2009, 06:56:31 pm »

Quote
The alsa drivers are built into the kernel-modules package for the 2.6.27.29 kernel

Thanks.  I completed the kernel upgrade, and your right everything went fine.
I also noticed a version 2.6.28.4.  this seems a little further along, but I avoided it because I could find no drivers for it.  I imagine the alsa driver is built into it as well.  Was I right to avoid this one or are the other drivers built in as well?
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #4 on: August 23, 2009, 07:01:37 pm »

you were right to avoid it.
it has the vulnerability that our 2.6.27.29 was patched against, and it is not as new as 2.6.27.29 even though it is obviously a later kernel version release.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #5 on: August 23, 2009, 08:10:32 pm »

Uelsk8s,  I'm making a screencast of my experience with your tutorial.  I'll be the first to admit that your tutorial is straightforward, basic and easy.  But some newer users might be nervous to try and a screencast may just show how easy it really is.  OK, if I post a link to it here?
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #6 on: August 23, 2009, 09:38:57 pm »

Uelsk8s,  I'm making a screencast of my experience with your tutorial.  I'll be the first to admit that your tutorial is straightforward, basic and easy.  But some newer users might be nervous to try and a screencast may just show how easy it really is.  OK, if I post a link to it here?
Please DO.
I appreciate all the work you put into the screencast's and think that they are great.

Uel
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #7 on: August 23, 2009, 10:31:14 pm »

Right back at you, as far as work and appreciation goes. 
Here is is...uelsk8's Upgrade Linux Kernel tutorial as a screencast.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
danthemannewtolinux
Vectorite
***
Posts: 107



« Reply #8 on: March 09, 2012, 02:31:12 pm »

Thanks for this, it was really easy to do as long as you follow the instructions step by step, i'm now updated to the latest kernel 3.2.9!! Grin
Logged
dynosis
Member
*
Posts: 1


« Reply #9 on: April 11, 2012, 01:57:41 pm »

hi very good tut. but i am stuck on grub 2. vectorlinux uses grub2 but after updating kernel to 3.3.1 all is well, it won't "update grub" command.
please help. thanks
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #10 on: June 28, 2012, 12:26:39 pm »

I've upgraded the video I had made for upgrading  the kernel in vectorlinux.
You can see the new one here.
Upgrading the Kernel in Vectorlinux

It will also be posted to opensourcebistro.com/blog1. Which is accessable by the video tutorial link on the desktop.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!