John> The errors don't seem to be coming from amanda though, I can't
John> seem to write or read using tar or dd either.

John> They seem to get detected ok:

John> sa0 at ahc0 bus 0 target 4 lun 0
John> sa0: <HP C1557A U812> Removable Sequential Access SCSI-2 device 
John> sa0: 10.000MB/s transfers (10.000MHz, offset 15)
John> Mounting root from ufs:/dev/ad0s1a
John> ch0 at ahc0 bus 0 target 4 lun 1
John> ch0: <HP C1557A U812> Removable Changer SCSI-2 device 
John> ch0: 10.000MB/s transfers (10.000MHz, offset 15)
John> ch0: 6 slots, 1 drive, 0 pickers, 0 portals

Looks fine. Here is mine:

sa0 at ahc0 bus 0 target 6 lun 0
sa0: <HP C1557A U812> Removable Sequential Access SCSI-2 device 
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
[...]
ch0 at ahc0 bus 0 target 6 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

With a tape in the drive, what does the command "mt -f /dev/nrsa0 status"
show?

On my HP DAT40x6i changer (the DDS-4 version) my DIP switches are set
as:

   1 2 3 4 5 6 7 8
   0 1 0 1 1 1 1 1

And I'm pretty sure these are the same settings we have on the
24X6i. (I had just this evening yanked a busted Seagate Scorpion DDS-4
drive, so I can actually see the switches! Talk about timing.  :))

John> But a read or write fails like this:

John> #tar cf - build | dd of=/dev/rsa0 bs=1024
John> dd: /dev/rsa0: Input/output error
John> 2+0 records in
John> 1+0 records out
John> 1024 bytes transferred in 0.016840 secs (60808 bytes/sec)

John> With console errors like this:

John> (sa0:ahc0:0:4:0): WRITE(06). CDB: a 0 0 2 0 0 
John> (sa0:ahc0:0:4:0): ABORTED COMMAND asc:4b,0
John> (sa0:ahc0:0:4:0): Data phase error

I agree, this looks like a hardware problem.

Have you verified your SCSI stuff:  jumpers, termination, cable
lengths, etc.?

John> So it looks like a hardware or freebsd (4.0-RELEASE - it's a
John> test box) problem.

I've never used the 4.0-RELEASE stuff, if possible, can you try
something newer like 4.3?

Reply via email to