VectorLinux
November 27, 2014, 07:44:58 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 [2]
  Print  
Author Topic: How to upgrade kernel?  (Read 10670 times)
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #15 on: July 22, 2007, 10:00:06 am »

you should see something like this
Code:
sh-3.1# ls -la /lib/modules/2.6.20.3/build
lrwxrwxrwx 1 root root 23 2007-07-19 13:00 /lib/modules/2.6.20.3/build -> /usr/src/linux-2.6.20.3
you must have the kernel-src package installed for this to work

HTH
Uelsk8s
Logged
mithion
Member
*
Posts: 53



« Reply #16 on: July 22, 2007, 06:47:06 pm »

Ok, I ran the command as you said.

Code:
philippe:$ ls -la /lib/modules/2.6.20.3/build
lrwxrwxrwx 1 root root 23 2007-07-22 09:49 /lib/modules/2.6.20.3/build -> /usr/src/linux-2.6.20.3

Then, to make sure, I ran slapt-get.

Code:
root:# slapt-get --install kernel-src
Reading Package Lists... Done
kernel-src is up to date.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done

I guess they warned us about using other kernels.  But I'd still like to be able to compile stuff for the 2.6.20.3.  It's a hobby of mine to learn how get myself out of problems.
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #17 on: July 23, 2007, 05:45:08 am »

post the output of "ls -la /usr/src"
Logged
mithion
Member
*
Posts: 53



« Reply #18 on: July 23, 2007, 02:32:27 pm »

Ok, figured something out.  The kernel source I installed was for version 2.6.20, and not specifically for version 2.6.20.3.  I used the link given earlier and downloaded the correct source package.  I installed it, but I now get a new compile error of a different nature.  I'm wondering if the source code didn't get corrupted over time as I have been storing it on a usb flash drive.  I think this is a matter for a different thread though.  Thanks for the help in solving the kernel package problems Smiley.  I will post my question in a new thread.
Logged
Pages: 1 [2]
  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!