Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2010 18:08:22 -0500
From:      Roger Hammerstein <cheeky.m@live.com>
To:        <mav@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   RE: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)
Message-ID:  <BAY147-w55D9D5729C7355BFCE96E5F9210@phx.gbl>
In-Reply-To: <4CED5210.9070209@FreeBSD.org>
References:  <20101122172016.71e6b3ca@core.draftnet>, , , <mailpost.1290447442.8570004.23594.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>, , , <4CEB6F26.3010004@FreeBSD.org>, , <BAY147-w474FC745C51BBA372543DF93E0@phx.gbl>, <BAY147-w114A674E862F53510CA020F93F0@phx.gbl>, <4CED5210.9070209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> 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<READY=
=2CDSC=2CERROR> error=3D10<NID_NOT_FOUND> 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 ...

 		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY147-w55D9D5729C7355BFCE96E5F9210>