PATCH for ide-tape driver

Frans Pop (aragorn@tiscali.nl)
Sat, 8 Mar 2003 00:00:24 +0100


I have been experiencing problems with this driver.
When I do 'tar cf /dev/tape --verify <filespec>', I consistently get an error
message 'Unexpected EOF in archive'.
I have Googled for this problem and found others have it to, but no sulution
available.

I also tried the scsi-ide driver, but this produced errors as well, so I
decided to try to debug the ide-tape driver.

My system is a Compaq Deskpro Pentium 300 with Debian Woody 3.0r1 that I
upgraded to latest stable kernel 2.4.21-pre4 to work on this patch.
My tape drive is a Conner CCT-8000A (TR-4).
I have tested and created the patch working from v1.17c of ide-tape.c.

I have created a patch after fairly extensive debugging and testing.
During this process I found 2 technical bugs in the driver that I fixed also.
These bugs produced the following log messages:
- bug: nr_stages should be 0 now
- ide-tape pipeline bug: first_stage 00000000, next_stage 00000000,
last_stage 00000000, nr_stages 1

I have created a website at http://home.tiscali.nl/isildur/ where the patch
can be downloaded. On this site I have documented quite extensively what I
have done.

IMO there seem to be some important discrepancies in the way file spacing is
handled in the kernel and the way it is used in tar and mt. This is also
documented on the website.

I am currently looking for feedback and people to test my patch.

TIA,

Frans Pop

P.S. Please reply with CC to private mail as I am not on the list.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/