From owner-freebsd-current@FreeBSD.ORG Wed Oct 15 13:02:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35E641065687 for ; Wed, 15 Oct 2008 13:02:30 +0000 (UTC) (envelope-from gmc@sonologic.nl) Received: from mx1.sonologic.nl (mx1.sonologic.nl [82.94.245.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5221E8FC12 for ; Wed, 15 Oct 2008 13:02:29 +0000 (UTC) (envelope-from gmc@sonologic.nl) Received: from localhost ([80.101.112.149]) (authenticated bits=0) by mx1.sonologic.nl (8.13.6/8.13.6) with ESMTP id m9FCMYgV096148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Oct 2008 12:22:35 GMT Date: Wed, 15 Oct 2008 14:22:34 +0200 From: Koen Martens To: Pyun YongHyeon Message-ID: <20081015122233.GA11699@latitude.dh2.sono> References: <8bebfc960710010039q3ae744b9h71f785f6e3a4634d@mail.gmail.com> <20071001080058.GE18658@cdnetworks.co.kr> <8bebfc960710010707o4b7e9b2cif086e35b4f8f736d@mail.gmail.com> <20071002004521.GH18658@cdnetworks.co.kr> <8bebfc960710012041h205216ecl75d44e0c9ba69068@mail.gmail.com> <20071002035814.GJ18658@cdnetworks.co.kr> <8bebfc960710022231m4b26a07ahdaef145e07862fb6@mail.gmail.com> <20071004011348.GC30781@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20071004011348.GC30781@cdnetworks.co.kr> User-Agent: Mutt/1.5.16 (2007-06-09) X-Helo-Milter-Authen: gmc@mx1.sonologic.nl, gmc@sonologic.nl, mx1 X-Spam-Status: No, score=2.0 required=5.0 tests=DK_POLICY_SIGNSOME, DNS_FROM_SECURITYSAGE autolearn=no version=3.1.3 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mx1.sonologic.nl Received-SPF: pass (mx1.sonologic.nl: 80.101.112.149 is authenticated by a trusted mechanism) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0rc3 (mx1.sonologic.nl [82.94.245.21]); Wed, 15 Oct 2008 12:22:36 +0000 (UTC) X-Mailman-Approved-At: Wed, 15 Oct 2008 16:48:21 +0000 Cc: freebsd-current@freebsd.org, Kudo Chien Subject: Re: msk watchdog timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 13:02:30 -0000 On Thu, Oct 04, 2007 at 10:13:48AM +0900, Pyun YongHyeon wrote: > On Wed, Oct 03, 2007 at 01:31:32PM +0800, Kudo Chien wrote: > > > Thanks for testing. Would you sumbit a PR for the issue and assign > > > it to me? I'll let you know when I manage to find a clue. > > > > > > OK. I've submitted a PR at > > http://www.freebsd.org/cgi/query-pr.cgi?pr=116853. > > Thanks you. > > > > I've grabbed it. Thanks. For what it's worth, i've been having instability issues with msk0 too. Included is a dmesg and pciconf output. The problem occurs under load (rsyncing tens of gigabytes over gigabit link for example). I tried configuring the switch port down to 100MB, in the hopes that msk0 would be more stable. It is, but it still goes down after a while with watchdog timeouts. I am now running it with msi disabled, it appears it lasts longer than before now. But judging by what others said on this subject already, it might still go wrong after as much as a month. Also, I've never had these problems when the machine was still on 6.x with the myk driver. Only after I upgraded it this tuesday to RELENG_7, trouble started. This is a server that I need to put back into production. I could give you some time on it before I do that, but that'd have to be *right now* so i guess that won't work out really. I'll probably install a nic to be used instead of the built-in yukon interface, to get back the required stability. Best, Koen postel# dmesg 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-PRERELEASE #0: Tue Oct 14 11:55:05 CEST 2008 root@postel.issuecrawler.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf4a Stepping = 10 Features=0xbfebfbff Features2=0x641d AMD Features=0x20000000 AMD Features2=0x1 real memory = 3757965312 (3583 MB) avail memory = 3673931776 (3503 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, dff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 1.0 (no driver attached) pcib1: irq 16 at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 pcib3: at device 0.2 on pci1 pci3: on pcib3 3ware device driver for 9000 series storage controllers, version: 3.70.05.001 twa0: <3ware 9000 series Storage Controller> port 0xcc80-0xccbf mem 0xfa000000-0xfbffffff,0xfceff000-0xfcefffff irq 48 at device 1.0 on pci3 twa0: [ITHREAD] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-4LP, 4 ports, Firmware FE9X 3.04.01.011, BIOS BE9X 3.04.00.002 pcib4: irq 16 at device 4.0 on pci0 pci4: on pcib4 pcib5: irq 16 at device 5.0 on pci0 pci5: on pcib5 mskc0: port 0xdc00-0xdcff mem 0xfcffc000-0xfcffffff irq 16 at device 0.0 on pci5 mskc0: Unexpected number of MSI messages : 0 msk0: on mskc0 msk0: Ethernet address: 00:04:23:d1:4a:fd miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FILTER] pcib6: irq 16 at device 6.0 on pci0 pci6: on pcib6 uhci0: port 0xb880-0xb89f irq 16 at device 29.0 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 uhci1: port 0xbc00-0xbc1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbc80-0xbc9f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfccfec00-0xfccfefff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 pcib7: at device 30.0 on pci0 pci7: on pcib7 em0: port 0xec80-0xecbf mem 0xfebe0000-0xfebfffff irq 16 at device 4.0 on pci7 em0: [FILTER] em0: Ethernet address: 00:04:23:d1:4a:fc vgapci0: port 0xe800-0xe8ff mem 0xfd000000-0xfdffffff,0xfebdb000-0xfebdbfff irq 17 at device 12.0 on pci7 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-0xcb7ff,0xcb800-0xcc7ff,0xcc800-0xcdfff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 100.000MB/s transfers da0: 2097151MB (4294967295 512 byte sectors: 255H 63S/T 267349C) da1 at twa0 bus 0 target 0 lun 1 da1: Fixed Direct Access SCSI-3 device da1: 100.000MB/s transfers da1: 763840MB (1564344321 512 byte sectors: 255H 63S/T 97375C) SMP: AP CPU #1 Launched! da2 at umass-sim0 bus 0 target 0 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers da2: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C) GEOM_LABEL: Label for provider da2s1 is msdosfs/USB-HDD. Trying to mount root from ufs:/dev/da0s1a em0: link state changed to UP msk0: link state changed to UP twa0: INFO: (0x04: 0x000C): Initialize started: unit=0 postel# vmstat -i interrupt total rate irq14: ata0 58 0 irq16: mskc0 em0+ 3217531 1586 irq23: ehci0 178 0 irq48: twa0 448723 221 cpu0: timer 4036589 1990 cpu1: timer 4032605 1988 Total 11735684 5786 postel# pciconf -lc hostb0@pci0:0:0:0: class=0x060000 card=0x34398086 chip=0x35908086 rev=0x0c hdr=0x00 cap 09[40] = vendor (length 5) Intel cap 4 version 1 none0@pci0:0:0:1: class=0xff0000 card=0x34398086 chip=0x35918086 rev=0x0c hdr=0x00 none1@pci0:0:1:0: class=0x088000 card=0x34398086 chip=0x35948086 rev=0x0c hdr=0x00 cap 05[b0] = MSI supports 2 messages pcib1@pci0:0:2:0: class=0x060400 card=0x00000000 chip=0x35958086 rev=0x0c hdr=0x01 cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[58] = MSI supports 2 messages cap 10[64] = PCI-Express 1 root port pcib4@pci0:0:4:0: class=0x060400 card=0x00000000 chip=0x35978086 rev=0x0c hdr=0x01 cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[58] = MSI supports 2 messages cap 10[64] = PCI-Express 1 root port pcib5@pci0:0:5:0: class=0x060400 card=0x00000000 chip=0x35988086 rev=0x0c hdr=0x01 cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[58] = MSI supports 2 messages cap 10[64] = PCI-Express 1 root port pcib6@pci0:0:6:0: class=0x060400 card=0x00000000 chip=0x35998086 rev=0x0c hdr=0x01 cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[58] = MSI supports 2 messages cap 10[64] = PCI-Express 1 root port uhci0@pci0:0:29:0: class=0x0c0300 card=0x34398086 chip=0x24d28086 rev=0x02 hdr=0x00 uhci1@pci0:0:29:1: class=0x0c0300 card=0x34398086 chip=0x24d48086 rev=0x02 hdr=0x00 uhci2@pci0:0:29:2: class=0x0c0300 card=0x34398086 chip=0x24d78086 rev=0x02 hdr=0x00 ehci0@pci0:0:29:7: class=0x0c0320 card=0x34398086 chip=0x24dd8086 rev=0x02 hdr=0x00 cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 pcib7@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01 isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00 atapci0@pci0:0:31:1: class=0x01018a card=0x34398086 chip=0x24db8086 rev=0x02 hdr=0x00 none2@pci0:0:31:3: class=0x0c0500 card=0x34398086 chip=0x24d38086 rev=0x02 hdr=0x00 pcib2@pci0:1:0:0: class=0x060400 card=0x00000000 chip=0x03298086 rev=0x09 hdr=0x01 cap 10[44] = PCI-Express 1 PCI bridge cap 05[5c] = MSI supports 1 message, 64 bit cap 01[6c] = powerspec 2 supports D0 D3 current D0 cap 07[d8] = PCI-X bridge supports ioapic0@pci0:1:0:1: class=0x080020 card=0x34398086 chip=0x03268086 rev=0x09 hdr=0x00 cap 10[44] = PCI-Express 1 endpoint cap 01[6c] = powerspec 2 supports D0 D3 current D0 pcib3@pci0:1:0:2: class=0x060400 card=0x00000000 chip=0x032a8086 rev=0x09 hdr=0x01 cap 10[44] = PCI-Express 1 PCI bridge cap 05[5c] = MSI supports 1 message, 64 bit cap 01[6c] = powerspec 2 supports D0 D3 current D0 cap 07[d8] = PCI-X bridge supports ioapic1@pci0:1:0:3: class=0x080020 card=0x34398086 chip=0x03278086 rev=0x09 hdr=0x00 cap 10[44] = PCI-Express 1 endpoint cap 01[6c] = powerspec 2 supports D0 D3 current D0 twa0@pci0:3:1:0: class=0x010400 card=0x100313c1 chip=0x100313c1 rev=0x00 hdr=0x00 cap 07[e0] = PCI-X 64-bit supports 133MHz, 512 burst read, 3 split transactions cap 01[e8] = powerspec 2 supports D0 D1 D2 D3 current D0 cap 05[f0] = MSI supports 8 messages, 64 bit mskc0@pci0:5:0:0: class=0x020000 card=0x34398086 chip=0x436111ab rev=0x18 hdr=0x00 cap 01[48] = powerspec 2 supports D0 D1 D2 D3 current D0 cap 03[50] = VPD cap 05[5c] = MSI supports 2 messages, 64 bit cap 10[e0] = PCI-Express 1 legacy endpoint em0@pci0:7:4:0: class=0x020000 card=0x34398086 chip=0x10768086 rev=0x05 hdr=0x00 cap 01[dc] = powerspec 2 supports D0 D3 current D0 cap 07[e4] = PCI-X supports 2048 burst read, 1 split transaction vgapci0@pci0:7:12:0: class=0x030000 card=0x34398086 chip=0x47521002 rev=0x27 hdr=0x00 cap 01[5c] = powerspec 2 supports D0 D1 D2 D3 current D0 -- K.F.J. Martens, Sonologic, http://www.sonologic.nl/ Databases, wiki-expertise, hosting, server- en infrabeheer. Public PGP key: http://www.metro.cx/pubkey-gmc.asc