From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 21 01:13:04 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CD6116A4CE for ; Sun, 21 Mar 2004 01:13:04 -0800 (PST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id C938643D1D for ; Sun, 21 Mar 2004 01:13:03 -0800 (PST) (envelope-from mark@markdnet.demon.co.uk) Received: from lizacnet.demon.co.uk ([80.177.208.105] helo=[192.168.0.2]) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1B4z0w-0004Hu-0W for freebsd-scsi@freebsd.org; Sun, 21 Mar 2004 09:13:02 +0000 From: Mark Dixon To: freebsd-scsi@freebsd.org Date: Sun, 21 Mar 2004 09:15:00 +0000 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_k0VXAeNH8wrljJ6"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200403210915.16226.mark@markdnet.demon.co.uk> Subject: Adaptec 19160 and SCA-80 drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 09:13:04 -0000 --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: 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--