Running FreeBSD 6.0-CURRENT on a Sun Netra X1. ifconfig up on a dc onboard NIC (Davicom DM9102A) cause system to log the following events. dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state Network connectivity works fine, but these messages confuse me a little. sunshine# dmesg GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-CURRENT #2: Sun Jun 26 17:37:30 CEST 2005 root@sunshine.thrillkill.lan:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "tick" frequency 500000000 Hz quality 1000 real memory = 536870912 (512 MB) avail memory = 505470976 (482 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (500.00 MHz CPU) nexus0: <Open Firmware Nexus device> pcib0: <U2P UPA-PCI bridge> on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0 dvma: DVMA map: 0x60000000 to 0x63ffffff pci0: <OFW PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 pci0: <old, non-VGA display device> at device 3.0 (no driver attached) pci0: <old, non-VGA display device> at device 3.0 (no driver attached) dc0: <Davicom DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0 miibus0: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:03:ba:0f:22:55 dc0: if_start running deferred for Giant dc0: [GIANT-LOCKED] dc1: <Davicom DM9102A 10/100BaseTX> port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 miibus1: <MII bus> on dc1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: Ethernet address: 00:03:ba:0f:22:55 dc1: if_start running deferred for Giant dc1: [GIANT-LOCKED] ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0x1000000-0x1000fff at device 10.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered atapci0: <AcerLabs M5229 UDMA66 controller> port 0x10200-0x10207,0x10218-0x1021b,0x10210-0x10217,0x10208-0x1020b,0x10220-0x1022f at device 13.0 on pci0 ata2: <ATA channel 0> on atapci0 ata3: <ATA channel 1> on atapci0 nexus0: <syscons>, type (unknown) (no driver attached) rtc0: <Real Time Clock> at port 0x70-0x71 on isa0 uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 on isa0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2e8-0x2ef irq 43 on isa0 Timecounters tick every 1.000 msec ad0: 38166MB <Seagate ST340824A 3.28> at ata2-master PIO4 Trying to mount root from ufs:/dev/ad0a dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state dc1: failed to force tx and rx to idle state dc1: failed to force tx and rx to idle state dc1: failed to force tx and rx to idle state dc1: failed to force tx and rx to idle state How-To-Repeat: sunshine# ifconfig dc0 down sunshine# ifconfig dc0 up
If the driver still works fine then I wouldn't worry about the messages. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
The main tought of this PR was to find the root cause of the message. Sure, there is not need to do this right now, cause connectivity is working fine, but it would be good to quell the message cause users may be confused.
State Changed From-To: open->suspended Mark suspended awaiting an interested party to investigate. jhb seems to indicate that the output is harmless.
marius 2006-10-29 20:24:27 UTC FreeBSD src repository Modified files: sys/dev/dc if_dc.c Log: - Wrap code optimized for architectures without alignment constraints in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This means that amd64 now also uses the optimized code. [1] While at it, fix a nearby style(9) bug. - Remove the hw.dc_quick SYSCTL, which allowed to turn off the above mentioned optimization, as like the equivalent and already removed - In dc_setcfg() suppress printing a warning when forcing the receiver and transceiver to idle state times out for chips where the status bits in question just never change (observed in detail with DM9102A) and therefore the warning would be highly likely false positive. [2] - In dc_ifmedia_sts() add a missing DC_UNLOCK(). Tested by: Hans-Joerg Sirtl on amd64 [1] PR: 82681 [2] Obtained from: NetBSD tlp(4) [2] MFC after: 1 week Revision Changes Path 1.186 +22 -16 src/sys/dev/dc/if_dc.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: suspended->closed Close; dc(4) suppresses the false positive warnings since src/sys/dev/dc/if_dc.c rev. 1.186, which was MFC'ed to RELENG_6 in src/sys/pci/if_dc.c rev. 1.160.2.12.