Date: Mon, 30 Sep 2002 22:05:01 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: John David Duncan <jdd@greatschools.net>, "Long, Scott" <Scott_Long@adaptec.com> Cc: freebsd-scsi@freebsd.org Subject: RE: Adaptec AIC-7902 (Utlra 320) Message-ID: <224210000.1033445101@aslan.scsiguy.com> In-Reply-To: <Pine.OSX.4.44.0209301917080.386-301000@cube> References: <Pine.OSX.4.44.0209301917080.386-301000@cube>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
> Here you go. The attached files document 3 simultaneous windows on the
> problem. The machine didn't actually crash this time, but I think there's
> enough here to illustrate what's happening.
Not quite. 8-) I'm really confused by the sense data. Does it always
fail in the same way? If so, can you do two things:
1) Upgrade to the latest driver in -stable.
2) Add the following patch which should print out the packet headers.
3) Run with a verbose boot
--
Justin
[-- Attachment #2 --]
Index: aic79xx_osm.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/aic7xxx/aic79xx_osm.c,v
retrieving revision 1.3.2.1
diff -c -r1.3.2.1 aic79xx_osm.c
*** aic79xx_osm.c 31 Aug 2002 07:25:51 -0000 1.3.2.1
--- aic79xx_osm.c 1 Oct 2002 03:48:36 -0000
***************
*** 333,338 ****
--- 333,342 ----
for (i = 0; i < sense_len; i++)
printf(" 0x%x", ((uint8_t *)&ccb->csio.sense_data)[i]);
printf("\n");
+ printf("Sense Pkt: ");
+ for (i = 0; i < 12; i++)
+ printf(" 0x%x", scb->sense_data[i]);
+ printf("\n");
scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID;
}
ccb->ccb_h.status &= ~CAM_SIM_QUEUED;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?224210000.1033445101>
