Date: Fri, 16 Feb 2001 13:10:03 -0800 (PST) From: Ken Lui <klui@cup.hp.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow f ull-duplex<->half-duplex communication Message-ID: <200102162110.f1GLA3M70069@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/24811; it has been noted by GNATS. From: Ken Lui <klui@cup.hp.com> To: "Young, Jason" <Jason.Young@anheuser-busch.com> Cc: "'freebsd-gnats-submit@FreeBSD.org'" <freebsd-gnats-submit@FreeBSD.org>, wpaul@FreeBSD.org Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow f ull-duplex<->half-duplex communication Date: Fri, 16 Feb 2001 13:09:32 -0800 (PST) On Thu, 15 Feb 2001, Young, Jason wrote: > If there's a duplex mismatch, your symptoms would seem to indicate it would > have to be on your work machine, between it and your switch. You have proven > (with the transfer from the HPUX machine to your home machine) that your home > machine has reasonable connectivity. Hi Jason, Thanks for your reply. > This could definitely be caused by the OS upgrade, since it seems that the > driver plays a very large role in speed and duplex negotiations and you've > changed drivers. > > You haven't mentioned how you know that link is 10BaseT full-duplex. Is this > an assumption, or have you set it on the switch personally or otherwise know > it's supposed to be full-duplex? You could quickly check if this is the > problem by doing this: > > ifconfig pcn0 media 10BaseT mediaopt half-duplex I initially used the pcn drivers as is without media nor mediaopt switches and connectivity under 4.2-R is very very slow with ping times of 1 second to my mail server outside my subnet and I couldn't ping my local LAN HPUX box. The lnc driver works without these options because it doesn't understand media and mediaopt anyway. Once I used media and mediaopt full-duplex everything worked a lot better than before without the bad network delays. I cannot recall what happened when I used half-duplex but I either got the bad network delays and unpingable local LAN boxes or an error message from ifconfig. My current ping times to my mail box averages 5ms under FreeBSD 3.2-R and lnc. > Then test your connectivity again. If that fixes things, the switch wasn't > really giving you full duplex connectivity. If the switch is set to > autonegotiate duplex settings, be aware this tends to fail a lot and you'll > probably need to force the setting to be whichever way you want it or stay > half duplex. > > If autonegotiation worked before in 3.2-RELEASE with the same hardware with > the lnc driver, you may want to send a (very, very, very, very) detailed bug > report to Bill Paul (wpaul@freebsd.org), who maintains that driver. > > Jason Young > CNS - Network Design, Anheuser-Busch > (314)577-4597 I would assume that autonegotiation worked under 3.2-R because I never had to do anything and it is currently working. I don't have network stalls nor does my connection wedge for no reason at all after an indeterminate amount of time. For my work machine anyway, I have remained at 3.2-R and will probably await for 5.0. I personally feel something in the networking code is broken under 4.2 or is incompatible with certain switch configurations somehow. The pcn, lnc, and ep drivers don't work correctly with my fxp at home--they all drop the network connection after a certain amount of data has been sent through. The baffling part is that they work when transferring data between my Kayak (pcn, lnc, ep) to two HPUX boxes I have access to. And those HPUX boxes transfer fine to my fxp 4.2-R box at home via the WAN. Bill, is there anything I can provide that can help you? Ken -- Ken Lui 3000 Hanover Street klui@cup.hp.com Palo Alto, CA 94304 USA Hewlett-Packard Company invent 1.650.236.5364 FAX 1.650.857.2085 Views within may not be those of the Hewlett-Packard Company To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102162110.f1GLA3M70069>