Re: CentOS 5.3 nvidia nForce network bugs, kernel panics (forcedeth, MCP67)

Posted by paix on 2009/8/26 12:57:00
Just in case it's may be interesting.

Driver from elrepo works normal.
The system was freezed under a stress tests, but in normal mode it works.

Updating the driver in case a custom kernel. ( Openvz kernel in my case.)

# uname -r
2.6.18-128.1.1.el5.028stab062.3

yum update
shutdown -r now


The system boots and works via standart forcedeth driver:
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.


Then login to the system and rebuild the forcedeth driver:
# uname -r
2.6.18-128.2.1.el5.028stab064.4


I've wrote a simple script to updating..:

#!/bin/sh
# script for updating centos custom nve driver

drv="forcedeth"
link=`curl http://elrepo.org/linux/elrepo/el5/SRPMS/ 2>/dev/null | grep $drv` 

drvver=`echo $link |  awk -F\" '{print $2}'`
echo $drvver

if [ !  -f $drvver ]; then
        wget http://elrepo.org/linux/elrepo/el5/SRPMS/$drvver
        echo
fi

#mock -r centos-5-x86_64  --no-clean  --rebuild $drvver
mock -r centos-5-x86_64 --debug --no-clean  --rebuild $drvver


this scripts download latest forcedeth driver from elrepo and rebuild them.

Installing the driver:
rpm -Uvh  /vz/root/1000/var/lib/mock/centos-5-x86_64/result/kmod-forcedeth-0.62-1.25.2.el5.elrepo.x86_64.rpm

Note: I've built the driver in VE (Virtual Environment), but install it on the HN (Hardware Node)

Load the new driver and restart the network:
modprobe -r forcedeth; service network restart



dmesg:
ACPI: PCI interrupt for device 0000:00:0a.0 disabled
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.62-Driver Package V1.25.
PCI: Enabling device 0000:00:0a.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LMAC] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:0a.0 to 64
forcedeth: using HIGHDMA
eth0: forcedeth.c: subsystem: 01043:82b3 bound to 0000:00:0a.0
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0: link up.
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready



PS. thanks to Alan and the elrepo team!

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=40&topic_id=20835&post_id=83985