Nuisance 1-second error messages (was Re: [nSLUG] copy/paste...web-->vim...unexpected results)

Bill Davidson billdavidson at eastlink.ca
Mon Feb 5 12:13:16 AST 2007


On Mon, 2007-02-05 at 10:49 -0400, Jack Warkentin wrote:

> hdc: error code: 0x70  sense_key: 0x02  asc: 0x30  ascq: 0x00

A quick Google of that indicates that the problem is with hald, and
there are documented fixes, at least to keep hald quiet so it doesn't
keep reporting the problem.  Of course, the problem actually starts with
the drive.

> ATAPI device hdc:
>   Error: Not ready -- (Sense key=0x02)
>   Incompatible medium installed -- (asc=0x30, ascq=0x00)
>   The failed "Read Cd/Dvd Capacity" packet command was:
>   "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "

This is the same error but being reported by the IDE driver rather ran
the ATAPI driver -- different kernel.

Here's what someone said on a ubuntu forum:

> it's a bug of the dvd drive.
> 
> what's happening is that the drive returns asc=0x30 which means
> "Incompatible medium installed" where the drive really should say
> asc=0x3a "Medium not present"
> 
> Open /usr/src/linux/drivers/ide/ide-c.c and look for 0x3a;
> You'll find this line...
> if (sense->asc == 0x3a || sense->asc == 0x04)
> So..add 0x30 for work around..
> if (sense->asc == 0x30 || sense->asc == 0x3a || sense->asc == 0x04)
> 
> The drive maker should release a fix, and that's the only right way.

Of course, that fix would mean that incompatible media would be
misreported as not present...


-- 
Bill Davidson <billdavidson at eastlink.ca>

!DSPAM:45c7579e222712047812591!




More information about the nSLUG mailing list