On Fri, Sep 17, 1999 at 12:52:56PM +0200, Nicola Lamarca wrote:
> Hi all,
>       I've a Linux Box with RH6.0 and kernel 2.2.x-x, I've setup it
> for the use of a SCSI 4/8GB Dat Tape. When I use taper it reports an I/O

have you configured taper to use block size of 1024 bytes?

> error... besides I tried to use mt tools configuring the tape with:
> # stinit -f init.def
> 
> The file init.def has only one device configured in this way:
> 
> # A compressing DAT (DDS-1-DC or DDS-2)
> manufacturer=HP model = "C1533A" {
> scsi2logical=1 can-bsr can-partitions auto-lock
> mode1 blocksize=1024 compression=1
> }
> 
> Now when I try:
> # tar cvf /dev/st0 /foo
> 
> I reports an I/O error, this error shows up even if I submit:

The default block size of tar is 20 * 512 bytes = 10240 bytes.
What do you get if you add the following option to your tar command:

        b 2

I think of something like that:

tar -b 2 -cvf foo /foo  

> # tar czvf foo.tgz /foo
> # dd if=foo.tgz of=/dev/st0 bs=1024
> 
> The tape is not broken, infact It works fine with Windog NT.

Ok, assuming you have no hardware problem:
- try that option -b 2
- at least for the first time I would avoid any hardware compression, although
I do not believe that this causes the trouble you mentioned
- if this doesn't help: Upgrade your kernel to 2.2.12. At least the
precompiled version 2.2.5-15 is not really a good kernel - in fact it provoked
several problems to some people and upgrading has helped
- In case you don't get further: I know from [EMAIL PROTECTED] that
that there have been applied several changes to the whole scsi layer and
that there have been some problems with some certain controllers; perhaps
you should have a look at that scsi list (e. g. via deja.com or altavista)

Bye, Juergen.

-- 
*************************************************************************
* Juergen Leising, Germany                http://leising.home.pages.de/ *
* [EMAIL PROTECTED]                  http://leising.freeshell.org/ *
*************************************************************************

Reply via email to