Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2010 18:28:47 -0500 (EST)
From:      "Michael L. Squires" <mikes@siralan.org>
To:        Pyun YongHyeon <pyunyh@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   bge driver regression in 7.4-PRERELEASE, Tyan S4881
Message-ID:  <20101230181239.N2744@familysquires.net>
In-Reply-To: <20101222135420.C47756@familysquires.net>
References:  <20101127184952.E90087@familysquires.net> <20101128160043.W11452@familysquires.net> <20101129023531.GB1380@michelle.cdnetworks.com> <20101220181005.P32987@familysquires.net> <20101221180543.GB5236@michelle.cdnetworks.com> <20101222135420.C47756@familysquires.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm having watchdod timeout problems with the bge driver in 7.4-PRERELEASE 
on a Tyan S4881 motherboard (the S4881 has 4 Opteron sockets, 2 PCI-E 
slots, and 3 PCI-X slots, plus VGA and dual Broadcom "bge" GigE ports.)

I don't know if this problem also affects the similar Tyan S4882 motherboard,
which appears to be much more common.  I have a S4882 and can swap it for
the S4881 and test this, if anyone is interested (there are a lot things
to unplug and unscrew, so I'd rather not if there's no reason for it).

I've been able to isolate the problem to the following patches

  Edit src/sys/dev/bge/if_bge.c
   Add delta 1.198.2.48 2010.10.08.18.46.02 yongari
   Add delta 1.198.2.49 2010.10.08.18.51.28 yongari
  Edit src/sys/dev/bge/if_bgereg.h
   Add delta 1.73.2.22 2010.10.08.18.46.02 yongari
  Edit src/sys/dev/et/if_et.c
   Add delta 1.1.2.9 2010.10.08.19.25.46 yongari
  Edit src/sys/dev/mii/brgphy.c
   Add delta 1.70.2.14 2010.10.08.19.00.36 yongari
  Edit src/sys/dev/mii/brgphyreg.h
   Add delta 1.10.2.3 2010.10.08.19.00.36 yongari
   Add delta 1.7.2.6 2010.10.08.20.13.42 yongari
   Add delta 1.7.2.7 2010.10.08.20.27.51 yongari
   Add delta 1.7.2.8 2010.10.08.20.31.35 yongari
   Add delta 1.7.2.9 2010.10.08.20.37.13 yongari
   Add delta 1.7.2.10 2010.10.08.20.41.15 yongari
   Add delta 1.7.2.11 2010.10.08.20.44.35 yongari
   Add delta 1.7.2.12 2010.10.08.20.49.44 yongari
   Add delta 1.7.2.13 2010.10.08.20.52.47 yongari
   Add delta 1.7.2.14 2010.10.08.23.14.21 yongari
   Add delta 1.7.2.15 2010.10.08.23.29.45 yongari
   Add delta 1.7.2.16 2010.10.08.23.34.45 yongari

Reverting if_bge.c, if_bgerec.h, brgphy.c, and brgphyreg.h to the version 
that existed on 10/7/2010 allows me to do a 7.4-PRERELEASE buildworld/
buildkernel/installkernel cycle and the resulting kernel does not exhibit
the watchdog timeout problem.

The problem appears only on samba shares exported to a Windows XP Pro client
(I've been copying a directory with 17GB of "Ghost" images as a test).

The dmesg for a kernel that failed (containing the patches above) is as 
follows:

bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x002003> mem 0xd0110000-0xd011ffff,0xd0100000-0xd010ffff irq 26 at device 2.0 on pci17
miibus0: <MII bus> on bge0
bge0: Ethernet address: 00:e0:81:58:2d:e3
bge0: [ITHREAD]
bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x002003> mem 0xd0130000-0xd013ffff,0xd0120000-0xd012ffff irq 27 at device 2.1 on pci17
miibus1: <MII bus> on bge1
bge1: Ethernet address: 00:e0:81:58:2d:e4
bge1: [ITHREAD]
bge1: link state changed to UP
bge1: watchdog timeout -- resetting
bge1: link state changed to DOWN
bge1: link state changed to UP
bge1: watchdog timeout -- resetting
bge1: link state changed to DOWN
bge1: link state changed to UP
bge1: watchdog timeout -- resetting
bge1: link state changed to DOWN
bge1: link state changed to UP
bge1: watchdog timeout -- resetting
bge1: link state changed to DOWN
bge1: link state changed to UP

Mike Squires
mikes@siralan.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101230181239.N2744>