Date: Wed, 05 Apr 1995 23:49:12 -0700 From: "Justin T. Gibbs" <gibbs@estienne.CS.Berkeley.EDU> To: Terry Lee <terryl@CS.Stanford.EDU> Cc: freebsd-hackers@FreeBSD.org Subject: Re: AHA-2940 boot prob. 950322-SNAP Message-ID: <199504060649.XAA21851@estienne.cs.berkeley.edu> In-Reply-To: Your message of "Wed, 05 Apr 1995 22:00:27 PDT." <Pine.SUN.3.91.950405215042.23728B-100000@Xenon.Stanford.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
>Justin,
>
>Just installed 950322-SNAP over 950210-SNAP which was working okay.
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
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
> Boot sequence:
>
>ahc0 waiting for scsi devices to settle
>ahc0: no active SCB for reconnecting target 15, channel B-issuing ABORT
>SAVED_TCL == 0x0
>ahc0: ahcintr-referenced scb. not valid during seqint 0x71 scb(15)
>ahc0: WARNING no command for scb15 (cmdcmplt)
>QOUTCNT == 0
>
>then hangs. ctrl-alt-del gives me a page fault listing.
>
>950210-SNAP booted okay but the kernel I compiled myself had problems.
>After a crash or after booting from DOS and going back to BSD, the system
>would hang at "ahc0 waiting for scsi devices to settle". After a reboot
>it might get one line farther to something like sychronous 10MB/s then
>hang. I have to boot with the boot disk kernel which boots okay, and
>then reboot again to my compiled kernel, then everything is okay.
>
>However, I can't get 950322 to work at all.
>
>Best regards,
>
>Terry
>
>
>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
==============================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504060649.XAA21851>
