Messages in this thread | | | Date | Fri, 8 Jan 1999 12:39:30 -0600 (CST) | From | Matthew T Kohner <> | Subject | Re: ide-tape/ide-card broken in 2.2pre3 and greater |
| |
> Thanks for the report. By mistake my latest patch decreased the > ide-tape irq timeout to 0.6 seconds instead of increasing it > to 60 seconds.. The following patch will fix this.
Doesn't fix the problem. now it just takes 60 second instead of just less than a second until the error is displayed on screen. Seems like some other bug is lurking in the changes made in 2.2pre2
-Matt kohn0035@tc.umn.edu
> > Gadi > > --- linux/drivers/block/ide-tape.c~ Wed Dec 30 23:27:40 1998 > +++ linux/drivers/block/ide-tape.c Fri Jan 8 08:30:58 1999 > @@ -483,7 +483,7 @@ > /* > * Some tape drives require a long irq timeout > */ > -#define IDETAPE_WAIT_CMD 60 > +#define IDETAPE_WAIT_CMD (60 * HZ) > > /* > * DSC timings. > > On Wed, 6 Jan 1999, Matthew T Kohner wrote: > > > Seagate TR-4 (CONNER CTT8000-A) hooked up to a Acculogic sIDE-2/CD > > isa card. > > under 2.2.0pre1 and earlier, works fine. > > didn't try pre2 > > under 2.2.0pre[3,4,5] tar gives the errors > > > > [root@x39-22 /root]# tar -cvf /dev/ht0 mail/ > > ide-tape: ht0: I/O error, pc = 34, key = 2, asc = 4, ascq = 1 > > mail/ > > mail/sent-mail > > mail/saved-messages > > ide-tape: ht0: I/O error, pc = a, key = 2, asc = 4, ascq = 1 > > tar: Cannot write to /dev/ht0: Input/output error > > tar: Error is not recoverable: exiting now > > ide-tape: ht0: I/O error, pc = 1, key = 2, asc = 4, ascq = 1 > > > > and other errors like > > Jan 6 21:04:23 x39-22 kernel: hdh: irq timeout: status=0xd0 { Busy } > > Jan 6 21:04:23 x39-22 kernel: ide3: unexpected interrupt, status=0xff, > > count=2 > > Jan 6 21:04:23 x39-22 kernel: hdh: ATAPI reset complete > > Jan 6 21:04:24 x39-22 kernel: ide-tape: ht0: I/O error, pc = a, key = > > 2, asc > > = 4, ascq = 1 > > Jan 6 21:04:25 x39-22 last message repeated 100 times > > Jan 6 21:04:25 x39-22 kernel: ide-tape: ht0: I/O error, pc = 10, key = > > 2, asc > > = 4, ascq = 1 > > Jan 6 21:04:25 x39-22 kernel: ide-tape: Couldn't write a filemark > > Jan 6 21:04:25 x39-22 kernel: ide-tape: ht0: I/O error, pc = 1, key = > > 2, asc > > = 4, ascq = 1 > > > > > > > > I'm not a kernel hacker maybe so someone else has some idea what's > > happening here. If there's any revelant info I've forgotting, just ask > > tia > > -Matt > > ------------------------------------------------ > > Matt Kohner kohn0035@tc.umn.edu > > Comp Sci major at U of Minnesota > > ------------------------------------------------ > > > > > > > > > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.rutgers.edu > > Please read the FAQ at http://www.tux.org/lkml/ > > > > >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |