From owner-freebsd-stable@FreeBSD.ORG Thu Jul 13 17:19:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D235D16A4DD; Thu, 13 Jul 2006 17:19:35 +0000 (UTC) (envelope-from johan@stromnet.org) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DA6E43D49; Thu, 13 Jul 2006 17:19:34 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.205.103) by pne-smtpout2-sn2.hy.skanova.net (7.2.075) id 44A2F19F002F7129; Thu, 13 Jul 2006 19:19:34 +0200 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 1DBAB61D51; Thu, 13 Jul 2006 19:19:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.org Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X42dSLngr8nD; Thu, 13 Jul 2006 19:19:31 +0200 (CEST) Received: from [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01] (unknown [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01]) by elfi.stromnet.org (Postfix) with ESMTP id 2122761D1B; Thu, 13 Jul 2006 19:19:31 +0200 (CEST) In-Reply-To: <20060713132357.Y61840@fledge.watson.org> References: <8D08DDB6-6AC1-45B6-B2CE-08782F54968A@stromnet.org> <884C01BC-3E97-46EC-AA8B-E70C3931F3A4@stromnet.org> <36895211-2796-4213-B336-6279AB3AC3CB@stromnet.org> <20060713132357.Y61840@fledge.watson.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Thu, 13 Jul 2006 19:19:48 +0200 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.750) Cc: Robert Watson Subject: Re: ATA problems again ... (was: Re: GEOM problems again...) 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: Thu, 13 Jul 2006 17:19:36 -0000 On 13 jul 2006, at 14.26, Robert Watson wrote: > > On Thu, 13 Jul 2006, Johan Str=F6m wrote: > >> And now again... raid gone degraded only 2 days after reboot! >> >> Jul 12 22:22:50 elfi kernel: ad4: FAILURE - device detached >> Jul 12 22:22:50 elfi kernel: subdisk4: detached >> Jul 12 22:22:50 elfi kernel: ad4: detached >> Jul 12 22:22:50 elfi kernel: GEOM_MIRROR: Device gm0s1: provider =20 >> ad4s1 disconnected. >> Jul 12 22:22:50 elfi kernel: g_vfs_done():mirror/gm0s1f[READ=20 >> (offset=3D120776474624, length=3D32768)]error =3D 6 >> >> $ uname -a >> FreeBSD elfi.stromnet.org 6.1-RELEASE FreeBSD 6.1-RELEASE #3: Tue =20 >> May 9 20:40:23 CEST 2006 johan@elfi.stromnet.org:/usr/obj/usr/src/=20= >> sys/GENERIC i386 >> >> Still no luck with atacontrol... >> >> Is there any way to debug this further ?? I've tested the disk, =20 >> the SATA cables are new... I've had similar problems with other =20 >> motherboard... I dont think this is related to hw problems, but =20 >> rather a softwareproblem that needs to be solved, this is not =20 >> something one can call stable ;) >> >> So, any pointers how to enable more debugging or anything that =20 >> could give some clues? > > I don't have a whole lot to add to this thread, but have changed =20 > the subject to make sure that the right people are reading this. =20 > This is likely either a hardware problem (motherboard/cable/drive) =20 > or driver problem. GEOM and the mirror driver seems to be behaving =20= > as desired (it detaches a drive reported by the driver as being =20 > bad). Could you post the dmesg -v output for the probing of the =20 > ata controller and driver? dmesg -v? I got the full dmesg from dmesg.boot (this has been posted earlier in =20= this thread too) Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights =20 reserved. FreeBSD 6.1-RELEASE #3: Tue May 9 20:40:23 CEST 2006 johan@elfi.stromnet.org:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP (1200.01-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2 =20 Features=3D0x383fbff AMD Features=3D0xc0480800 real memory =3D 536674304 (511 MB) avail memory =3D 515805184 (491 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at =20 device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfebfb000-0xfebfbfff irq =20 20 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xfebfc000-0xfebfcfff irq =20 21 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: mem =20 0xfebfdc00-0xfebfdcff irq 22 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered nve0: port 0xdc00-0xdc07 mem =20 0xfebfe000-0xfebfefff irq 20 at device 4.0 on pci0 nve0: Ethernet address 00:13:d4:bf:5b:79 miibus0: on nve0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nve0: Ethernet address: 00:13:d4:bf:5b:79 pci0: at device 6.0 (no driver attached) pcib1: at device 8.0 on pci0 pci2: on pcib1 pci2: at device 6.0 (no driver attached) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem =20 0xfeafec00-0xfeafec7f irq 17 at device 9.0 on pci2 miibus1: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:ef:c6:36 atapci0: port =20 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 9.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port =20 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0x7f00-0x7f0f,=20= 0x7c00-0x7c7f irq 22 at device 11. 0 on pci0 ata2: on atapci1 ata3: on atapci1 pcib2: at device 30.0 on pci0 pci1: on pcib2 acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 =20 drq 2 on acpi0 fdc0: [FAST] ppc0: port 0x378-0x37f,0x778-0x77f irq 7 =20 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 =20 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on =20 isa0 Timecounter "TSC" frequency 1200007723 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master PIO4 ad4: 286188MB at ata2-master SATA150 ad6: 286188MB at ata3-master SATA150 GEOM_MIRROR: Device gm0s1 created (id=3D4118114647). GEOM_MIRROR: Device gm0s1: provider ad4s1 detected. GEOM_MIRROR: Device gm0s1: provider ad6s1 detected. GEOM_MIRROR: Device gm0s1: provider ad6s1 activated. GEOM_MIRROR: Device gm0s1: provider mirror/gm0s1 launched. GEOM_MIRROR: Device gm0s1: rebuilding provider ad4s1. Trying to mount root from ufs:/dev/mirror/gm0s1a nve0: device timeout (6) The mobo is an Asus A7N8X-XE NF ULTRA 400, onboard SATA controller used. Johan