Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unrecovered read error and corresponding ASC

0 views
Skip to first unread message

sth...@nethelp.no

unread,
Oct 13, 2001, 9:31:48 AM10/13/01
to
Can anybody tell me what the following ASC means?

Oct 11 05:37:04 s1 /kernel: (da3:ahc2:0:5:0): READ(10). CDB: 28 0 2 6 e0 10 0 0 50 0
Oct 11 05:37:04 s1 /kernel: (da3:ahc2:0:5:0): MEDIUM ERROR info:206e016 asc:11,b
Oct 11 05:37:04 s1 /kernel: (da3:ahc2:0:5:0): Unrecovered read error - recommend reassignment sks:80,2d
Oct 11 05:37:04 s1 /kernel: vinum: v0.p0.s1 is crashed by force
Oct 11 05:37:04 s1 /kernel: vinum: v0.p0 is corrupt
Oct 11 05:37:05 s1 /kernel: vinum: v0.p0.s1 is stale by force

The disk is an IBM DMVS18D:

da3 at ahc2 bus 0 target 5 lun 0
da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da3: <IBM DMVS18D 0100> Fixed Direct Access SCSI-3 device

Assuming it simply means I have a bad block, what's the easiest way to
force a reassignment of the block? The OS is 3.4-RELEASE.

Steinar Haug, Nethelp consulting, sth...@nethelp.no

To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message

Joerg Wunsch

unread,
Oct 16, 2001, 2:21:13 PM10/16/01
to
sth...@nethelp.no wrote:

> Assuming it simply means I have a bad block,

Yes, it does.

> what's the easiest way to
> force a reassignment of the block?

dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1

This assumes you've got automatic bad block reallocation
turned on (modepage 1).

Another option is to reformat it, but IMHO camcontrol didn't provide a
»canned« option for this in FreeBSD 3.4. You could manually do it
with

camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'

(Careful, there are no seat belts with this command -- if you get it
wrong, in particular that -u 3, you might format another drive without
any further questions being asked!)

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL

http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

Wilko Bulte

unread,
Oct 16, 2001, 4:52:43 PM10/16/01
to
On Tue, Oct 16, 2001 at 08:18:43PM +0200, Joerg Wunsch wrote:
> sth...@nethelp.no wrote:
>
> > Assuming it simply means I have a bad block,
>
> Yes, it does.

>
> > what's the easiest way to
> > force a reassignment of the block?
>
> dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1
>
> This assumes you've got automatic bad block reallocation
> turned on (modepage 1).

Look for AWRE and ARRE in the mode page.

> Another option is to reformat it, but IMHO camcontrol didn't provide a
> »canned« option for this in FreeBSD 3.4. You could manually do it
> with
>
> camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'

camcontrol format also works for recent FreeBSD versions. man camcontrol
is really recommended reading here.

> (Careful, there are no seat belts with this command -- if you get it
> wrong, in particular that -u 3, you might format another drive without
> any further questions being asked!)

camcontrol format will ask and is therefore prefered.

Wilko

--
| / o / /_ _ email: wi...@FreeBSD.org
|/|/ / / /( (_) Bulte Arnhem, The Netherlands

Joerg Wunsch

unread,
Oct 16, 2001, 5:50:09 PM10/16/01
to
As Wilko Bulte wrote:

> > camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'

> camcontrol format also works for recent FreeBSD versions. man
> camcontrol is really recommended reading here.

But Steinar explicitly wrote:

"The OS is 3.4-RELEASE."

;-)

(camcontrol format is available only starting with FreeBSD 4.1.)


--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL

http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

To Unsubscribe: send mail to majo...@FreeBSD.org

Wilko Bulte

unread,
Oct 16, 2001, 5:54:38 PM10/16/01
to
On Tue, Oct 16, 2001 at 11:39:57PM +0200, Joerg Wunsch wrote:
> As Wilko Bulte wrote:
>
> > > camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'
>
> > camcontrol format also works for recent FreeBSD versions. man
> > camcontrol is really recommended reading here.
>
> But Steinar explicitly wrote:
>
> "The OS is 3.4-RELEASE."
>
> ;-)
>
> (camcontrol format is available only starting with FreeBSD 4.1.)

Yes, I missed that one :-(

--
| / o / /_ _ email: wi...@FreeBSD.org
|/|/ / / /( (_) Bulte Arnhem, The Netherlands

To Unsubscribe: send mail to majo...@FreeBSD.org

0 new messages