Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 1996 00:03:11 -0800
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        Jaye Mathisen <mrcpu@cdsnet.net>
Cc:        hackers@freebsd.org, scsi@freebsd.org
Subject:   Re: Anybody compiling -current with AHC_DEBUG? 
Message-ID:  <199611100803.AAA22443@freefall.freebsd.org>
In-Reply-To: Your message of "Sat, 09 Nov 1996 23:46:27 PST." <Pine.NEB.3.95.961109234440.17638C-100000@mail.cdsnet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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
===========================================



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