From owner-freebsd-current@FreeBSD.ORG Fri Nov 26 23:08:23 2010 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 2993F106567A; Fri, 26 Nov 2010 23:08:23 +0000 (UTC) (envelope-from cheeky.m@live.com) Received: from bay0-omc3-s8.bay0.hotmail.com (bay0-omc3-s8.bay0.hotmail.com [65.54.190.146]) by mx1.freebsd.org (Postfix) with ESMTP id BCC348FC0C; Fri, 26 Nov 2010 23:08:22 +0000 (UTC) Received: from BAY147-W55 ([65.54.190.189]) by bay0-omc3-s8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 26 Nov 2010 15:08:22 -0800 Message-ID: X-Originating-IP: [66.189.65.82] From: Roger Hammerstein To: Date: Fri, 26 Nov 2010 18:08:22 -0500 Importance: Normal In-Reply-To: <4CED5210.9070209@FreeBSD.org> References: <20101122172016.71e6b3ca@core.draftnet>, , , , , , <4CEB6F26.3010004@FreeBSD.org>, , , , <4CED5210.9070209@FreeBSD.org> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Nov 2010 23:08:22.0299 (UTC) FILETIME=[D25FD6B0:01CB8DBE] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: RE: panic with devclass_get_name (dc=0xdeadc0dedeadc0de) 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: Fri, 26 Nov 2010 23:08:23 -0000 > also hard reset before soft reset by changing in file ata-serverworks.c: > if (ata_sata_phy_reset(dev=2C -1=2C 1)) > to > if (ata_sata_phy_reset(dev=2C -1=2C 0)) (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=3D0ms status=3D00000113 ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata4: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command and the disk stays up and i can use it=2C somewhat. and the old ata: Nov 25 03:50:13 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D190067000 Nov 25 03:55:46 butter kernel: ata4: reiniting channel .. Nov 25 03:55:46 butter kernel: ata4: hardware reset ... Nov 25 03:55:46 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 03:55:46 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 03:55:46 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 03:55:46 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 03:55:46 butter kernel: ad8: setting UDMA100 Nov 25 03:55:46 butter kernel: ata4: reinit done .. Nov 25 03:55:46 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D82402048 cp: a/src/sbin/mount_udf: Input/output error Nov 25 03:56:14 butter kernel: ata4: reiniting channel .. Nov 25 03:56:16 butter kernel: ata4: timeout waiting to issue command Nov 25 03:56:16 butter kernel: ata4: error issuing WRITE_DMA command Nov 25 03:56:16 butter kernel: ata4: hardware reset ... Nov 25 04:00:20 butter kernel: ata4: reiniting channel .. Nov 25 04:00:20 butter kernel: ata4: hardware reset ... Nov 25 04:00:20 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:00:20 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:00:21 butter kernel: ata4: stat0=3D0xd0 err=3D0x00 lsb=3D0x1f msb= =3D0xf0 Nov 25 04:00:21 butter last message repeated 4 times Nov 25 04:00:21 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:00:21 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:00:21 butter kernel: ad8: setting UDMA100 Nov 25 04:00:21 butter kernel: ata4: reinit done .. Nov 25 04:00:21 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D82845532 Nov 25 04:00:32 butter kernel: ata4: reiniting channel .. Nov 25 04:00:32 butter kernel: ata4: hardware reset ... Nov 25 04:00:32 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:00:32 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:00:33 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:00:33 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:00:33 butter kernel: ad8: setting UDMA100 Nov 25 04:00:33 butter kernel: ata4: reinit done .. Nov 25 04:00:33 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D80639036 Nov 25 04:03:21 butter kernel: ata4: reiniting channel .. Nov 25 04:03:21 butter kernel: ata4: hardware reset ... Nov 25 04:03:21 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:03:21 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:03:21 butter kernel: ata4: stat0=3D0xd0 err=3D0x00 lsb=3D0x17 msb= =3D0x5a Nov 25 04:03:21 butter last message repeated 4 times Nov 25 04:03:21 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:03:21 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:03:21 butter kernel: ad8: setting UDMA100 Nov 25 04:03:21 butter kernel: ata4: reinit done .. Nov 25 04:03:21 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D156899264 Nov 25 04:04:48 butter kernel: ata4: reiniting channel .. Nov 25 04:04:48 butter kernel: ata4: hardware reset ... Nov 25 04:04:48 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:04:48 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:04:48 butter kernel: ata4: stat0=3D0xd0 err=3D0x00 lsb=3D0x5e msb= =3D0x2a Nov 25 04:04:49 butter last message repeated 4 times Nov 25 04:04:49 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:04:49 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:04:49 butter kernel: ad8: setting UDMA100 Nov 25 04:04:49 butter kernel: ata4: reinit done .. Nov 25 04:04:49 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D86662684 Nov 25 04:05:36 butter kernel: ata4: reiniting channel .. Nov 25 04:05:36 butter kernel: ata4: hardware reset ... Nov 25 04:05:36 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:05:36 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:05:36 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:05:36 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:05:36 butter kernel: ad8: setting UDMA100 Nov 25 04:05:36 butter kernel: ata4: reinit done .. Nov 25 04:05:36 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D237861728 Nov 25 04:06:11 butter kernel: ata4: reiniting channel .. Nov 25 04:06:11 butter kernel: ata4: hardware reset ... Nov 25 04:06:11 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:06:11 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:06:22 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:06:22 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:06:22 butter kernel: ad8: setting UDMA100 Nov 25 04:06:22 butter kernel: ata4: reinit done .. Nov 25 04:06:22 butter kernel: ad8: TIMEOUT - WRITE_DMA retrying (1 retry l= eft) LBA=3D199918080 Nov 25 04:28:00 butter kernel: ata4: hardware reset ... Nov 25 04:28:00 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:28:00 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:28:01 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:28:01 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:28:01 butter kernel: ad8: setting UDMA100 Nov 25 04:28:01 butter kernel: ata4: reinit done .. Nov 25 04:28:01 butter kernel: ad8: FAILURE - WRITE_DMA48 timed out LBA=3D2= 88295256 Nov 25 04:28:01 butter kernel: g_vfs_done():ad8[WRITE(offset=3D147607171072= =2C length=3D2048)]error =3D 5 Nov 25 04:31:34 butter kernel: ata4: reiniting channel .. Nov 25 04:31:34 butter kernel: ata4: hardware reset ... Nov 25 04:34:07 butter kernel: ata4: hardware reset ... Nov 25 04:34:07 butter kernel: ata4: SATA connect time=3D0ms status=3D00000= 113 Nov 25 04:34:07 butter kernel: ata4: reset tp1 mask=3D01 ostat0=3Dd0 ostat1= =3D00 Nov 25 04:34:07 butter kernel: ata4: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb= =3D0x00 Nov 25 04:34:07 butter kernel: ata4: reset tp2 stat0=3D50 stat1=3D00 device= s=3D0x1 Nov 25 04:34:07 butter kernel: ad8: setting UDMA100 Nov 25 04:34:07 butter kernel: ata4: reinit done .. Nov 25 04:34:07 butter kernel: ad8: TIMEOUT - WRITE_DMA48 retrying (1 retry= left) LBA=3D274670688 Nov 25 04:34:07 butter kernel: ad8: FAILURE - WRITE_DMA48 status=3D51 error=3D10 LBA=3D274670688 Nov 25 04:34:07 butter kernel: g_vfs_done():ad8[WRITE(offset=3D140631392256= =2C length=3D16384)]error =3D 5 Nov 25 04:34:18 butter kernel: ata4: reiniting channel .. Nov 25 04:34:18 butter kernel: ata4: hardware reset ... =