Subject: kern/24209: IDE problems while burning a CD-ROM
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 01/23/2004 23:28:12
>Number:         24209
>Category:       kern
>Synopsis:       IDE problems while burning a CD-ROM
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 23 22:29:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZH (2004-01-23 sources)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.6ZH NetBSD 1.6ZH (LYSSA) #0: Fri Jan 23 11:16:50 CET 2004 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
When attempting to burn a CD-R with "cdrdao" my system got into trouble
with the IDE driver twice today:

Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'andreas-0.5-UNIXWARE_Patch'

/dev/rcd1d: PLEXTOR CD-R   PX-W2410A    Rev: 1.04
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0010)

Starting write at speed 24...
Process can be aborted with QUIT signal (usually CTRL-\).
Real time scheduling not available.
Turning BURN-Proof on
Executing power calibration...
?: Input/output error.  : scsi sendcmd: cmd timeout after 180.004 (180) s
CDB:  54 01 00 00 00 00 00 00 00 00
cmd finished after 180.004s timeout 180s
ERROR: Power calibration failed.
ERROR: Use option --force to ignore this error.
ERROR: Writing failed.
?: Input/output error.  : scsi sendcmd: cmd timeout after 0.998 (180) s
CDB:  1E 00 00 00 00 00
cmd finished after 0.998s timeout 180s
ERROR: Cannot prevent/allow medium removal.

While this happend the kernel displayed these error message:

cd1: dos partition I/O error
cd1(piixide0:1:1):  Check Condition on CDB: 0x43 00 00 00 00 00 00 00 0c 40
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB

piixide0:1:1: lost interrupt
        type: atapi tc_bcount: 0 tc_skip: 0
piixide0:1:1: piomode timed out
piixide0:1:1: piomode timed out
piixide0:1:1: piomode timed out
piixide0:1:1: piomode timed out
piixide0:1:1: piomode timed out
piixide0:1:1: piomode timed out

It doesn't happen always. It happens once on the first CD-R burn attempt.
After a rebot I was able to burn three CD-Rs before it happend again. The
light on the CD writer starts flashing if the problem happens. It is
completely locked afterwards and only a reboot can fix it.
 
>How-To-Repeat:
Use "cdrdao".

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: