linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No equivalent for ide-scsi available with the new PATA drivers?
@ 2007-07-23 16:36 Chuck Ebbert
  2007-07-23 16:48 ` James Bottomley
  2007-07-23 16:52 ` Alan Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Chuck Ebbert @ 2007-07-23 16:36 UTC (permalink / raw)
  To: IDE/ATA development list

People with IDE tape drives are complaining there's no ide-scsi
driver available anymore with the new PATA layer. Is anyone
working on one?

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

* Re: No equivalent for ide-scsi available with the new PATA drivers?
  2007-07-23 16:36 No equivalent for ide-scsi available with the new PATA drivers? Chuck Ebbert
@ 2007-07-23 16:48 ` James Bottomley
  2007-07-23 16:52 ` Alan Cox
  1 sibling, 0 replies; 7+ messages in thread
From: James Bottomley @ 2007-07-23 16:48 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: IDE/ATA development list

On Mon, 2007-07-23 at 12:36 -0400, Chuck Ebbert wrote:
> People with IDE tape drives are complaining there's no ide-scsi
> driver available anymore with the new PATA layer. Is anyone
> working on one?

You mean libata-pata?  The SCSI tape driver, st (or the onstream osst
driver), should just attach natively, shouldn't it ... or is there
something missing in the sat layer?

James



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

* Re: No equivalent for ide-scsi available with the new PATA drivers?
  2007-07-23 16:36 No equivalent for ide-scsi available with the new PATA drivers? Chuck Ebbert
  2007-07-23 16:48 ` James Bottomley
@ 2007-07-23 16:52 ` Alan Cox
  2007-07-23 17:01   ` Chuck Ebbert
  2007-08-02 12:24   ` Mark Lord
  1 sibling, 2 replies; 7+ messages in thread
From: Alan Cox @ 2007-07-23 16:52 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: IDE/ATA development list

On Mon, 23 Jul 2007 12:36:44 -0400
Chuck Ebbert <cebbert@redhat.com> wrote:

> People with IDE tape drives are complaining there's no ide-scsi
> driver available anymore with the new PATA layer. Is anyone
> working on one?

It would make no sense. The libata layer is already using the SCSI
midlayer so compliant devices should already appear with the st driver.

We might need some tape detect logic, but I don't have any tape devices
so its up to someone with a tape drive handy to help out...

Alan

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

* Re: No equivalent for ide-scsi available with the new PATA drivers?
  2007-07-23 16:52 ` Alan Cox
@ 2007-07-23 17:01   ` Chuck Ebbert
  2007-07-23 17:17     ` James Bottomley
  2007-08-02 12:24   ` Mark Lord
  1 sibling, 1 reply; 7+ messages in thread
From: Chuck Ebbert @ 2007-07-23 17:01 UTC (permalink / raw)
  To: Alan Cox; +Cc: IDE/ATA development list

On 07/23/2007 12:52 PM, Alan Cox wrote:
>> People with IDE tape drives are complaining there's no ide-scsi
>> driver available anymore with the new PATA layer. Is anyone
>> working on one?
> 
> It would make no sense. The libata layer is already using the SCSI
> midlayer so compliant devices should already appear with the st driver.
> 
> We might need some tape detect logic, but I don't have any tape devices
> so its up to someone with a tape drive handy to help out...

I should have posted this earlier:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243568

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

* Re: No equivalent for ide-scsi available with the new PATA drivers?
  2007-07-23 17:01   ` Chuck Ebbert
@ 2007-07-23 17:17     ` James Bottomley
  0 siblings, 0 replies; 7+ messages in thread
From: James Bottomley @ 2007-07-23 17:17 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: Alan Cox, IDE/ATA development list

On Mon, 2007-07-23 at 13:01 -0400, Chuck Ebbert wrote:
> On 07/23/2007 12:52 PM, Alan Cox wrote:
> >> People with IDE tape drives are complaining there's no ide-scsi
> >> driver available anymore with the new PATA layer. Is anyone
> >> working on one?
> > 
> > It would make no sense. The libata layer is already using the SCSI
> > midlayer so compliant devices should already appear with the st driver.
> > 
> > We might need some tape detect logic, but I don't have any tape devices
> > so its up to someone with a tape drive handy to help out...
> 
> I should have posted this earlier:

It looks like an error handling issue ... which command was being
executed at the time the tape at ata2.01 went into the error state?

I haven't looked, but it's entirely possible that it's a simple timeout
issue:  libata does some of its own error handling, but the tape
commmands have to run with timeouts set to huge values (because it can
take so long to rewind a tape or write a long block).

James



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

* Re: No equivalent for ide-scsi available with the new PATA drivers?
  2007-07-23 16:52 ` Alan Cox
  2007-07-23 17:01   ` Chuck Ebbert
@ 2007-08-02 12:24   ` Mark Lord
  2007-08-07 18:53     ` Alan Cox
  1 sibling, 1 reply; 7+ messages in thread
From: Mark Lord @ 2007-08-02 12:24 UTC (permalink / raw)
  To: Alan Cox; +Cc: Chuck Ebbert, IDE/ATA development list

Alan Cox wrote:
> On Mon, 23 Jul 2007 12:36:44 -0400
> Chuck Ebbert <cebbert@redhat.com> wrote:
> 
>> People with IDE tape drives are complaining there's no ide-scsi
>> driver available anymore with the new PATA layer. Is anyone
>> working on one?
> 
> It would make no sense. The libata layer is already using the SCSI
> midlayer so compliant devices should already appear with the st driver.
> 
> We might need some tape detect logic, but I don't have any tape devices
> so its up to someone with a tape drive handy to help out...

I have a PATA tape drive here somewhere.
Does anyone out there want it, with the understanding that it be
used to test/improve libata tape support?

One thing about ATAPI tape drives, is that they generally won't "stream"
with the generic SCSI st code.  Instead, many of them will do a *very* sluggish
stop/start stop/start stop/start kind of action when reading/writing bulk
data.  To get them to stream continously requires more driver intelligence,
*especially* when sharing a cable with some other device.

With an appropriate driver, tailored for ATAPI tape drives, they can run
at full speed while sharing a channel with another active ATA/ATAPI device,
both drives in use at the same time.

Cheers

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

* Re: No equivalent for ide-scsi available with the new PATA drivers?
  2007-08-02 12:24   ` Mark Lord
@ 2007-08-07 18:53     ` Alan Cox
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Cox @ 2007-08-07 18:53 UTC (permalink / raw)
  To: Mark Lord; +Cc: Chuck Ebbert, IDE/ATA development list

> I have a PATA tape drive here somewhere.

-EBUSY

> Does anyone out there want it, with the understanding that it be
> used to test/improve libata tape support?

I'm happy to help someone else doing the work who needs info on libata
etc but I've no time to work on whats a very obscure corner case.

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

end of thread, other threads:[~2007-08-07 18:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 16:36 No equivalent for ide-scsi available with the new PATA drivers? Chuck Ebbert
2007-07-23 16:48 ` James Bottomley
2007-07-23 16:52 ` Alan Cox
2007-07-23 17:01   ` Chuck Ebbert
2007-07-23 17:17     ` James Bottomley
2007-08-02 12:24   ` Mark Lord
2007-08-07 18:53     ` Alan Cox

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).