[lkml]   [2003]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectPATCH for ide-tape driver
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

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


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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.046 / U:3.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site