Operating System - Linux
1832608 Members
2250 Online
110043 Solutions
New Discussion

Re: DL380 G3 RHEL 3.0 network driver update

 
Jeffrey Chandler
Occasional Advisor

DL380 G3 RHEL 3.0 network driver update

Hi,

I am trying to update the network drivers on a DL380 G3 server running RHEL 3.0 ES. The package installs fine (bcm5700-8.2.18a-1.src.rpm) and build the rpm with rpmbuild -bb SPECS/bcm5700.spec and install the source RPM, however when I try and load the module with insmod or modprobe. I receive the following error:

/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/bcm5700.o: The module you are trying to load (/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/bcm5700.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.

I am running the Redhat RPM of gcc (gcc-3.2.3-49), and I am running kernel-smp-2.4.21-37.EL. This installation works fine on a different server with the reccomended kernel level (kernel 2.4.21-32.0.1.EL). Does this mean that I need to wait for a newer release of the HP driver? or is there something else I can do.

Thanks,

Jeff
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: DL380 G3 RHEL 3.0 network driver update

You've got the wrong kernel source code on your system.

You need to get the right kernel souce and recompile the kernel.

Then everything will be fine.

Had the very same problem at work a week or so ago.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeffrey Chandler
Occasional Advisor

Re: DL380 G3 RHEL 3.0 network driver update

Steven,

Thanks for the quick response. When you say that I have the wrong Kernel Source, what do you mean. The wrong version? The kernel source package which I have installed is as follows: kernel-source-2.4.21-37.EL . This is the same version as my kernel. Is there a different kernel-source which I am unaware of which I should be using?

Thanks,

Jeff
Vitaly Karasik_1
Honored Contributor

Re: DL380 G3 RHEL 3.0 network driver update

Jeffrey,
Did you install the binary RPM that you build from source RPM?
Kodjo Agbenu
Honored Contributor

Re: DL380 G3 RHEL 3.0 network driver update

Hi Jeff,

I don't remember that RHEL 3 shipped with gcc 2. I would suggest that you upgrade gcc before moving forward.

Good lcuk.
Kodjo
Learn and explain...
Jeffrey Chandler
Occasional Advisor

Re: DL380 G3 RHEL 3.0 network driver update

Thanks for your responses. I used the binary RPM and not the Source RPM to install the kernel. The system is also running gcc version 3.2.2.3-49 already (Redhat Binary RPM). Any other suggestions?