From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 5 08:15:43 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08A4416A4CE for ; Fri, 5 Dec 2003 08:15:43 -0800 (PST) Received: from oniws.ca (oniws.ca [67.71.253.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C1C43FE3 for ; Fri, 5 Dec 2003 08:15:40 -0800 (PST) (envelope-from Dwayne.MacKinnon@xwave.com) Received: from xwave.com ([192.168.0.126]) by oniws.ca (8.12.10/8.12.8) with ESMTP id hB5GFPj5085430; Fri, 5 Dec 2003 11:15:25 -0500 (EST) (envelope-from Dwayne.MacKinnon@xwave.com) Message-ID: <3FD0AF18.9020304@xwave.com> Date: Fri, 05 Dec 2003 11:15:20 -0500 From: Dwayne MacKinnon Organization: xwave User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031109 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Dillon References: <200311262104.hAQL4ICN024652@spider.deepcore.dk> <200311282057.hASKvUOM002734@apollo.backplane.com> In-Reply-To: <200311282057.hASKvUOM002734@apollo.backplane.com> Content-Type: multipart/mixed; boundary="------------000900010607080902050003" cc: hackers@freebsd.org cc: Soren Schmidt Subject: Re: Problems with use of M_NOWWAIT in ATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dwayne.MacKinnon@xwave.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 16:15:43 -0000 This is a multi-part message in MIME format. --------------000900010607080902050003 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm wondering if this could possibly be related to a problem I was having with my 4.9-RELEASE box. Twice in two days it hung on me completely, and started spouting the following error messages: ad0 WRITE command timeout tag=0 serv=0 -restting ad0: trying fallback to PIO mode ata0: resetting devices .. done fxp1: device timeout fxp0: device timeout The ad0 WRITE message and the ata0 message repeated multiple times. So did the fxp messages, but they varied. The only thing I could do was reboot the machine. I cloned the drive, as web research suggested a faulty harddrive might be at fault, but the same hang-up occured. I'm currently experimenting by reverting the box back to 4.8-RELEASE to see if I can reproduce the hang there. I've attached my 4.8-RELEASE dmesg for informational purposes. Cheers, DMK --------------000900010607080902050003 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2003 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 4.8-RELEASE #0: Thu Dec 4 14:12:02 EST 2003 root@dwayne.black.net:/usr/obj/usr/src/sys/CHIRON Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III (866.70-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383fbff real memory = 536850432 (524268K bytes) avail memory = 518492160 (506340K bytes) Preloaded elf kernel "kernel" at 0xc03cc000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00f0cb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 fxp0: port 0xd800-0xd83f mem 0xfd800000-0xfd8fffff,0xfe000000-0xfe000fff irq 9 at device 2.0 on pci0 fxp0: Ethernet address 00:e0:18:02:58:a4 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xd400-0xd43f mem 0xfc800000-0xfc8fffff,0xfd000000-0xfd000fff irq 11 at device 3.0 on pci0 fxp1: Ethernet address 00:d0:b7:e4:ce:2f inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp2: port 0xd000-0xd03f mem 0xfb800000-0xfb8fffff,0xfc000000-0xfc000fff irq 10 at device 4.0 on pci0 fxp2: Ethernet address 00:90:27:cb:89:e0 inphy2: on miibus2 inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sio0: <3COM PCI FaxModem> port 0xb800-0xb807 irq 12 at device 5.0 on pci0 sio0: moving to sio4 sio4: type 16550A pcm0: port 0xb400-0xb43f irq 5 at device 6.0 on pci0 pcm0: pci0: at 7.0 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0xa800-0xa80f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0xf9000000-0xf9000fff irq 9 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ums0: Logitech USB Optical Mouse, rev 1.10/21.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. pcib1: on motherboard pci1: on pcib1 pci1: (vendor=0x1000, dev=0x000b) at 5.0 irq 9 pci1: (vendor=0x1000, dev=0x000b) at 5.1 irq 9 orm0: