> grubble> [...] I'm desperately trying to figure out why I can't get an
> grubble> HP Surestore 24x6i changer to work with freebsd. I've
> grubble> exhausted all of my resources and mailing lists to no avail,
> grubble> so I'm resorting to emailing you because of this message I
> grubble> found in the amanda-users archive.
>
> Perhaps the problem you are having is that that particular changer
> reports having 0 pickers, which pisses off chg-chio. I have a really
> ugly fix:
[snip]
> - if ( $max_drive == 0 or $max_picker == 0 ) {
I'd already changed the or in this line to and, which also fixes
that problem.
> But if you are having other problems, let me know.
Amanda seems to run the dump ok, but gets an error when flushing it
to tape.
I foolishly had not verified that I could write to the tapes after
moving the changer into this box, before running amanda.
The errors don't seem to be coming from amanda though, I can't seem
to write or read using tar or dd either.
They seem to get detected ok:
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <HP C1557A U812> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
Mounting root from ufs:/dev/ad0s1a
ch0 at ahc0 bus 0 target 4 lun 1
ch0: <HP C1557A U812> Removable Changer SCSI-2 device
ch0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0: 6 slots, 1 drive, 0 pickers, 0 portals
But a read or write fails like this:
#tar cf - build | dd of=/dev/rsa0 bs=1024
dd: /dev/rsa0: Input/output error
2+0 records in
1+0 records out
1024 bytes transferred in 0.016840 secs (60808 bytes/sec)
With console errors like this:
(sa0:ahc0:0:4:0): WRITE(06). CDB: a 0 0 2 0 0
(sa0:ahc0:0:4:0): ABORTED COMMAND asc:4b,0
(sa0:ahc0:0:4:0): Data phase error
So it looks like a hardware or freebsd (4.0-RELEASE - it's a test
box) problem.
I've tried it with different block sizes, I've checked the dip
switches, I've cleaned the drive, I've tried new tapes.. I've
tried everything I could think of. The tape drive appears to
work fine on an NT system.
Any ideas? Have I missed something really obvious and stupid?
John
------------------------------------------------------------------
[EMAIL PROTECTED] Tas Access
Systems Administrator Phone: 1300 655 633
Accounts: [EMAIL PROTECTED]
Support: [EMAIL PROTECTED]