Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2014 08:03:31 +0200
From:      Joerg Wunsch <freebsd-scsi@uriah.heep.sax.de>
To:        freebsd-scsi@freebsd.org
Cc:        "Kenneth D. Merry" <ken@FreeBSD.ORG>
Subject:   Re: Bacula fails on FreeBSD 10.x / "mt fsf" infinitely proceeds
Message-ID:  <20140730060330.GA3272@uriah.heep.sax.de>
In-Reply-To: <20140730035230.GA81800@nargothrond.kdm.org>
References:  <20140729090724.GA26577@uriah.heep.sax.de> <201407291823.s6TINAad032318@higson.cam.lispworks.com> <20140729191829.GK3121@uriah.heep.sax.de> <20140729204354.GA78616@nargothrond.kdm.org> <20140729224414.E2AAE276@uriah.heep.sax.de> <20140730035230.GA81800@nargothrond.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

As Kenneth D. Merry wrote:

> Ahh.  Now I know who to send sa(4) driver patches to test.  :)

The only thing is that I don't love to reboot my main server machine
gratuitously.  But everything I could do on old scratch hardware is
possible.  I've also got a Tandberg SLR5 still around, I simply can't
throw it away ...

(Replacing the L9 by some SAS-attached LTO-x library is already
planned.)

> {black-pearl:/usr/home/kenm:!:0} dtrace -s tapetest.d
> dtrace: script 'tapetest.d' matched 1 probe
> CPU     ID                    FUNCTION:NAME
>   0    401                    saerror:entry Opcode 08, Status 0xc Data: Len 524290, Resid 2, Sense: Len 252, Resid 0
> 
>   0    401                    saerror:entry Opcode 08, Status 0xc Data: Len 524290, Resid 2, Sense: Len 252, Resid 0

Here's the DTrace output, first a dd with a blocksize of 64 KiB (on a
standard tar tape with 10 KiB records), then I did a rewind, followed
by "mt fsf 32767".

root@uriah:~ # dtrace -s /tmp/tapetest.d
dtrace: script '/tmp/tapetest.d' matched 1 probe
CPU     ID                    FUNCTION:NAME
  3    406                    saerror:entry Opcode 08, Status 0xc Data: Len 65536, Resid 55296, Sense: Len 252, Resid 223

  0    406                    saerror:entry Opcode 11, Status 0xc Data: Len 0, Resid 0, Sense: Len 252, Resid 223

It seems we are getting no residual for the SPACE command?!
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140730060330.GA3272>