Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-5 against my DVD/CD drive



On Tue, Dec 15, 2009 at 10:41:24PM +0200, Aleksey Cheusov wrote:
>  >>   Dec 12 20:17:41 chen /netbsd: cd0(viaide0:1:0): Sense Error Code 0x44
> 
> > I see where 0x44 is a CD-related opcode.  I'd be interested to see the
> > original command block that elicited this response.
> 
> > Could you try a kernel with 'options SCSIDEBUG'?  (As this isn't
> > defflag'd, you'll need to ensure scsipi_base.o gets rebuilt.)
> 
> With SCSIDEBUG enabled it says
> 
>  Dec 15 22:28:11 chen /netbsd: cd0(viaide0:1:0): undecodable sense error for 
> opcode 0x28, data= 0x44 0x00 0x00 0x00
> 

Hmm, a READ_10 command.  And this isn't a normal sense error code,
it's a wdc(4) atapi error code. 0x44 means
(SKEY_HARDWARE_ERROR<<4)|WDCE_ABRT.
That translates to "non-media hardware failure".

It seems the wrong sense interpreter is being used to me.
And that SCSIDEBUG code path is printing out sizeof(void *)
of data rather than the full length.

But I still don't know what's going on.

        Jonathan Kollasch


Home | Main Index | Thread Index | Old Index