From owner-freebsd-hackers Thu Apr 6 12:30:20 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA05296 for hackers-outgoing; Thu, 6 Apr 1995 12:30:20 -0700 Received: from estienne.cs.berkeley.edu (estienne.CS.Berkeley.EDU [128.32.42.147]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA05290 for ; Thu, 6 Apr 1995 12:30:19 -0700 Received: from localhost (localhost [127.0.0.1]) by estienne.cs.berkeley.edu (8.6.11/8.6.9) with SMTP id MAA24679; Thu, 6 Apr 1995 12:30:17 -0700 Message-Id: <199504061930.MAA24679@estienne.cs.berkeley.edu> X-Authentication-Warning: estienne.cs.berkeley.edu: Host localhost didn't use HELO protocol To: Terry Lee cc: freebsd-hackers@FreeBSD.org Subject: Re: AHA-2940 boot prob. 950322-SNAP In-reply-to: Your message of "Thu, 06 Apr 1995 12:26:08 PDT." Date: Thu, 06 Apr 1995 12:30:16 -0700 From: "Justin T. Gibbs" Sender: hackers-owner@FreeBSD.org Precedence: bulk >> The 950322-SNAP was released two days before I had my 48 hour spurt >> of work on the driver. The one in -current is rock solid as far as >> the controllers go... I'm down to fixing device quirks now. I would >> suggest picking up the -current driver, but as a stopgap, this might > >Okay. Is this what I need? > >gnu/misc/aic7xxx/* >i386/scsi/aic7xxx.* >pci/aic7870.c i386/isa/aic7770.c > >Is that all? They I only need to recompile a new kernel? I think this should fix it for you. If for some reason your drive times out (and is detected as a tagged queuing device), try disabling the tagged queuing support. Its just a couple #if 0's in i386/scsi/aic7xxx.c's ahc_done routine where it looks at the inquiry data to see if the drive can do tagged queueing. > >Thanks again. > >Terry > > >> be enough to fix your problem: >> >> /* Determine channel configuration and who we are on the scsi >> bus. */ >> switch ( (sblkctl = inb(SBLKCTL + iobase) & 0x0f) ) { >> case 0: >> ahc->our_id = (inb(HA_SCSICONF + iobase) & HSCSIID); >> printf("Single Channel, SCSI Id=%d, ", ahc->our_id); >> + outb(HA_FLAGS + iobase, SINGLE_BUS); >> break; >> >> And add this somewhere: >> >> #define SINGLE_BUS 0 > >I N T E R N E T Terry Lee, Technical Director >D E S I G N 745 Stanford Avenue, Palo Alto, California 94306 >G R O U P 415 424 0747 voice 415 424-0751 fax >http://www.mall.net terryl@cs.stanford.edu http://www.mall.net/terry > -- Justin T. Gibbs ============================================== TCS Instructional Group - Programmer/Analyst 1 Cory | Po | Danube | Volga | Parker | Torus ==============================================