LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-17-2005, 04:51 AM   #1
shsaifee
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
How to update our Kernel version from 2.4.9-e.3 to 2.4.9-e.59 ??


Hi,





Problem: How to update our Kernel version from 2.4.9-e.3 to 2.4.9-e.59 ?? (Required for Configuring the NIC interface)



Current Situation:



Hardware: HP DL380 G4 (single processor).

Software: RH Linux 2.1 Advanced Server.

Kernel Version: 2.4.9-e.3



Steps Followed:



1. RH Linux 2.1 is installed with the kernel-2.4.9-e.3



2. We downloaded the drivers for the NICs also (bcm5700 from the HP site) But to make the network to be up, we need a kernel-2.4.9-e.59 (we already downloaded that.)



The problem comes when we are trying to install the new kernel.



3. We issued the following commands:



# uname –r

2.4.9-e.3



# rpm –Uvh -–force kernel-2.4.9-e.59.src.rpm



It has come to # prompt again without any errors.



# reboot



System rebooted without any errors and when we checked the kernel version it is still the same



# uname –r

2.4.9-e.3



And the entries in the /etc/lilo.conf also showed the same version



# cat /etc/lilo.conf

prompt

timeout=50

default=linux-up

boot=/dev/cciss/c0d0

map=/boot/map

install=/boot/boot.b

message=/boot/message

linear



image=/boot/vmlinuz-2.4.9-e.3smp

label=linux

initrd=/boot/initrd-2.4.9-e.3smp.img

read-only

root=/dev/cciss/c0d0p8



image=/boot/vmlinuz-2.4.9-e.3

label=linux-up

initrd=/boot/initrd-2.4.9-e.3.img

read-only

root=/dev/cciss/c0d0p8





Please tell us what steps we are missing or we need to take in order to make our kernel version 2.4.9-e.59



Thanks.

Saabir.
 
Old 11-17-2005, 06:15 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
Huhm, type 'rpm -ql kernel' and post the output there. It seems, you are lucky
man, that your system is still can boot. Also post there output of
'ls -d /lib/modules'.
 
Old 11-17-2005, 06:33 AM   #3
shsaifee
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Original Poster
Rep: Reputation: 0
The Forum does not allow to post a reply of more than 25000 character so I am truncating the same. I have also mailed you the full output.

Output of rpm -ql kernel is as follows:

/boot/System.map-2.4.9-e.3
/boot/module-info-2.4.9-e.3
/boot/vmlinux-2.4.9-e.3
/boot/vmlinuz-2.4.9-e.3
/dev/shm
/lib/kernel/2.4.9-e.3
/lib/kernel/2.4.9-e.3/libredhat-kernel.so.1.0.1
/lib/modules/2.4.9-e.3
/lib/modules/2.4.9-e.3/build
/lib/modules/2.4.9-e.3/kernel
/lib/modules/2.4.9-e.3/kernel/arch
/lib/modules/2.4.9-e.3/kernel/arch/i386
/lib/modules/2.4.9-e.3/kernel/arch/i386/kernel
/lib/modules/2.4.9-e.3/kernel/arch/i386/kernel/cpuid.o
/lib/modules/2.4.9-e.3/kernel/arch/i386/kernel/microcode.o
/lib/modules/2.4.9-e.3/kernel/arch/i386/kernel/msr.o
/lib/modules/2.4.9-e.3/kernel/drivers
/lib/modules/2.4.9-e.3/kernel/drivers/addon
/lib/modules/2.4.9-e.3/kernel/drivers/addon/aep
/lib/modules/2.4.9-e.3/kernel/drivers/addon/aep/paep.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/bcm5700
/lib/modules/2.4.9-e.3/kernel/drivers/addon/bcm5700/bcm5700.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/cipe
/lib/modules/2.4.9-e.3/kernel/drivers/addon/cipe/cipcb.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/e100
/lib/modules/2.4.9-e.3/kernel/drivers/addon/e100/e100.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/e1000
/lib/modules/2.4.9-e.3/kernel/drivers/addon/e1000/e1000.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/qla2200
/lib/modules/2.4.9-e.3/kernel/drivers/addon/qla2200/qla2200.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/qla2200/qla2300.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/qla2200_new
/lib/modules/2.4.9-e.3/kernel/drivers/addon/qla2200_new/qla2200_new.o
/lib/modules/2.4.9-e.3/kernel/drivers/addon/qla2200_new/qla2300_new.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm
/lib/modules/2.4.9-e.3/kernel/drivers/atm/ambassador.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/atmtcp.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/eni.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/firestream.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/fore_200e.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/horizon.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/idt77105.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/iphase.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/lanai.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/nicstar.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/suni.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/uPD98402.o
/lib/modules/2.4.9-e.3/kernel/drivers/atm/zatm.o
/lib/modules/2.4.9-e.3/kernel/drivers/block
/lib/modules/2.4.9-e.3/kernel/drivers/block/DAC960.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/cciss.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/cpqarray.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/loop.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/nbd.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/aten.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/bpck.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/bpck6.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/comm.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/dstr.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/epat.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/epia.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/fit2.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/fit3.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/friq.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/frpw.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/kbic.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/ktti.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/on20.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/on26.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/paride.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/pcd.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/pd.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/pf.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/pg.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/paride/pt.o
/lib/modules/2.4.9-e.3/kernel/drivers/block/xd.o
/lib/modules/2.4.9-e.3/kernel/drivers/bluetooth
/lib/modules/2.4.9-e.3/kernel/drivers/bluetooth/hci_uart.o
/lib/modules/2.4.9-e.3/kernel/drivers/bluetooth/hci_usb.o
/lib/modules/2.4.9-e.3/kernel/drivers/bluetooth/hci_vhci.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/aztcd.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/cdrom.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/cdu31a.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/cm206.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/gscd.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/isp16.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/mcd.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/mcdx.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/optcd.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/sbpcd.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/sjcd.o
/lib/modules/2.4.9-e.3/kernel/drivers/cdrom/sonycd535.o
/lib/modules/2.4.9-e.3/kernel/drivers/char
/lib/modules/2.4.9-e.3/kernel/drivers/char/acquirewdt.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/advantechwdt.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/agp
/lib/modules/2.4.9-e.3/kernel/drivers/char/agp/agpgart.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/atixlmouse.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/busmouse.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/cyclades.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/drm
/lib/modules/2.4.9-e.3/kernel/drivers/char/drm/i810.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/drm/mga.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/drm/r128.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/drm/radeon.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/drm/tdfx.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/dtlk.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/ecc.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/epca.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/esp.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape/compressor
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape/compressor/zft-compressor.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape/lowlevel
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape/lowlevel/ftape.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape/zftape
/lib/modules/2.4.9-e.3/kernel/drivers/char/ftape/zftape/zftape.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/generic_serial.o
/lib/modules/2.4.9-e.3/kernel/drivers/char/i810-tco.o
********REST TRUNCATED
*****************************

Output of ls -d is:
# pwd
/lib/modules

#ls -d

/lib/modules


Output of ls -l is:

# pwd
/lib/modules

#ls -l

total 12
drwxr-xr-x 4 root root 4096 Nov 18 17:20 2.4.9
drwxr-xr-x 4 root root 4096 Nov 18 14:09 2.4.9-e.3
drwxr-xr-x 4 root root 4096 Nov 18 14:09 2.4.9-e.3smp


Any Helps !!

Thanks


Saabir.
 
Old 11-17-2005, 06:49 AM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
But where is a mention of kernel-2.4.9-e.59 ???
It is nowhere. It seems "rpm -Uvh --force kernel-2.4.9-e.59.src.rpm" did
nothing.
Ouch!!! It is a source RPM!!! Did you compiled it? The source directory must
be /usr/src/kernel-2.4.9-e.59, yes, you should build a kernel first.
 
Old 11-17-2005, 07:30 AM   #5
shsaifee
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

Thanks for you prompt reply.

Can u tell us the steps to be taken to build this kernel from the source RPM??

Sorry please don't mind this as we are totally new to this environment.


Thanks once again.

Saabir.
 
Old 11-17-2005, 07:48 AM   #6
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
OK, I do not use kernels of the 2.4 family. As far as I remember it is abit
more difficlut than with 2.6. However there is no problem.

Firstly you should configure your kernel. "cd /usr/src/linux..." and
"make menuconfig" if you are in text console or either "make gconfig" or
"make xconfig" if you are in X (AFAIR 2.4 kernels did not have one of these
graphical interfaces). Then you should configure kernel properly due to your
hardware. To be careful is a good advise there.

Oh, it should contain README file, where you can find a common information.
Unfortunately, the first attempt of the kernel building, probably, will fail.
In my own expirience I had been building 2.4 kernel about 4 times before I
could boot it It is normal.

If you lack of time, it is better to download precompiled RPM package. Although
it is not so flexible and that kernel will not be optimised well, but it is a
fastest way (far more fast than to compile 2.4 kernel at the first time).
 
Old 11-23-2005, 04:43 AM   #7
shsaifee
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Hi Dudes!!!

I tried installing the RH AS 4 and was sucessful.


Thanks for your tips and help!!


Saabir.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 08:17 PM
kernel update version question :) trey85stang General 4 03-12-2004 09:06 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 01:40 AM


All times are GMT -5. The time now is 08:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration