Re: tg3 issues

2007-07-24 Thread patric
Michael Chan wrote: Last update on this. udelay( 100 + net_random % 300 ) seems to work much better and i have not had a single problem getting the link up within 10 seconds of a cold or warm-boot, and most often the link comes up directly without any sort of delay instead like before when

Re: tg3 issues

2007-07-23 Thread Michael Chan
On Sun, 2007-07-22 at 13:43 +0200, patric wrote: patric wrote: Hi, Think i got something working for me at least, and the fix is quite minimal and only downside that i could see from it was that you might get a small delay when bringing up the interface, but that's probably

Re: tg3 issues

2007-07-22 Thread patric
patric wrote: Hi, Think i got something working for me at least, and the fix is quite minimal and only downside that i could see from it was that you might get a small delay when bringing up the interface, but that's probably better than getting a non-functional interface that reports that

Re: tg3 issues

2007-07-20 Thread patric
Michael Chan wrote: On Thu, 2007-07-19 at 15:24 +0200, patric wrote: Just a hypothetical question. If the 2 network cards starts the autonegotiation would it be possible that they get into a loop where they are chasing each others state? Maybe a fix could be to add a sleep of a random

Re: tg3 issues

2007-07-20 Thread Michael Chan
On Fri, 2007-07-20 at 18:59 +0200, patric wrote: Thanks... That's a confirmation on what i suspected.. I think i'll dig into the code instead and try to figure out some way of making it work a bit better for my setup atleast... I'll post a patch later if i get something working... Btw, do

Re: tg3 issues

2007-07-20 Thread patric
Michael Chan wrote: On Fri, 2007-07-20 at 18:59 +0200, patric wrote: Thanks... That's a confirmation on what i suspected.. I think i'll dig into the code instead and try to figure out some way of making it work a bit better for my setup atleast... I'll post a patch later if i get

Re: tg3 issues

2007-07-19 Thread Neil Horman
On Thu, Jul 19, 2007 at 04:49:13PM +0530, pradeep singh wrote: CCing: netdev On 7/19/07, patric [EMAIL PROTECTED] wrote: Hi, To start with, i'm not sure if this should go to the dev or user list, but i'll start here.. I'm currently running a nfsroot via a Broadcom NetXtreme 1000-SX

Re: tg3 issues

2007-07-19 Thread Michael Chan
On Thu, 2007-07-19 at 15:24 +0200, patric wrote: Just a hypothetical question. If the 2 network cards starts the autonegotiation would it be possible that they get into a loop where they are chasing each others state? Maybe a fix could be to add a sleep of a random length that would