linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug)
@ 2003-08-07 23:41 Mikael Pettersson
  2003-08-08  0:10 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Pettersson @ 2003-08-07 23:41 UTC (permalink / raw)
  To: B.Zolnierkiewicz, linux-kernel; +Cc: Andries.Brouwer

On Thu, 7 Aug 2003 22:51:31 +0200 (MET DST), Bartlomiej Zolnierkiewicz wrote:
>On Thu, 7 Aug 2003 Andries.Brouwer@cwi.nl wrote:
>
>> Given ide-identify.h, we can simplify ide-floppy.c and ide-tape.c a lot.
>> In fact ide-tape.c was broken on big-endian machines.
>> (Unfortunately much more is broken that was fixed here,
>> ide-tape.c is not in a good shape today.)
>
>ide-tape is broken because nobody cares, so I don't care too
>(was broken even before).  It needs rewrite and testing.
>
>So once again if anybody cares and has hardware to test,
>please contact me and I will try fix it.
>
>Until then I don't touch it et all and consider it obsoleted.

I used to use the ide-tape driver for my Seagate STT8000A,
but its prolonged brokenness in 2.5 (caused initially by the
bio changes) made me switch to ide-scsi + st instead since
that at least _works_.

I can test updates as they hit Linus 2.6-releases, but frankly
I'd rather use ide-scsi+st or a new clean ATAPI tape driver
than ide-tape.c. (I've studied ide-tape.c. It reeks of poor
coding style, kludges for Onstream, and an over-engineered
buffering scheme. And it's known to have problems with DMA.)

/Mikael

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

* Re: ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug)
  2003-08-07 23:41 ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug) Mikael Pettersson
@ 2003-08-08  0:10 ` Bartlomiej Zolnierkiewicz
  2003-08-08 10:51   ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-08-08  0:10 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-kernel


On Fri, 8 Aug 2003, Mikael Pettersson wrote:

> On Thu, 7 Aug 2003 22:51:31 +0200 (MET DST), Bartlomiej Zolnierkiewicz wrote:
> >On Thu, 7 Aug 2003 Andries.Brouwer@cwi.nl wrote:
> >
> >> Given ide-identify.h, we can simplify ide-floppy.c and ide-tape.c a lot.
> >> In fact ide-tape.c was broken on big-endian machines.
> >> (Unfortunately much more is broken that was fixed here,
> >> ide-tape.c is not in a good shape today.)
> >
> >ide-tape is broken because nobody cares, so I don't care too
> >(was broken even before).  It needs rewrite and testing.
> >
> >So once again if anybody cares and has hardware to test,
> >please contact me and I will try fix it.
> >
> >Until then I don't touch it et all and consider it obsoleted.
>
> I used to use the ide-tape driver for my Seagate STT8000A,
> but its prolonged brokenness in 2.5 (caused initially by the
> bio changes) made me switch to ide-scsi + st instead since
> that at least _works_.
>
> I can test updates as they hit Linus 2.6-releases, but frankly

Great.

> I'd rather use ide-scsi+st or a new clean ATAPI tape driver
> than ide-tape.c. (I've studied ide-tape.c. It reeks of poor

"new clean ATAPI tape drive" == the one yet to be written?

> coding style, kludges for Onstream, and an over-engineered
> buffering scheme. And it's known to have problems with DMA.)

So you are familiar with the code, cool. ;-)

I will try to simplify ide-tape.c as much as possible.

--bartlomiej


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

* Re: ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug)
  2003-08-08  0:10 ` Bartlomiej Zolnierkiewicz
@ 2003-08-08 10:51   ` Alan Cox
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2003-08-08 10:51 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Mikael Pettersson, Linux Kernel Mailing List

On Gwe, 2003-08-08 at 01:10, Bartlomiej Zolnierkiewicz wrote:
> "new clean ATAPI tape drive" == the one yet to be written?
> 
> > coding style, kludges for Onstream, and an over-engineered
> > buffering scheme. And it's known to have problems with DMA.)
> 
> So you are familiar with the code, cool. ;-)
> 
> I will try to simplify ide-tape.c as much as possible.

A starting point might actually be cp ide-tape.c ide-tape-ontrack.c and
then zap the conditional mess in both. Thats roughly how scsi handles
it all with st and osst


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

* Re: ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug)
@ 2003-08-08 11:19 Mikael Pettersson
  0 siblings, 0 replies; 5+ messages in thread
From: Mikael Pettersson @ 2003-08-08 11:19 UTC (permalink / raw)
  To: B.Zolnierkiewicz; +Cc: linux-kernel

On Fri, 8 Aug 2003 02:10:19 +0200 (MET DST), Bartlomiej Zolnierkiewicz wrote:
>> I'd rather use ide-scsi+st or a new clean ATAPI tape driver
>> than ide-tape.c. (I've studied ide-tape.c. It reeks of poor
>
>"new clean ATAPI tape drive" == the one yet to be written?

Correct.

>> coding style, kludges for Onstream, and an over-engineered
>> buffering scheme. And it's known to have problems with DMA.)
>
>So you are familiar with the code, cool. ;-)

Only as a generic coder trying to fix it, and as a user
looking at other people's bug reports.

/Mikael

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

* ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug)
  2003-08-07 20:12 [PATCH] use ide-identify.h, fix endian bug Andries.Brouwer
@ 2003-08-07 20:51 ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-08-07 20:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andries.Brouwer


On Thu, 7 Aug 2003 Andries.Brouwer@cwi.nl wrote:

> Given ide-identify.h, we can simplify ide-floppy.c and ide-tape.c a lot.
> In fact ide-tape.c was broken on big-endian machines.
> (Unfortunately much more is broken that was fixed here,
> ide-tape.c is not in a good shape today.)

ide-tape is broken because nobody cares, so I don't care too
(was broken even before).  It needs rewrite and testing.

So once again if anybody cares and has hardware to test,
please contact me and I will try fix it.

Until then I don't touch it et all and consider it obsoleted.

--bartlomiej


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

end of thread, other threads:[~2003-08-08 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-07 23:41 ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug) Mikael Pettersson
2003-08-08  0:10 ` Bartlomiej Zolnierkiewicz
2003-08-08 10:51   ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2003-08-08 11:19 Mikael Pettersson
2003-08-07 20:12 [PATCH] use ide-identify.h, fix endian bug Andries.Brouwer
2003-08-07 20:51 ` ide-tape broken (was Re: [PATCH] use ide-identify.h, fix endian bug) Bartlomiej Zolnierkiewicz

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