linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ATAPI cdrecord issue 2.5.67
@ 2003-04-10 14:01 Grzegorz Jaskiewicz
  2003-04-10 14:16 ` Grzegorz Jaskiewicz
  2003-04-10 14:52 ` Felipe Alfaro Solana
  0 siblings, 2 replies; 12+ messages in thread
From: Grzegorz Jaskiewicz @ 2003-04-10 14:01 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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.

-- 
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 Labs


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 14:01 ATAPI cdrecord issue 2.5.67 Grzegorz Jaskiewicz
@ 2003-04-10 14:16 ` Grzegorz Jaskiewicz
  2003-04-10 14:53   ` Felipe Alfaro Solana
  2003-04-10 14:52 ` Felipe Alfaro Solana
  1 sibling, 1 reply; 12+ messages in thread
From: Grzegorz Jaskiewicz @ 2003-04-10 14:16 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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.

-- 
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 Labs


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 14:53   ` Felipe Alfaro Solana
@ 2003-04-10 14:43     ` Grzegorz Jaskiewicz
  2003-04-10 19:34     ` Aaron Lehmann
  1 sibling, 0 replies; 12+ messages in thread
From: Grzegorz Jaskiewicz @ 2003-04-10 14:43 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Linux Kernel Mailing List

On Thu, 2003-04-10 at 15:53, Felipe Alfaro Solana wrote:
> On Thu, 2003-04-10 at 16:16, Grzegorz Jaskiewicz wrote:
> > 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 :-)

-- 
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 Labs


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 14:01 ATAPI cdrecord issue 2.5.67 Grzegorz Jaskiewicz
  2003-04-10 14:16 ` Grzegorz Jaskiewicz
@ 2003-04-10 14:52 ` Felipe Alfaro Solana
  1 sibling, 0 replies; 12+ messages in thread
From: Felipe Alfaro Solana @ 2003-04-10 14:52 UTC (permalink / raw)
  To: Grzegorz Jaskiewicz; +Cc: Linux Kernel Mailing List

On Thu, 2003-04-10 at 16:01, Grzegorz Jaskiewicz wrote:
> 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 :-)

-- 
Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Linux Registered User #287198


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 14:16 ` Grzegorz Jaskiewicz
@ 2003-04-10 14:53   ` Felipe Alfaro Solana
  2003-04-10 14:43     ` Grzegorz Jaskiewicz
  2003-04-10 19:34     ` Aaron Lehmann
  0 siblings, 2 replies; 12+ messages in thread
From: Felipe Alfaro Solana @ 2003-04-10 14:53 UTC (permalink / raw)
  To: Grzegorz Jaskiewicz; +Cc: Linux Kernel Mailing List

On Thu, 2003-04-10 at 16:16, Grzegorz Jaskiewicz wrote:
> 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.

-- 
Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Linux Registered User #287198


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 14:53   ` Felipe Alfaro Solana
  2003-04-10 14:43     ` Grzegorz Jaskiewicz
@ 2003-04-10 19:34     ` Aaron Lehmann
  2003-04-10 19:53       ` H. Peter Anvin
  1 sibling, 1 reply; 12+ messages in thread
From: Aaron Lehmann @ 2003-04-10 19:34 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Grzegorz Jaskiewicz, Linux Kernel Mailing List

On Thu, Apr 10, 2003 at 04:53:11PM +0200, Felipe Alfaro Solana wrote:
> 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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 19:53       ` H. Peter Anvin
@ 2003-04-10 19:44         ` Alan Cox
  2003-04-11 10:46           ` mikpe
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Cox @ 2003-04-10 19:44 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Linux Kernel Mailing List

On Thu, 2003-04-10 at 20:53, H. Peter Anvin wrote:
> 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)




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 19:34     ` Aaron Lehmann
@ 2003-04-10 19:53       ` H. Peter Anvin
  2003-04-10 19:44         ` Alan Cox
  0 siblings, 1 reply; 12+ messages in thread
From: H. Peter Anvin @ 2003-04-10 19:53 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <20030410193420.GD429@vitelus.com>
By author:    Aaron Lehmann <aaronl@vitelus.com>
In newsgroup: linux.dev.kernel
>
> On Thu, Apr 10, 2003 at 04:53:11PM +0200, Felipe Alfaro Solana wrote:
> > 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
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> 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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-10 19:44         ` Alan Cox
@ 2003-04-11 10:46           ` mikpe
  2003-04-11 11:29             ` John Bradford
  2003-04-19 23:22             ` Roger Gammans
  0 siblings, 2 replies; 12+ messages in thread
From: mikpe @ 2003-04-11 10:46 UTC (permalink / raw)
  To: Alan Cox; +Cc: H. Peter Anvin, Linux Kernel Mailing List

Alan Cox writes:
 > On Thu, 2003-04-10 at 20:53, H. Peter Anvin wrote:
 > > 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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-11 10:46           ` mikpe
@ 2003-04-11 11:29             ` John Bradford
  2003-04-19 23:22             ` Roger Gammans
  1 sibling, 0 replies; 12+ messages in thread
From: John Bradford @ 2003-04-11 11:29 UTC (permalink / raw)
  To: mikpe; +Cc: Alan Cox, H. Peter Anvin, Linux Kernel Mailing List

> 
> Alan Cox writes:
>  > On Thu, 2003-04-10 at 20:53, H. Peter Anvin wrote:
>  > > 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.

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
  2003-04-11 10:46           ` mikpe
  2003-04-11 11:29             ` John Bradford
@ 2003-04-19 23:22             ` Roger Gammans
  1 sibling, 0 replies; 12+ messages in thread
From: Roger Gammans @ 2003-04-19 23:22 UTC (permalink / raw)
  To: mikpe; +Cc: Alan Cox, H. Peter Anvin, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

On Fri, Apr 11, 2003 at 12:46:21PM +0200, mikpe@csd.uu.se wrote:
> Alan Cox writes:
>  > On Thu, 2003-04-10 at 20:53, H. Peter Anvin wrote:
>  > > 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 
> [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
-- 
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/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ATAPI cdrecord issue 2.5.67
       [not found]         ` <20030410205020$3813@gated-at.bofh.it>
@ 2003-04-10 21:36           ` Pascal Schmidt
  0 siblings, 0 replies; 12+ messages in thread
From: Pascal Schmidt @ 2003-04-10 21:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

On Thu, 10 Apr 2003 22:50:20 +0200, you wrote:
> On Thu, 2003-04-10 at 20:53, H. Peter Anvin wrote:
>> 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.

Just to add to the list, I have an ATAPI MO drive that only works with
ide-scsi and not with any native IDE driver.

hde: FUJITSU MCC3064AP, ATAPI OPTICAL drive
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: FUJITSU   Model: M25-MCC3064AP     Rev: 0051
  Type:   Optical Device                     ANSI SCSI revision: 02

-- 
Ciao,
Pascal

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-04-19 23:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-10 14:01 ATAPI cdrecord issue 2.5.67 Grzegorz Jaskiewicz
2003-04-10 14:16 ` Grzegorz Jaskiewicz
2003-04-10 14:53   ` Felipe Alfaro Solana
2003-04-10 14:43     ` Grzegorz Jaskiewicz
2003-04-10 19:34     ` Aaron Lehmann
2003-04-10 19:53       ` H. Peter Anvin
2003-04-10 19:44         ` Alan Cox
2003-04-11 10:46           ` mikpe
2003-04-11 11:29             ` John Bradford
2003-04-19 23:22             ` Roger Gammans
2003-04-10 14:52 ` Felipe Alfaro Solana
     [not found] <20030410143018$100e@gated-at.bofh.it>
     [not found] ` <20030410144011$6cc1@gated-at.bofh.it>
     [not found]   ` <20030410150015$0682@gated-at.bofh.it>
     [not found]     ` <20030410194019$3cf5@gated-at.bofh.it>
     [not found]       ` <20030410200011$156b@gated-at.bofh.it>
     [not found]         ` <20030410205020$3813@gated-at.bofh.it>
2003-04-10 21:36           ` Pascal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).