Alan Chandler wrote:
On Wednesday 17 November 2004 21:00, Joris Huizer wrote:


status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.010s timeout 40s
cdrecord: No disk / Wrong disk!

Can anyone tell what causes this error -- and what to do about it? It
does the same when I try to blank the CD as root


This looks to me as though cdrecord is getting a strange status back from the device. I am getting a different error - similar but ..

I am hanging not long after the burn starts with half a line output when using strace thus...

write(1, "Using generic SCSI-3/mmc CD-R/"..., 56Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
) = 56
write(1, "Driver flags : MMC-2 SWABAUDIO"..., 43Driver flags : MMC-2 SWABAUDIO BURNFREE
) = 43
write(1, "Supported modes: TAO PACKET SAO "..., 76Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
) = 76
gettimeofday({1100717987, 722459}, NULL) = 0
ioctl(3, SG_IO, 0xbfffd250) = 0
gettimeofday({1100717987, 723041}, NULL) = 0
gettimeofday({1100717987, 723063}, NULL) = 0
gettimeofday({1100717987, 723083}, NULL) = 0
ioctl(3, SG_IO


I am really puzzled as to why strace only prints half a line - does anyone know?

and in syslog

Nov 17 18:59:52 kanger kernel: hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
Nov 17 18:59:52 kanger kernel: hdc: status error: error=0x00
Nov 17 18:59:52 kanger kernel: hdc: drive not ready for command
Nov 17 18:59:52 kanger kernel: hdc: status timeout: status=0xd0 { Busy }
Nov 17 18:59:52 kanger kernel: hdc: status timeout: error=0xd0LastFailedSense 0x0d
Nov 17 18:59:52 kanger kernel: hdc: DMA disabled
Nov 17 18:59:52 kanger kernel: hdc: drive not ready for command
Nov 17 18:59:52 kanger kernel: hdc: ATAPI reset complete
Nov 17 18:59:52 kanger kernel: hdc: request sense failure: status=0x51 { DriveReady SeekComplete Error }
Nov 17 18:59:52 kanger kernel: hdc: request sense failure: error=0x50LastFailedSense 0x05




Interesting, I only found these in /var/log/kern.log :

Nov 13 11:31:31 debian kernel: hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
Nov 13 11:31:31 debian kernel: hdc: media error (bad sector): error=0x30
Nov 13 11:31:38 debian kernel: hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
Nov 13 11:31:38 debian kernel: hdc: media error (bad sector): error=0x30
Nov 13 11:31:38 debian kernel: end_request: I/O error, dev hdc, sector 1128320
Nov 13 11:31:38 debian kernel: Buffer I/O error on device hdc, logical block 282080
...


I really think this was while trying to do the cd writing on that (custom) 2.6.8 kernel; no other errors like that, after november 13; no entries like that for november 17, but I did try cd burning, so at least that problem has gone away, I guess...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to