Subject: Re: kern/10315: tlp has severe media negotiation problems when talking to Cisco 3524
To: None <tls@cs.stevens-tech.edu>
From: Bill Squier <groo@old-ones.com>
List: netbsd-bugs
Date: 06/08/2000 11:02:21
On Wed, Jun 07, 2000 at 06:32:55PM -0400, tls@cs.stevens-tech.edu wrote:
> With "tlp" cards (MX98715A, in this case -- known-good cards that
> work in other machines on other switches, including other Cisco
> switches, and including in full-duplex mode) installed, if the
> Ethernet cable is plugged in at the time the interface is brought
> up the machine hangs hard (requiring power-cycling to reboot) about
> 0.5sec after the "ifconfig" operation that brings the interface up.
> It's not even possible to drop to DDB; on some of my machines the ATX
> soft-power button doesn't even work and I have to pull the power plug.
Datapoint:
NetBSD hastur 1.4Y NetBSD 1.4Y (HASTUR) #0: Wed May 10 01:27:03 EDT 2000 groo@hastur:/u2/devel/current/src/sys/arch/i386/compile/HASTUR i386
tlp0 at pci0 dev 8 function 0: Macronix MX98715A Ethernet, pass 2.5
tlp0: interrupting at irq 10
tlp0: Ethernet address 00:a0:0c:c3:8f:ca
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
tlp0: transmit underrun; new threshold: 96/256 bytes
tlp0: transmit underrun; new threshold: 128/512 bytes
tlp0: receive error: MII error
tlp0: receive error: dribbling bit
tlp0: receive error: CRC error
tlp0: transmit underrun; new threshold: 160/1024 bytes
tlp0: receive error: MII error
tlp0: receive error: dribbling bit
tlp0: receive error: CRC error
exhibits *exactly* the same problems talking to a DLink switch. I haven't
rebooted the machine enough since connecting it to a DLink hub.
For me, the hang occurs about 30%-50% of the time. Placing printf()'s
throughout the ioctl code made the problem disappear(!) so I wasn't
able to isolate it. (This could be simply coincidence, but it did survive
about 20 reboots.)
Note that this problem did *NOT* occur on 1.4V. It began for me in the
X/Y kernels.
--
Bill Squier (groo@old-ones.com) http://www.netbsd.org
I know I don't deserve a second chance; but as an American,
aren't I entitled to one? --Sideshow Bob.