rl0: watchdog timeout + 40, 000 ms ping with 7.1-BETA-i386-disc1.iso

Julian Stacey jhs at berklix.org
Fri Sep 26 15:26:26 UTC 2008


Hi All
Jeremy Chadwick wrote:
> On Thu, Sep 25, 2008 at 05:36:44PM +0200, Julian Stacey wrote:
> > Hi stable@,
> > I just imported an old tower from a friend. Used to run Linux OK.
> > Reset BIOS to defaults, turned off power saving etc, installed
> > 7.1-BETA-i386-disc1.iso
> > I now sees 
> > 	rl0: watchdog timeout + 40,000 ms ping outgoing.
> > 	ping incoming fails,
> > it's not my net switch, I've moved to different segments etc & all else fine
> > 
> > I'm remaking binaries, & will look around for netstat r whatever
> > commands later, meanwhile here's dmesg (via a floppy)
> > 
> > Of course it could be somehow a hardaware bad config, its a new box to me.
> 
> It's a "new box" with hardware from the late 90s?  :-)

Yes, new to me :-)
The offer I got was "Do you want this or shall I dump it ?" :-)


> > Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
> > FreeBSD 7.1-BETA #0: Sun Sep  7 13:49:18 UTC 2008
> >     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel Pentium III (651.48-MHz 686-class CPU)
> >   Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
> >   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> > real memory  = 134152192 (127 MB)
> > avail memory = 117157888 (111 MB)
> > kbd1 at kbdmux0
> > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> > acpi0: <AWARD AWRDACPI> on motherboard
> > acpi0: [ITHREAD]
> > ACPI Error (psargs-0459): [INX_] Namespace lookup failure, AE_NOT_FOUND
> > ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0._PRW] (Node 0xc1bd6700), AE_NOT_FOUND
> > acpi0: Power Button (fixed)
> > acpi0: reservation of 0, a0000 (3) failed
> > acpi0: reservation of 100000, 7ef0000 (3) failed
> > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f on acpi0
> > pci0: <ACPI PCI bus> on pcib0
> > agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> on hostb0
> > agp0: aperture size is 256M
> > pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> > pci1: <PCI bus> on pcib1
> > vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xe0000000-0xe7ffffff,0xed000000-0xed00ffff irq 11 at device 0.0 on pci1
> > isab0: <PCI-ISA bridge> at device 7.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <VIA 82C596B UDMA66 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 7.1 on pci0
> > ata0: <ATA channel 0> on atapci0
> > ata0: [ITHREAD]
> > ata1: <ATA channel 1> on atapci0
> > ata1: [ITHREAD]
> > uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
> > uhci0: [GIANT-LOCKED]
> > uhci0: [ITHREAD]
> > usb0: <VIA 83C572 USB controller> on uhci0
> > usb0: USB revision 1.0
> > uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> > uhub0: 2 ports with 2 removable, self powered
> > pci0: <bridge, HOST-PCI> at device 7.3 (no driver attached)
> > rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 0xee000000-0xee0000ff irq 12 at device 10.0 on pci0
> > miibus0: <MII bus> on rl0
> > rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> > rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > rl0: Ethernet address: 00:08:a1:6d:65:07
> > rl0: [ITHREAD]
> > pci0: <multimedia, audio> at device 11.0 (no driver attached)
> > cpu0: <ACPI CPU> on acpi0
> > acpi_throttle0: <ACPI CPU Throttling> on cpu0
> > acpi_button0: <Power Button> on acpi0
> > acpi_tz0: <Thermal Zone> on acpi0
> > fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
> > fdc0: [FILTER]
> > fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> > sio0: type 16550A
> > sio0: [FILTER]
> > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> > sio1: type 16550A
> > sio1: [FILTER]
> > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> > atkbd0: <AT Keyboard> irq 1 on atkbdc0
> > kbd0 at atkbd0
> > atkbd0: [GIANT-LOCKED]
> > atkbd0: [ITHREAD]
> > ACPI Error (psargs-0459): [INX_] Namespace lookup failure, AE_NOT_FOUND
> > ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0._PRW] (Node 0xc1bd6700), AE_NOT_FOUND
> > ACPI Error (psargs-0459): [INX_] Namespace lookup failure, AE_NOT_FOUND
> > ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0._PRW] (Node 0xc1bd6700), AE_NOT_FOUND
> > pmtimer0 on isa0
> > orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0
> > sc0: <System console> at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x300>
> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> > Timecounter "TSC" frequency 651482522 Hz quality 800
> > Timecounters tick every 1.000 msec
> > ad0: 4110MB <QUANTUM FIREBALL SE4.3A API.0C00> at ata0-master UDMA33
> > acd0: CDROM <ATAPI CDROM/V100Y> at ata1-master UDMA33
> > Trying to mount root from ufs:/dev/ad0s1a
> > rl0: link state changed to UP
> > rl0: watchdog timeout
> > rl0: link state changed to DOWN
> > rl0: link state changed to UP
> > rl0: link state changed to DOWN
> > rl0: link state changed to UP
> > rl0: watchdog timeout
> > rl0: watchdog timeout
> 
> I've CC'd PYUN Yong-Hyeon (surname is Pyun), who helps maintain the rl(4)
> driver.  He might have some ideas.

Thanks, 
I'll try his patch next.

> For now, please provide the output from "vmstat -i" and "pciconf -lv".

Thanks.  Appended

| hostb0 at pci0:0:0:0:	class=0x060000 card=0x00000000 chip=0x06911106 rev=0x44 hdr=0x00
|     vendor     = 'VIA Technologies Inc'
|     device     = 'VT82C691/693A/694X Apollo Pro/133/133A System Controller'
|     class      = bridge
|     subclass   = HOST-PCI
| pcib1 at pci0:0:1:0:	class=0x060400 card=0x00000000 chip=0x85981106 rev=0x00 hdr=0x01
|     vendor     = 'VIA Technologies Inc'
|     device     = 'VT82C598MVP/694x Apollo MVP3/Pro133x PCI to AGP Bridge'
|     class      = bridge
|     subclass   = PCI-PCI
| isab0 at pci0:0:7:0:	class=0x060100 card=0x00001106 chip=0x05961106 rev=0x12 hdr=0x00
|     vendor     = 'VIA Technologies Inc'
|     device     = 'VT82C596/A/B "Mobile South" PCI to ISA Bridge'
|     class      = bridge
|     subclass   = PCI-ISA
| atapci0 at pci0:0:7:1:	class=0x01018a card=0x00000000 chip=0x05711106 rev=0x06 hdr=0x00
|     vendor     = 'VIA Technologies Inc'
|     device     = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C Bus Master IDE Controller'
|     class      = mass storage
|     subclass   = ATA
| uhci0 at pci0:0:7:2:	class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x08 hdr=0x00
|     vendor     = 'VIA Technologies Inc'
|     device     = 'VT83C572, VT6202 VIA Rev 5 or later USB Universal Host Controller'
|     class      = serial bus
|     subclass   = USB
| none0 at pci0:0:7:3:	class=0x060000 card=0x00000000 chip=0x30501106 rev=0x20 hdr=0x00
|     vendor     = 'VIA Technologies Inc'
|     device     = 'VT82C596/596A/596 Power Management and SMBus Controller'
|     class      = bridge
|     subclass   = HOST-PCI
| rl0 at pci0:0:10:0:	class=0x020000 card=0x50323030 chip=0x813910ec rev=0x10 hdr=0x00
|     vendor     = 'Realtek Semiconductor'
|     device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
|     class      = network
|     subclass   = ethernet
| none1 at pci0:0:11:0:	class=0x040100 card=0x00011565 chip=0x1969125d rev=0x01 hdr=0x00
|     vendor     = 'ESS Technology'
|     device     = 'ES72222 Solo-1 PCI AudioDrive family'
|     class      = multimedia
|     subclass   = audio
| vgapci0 at pci0:1:0:0:	class=0x030000 card=0x031018bc chip=0x51591002 rev=0x00 hdr=0x00
|     vendor     = 'ATI Technologies Inc'
|     device     = 'RV100 Radeon 7000 / Radeon VE'
|     class      = display
|     subclass   = VGA


| interrupt                          total       rate
| irq0: clk                        2736899        999
| irq1: atkbd0                         135          0
| irq6: fdc0                            10          0
| irq8: rtc                         350307        127
| irq12: rl0                           525          0
| irq14: ata0                         1221          0
| irq15: ata1                           59          0
| Total                            3089156       1128

> And some stuff to ponder, just ideas/comments in passing:
> 
> * Board does not appear to have an APIC (not a typo), so IRQ sharing is
>   likely.  IRQ 12 is often used for PS/2 devices (mice, keyboards), and I
>   see rl0 is sitting on that IRQ.

Ah !
About all I did before installing BSD was go in BIOS, rest to defaults
& turn off power management.

> * Read the BUGS section of the rl(4) manpage; these NICs are known to be
>   questionable in many regards.  The CVS commit log for this driver also
>   has quite a list of other documented (major) bugs.  "User beware":
>   http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rl.c

Ah !

> * It's a VIA chipset board.  Old Tyan server boards I had using VIA
>   chips (Apollo with 686B southbridge) would, even so often, stop
>   handling/firing IRQs.  This would happen with almost any device,
>   even ones which were known to be relible (like fxp(4)).  The only
>   solution would be to hard reset it.

OK. Just did a power off & on. Still 10 to 35 second pings

Next I'll try those patches.
Thanks

Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
  Mail plain ASCII text.  HTML & Base64 text are spam. www.asciiribbon.org


More information about the freebsd-stable mailing list