Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
On Fri, 2 Mar 2001, Manfred Spraul wrote: > Jeff Garzik wrote: > > Manfred Spraul wrote: > > > Could you double check the code in tulip_core.c, around line 1450? > > > IMHO it's bogus. > > > > > > 1) if the network card contains multiple mii's, then the the advertised > > > value of all mii's is changed to the advertised value of the first mii. ... > > If you have a single controller with multiple MII phys... how does one > > select the phy of choice (for tulip, in the absence of SROM media > > table...)? > > I'd choose the first one with a link partner. Well, yes, but what is "first"? Are there any Tulip cards (besides the Comet-2 w/HPNA) that have multiple MII transceivers? The Comet2 is a special case, since only one transceiver is powered and visible at a time. Polling the other transceiver switches off the first. > > And once phy A has been selected out of N available as the > > active phy, should you care about the others at all? > > Not until the link beat disappears. Uhmm, but you don't always know when you have lost link beat. In some cases the driver does basic polling to check for duplex changes, but the semantics are not as clean as you would expect. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Jeff Garzik wrote: > > Manfred Spraul wrote: > > Could you double check the code in tulip_core.c, around line 1450? > > IMHO it's bogus. > > > > 1) if the network card contains multiple mii's, then the the advertised > > value of all mii's is changed to the advertised value of the first mii. > > I'm really curious about this one myself. > > Since I haven't digested all of the tulip media stuff in my brain yet, > and since I'm not familiar with all the corner cases, I'm loathe to > change the tulip media stuff without fully understanding what's going > on. > > If you have a single controller with multiple MII phys... how does one > select the phy of choice (for tulip, in the absence of SROM media > table...)? I'd choose the first one with a link partner. > And once phy A has been selected out of N available as the > active phy, should you care about the others at all? > Not until the link beat disappears. Then scan all existing phy's and select the phy with a link beat as the new active phy. At least that's what the sis900.c driver does. Are there other linux drivers that support multiple phy's? -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Manfred Spraul wrote: > Could you double check the code in tulip_core.c, around line 1450? > IMHO it's bogus. > > 1) if the network card contains multiple mii's, then the the advertised > value of all mii's is changed to the advertised value of the first mii. I'm really curious about this one myself. Since I haven't digested all of the tulip media stuff in my brain yet, and since I'm not familiar with all the corner cases, I'm loathe to change the tulip media stuff without fully understanding what's going on. If you have a single controller with multiple MII phys... how does one select the phy of choice (for tulip, in the absence of SROM media table...)? And once phy A has been selected out of N available as the active phy, should you care about the others at all? Jeff -- Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Manfred Spraul wrote: Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. I'm really curious about this one myself. Since I haven't digested all of the tulip media stuff in my brain yet, and since I'm not familiar with all the corner cases, I'm loathe to change the tulip media stuff without fully understanding what's going on. If you have a single controller with multiple MII phys... how does one select the phy of choice (for tulip, in the absence of SROM media table...)? And once phy A has been selected out of N available as the active phy, should you care about the others at all? Jeff -- Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Jeff Garzik wrote: Manfred Spraul wrote: Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. I'm really curious about this one myself. Since I haven't digested all of the tulip media stuff in my brain yet, and since I'm not familiar with all the corner cases, I'm loathe to change the tulip media stuff without fully understanding what's going on. If you have a single controller with multiple MII phys... how does one select the phy of choice (for tulip, in the absence of SROM media table...)? I'd choose the first one with a link partner. And once phy A has been selected out of N available as the active phy, should you care about the others at all? Not until the link beat disappears. Then scan all existing phy's and select the phy with a link beat as the new active phy. At least that's what the sis900.c driver does. Are there other linux drivers that support multiple phy's? -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
On Fri, 2 Mar 2001, Manfred Spraul wrote: Jeff Garzik wrote: Manfred Spraul wrote: Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. ... If you have a single controller with multiple MII phys... how does one select the phy of choice (for tulip, in the absence of SROM media table...)? I'd choose the first one with a link partner. Well, yes, but what is "first"? Are there any Tulip cards (besides the Comet-2 w/HPNA) that have multiple MII transceivers? The Comet2 is a special case, since only one transceiver is powered and visible at a time. Polling the other transceiver switches off the first. And once phy A has been selected out of N available as the active phy, should you care about the others at all? Not until the link beat disappears. Uhmm, but you don't always know when you have lost link beat. In some cases the driver does basic polling to check for duplex changes, but the semantics are not as clean as you would expect. Donald Becker [EMAIL PROTECTED] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Later, for what its worth: Up to now, I have only had one of the network cards active, and connected to the hub. I have just connected a second card to the hub, with an additional IP address. After running IPTRAF, it hung after about 5 minutes, after which BOTH network cards stopped responding. =Pat Good morning all. First thing this morning I applied Jeff's patch, as below. Started off well, ran for about 20 minutes (and 40 MBytes) before hanging. Reversed out Jeff's change and applied Manfred's patch to the same lines in pnic.c. Ran for about 15 minutes (28 Mbytes) before hanging. It is still early, and the network is still quiet, so the volume of data received is still low, but the hanging problem is unfortunately still there. =Pat At 09:58 PM 26/02/2001 +0100, Manfred Spraul wrote: >Jeff Garzik wrote: > > Pat, Manfred, in pnic_check_duplex, make this change: > > > -negotiated = mii_reg5 & tp->advertising[0]; > > > +negotiated = mii_reg5 & tulip_mdio_read(dev, tp->phys[0], 4); > > >The changed fixed the problem. > > > > > Manfred Spraul wrote: > > > > > > I think I found the bug: > > > > > > Someone (Jeff?) removed the line > > > > > > tp->advertising[phy_idx++] = reg4; > > > > > > from tulip/tulip_core.c > > > > > > pnic_check_duplex uses that variable :-( > > > > > > There are 2 workarounds: > > > > > > * change pnic_check_duplex: > > > s/tp->advertising[0]/tp->mii_advertise/g > > > > > > * remove the new mii_advertise variable and replace it with > > > 'tp->advertising[i]'. > > > > mii_advertise is what MII is currently advertising on the current > > media. tp->advertising is per-phy, on the other hand. > > > >Could you double check the code in tulip_core.c, around line 1450? >IMHO it's bogus. > >1) if the network card contains multiple mii's, then the the advertised >value of all mii's is changed to the advertised value of the first mii. > >2) the new driver starts with the current advertised value, the previous >driver recalculated the value from mii_status > >[ mii_status = tulip_mdio_read(dev,phy,1); ] > >- reg4 = ((mii_status>>6)& tp->to_advertise) | 1; > >That could trigger 2 problems: >* I tested with 'options=11', and the new driver announces '100baseT4' >support, but the PHY doesn't support 100baseT4. >* If the mii is incorrectly initialized, then a wrong advertised value >is not corrected. > >-- > Manfred -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Good morning all. First thing this morning I applied Jeff's patch, as below. Started off well, ran for about 20 minutes (and 40 MBytes) before hanging. Reversed out Jeff's change and applied Manfred's patch to the same lines in pnic.c. Ran for about 15 minutes (28 Mbytes) before hanging. It is still early, and the network is still quiet, so the volume of data received is still low, but the hanging problem is unfortunately still there. =Pat At 09:58 PM 26/02/2001 +0100, Manfred Spraul wrote: >Jeff Garzik wrote: > > Pat, Manfred, in pnic_check_duplex, make this change: > > > -negotiated = mii_reg5 & tp->advertising[0]; > > > +negotiated = mii_reg5 & tulip_mdio_read(dev, tp->phys[0], 4); > > >The changed fixed the problem. > > > > > Manfred Spraul wrote: > > > > > > I think I found the bug: > > > > > > Someone (Jeff?) removed the line > > > > > > tp->advertising[phy_idx++] = reg4; > > > > > > from tulip/tulip_core.c > > > > > > pnic_check_duplex uses that variable :-( > > > > > > There are 2 workarounds: > > > > > > * change pnic_check_duplex: > > > s/tp->advertising[0]/tp->mii_advertise/g > > > > > > * remove the new mii_advertise variable and replace it with > > > 'tp->advertising[i]'. > > > > mii_advertise is what MII is currently advertising on the current > > media. tp->advertising is per-phy, on the other hand. > > > >Could you double check the code in tulip_core.c, around line 1450? >IMHO it's bogus. > >1) if the network card contains multiple mii's, then the the advertised >value of all mii's is changed to the advertised value of the first mii. > >2) the new driver starts with the current advertised value, the previous >driver recalculated the value from mii_status > >[ mii_status = tulip_mdio_read(dev,phy,1); ] > >- reg4 = ((mii_status>>6)& tp->to_advertise) | 1; > >That could trigger 2 problems: >* I tested with 'options=11', and the new driver announces '100baseT4' >support, but the PHY doesn't support 100baseT4. >* If the mii is incorrectly initialized, then a wrong advertised value >is not corrected. > >-- > Manfred -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Jeff Garzik wrote: > Pat, Manfred, in pnic_check_duplex, make this change: > > -negotiated = mii_reg5 & tp->advertising[0]; > > +negotiated = mii_reg5 & tulip_mdio_read(dev, tp->phys[0], 4); > The changed fixed the problem. > > Manfred Spraul wrote: > > > > I think I found the bug: > > > > Someone (Jeff?) removed the line > > > > tp->advertising[phy_idx++] = reg4; > > > > from tulip/tulip_core.c > > > > pnic_check_duplex uses that variable :-( > > > > There are 2 workarounds: > > > > * change pnic_check_duplex: > > s/tp->advertising[0]/tp->mii_advertise/g > > > > * remove the new mii_advertise variable and replace it with > > 'tp->advertising[i]'. > > mii_advertise is what MII is currently advertising on the current > media. tp->advertising is per-phy, on the other hand. > Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. 2) the new driver starts with the current advertised value, the previous driver recalculated the value from mii_status [ mii_status = tulip_mdio_read(dev,phy,1); ] - reg4 = ((mii_status>>6)& tp->to_advertise) | 1; That could trigger 2 problems: * I tested with 'options=11', and the new driver announces '100baseT4' support, but the PHY doesn't support 100baseT4. * If the mii is incorrectly initialized, then a wrong advertised value is not corrected. -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Manfred Spraul wrote: > > I think I found the bug: > > Someone (Jeff?) removed the line > > tp->advertising[phy_idx++] = reg4; > > from tulip/tulip_core.c > > pnic_check_duplex uses that variable :-( > > There are 2 workarounds: > > * change pnic_check_duplex: > s/tp->advertising[0]/tp->mii_advertise/g > > * remove the new mii_advertise variable and replace it with > 'tp->advertising[i]'. mii_advertise is what MII is currently advertising on the current media. tp->advertising is per-phy, on the other hand. Pat, Manfred, in pnic_check_duplex, make this change: > -negotiated = mii_reg5 & tp->advertising[0]; > +negotiated = mii_reg5 & tulip_mdio_read(dev, tp->phys[0], 4); and let me know how it goes. I'm tempted to just remove tp->advertising[] altogether. Jeff -- Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
I think I found the bug: Someone (Jeff?) removed the line tp->advertising[phy_idx++] = reg4; from tulip/tulip_core.c pnic_check_duplex uses that variable :-( There are 2 workarounds: * change pnic_check_duplex: s/tp->advertising[0]/tp->mii_advertise/g * remove the new mii_advertise variable and replace it with 'tp->advertising[i]'. Jeff, is it really a good idea to have one global mii_advertise variable? If someone builds a card with multiple transceivers, then they'll probably support different medias. -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
I think I found the bug: Someone (Jeff?) removed the line tp-advertising[phy_idx++] = reg4; from tulip/tulip_core.c pnic_check_duplex uses that variable :-( There are 2 workarounds: * change pnic_check_duplex: s/tp-advertising[0]/tp-mii_advertise/g * remove the new mii_advertise variable and replace it with 'tp-advertising[i]'. Jeff, is it really a good idea to have one global mii_advertise variable? If someone builds a card with multiple transceivers, then they'll probably support different medias. -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Manfred Spraul wrote: I think I found the bug: Someone (Jeff?) removed the line tp-advertising[phy_idx++] = reg4; from tulip/tulip_core.c pnic_check_duplex uses that variable :-( There are 2 workarounds: * change pnic_check_duplex: s/tp-advertising[0]/tp-mii_advertise/g * remove the new mii_advertise variable and replace it with 'tp-advertising[i]'. mii_advertise is what MII is currently advertising on the current media. tp-advertising is per-phy, on the other hand. Pat, Manfred, in pnic_check_duplex, make this change: -negotiated = mii_reg5 tp-advertising[0]; +negotiated = mii_reg5 tulip_mdio_read(dev, tp-phys[0], 4); and let me know how it goes. I'm tempted to just remove tp-advertising[] altogether. Jeff -- Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Jeff Garzik wrote: Pat, Manfred, in pnic_check_duplex, make this change: -negotiated = mii_reg5 tp-advertising[0]; +negotiated = mii_reg5 tulip_mdio_read(dev, tp-phys[0], 4); The changed fixed the problem. Manfred Spraul wrote: I think I found the bug: Someone (Jeff?) removed the line tp-advertising[phy_idx++] = reg4; from tulip/tulip_core.c pnic_check_duplex uses that variable :-( There are 2 workarounds: * change pnic_check_duplex: s/tp-advertising[0]/tp-mii_advertise/g * remove the new mii_advertise variable and replace it with 'tp-advertising[i]'. mii_advertise is what MII is currently advertising on the current media. tp-advertising is per-phy, on the other hand. Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. 2) the new driver starts with the current advertised value, the previous driver recalculated the value from mii_status [ mii_status = tulip_mdio_read(dev,phy,1); ] - reg4 = ((mii_status6) tp-to_advertise) | 1; That could trigger 2 problems: * I tested with 'options=11', and the new driver announces '100baseT4' support, but the PHY doesn't support 100baseT4. * If the mii is incorrectly initialized, then a wrong advertised value is not corrected. -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Good morning all. First thing this morning I applied Jeff's patch, as below. Started off well, ran for about 20 minutes (and 40 MBytes) before hanging. Reversed out Jeff's change and applied Manfred's patch to the same lines in pnic.c. Ran for about 15 minutes (28 Mbytes) before hanging. It is still early, and the network is still quiet, so the volume of data received is still low, but the hanging problem is unfortunately still there. =Pat At 09:58 PM 26/02/2001 +0100, Manfred Spraul wrote: Jeff Garzik wrote: Pat, Manfred, in pnic_check_duplex, make this change: -negotiated = mii_reg5 tp-advertising[0]; +negotiated = mii_reg5 tulip_mdio_read(dev, tp-phys[0], 4); The changed fixed the problem. Manfred Spraul wrote: I think I found the bug: Someone (Jeff?) removed the line tp-advertising[phy_idx++] = reg4; from tulip/tulip_core.c pnic_check_duplex uses that variable :-( There are 2 workarounds: * change pnic_check_duplex: s/tp-advertising[0]/tp-mii_advertise/g * remove the new mii_advertise variable and replace it with 'tp-advertising[i]'. mii_advertise is what MII is currently advertising on the current media. tp-advertising is per-phy, on the other hand. Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. 2) the new driver starts with the current advertised value, the previous driver recalculated the value from mii_status [ mii_status = tulip_mdio_read(dev,phy,1); ] - reg4 = ((mii_status6) tp-to_advertise) | 1; That could trigger 2 problems: * I tested with 'options=11', and the new driver announces '100baseT4' support, but the PHY doesn't support 100baseT4. * If the mii is incorrectly initialized, then a wrong advertised value is not corrected. -- Manfred -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Later, for what its worth: Up to now, I have only had one of the network cards active, and connected to the hub. I have just connected a second card to the hub, with an additional IP address. After running IPTRAF, it hung after about 5 minutes, after which BOTH network cards stopped responding. =Pat Good morning all. First thing this morning I applied Jeff's patch, as below. Started off well, ran for about 20 minutes (and 40 MBytes) before hanging. Reversed out Jeff's change and applied Manfred's patch to the same lines in pnic.c. Ran for about 15 minutes (28 Mbytes) before hanging. It is still early, and the network is still quiet, so the volume of data received is still low, but the hanging problem is unfortunately still there. =Pat At 09:58 PM 26/02/2001 +0100, Manfred Spraul wrote: Jeff Garzik wrote: Pat, Manfred, in pnic_check_duplex, make this change: -negotiated = mii_reg5 tp-advertising[0]; +negotiated = mii_reg5 tulip_mdio_read(dev, tp-phys[0], 4); The changed fixed the problem. Manfred Spraul wrote: I think I found the bug: Someone (Jeff?) removed the line tp-advertising[phy_idx++] = reg4; from tulip/tulip_core.c pnic_check_duplex uses that variable :-( There are 2 workarounds: * change pnic_check_duplex: s/tp-advertising[0]/tp-mii_advertise/g * remove the new mii_advertise variable and replace it with 'tp-advertising[i]'. mii_advertise is what MII is currently advertising on the current media. tp-advertising is per-phy, on the other hand. Could you double check the code in tulip_core.c, around line 1450? IMHO it's bogus. 1) if the network card contains multiple mii's, then the the advertised value of all mii's is changed to the advertised value of the first mii. 2) the new driver starts with the current advertised value, the previous driver recalculated the value from mii_status [ mii_status = tulip_mdio_read(dev,phy,1); ] - reg4 = ((mii_status6) tp-to_advertise) | 1; That could trigger 2 problems: * I tested with 'options=11', and the new driver announces '100baseT4' support, but the PHY doesn't support 100baseT4. * If the mii is incorrectly initialized, then a wrong advertised value is not corrected. -- Manfred -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
26 Feb 2001: Rebuilt the kernel to version 2.4.2-ac4, to include the latest tulip patches. The performance is better, but it is still not quite right; this time it received just over 48 MBytes before hanging :-( Using a 3C590B card on Friday, I ran IPTRAF for about 6 hours, and several GBytes of data with no problems at all. Unfortunately I have only one such card available, and our suppliers are quoting mid-March for delivery. =Pat At 10:42 AM 22/02/2001 +, Alan Cox wrote: > > three Netgear NICs and am experiencing considerable trouble with the=20 > > combination: > > > > Kernel 2.4.[01]:ifconfig shows that the card see's traffic on t= > > he=20 > > network, but does not transmit anything (no response to ping). > >Use a current 2.4.*-ac. Jeff and co fixed this we think. > >Alan -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
26 Feb 2001: Rebuilt the kernel to version 2.4.2-ac4, to include the latest tulip patches. The performance is better, but it is still not quite right; this time it received just over 48 MBytes before hanging :-( Using a 3C590B card on Friday, I ran IPTRAF for about 6 hours, and several GBytes of data with no problems at all. Unfortunately I have only one such card available, and our suppliers are quoting mid-March for delivery. =Pat At 10:42 AM 22/02/2001 +, Alan Cox wrote: three Netgear NICs and am experiencing considerable trouble with the=20 combination: Kernel 2.4.[01]:ifconfig shows that the card see's traffic on t= he=20 network, but does not transmit anything (no response to ping). Use a current 2.4.*-ac. Jeff and co fixed this we think. Alan -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
On Thu, 22 Feb 2001, Alan Cox wrote: > > three Netgear NICs and am experiencing considerable trouble with the=20 > > combination: > > > > Kernel 2.4.[01]:ifconfig shows that the card see's traffic on t= > > he=20 > > network, but does not transmit anything (no response to ping). > > Use a current 2.4.*-ac. Jeff and co fixed this we think. Credit almost 100% to Manfred Spraul for isolating the problem, making a patch, and passing it around for testing... I was just the merge monkey in this case :) Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Rebuilt the kernel using using 2.4.1 + patch-2.4.1-ac20 : Initial state is good, and now ping works. However, if I run IPTRAF, then the card grinds to a halt after receiving about 2.6 Mbytes on try 1, then 11 Mbytes on try 2, after which it will neither receive or transmit :-( After this the card is in a state such that it requires a reboot to be able to do anything further. =Pat At 10:42 AM 22/02/2001 +, Alan Cox wrote: > > three Netgear NICs and am experiencing considerable trouble with the=20 > > combination: > > > > Kernel 2.4.[01]:ifconfig shows that the card see's traffic on t= > > he=20 > > network, but does not transmit anything (no response to ping). > >Use a current 2.4.*-ac. Jeff and co fixed this we think. > >Alan -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
Rebuilt the kernel using using 2.4.1 + patch-2.4.1-ac20 : Initial state is good, and now ping works. However, if I run IPTRAF, then the card grinds to a halt after receiving about 2.6 Mbytes on try 1, then 11 Mbytes on try 2, after which it will neither receive or transmit :-( After this the card is in a state such that it requires a reboot to be able to do anything further. =Pat At 10:42 AM 22/02/2001 +, Alan Cox wrote: three Netgear NICs and am experiencing considerable trouble with the=20 combination: Kernel 2.4.[01]:ifconfig shows that the card see's traffic on t= he=20 network, but does not transmit anything (no response to ping). Use a current 2.4.*-ac. Jeff and co fixed this we think. Alan -- Pat Verner E-Mail: [EMAIL PROTECTED] Isis Information Systems (Pty) Ltd PO Box 281, Irene, 0062, South Africa Phone: +27-12-667-1411 Fax: +27-12-667-3800 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: Network hanging - Tulip driver with Netgear (Lite-On)
On Thu, 22 Feb 2001, Alan Cox wrote: three Netgear NICs and am experiencing considerable trouble with the=20 combination: Kernel 2.4.[01]:ifconfig shows that the card see's traffic on t= he=20 network, but does not transmit anything (no response to ping). Use a current 2.4.*-ac. Jeff and co fixed this we think. Credit almost 100% to Manfred Spraul for isolating the problem, making a patch, and passing it around for testing... I was just the merge monkey in this case :) Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/