Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Sep 1997 08:56:15 -0500
From:      Doug Ledford <dledford@dialnet.net>
To:        "Steven N. Hirsch" <shirsch@ibm.net>
Cc:        adaptec drivers <aic7xxx@FreeBSD.ORG>, linux-kernel@vger.rutgers.edu
Subject:   Re: Still no-go on 2742T 
Message-ID:  <199709091356.IAA09330@dledford.dialnet.net>
In-Reply-To: Your message of "Tue, 09 Sep 1997 07:28:59 EDT." <Pine.LNX.3.95.970909072517.199A-100000@air.steve.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
--------
> All,
> 
> I tried Doug's one-liner to select channel B, and the only change is an
> extra stanza of debugging information (I was previously seeing only the
> section with flags == 0x401):
> 
> 
> Abort reset flags 0x401
> 
> while idle, 	LASTPHASE=0x1
> 		SCSISIGI=0xfa
> 		SEQADR=0x6 <-----
> 		SSTAT0=0x5
> 		SSTAT1=0x0
> 
> Abort reset flags 0x441
> 
> while idle, 	LASTPHASE=0x1
> 		SCSISIGI=0xfa
> 		SEQADR=0x5 <-----
> 		SSTAT0=0x5
> 		SSTAT1=0x0
> 
> Now what?

Boot the kernel with aic7xxx=verbose in the lilo config file, eg:
image=vmlinuz
  label=linux
  ...
  append="aic7xxx=verbose"

Also, go into the source code, in the function aic7xxx_queue(), in the line 
that says:
  printk(KERN_INFO "Scanning channel A\n");

or whatever the exact line is, switch the printk(); to a panic(); so that it 
stops the system, then get me the full boot messages from the driver 
(everything from the 274x found at EISA slot ..... to the Scanning channel 
messages, as exact as possible).  Since it will be doing the panic() with 
interrupts on, the Shift-PgUp/PgDn keys should still work in case anything 
has scrolled off of the screen.

Make sure that you have a backup kernel in your lilo config that you can 
boot to after this (I always keep a rescue kernel in my config so when I'm 
working on the driver I don't have to worry about two bad kernels in a row 
wiping out my linux and linux.old kernels) and then you can go back to it 
after you get the messages for me.  I've looked at *every* single outb() 
instruction in the source code, and right now, I'm not seeing the cause.  
Those messages should help me find it (by the messages I will be able to 
tell what flags are getting set on the controller and when).

-- 
*****************************************************************************
* Doug Ledford                      *   Unix, Novell, Dos, Windows 3.x,     *
* dledford@dialnet.net    873-DIAL  *     WfW, Windows 95 & NT Technician   *
*   PPP access $14.95/month         *****************************************
*   Springfield, MO and surrounding * Usenet news, e-mail and shell account.*
*   communities.  Sign-up online at * Web page creation and hosting, other  *
*   873-9000 V.34                   * services available, call for info.    *
*****************************************************************************





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