Re: aic7xxx: tape always rewinds since linux-2.6.15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Jul 2007, Frank Hempel wrote:

> Hello,
> 
> I have expierenced a problem with the aic7xxx driver or the scsi tape support
> in the linux kernel.
> 
> [Problem Description]
> Under linux kernels since 2.6.15 every "action" I issue to the tape drive (I
> mainly do this via <mt> from the cpio package) is done but additionaly to
> every mt call a tape rewind is done too. So for example positioning the tape
> at some particular position is impossible because after the positioning itself
> it is rewinded automagically.
> Under kernels before and including 2.6.14.7 this problem did not occur.
> 
...
> [Attachments]
> kernel-config                 ... the relevant scsi-switches for all the
> kernels I used
> 14.7.dmesg                    ... the (hopefully) relevant dmesg output from
> 2.6.14.7 kernel
> 14.7.mt-status-after-boot     ... the output of "mt status" after boot (tape
> was at block 0)
> 14.7.mt-fsf-2.kern.log        ... the kernel output during "mt fsf 2"
> 14.7.mt-status-after-mt-fsf-2 ... the output of "mt status" after "mt fsf 2"
> (file number is now *2*)

/dev/tape is link to /dev/nst0 or the environment variable TAPE has value 
/dev/nst0?

> 15.dmesg                      ... the (hopefully) relevant dmesg output from
> 2.15 kernel
> 15.mt-status-after-boot       ... the output of "mt -f /dev/st0 status" after
> boot (tape was at block 0)
> 15.mt-fsf-2.kern.log          ... the kernel output during "mt -f /dev/st0 fsf
> 2"
The device /dev/st0 is usually the auto-rewind device and, by definition, 
the tape is rewound after the device is closed. You should use /dev/nst0 
if you don't want the tape to be rewound after close.

If the tape was not rewound before 2.6.15 when you used /dev/st0, that 
was a problem.

-- 
Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux