From owner-freebsd-scsi Sun Nov 10 00:03:18 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA22469 for freebsd-scsi-outgoing; Sun, 10 Nov 1996 00:03:18 -0800 (PST) Received: from freefall.freebsd.org (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA22443; Sun, 10 Nov 1996 00:03:11 -0800 (PST) Message-Id: <199611100803.AAA22443@freefall.freebsd.org> To: Jaye Mathisen cc: hackers@freebsd.org, scsi@freebsd.org Subject: Re: Anybody compiling -current with AHC_DEBUG? In-reply-to: Your message of "Sat, 09 Nov 1996 23:46:27 PST." Date: Sun, 10 Nov 1996 00:03:11 -0800 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nope, but its easy enough to fix. Change DEBUGTARGET to DEBUGTARG, and use this for your ahc_print_scb function: static void ahc_print_scb(scb) struct scb *scb; { struct hardware_scb *hscb = scb->hscb; printf("scb:%p control:0x%x tcl:0x%x cmdlen:%d cmdpointer:0x%lx\n", scb, hscb->control, hscb->tcl, hscb->cmdlen, hscb->cmdpointer ); printf(" datlen:%d data:0x%lx segs:0x%x segp:0x%lx\n", hscb->datalen, hscb->data, hscb->SG_segment_count, hscb->SG_list_pointer); printf(" sg_addr:%lx sg_len:%ld\n", hscb->ahc_dma[0].addr, hscb->ahc_dma[0].len); } >From this mail, this must mean that you continue to have problems with your RAID box and the FreeBSD driver. I have a hunch that this may be related to a problem with how the driver is setting up the termination settings. How is your bus setup??? -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================