Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIC fails after upgrading kernel from 2.4.9-e.40smp to 2.4.9-e.62smp

Status
Not open for further replies.

Neelimaix

Technical User
Jun 29, 2005
23
0
0
US
Hi,

i have upgraded my kernel on RHEL 2.1 AS
from 2.4.9-e.40smp to 2.4.9-e.62smp.

the server comes up with now network connectivity ..

i manually ifup eth0 and eth1 .. notting seems to help.

i reverted back to old kernel ..it comes up fine.

can anybody help me on this regard.

Thanks
A/
 
Perhaps you had a module configuration or were loading a module.

Perhaps you should note the output of "lsmod" under each kernel and see if the NIC's module is not being loaded under the new kernel!?

D.E.R. Management - IT Project Management Consulting
 
Or similarly, compare the contents of these two directories:

[tt]/lib/modules/2.4.9-e.40/kernel/drivers/net

/lib/modules/2.4.9-e.62/kernel/drivers/net[/tt]

If a module appears in the e.40 directory but not the e.62, that's probably the reason. You might get away with just copying it across.



Annihilannic.
 
Folks,
Thanks a lot for your responses.,

I compared the modules under both kernels ..

2.4.9-e.40smp has:
Module Size Used by Not tainted
autofs 13220 0 (autoclean) (unused)
bcm5700 111364 2
usb-ohci 23328 0 (unused)
usbcore 68224 1 [usb-ohci]
ext3 70272 2
jbd 54932 2 [ext3]
megaraid2 41216 3
sd_mod 13728 3
scsi_mod 125244 2 [megaraid2 sd_mod]

and 2.4.9-e.40smp has evrything as 2.4.9-e.40smp but missing this only module :


bcm5700 111364 2


Can you please help me on loading this module ?..

Regards,
A/
 
with 2.4.9-e.40smp I see:

eth0 Link encap:Ethernet HWaddr 00:11:43:5B:67:B1
inet addr:192.xx/xx/x/x Bcast:192.xx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
TX packets:282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46388 (45.3 Kb) TX bytes:19696 (19.2 Kb)
Interrupt:16 Memory:fcf30000-fcf40000

eth1 Link encap:Ethernet HWaddr 00:11:43:5B:67:B3
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xx
Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2739 errors:0 dropped:0 overruns:0 frame:0
TX packets:592 errors:0 dropped:0 overruns:0 carrier:0
collisions:2 txqueuelen:1000
RX bytes:229354 (223.9 Kb) TX bytes:93454 (91.2 Kb)
Interrupt:17 Memory:fcf10000-fcf20000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:488 (488.0 b) TX bytes:488 (488.0 b)

-------------------

with 2.4.9-e.62smp

I just see


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0
 
do you have an error with

[tt]modprobe bcm5700[/tt]

?? if so, post it.

Chacal, Inc.[wavey]
 
Thing is the server is remote ..
i dont have KVM either to check ..no Hands and eye at the moment.

can you please send me the list of commands to execute ...for cheking this problem..

Thanks,
Anil

 
[tt]modprobe bcm5700[/tt] will try to load the driver module for your card (bcm5700), if you get error messages then the driver module could be the problem (you should recompile the module), if not, then the module is not loaded at boot time.

man modprobe
man rmmod
man dmesg


Chacal, Inc.[wavey]
 
can you tell me how to recompile the module ?,,,,

I just got hold of hands and eye..


thanks for your response.
 
*ussualy* you must download the source for the driver module, untar it and then:

configure
make
make install

but read the module documentation for the driver module.

Cheers.

Chacal, Inc.[wavey]
 
i got hold of H&E ..
modprobe bcm5700

said it spitted put so many errors/.


so what can be done now..

Thanks,
A/.
 
I think the main problem is ..the kernal is not loading the bmc5700 ..
how can i make it read this module ..

any code tweaking ?..

Anil
 
Can you post the exact error messages?

Are there any lines referring to "bcm5700" in /etc/modules.conf?

Annihilannic.
 
Much earlier in the thread, you found that the bcm5700 module is not listed on the newer box. That is the problem.

Modules are loaded by /etc/modules.conf at boot, but can also be loaded manually.

Did you try "insmod bcm5700"?

Also, anni- asked whether you found the same module on the new machine:
Code:
Or similarly, compare the contents of these two directories:

/lib/modules/2.4.9-e.40/kernel/drivers/net

/lib/modules/2.4.9-e.62/kernel/drivers/net

If a module appears in the e.40 directory but not the e.62, that's probably the reason.  You might get away with just copying it across.

You may need to compile the module itself and manually insert it into /etc/modules.conf




D.E.R. Management - IT Project Management Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top