Adaptec 19160 and SCA-80 drive

Mark Dixon mark at markdnet.demon.co.uk
Sun Mar 21 01:13:04 PST 2004


Hi,

I've got an Adaptec 19160 and I have connected it to a 9gb SCA-80 drive via an 
adaptor which converts it to a 50 pin SCSI device. This works well in Debian 
Linux, and grudgingly in Windows (it seems to take a few seconds longer than 
it should to figure out whats going on), but FreeBSD really doesn't like it.

With Parity on, FreeBSD refuses to boot claiming parity errors on all SCSI ids 
on the board (despite there being only one disk attached). It then locks up 
attempting to destroy the disk (I presume it doesn't mean that literally).

With parity off in dmesg, I get:

GEOM: create disk da0 dp=0xc3b7b450
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST19171W 2219> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing 
Enabled
da0: 8203MB (16800001 512 byte sectors: 255H 63S/T 1045C)

which looks good.

Unfortunately, attempting to do anything with the disk, results in the 
following:

lizacnet# bsdlabel -w /dev/da0
bsdlabel: write /dev/da0: Input/output error

(da0:ahc0:0:0:0): WRITE(06). CDB: a 0 0 0 10 0
(da0:ahc0:0:0:0): CAM Status: SCSI Status Error
(da0:ahc0:0:0:0): SCSI Status: Check Condition
(da0:ahc0:0:0:0): ABORTED COMMAND asc:0,0
(da0:ahc0:0:0:0): No additional sense information
(da0:ahc0:0:0:0): Retrying Command (per Sense Data)
(da0:ahc0:0:0:0): WRITE(06). CDB: a 0 0 0 10 0
(da0:ahc0:0:0:0): CAM Status: SCSI Status Error
(da0:ahc0:0:0:0): SCSI Status: Check Condition
(da0:ahc0:0:0:0): ABORTED COMMAND asc:0,0
(da0:ahc0:0:0:0): No additional sense information
(da0:ahc0:0:0:0): Retrying Command (per Sense Data)
(da0:ahc0:0:0:0): WRITE(06). CDB: a 0 0 0 10 0
(da0:ahc0:0:0:0): CAM Status: SCSI Status Error
(da0:ahc0:0:0:0): SCSI Status: Check Condition
(da0:ahc0:0:0:0): ABORTED COMMAND asc:0,0
(da0:ahc0:0:0:0): No additional sense information
(da0:ahc0:0:0:0): Retrying Command (per Sense Data)
(da0:ahc0:0:0:0): WRITE(06). CDB: a 0 0 0 10 0
(da0:ahc0:0:0:0): CAM Status: SCSI Status Error
(da0:ahc0:0:0:0): SCSI Status: Check Condition
(da0:ahc0:0:0:0): ABORTED COMMAND asc:0,0
(da0:ahc0:0:0:0): No additional sense information
(da0:ahc0:0:0:0): Retrying Command (per Sense Data)
(da0:ahc0:0:0:0): WRITE(06). CDB: a 0 0 0 10 0
(da0:ahc0:0:0:0): CAM Status: SCSI Status Error
(da0:ahc0:0:0:0): SCSI Status: Check Condition
(da0:ahc0:0:0:0): ABORTED COMMAND asc:0,0
(da0:ahc0:0:0:0): No additional sense information
(da0:ahc0:0:0:0): Retries Exhausted

Setting kern.geom.debugflags -> 1 gives:

g_post_event_x(0xc04ac530, 0xc39fa080, 2)
  ref 0xc39fa080
mbr_taste(MBR,da0)
g_slice_config(da0, 0, 0)
g_slice_config(da0, 1, 0)
g_slice_config(da0, 2, 0)
g_slice_config(da0, 3, 0)
g_slice_config(da0, 0, 1)
g_post_event_x(0xc04ac530, 0xc3caf700, 2)
  ref 0xc3caf700
g_slice_config(da0, 1, 1)
g_slice_config(da0, 2, 1)
g_slice_config(da0, 3, 1)
bsd_taste(BSD,da0)
g_slice_spoiled(0xc473fe00/da0)
g_wither_geom(0xc3bacb80(da0))
g_detach(0xc473fe00)
g_destroy_consumer(0xc473fe00)
g_destroy_geom(0xc3bacb80(da0))
g_mbrext_taste(MBREXT,da0)
mbr_taste(MBR,da0s1)
g_slice_spoiled(0xc473f300/da0s1)
g_wither_geom(0xc3d6d680(da0s1))
g_detach(0xc473f300)
g_destroy_consumer(0xc473f300)
g_destroy_geom(0xc3d6d680(da0s1))
bsd_taste(BSD,da0s1)
g_slice_spoiled(0xc439d940/da0s1)
g_wither_geom(0xc41e5d00(da0s1))
g_detach(0xc439d940)
g_destroy_consumer(0xc439d940)
g_destroy_geom(0xc41e5d00(da0s1))
dev_taste(DEV,da0s1)
g_mbrext_taste(MBREXT,da0s1)
g_slice_spoiled(0xc473f4c0/da0s1)
g_wither_geom(0xc41e5100(da0s1))
g_detach(0xc473f4c0)
g_destroy_consumer(0xc473f4c0)
g_destroy_geom(0xc41e5100(da0s1))

ahc and ahc_pci are loaded as modules, if that makes any difference. I did try 
loading debug versions of the modules and I think I got a panic, but I was in 
X at the time and there was no sign of it on reboot.

Any ideas whats up?

-- 
Mark

'If it compiles, ship it'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20040321/76f47d7a/attachment.bin


More information about the freebsd-scsi mailing list