Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2004 09:15:00 +0000
From:      Mark Dixon <mark@markdnet.demon.co.uk>
To:        freebsd-scsi@freebsd.org
Subject:   Adaptec 19160 and SCA-80 drive
Message-ID:  <200403210915.16226.mark@markdnet.demon.co.uk>

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

--Boundary-02=_k0VXAeNH8wrljJ6
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I've got an Adaptec 19160 and I have connected it to a 9gb SCA-80 drive via=
 an=20
adaptor which converts it to a 50 pin SCSI device. This works well in Debia=
n=20
Linux, and grudgingly in Windows (it seems to take a few seconds longer tha=
n=20
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=20
on the board (despite there being only one disk attached). It then locks up=
=20
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=3D0xc3b7b450
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=20
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=20
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=20
loading debug versions of the modules and I think I got a panic, but I was =
in=20
X at the time and there was no sign of it on reboot.

Any ideas whats up?

=2D-=20
Mark

'If it compiles, ship it'

--Boundary-02=_k0VXAeNH8wrljJ6
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAXV0kLqgJ90OcaiARAoi4AKCHItbESR3r3w8ljp+zvNGWTCTHDwCeI4Fo
+faA4BNbgv/4yhIVWZpg86Y=
=S+UW
-----END PGP SIGNATURE-----

--Boundary-02=_k0VXAeNH8wrljJ6--



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