George Herson wrote: > > after upgrading to redhat7.1 (from 6.2), my tape drive (/dev/ht0) > doesn't want to work consistently. I never see an error on tar > creation, but the extractions are always flawed. At best, i'll be able > to extract some files. Often i see no errors at the command line (i may > see "tar: Unexpected EOF in archive"), but in /var/log/messages i see an > awful lot of: "kernel: ide-tape: Reached idetape_chrdev_open" > This is a debug message I left in after my recent change to ide-tape so I could help with any problems it may have caused (none so far). > More from that file: > Aug 5 23:03:30 localhost kernel: ide-tape: Reached idetape_chrdev_open > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: I/O error, pc = 10, > key = 2, asc = 3a, ascq = 0 This decodes as "Write Filemark","Medium not present" > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: I/O error, pc = 34, > key = 2, asc = 3a, ascq = 0 "Read Position","Medium not present" > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: I/O error, pc = 0, > key = 2, asc = 3a, ascq = 0 "Test Unit Ready","Medium not present" > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: drive not ready And here we have the same result for your next command: > Aug 5 23:03:30 localhost kernel: ide-tape: Reached idetape_chrdev_open > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: I/O error, pc = 10, key > = 2, asc = 3a, ascq = 0 > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: I/O error, pc = 34, key > = 2, asc = 3a, ascq = 0 > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: I/O error, pc = 0, key > = 2, asc = 3a, ascq = 0 > Aug 5 23:03:30 localhost kernel: ide-tape: ht0: drive not ready These two succeed (just ignore the "Reached..." if they're by themselves) > Aug 5 23:07:01 localhost kernel: ide-tape: Reached idetape_chrdev_open > Aug 5 23:07:50 localhost kernel: ide-tape: Reached idetape_chrdev_open > > My tar commands can be, for example: > tar cvvf /dev/ht0 /.bash_history > tar xvvf /dev/ht0 /.bash_history > > thou thinkest what? > That the log entries you posted do not correlate with reading from a tape that's actually present in the drive :-( Thanks, Willem Riede. _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
