Skip to contentSkip to conversation

ATAPI cdrecord issue 2.5.67

DISCUSSION Grzegorz Jaskiewicz 8 participants 11 messages Apr 10, 2003 – Apr 19, 2003

lore
Share & tools
lore
#0 lore raw

I noticed strange bahavior while truing to record CD using ATAPI on 2.5.67 kernel:

bash-2.05b$ cdrecord -scanbus dev=ATAPI
Cdrecord 2.01a07 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
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'
scsibus0:

        0,0,0     0) *
        0,1,0     1) 'ADAPTEC ' 'ACB-5500        ' 'FAKE' NON CCS Disk
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

Well, FAKE non CCS disk ?
i have on this port Sony CDRW :

bash-2.05b$ cat /proc/ide/hdd/model
SONY CD-RW CRX215E1

2.4.21-pre7 still is able to see this drive and i can record CDs on it. 2.5.67 failes.

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 Labs
#1 lore raw

it works fine if i will do dev=/dev/hdd
but still output of cdrecord is supprising to me. Also after inserting ide-scsi /dev/scd* nor /dev/sg* apears.

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 Labs
#10 lore raw
In reply to Grzegorz Jaskiewicz
Quoted 4 lines · Grzegorz Jaskiewicz

I noticed strange bahavior while truing to record CD using ATAPI on 2.5.67 kernel:

bash-2.05b$ cdrecord -scanbus dev=ATAPI

You must use /dev/hdX device naming convention:

cdrecord --device=/dev/hdd -inq

At least, it works fine for me :-)

Signature · 3 lines
Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Linux Registered User #287198
#2 lore raw
In reply to Grzegorz Jaskiewicz
Quoted 3 lines · Grzegorz Jaskiewicz

it works fine if i will do dev=/dev/hdd
but still output of cdrecord is supprising to me. Also after inserting ide-scsi /dev/scd* nor /dev/sg* apears.

ide-scsi is still broken in 2.5... don't know if it's gonna get fixed or deprecated as ATAPI support is working.

Signature · 3 lines
Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Linux Registered User #287198
#3 lore raw
Quoted 7 lines · Felipe Alfaro Solana
Quoted 3 lines · Grzegorz Jaskiewicz

it works fine if i will do dev=/dev/hdd
but still output of cdrecord is supprising to me. Also after inserting ide-scsi /dev/scd* nor /dev/sg* apears.

ide-scsi is still broken in 2.5... don't know if it's gonna get fixed or deprecated as ATAPI support is working.

Well, that is allright. Just wondering about this -scanbus message :-)

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 Labs
#4 lore raw
In reply to Felipe Alfaro Solana
Quoted 2 lines · Felipe Alfaro Solana

ide-scsi is still broken in 2.5... don't know if it's gonna get fixed or deprecated as ATAPI support is working.

I don't like ide-scsi, but I need to use cdrdao to burn vcds. I wish someone would patch it to support 2.5.x ATAPI.

#5 lore raw
Followup to:  <[email protected]>
By author:    Aaron Lehmann <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 8 lines · Felipe Alfaro Solana
Quoted 2 lines

ide-scsi is still broken in 2.5... don't know if it's gonna get fixed or deprecated as ATAPI support is working.

I don't like ide-scsi, but I need to use cdrdao to burn vcds. I wish someone would patch it to support 2.5.x ATAPI.

I think ide-scsi needs to be supported for some time going forward. After all, cdrecord, cdrdao, dvdrecord aren't going to be the only applications.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
#6 lore raw
Quoted 3 lines · H. Peter Anvin

I think ide-scsi needs to be supported for some time going forward. After all, cdrecord, cdrdao, dvdrecord aren't going to be the only applications.

And far longer than that. People seem to be testing and demoing crazy things like SATA attached scanners, printers and even enclosure services.

ide_scsi for 2.5 is about item 5000 on my list of things I care about. The core reset code is now close to right (one race I don't understand) so it should be possible to fix the 2.5 ide-scsi code (maybe by porting the perfectly workable 2.4 code again 8))

Alan (IDE _coordinator_) 8)

#7 lore raw
Quoted 8 lines · Alan Cox
Quoted 3 lines · H. Peter Anvin

I think ide-scsi needs to be supported for some time going forward. After all, cdrecord, cdrdao, dvdrecord aren't going to be the only applications.

And far longer than that. People seem to be testing and demoing crazy things like SATA attached scanners, printers and even enclosure services.

ATAPI tape drives will need ide-scsi too, unless ide-tape somehow got repaired lately. And some people already use ide-scsi+st in 2.4 since ide-tape doesn't always work reliably.

ide-scsi isn't just for CD/DVD writers.

#8 lore raw
Quoted 11 lines
Quoted 8 lines · Alan Cox
Quoted 3 lines · H. Peter Anvin

I think ide-scsi needs to be supported for some time going forward. After all, cdrecord, cdrdao, dvdrecord aren't going to be the only applications.

And far longer than that. People seem to be testing and demoing crazy things like SATA attached scanners, printers and even enclosure services.

Quoted 5 lines

ATAPI tape drives will need ide-scsi too, unless ide-tape somehow got repaired lately. And some people already use ide-scsi+st in 2.4 since ide-tape doesn't always work reliably.

ide-scsi isn't just for CD/DVD writers.

How long will it be before somebody develops an ATAPI, SCSI host adaptor, I.E. a SCSI host adaptor which appears as an ATAPI device?

(I know that ATAPI really is effectively just a SCSI transport, but you can already get SCSI, SCSI host adaptors, I.E. where the devices on the second-level adaptor appear as the logical units of the host adaptor, and there is no reason this couldn't be done using ATAPI).

John.

#9 lore raw
In reply to [email protected]
Quoted 6 lines · On Fri, Apr 11, 2003 at 12:46:21PM +0200, [email protected] wrote:
Quoted 5 lines · Alan Cox
Quoted 3 lines · H. Peter Anvin

I think ide-scsi needs to be supported for some time going forward. After all, cdrecord, cdrdao, dvdrecord aren't going to be the only applications.

Quoted 6 lines
Quoted 1 line

And far longer than that. People seem to be testing and demoing

[snip]

ATAPI tape drives will need ide-scsi too, unless ide-tape somehow got repaired lately. And some people already use ide-scsi+st in 2.4 since ide-tape doesn't always work reliably.

Whan I last looked at the ide-tape driver , which was back in 2.2, it looked like the big problem was actually in it error handling , rather than anywhere else.

I don't think it has been changed significantly it that regard since.

IIRC , the behaviour which appeared to be caueing me a problem was that some slow driver would be busy long for ide-tape to get bored. It also didn;t like getting error codes which weren't spelled out it the quik spec. The common travan mechanism I get lots of here, spits out quite a few of those. (As well as failing one of st's enquiry cmds).

TTFN

Signature · 4 lines
Roger. 	                        Home| http://www.sandman.uklinux.net/
Master of Peng Shui.      (Ancient oriental art of Penguin Arranging)
   GPG Key FPR: CFF1 F383 F854 4E6A 918D  5CFF A90D E73B 88DE 0B3E
Work|Independent Systems Consultant | http://www.firstdatabase.co.uk/