Skip to contentSkip to conversation

ide cd-recording not working in 2.4.18-rc2-ac1

DISCUSSION Ed Sweetman 3 participants 4 messages Feb 20, 2002 – Feb 21, 2002

lore
Share & tools
lore
#0 lore raw

I get this on every cd I try and I've tried more than I'd have liked to.

Performing OPC...
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 1F 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0 Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 40s

Track 01:   0 of 628 MB written.
write track data: error after 63488 bytes
Writing  time:   10.171s
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00

/usr/bin/cdrecord: Input/output error. close track/session: scsi
sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0 Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 480s
cmd finished after 0.001s timeout 480s

Now I know every cd isn't bad because they used to work in older 2.4.17ish kernels. I have scsi-generic support compiled as a module as well as ide-scsi. This is what the kernel detects the drive as

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: CREATIVE Model: CD-RW RW8438E Rev: FC03
Type: CD-ROM ANSI SCSI revision: 02

That is correct. This is what hdparm tells about the drive /dev/hdc:
HDIO_GET_MULTCOUNT failed: Input/output error

 I/O support  =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)

HDIO_GET_NOWERR failed: Input/output error
readonly = 0 (off)
BLKRAGET failed: Input/output error
HDIO_GETGEO failed: Invalid argument
busstate = 1 (on)

not sure what else I can get informationwize about what the drive is doing.

#1 lore raw
Quoted 9 lines

I get this on every cd I try and I've tried more than I'd have liked to.

Performing OPC...
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 1F 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0

Thats saying that cdrecord sent the drive a bogus command.

Quoted 2 lines

Now I know every cd isn't bad because they used to work in older 2.4.17ish kernels. I have scsi-generic support compiled as a module as

Does it still work with them ?

Quoted 2 lines

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

Right same as I am using

Quoted 2 lines

not sure what else I can get informationwize about what the drive is doing.

What type of IDE controller ?

#2 lore raw
Quoted 21 lines · Alan Cox
Quoted 4 lines

I get this on every cd I try and I've tried more than I'd have liked to.

Performing OPC...

/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error

Quoted 5 lines

CDB: 2A 00 00 00 00 1F 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0

Thats saying that cdrecord sent the drive a bogus command.

Quoted 2 lines

Now I know every cd isn't bad because they used to work in older 2.4.17ish kernels. I have scsi-generic support compiled as a module as

Does it still work with them ?

Quoted 2 lines

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

Quoted 6 lines

Right same as I am using

Quoted 2 lines

not sure what else I can get informationwize about what the drive is doing.

What type of IDE controller ?

VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1

If i retry over and over sometimes it will eventually work. (same cd)

#3 lore raw
In reply to Alan Cox
Quoted 11 lines · Alan Cox
Quoted 9 lines

I get this on every cd I try and I've tried more than I'd have liked to.

Performing OPC...
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 1F 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0

Thats saying that cdrecord sent the drive a bogus command.

A friend of mine had exactly the same problems. These were eventually solved by buying a new CDR drive.

We tried running the "cdrecord" from the old installation: Same problem.

We tried it on the remainder of the spindle that used to work with the old
installation: Same problem.

We tried it with the CDR discs that I use here: Same problem.

(I was suspecting a problem with the disks as "start of lead in:
97:23:00" sounded a bit odd to me, and would result in "logical block address out of range", So I first suspected the discs to be incompatible with the current cdrecord.)

Quoted 4 lines
Quoted 2 lines

Now I know every cd isn't bad because they used to work in older 2.4.17ish kernels. I have scsi-generic support compiled as a module as

Does it still work with them ?

His old installation won't boot anymore, so in that case we can't easily try anymore... Grmbl.

Quoted 4 lines
Quoted 2 lines

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

Right same as I am using

Ehmm. My story is about a real SCSI CDR drive. He now has an IDE drive.

Quoted 4 lines
Quoted 2 lines

not sure what else I can get informationwize about what the drive is doing.

What type of IDE controller ?

NCR810.

Roger.

Signature · 4 lines
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots.