Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-16 Thread Michael Chan
Olaf Hering wrote: > Yes, this patch fixes nfsroot for me. Thanks. > mii-tool is not shipped anymore, even in SLES10. > I assume that ethtool is the replacement? > Thanks. We'll send the patch to DaveM and to stable as well. ethtool can provide some high level link parameters. But in this case

Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-16 Thread Olaf Hering
On Thu, May 15, Michael Chan wrote: > Matt, I think that's very likely the problem. If we are trying to > establish link in parallel detect mode, the flow control settings may > not match. If we do not enter the if statement to do nothing, we will > keep autonegotiating forever and never establi

Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-15 Thread Michael Chan
On Thu, 2008-05-15 at 10:15 -0700, Matt Carlson wrote: > If you were to start with the original file, does the following patch > fix the problem? > > > diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c > index 07b3f77..4c248d7 100644 > --- a/drivers/net/tg3.c > +++ b/drivers/net/tg3.c > @@ -3168

Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-15 Thread Matt Carlson
If you were to start with the original file, does the following patch fix the problem? diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 07b3f77..4c248d7 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -3168,8 +3168,7 @@ static int tg3_setup_fiber_mii_phy(struct tg3 *tp, int for

Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-15 Thread Michael Chan
On Thu, 2008-05-15 at 17:49 +0200, Olaf Hering wrote: > On Thu, May 15, Michael Chan wrote: > > > Olaf Hering wrote: > > > > > Any ideas how to fix this? > > > What info do you need from the system? > > > > Are you using eth0 or eth1? The dmesg below shows that > > link came up on eth1 and IP a

Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-15 Thread Olaf Hering
On Thu, May 15, Michael Chan wrote: > Olaf Hering wrote: > > > Any ideas how to fix this? > > What info do you need from the system? > > Are you using eth0 or eth1? The dmesg below shows that > link came up on eth1 and IP address from DHCP was received. I'm using eth1. The log was done with th

Re: dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-15 Thread Michael Chan
Olaf Hering wrote: > Any ideas how to fix this? > What info do you need from the system? Are you using eth0 or eth1? The dmesg below shows that link came up on eth1 and IP address from DHCP was received. > Sending DHCP requests .<6>tg3: eth1: Link is up at 1000 Mbps, > full duplex. > tg3: eth

dead network on JS21 with tg3 driver after flowcontrol changes

2008-05-15 Thread Olaf Hering
Commit ef167e27039eeaea6d3cdd5c547b082e89840bdd ([TG3]: Fix supporting flowctrl code) breaks networking on IBM JS21 blade servers. If I revert this change from 2.6.26-rc2-git4, nfsroot for example will work again. There are no packages submitted, a tcpdump on a different host sees no broadcast mes