Subject: Re: Interpreting SCSI output messages
To: NetBSD-current user's List <current-users@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 07/15/2006 18:08:22
--pgp-sign-Multipart_Sat_Jul_15_18:08:20_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

At Fri, 14 Jul 2006 22:50:35 -0700,
Matthew Jacob wrote:
>=20
> > sd0(umass0:0:0):  Check Condition on CDB: 0x28 00 00 06 5a ea 00 00 20 =
00
> >    SENSE KEY:  Media Error
> >     ASC/ASCQ:  Medium Format Corrupted
> >
> > sd0(umass0:0:0):  Check Condition on CDB: 0x28 00 00 05 10 8a 00 00 20 =
00
> >    SENSE KEY:  Media Error
> >     ASC/ASCQ:  Medium Format Corrupted
>=20
>=20
> 0x28 =3D READ (Group1)
> 0x00 =3D (ignore)
> 0x00 =3D msw/msb, lba
> 0x05 =3D msw/lsb, lba
> 0x10 =3D lsw/msb, lba
> 0x8a =3D lsw/lsb, lba
> 0x00 =3D (ignore)
> 0x00 =3D msb, lba xfer count
> 0x20 =3D lsb, lba xfer count
>=20
> so, 0x5108a =3D=3D 33194
>=20
> the other one left as an exercise.

Is there an existing tool to do this?

Can that tool not be put into the kernel so that the driver messages
have just a wee bit more meaning to ordinary humans?

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Sat_Jul_15_18:08:20_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 7OAKlNlc6vNnCbQ0oaAQ+3Z1o7scCa6k

iQA/AwUBRLlnVmJ7XxTCWceFEQL93gCgyVn9FyO3YW+RB4o5kcon5kvviWAAoIXo
JUylnyeElNmuxMJQsmh5Zu5I
=zRKo
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_Jul_15_18:08:20_2006-1--