Just FYI. I tested the ide-cd based CD burning and reading with the
cdrtools alpha ... kernel 2.5.44-mm6, cdrtools-1.11a39. If I boot
into a clean system, only load ide-cd (none of the ide-scsi-related
bits), and "do it", it works well.
Invocations:
cdda2wav dev=/dev/hdc 1
cdrecord dev=ATAPI:0,0,0 -data dir.iso
I do get a lot of warnings from the block layer, though, as below.
I get some warnings, then it counts down, and it spits out more
warnings, but then it tells me it wrote out a track, writes the TOC,
and terminates successfully.
Matt
-----------------------------------------------------------------------
spurious 8259A interrupt: IRQ7.
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 02 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 08 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid command operation code -- (asc=0x20, ascq=0x00)
The failed "<NULL>" packet command was:
"e9 00 02 00 00 00 00 00 00 00 08 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 02 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 08 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in parameter list -- (asc=0x26, ascq=0x00)
The failed "Mode Select 10" packet command was:
"55 10 00 00 00 00 00 00 10 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 02 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 08 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid command operation code -- (asc=0x20, ascq=0x00)
The failed "<NULL>" packet command was:
"e9 00 02 00 00 00 00 00 00 00 08 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 02 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 08 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 02 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Mode Sense 10" packet command was:
"5a 00 30 00 00 00 00 00 08 00 00 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid command operation code -- (asc=0x20, ascq=0x00)
The failed "<NULL>" packet command was:
"e9 00 02 00 00 00 00 00 00 00 08 00 00 00 00 00 "
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
end_request: I/O error, dev 16:00, sector 0
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in parameter list -- (asc=0x26, ascq=0x00)
The failed "Mode Select 10" packet command was:
"55 10 00 00 00 00 00 00 10 00 00 00 00 00 00 00 "
On Sat, Nov 02 2002, Matt Reppert wrote:
> Just FYI. I tested the ide-cd based CD burning and reading with the
> cdrtools alpha ... kernel 2.5.44-mm6, cdrtools-1.11a39. If I boot
> into a clean system, only load ide-cd (none of the ide-scsi-related
> bits), and "do it", it works well.
You definitely don't want anything _less_ than 2.5.45 at all, it's a
miracle it appears to work :-)
Please retest 2.5.45, thanks, and you should probably add this patch to
fix the cdb output length issue.
--
Jens Axboe
On Sun, 3 Nov 2002 10:42:29 +0100
Jens Axboe <[email protected]> wrote:
> On Sat, Nov 02 2002, Matt Reppert wrote:
> > Just FYI. I tested the ide-cd based CD burning and reading with the
> > cdrtools alpha ... kernel 2.5.44-mm6, cdrtools-1.11a39. If I boot
> > into a clean system, only load ide-cd (none of the ide-scsi-related
> > bits), and "do it", it works well.
>
> You definitely don't want anything _less_ than 2.5.45 at all, it's a
> miracle it appears to work :-)
>
> Please retest 2.5.45, thanks, and you should probably add this patch to
> fix the cdb output length issue.
Hmmm ...
3-arashi:~$ uname -r
2.5.45
3-arashi:~$ /opt/schily/bin/cdrecord dev=ATAPI:0,0,0 -checkdrive
Cdrecord 1.11a39 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
Device type : Disk
Version : 0
Response Format: 0
Vendor_info : 'ADAPTEC '
Identifikation : 'ACB-5500 '
Revision : 'FAKE'
Device seems to be: Adaptec 5500.
/opt/schily/bin/cdrecord: Sorry, no CD/DVD-Drive found on this target.
...
3-arashi:~$ uname -r
2.5.44-mm6
3-arashi:~$ /opt/schily/bin/cdrecord dev=ATAPI:0,0,0 -checkdrive
Cdrecord 1.11a39 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W1210A'
Revision : '1.07'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
3-arashi:~$
Makes for some interesting goings-on ... I'm guessing you want more
info on what I'm running? :) Tell me what to send, I'll send it.
Matt
On Sun, Nov 03 2002, Matt Reppert wrote:
> 3-arashi:~$ /opt/schily/bin/cdrecord dev=ATAPI:0,0,0 -checkdrive
use open by device name, ie dev=/dev/hdX
--
Jens Axboe
On Sun, 3 Nov 2002 17:34:52 +0100
Jens Axboe <[email protected]> wrote:
> On Sun, Nov 03 2002, Matt Reppert wrote:
> > 3-arashi:~$ /opt/schily/bin/cdrecord dev=ATAPI:0,0,0 -checkdrive
>
> use open by device name, ie dev=/dev/hdX
Ah ... that makes all the difference. My bad. Works under 2.5.45
as well. (I blame ide-scsi for continuing to make me think like my
CDRW is on a SCSI bus somewhere ... ^^; )
Thanks,
Matt