Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 1998 15:07:16 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        johan@granlund.nu (Johan Granlund)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Exabyte EXB-8200 and CAM, Take3
Message-ID:  <199810242107.PAA02659@panzer.plutotech.com>
In-Reply-To: <199810241925.VAA00455@phoenix.granlund.nu> from Johan Granlund at "Oct 24, 98 08:23:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Johan Granlund wrote...
> Hi
> 
> Before anybody says anything: I know i should have tested this the last 
> time i got help:)
> 
> That over with:
> 
> I have a vanilla EXB-8200 drive that works with a preCAM kernel. When 
> trying to make a backup with dump i I'medially get "DUMP: End of tape 
> detected" as soon dump tries to write to the tape. Tar says "tar: only wrote 
> 0 of xxx bytes to /dev/rsa0".
> 
> Known quirks with precam kernel.
> Dump seems to pause 10-15sec between mapping and actually writing to 
> the drive.
> 
> When using rewind device (rsa0) i get device busy a couple of times when 
> the driver tries to rewind. No rewind is happening.
> 
> When letting dump reach EOT i get (from memory) Write error I/O error and 
> a abort.
> 
> Whith a CAM kernel it probes OK now (Thank for the help).
> When using dump i got "DUMP: End of tape detected" Imedially after the 
> mapping. A preCAM kernel paused here.

> Tried enabling the CAM debuuging statements in the kernel config but got:
> /kernel: xpt_config: xpt_create_path() failed for debugt
> /kernel: arget -1:6:-1, debugging disabled

Hmm, not sure why it failed to create the path.  Maybe it didn't like the
bus wildcard for some reason.  It may be that the xpt bus isn't configured
by then.  I think wildcarding the bus works once the system is up and
running, though.

I'd suggest just enabling CAMDEBUG in your kernel, and then turn on
CDB debugging for your tape drive only via camcontrol.  You can see exactly
what bus/target/lun it is on by typing 'camcontrol devlist'.

> I'm currently using a preCAM kernel for backups and that is working fine for 
> now.
> Tried both firmware releases that is on the Exabyte website with no change.
> 
> Any idea how to get information to help to solve this?

Well, I think your best bet for now is just to use a pre-CAM kernel with
that drive.  We know very well that there are problems with the CAM tape
driver's interaction with older tape drives.  The Exabyte 8200 in
particular is one of those drives that is "broken" with the CAM tape
driver.  A number of other folks have also reported problems with it.  I've
even got an 8200 here that doesn't work with the driver. :)

I don't know when this will be fixed.  Justin and I are currently in a big
time crunch because of our "real" jobs.  I'm scheduled to work on some tape
stuff sometime in the near future, so I may be able to do something about
the tape driver then.

If someone clued in about SCSI tape drives wants to take a shot at making
the driver work properly with older drives, feel free.  I'll be glad to
provide some help, if someone wants to tackle it.

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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