From owner-freebsd-stable@FreeBSD.ORG Fri Sep 26 15:26:26 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 374681065688 for ; Fri, 26 Sep 2008 15:26:26 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id 65E788FC1A for ; Fri, 26 Sep 2008 15:26:25 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A7128.dip.t-dialin.net [84.154.113.40]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id m8QFQKf8019398; Fri, 26 Sep 2008 17:26:21 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id m8QFQ9XL006087; Fri, 26 Sep 2008 17:26:09 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id m8QFPxwS009766; Fri, 26 Sep 2008 17:26:09 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200809261526.m8QFPxwS009766@fire.js.berklix.net> To: Jeremy Chadwick From: "Julian Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com In-reply-to: Your message "Thu, 25 Sep 2008 09:45:08 PDT." <20080925164508.GA2105@icarus.home.lan> Date: Fri, 26 Sep 2008 17:25:59 +0200 Sender: jhs@berklix.org Cc: PYUN Yong-Hyeon , stable@freebsd.org Subject: Re: rl0: watchdog timeout + 40, 000 ms ping with 7.1-BETA-i386-disc1.iso X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 15:26:26 -0000 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@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 > > 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: 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: port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f on acpi0 > > pci0: on pcib0 > > agp0: on hostb0 > > agp0: aperture size is 256M > > pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > vgapci0: port 0xc000-0xc0ff mem 0xe0000000-0xe7ffffff,0xed000000-0xed00ffff irq 11 at device 0.0 on pci1 > > isab0: at device 7.0 on pci0 > > isa0: on isab0 > > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 7.1 on pci0 > > ata0: on atapci0 > > ata0: [ITHREAD] > > ata1: on atapci0 > > ata1: [ITHREAD] > > uhci0: port 0xd400-0xd41f irq 10 at device 7.2 on pci0 > > uhci0: [GIANT-LOCKED] > > uhci0: [ITHREAD] > > usb0: on uhci0 > > usb0: USB revision 1.0 > > uhub0: on usb0 > > uhub0: 2 ports with 2 removable, self powered > > pci0: at device 7.3 (no driver attached) > > rl0: port 0xd800-0xd8ff mem 0xee000000-0xee0000ff irq 12 at device 10.0 on pci0 > > miibus0: on rl0 > > rlphy0: PHY 0 on miibus0 > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > rl0: Ethernet address: 00:08:a1:6d:65:07 > > rl0: [ITHREAD] > > pci0: at device 11.0 (no driver attached) > > cpu0: on acpi0 > > acpi_throttle0: on cpu0 > > acpi_button0: on acpi0 > > acpi_tz0: on acpi0 > > fdc0: 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: port 0x60,0x64 irq 1 on acpi0 > > atkbd0: 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: at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0 > > sc0: at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=0x300> > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > Timecounter "TSC" frequency 651482522 Hz quality 800 > > Timecounters tick every 1.000 msec > > ad0: 4110MB at ata0-master UDMA33 > > acd0: CDROM 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@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@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@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@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@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@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@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@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@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