Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 1996 20:15:46 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        Stefan Esser <se@zpr.uni-koeln.de>
Cc:        stable@freebsd.org, current@freebsd.org
Subject:   Re: PR: ASUS PC-SC200 panicks at _scsi_attachdevs+0x20
Message-ID:  <Pine.BSF.3.91.960202201028.3257D-100000@ki.net>
In-Reply-To: <199602022340.AA01725@Sysiphos>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 Feb 1996, Stefan Esser wrote:

> Well, yes, having looked at it, I'd tend to agree :)
>
	Apologizes for previous ones...figured it might be one of those
"known" bugs that someone would pop up with "just change this" *sigh*

> void
> scsi_attachdevs(scbus)
> 	struct scsibus_data *scbus;
> {
> 	int scsibus;
> 	struct scsi_link *sc_link_proto = scbus->adapter_link;
> 
> 	if ( (scsibus = scsi_bus_conf(sc_link_proto)) == -1) {
> 		return;
> 	}
> 	/*
> 	 * if the adapter didn't give us this, set a default
> 	 * (compatibility with old adapter drivers)
> 	 */
> 	if(!(sc_link_proto->opennings)) {	<=== openings is at offset 7
> 		sc_link_proto->opennings = 1;
> 	}
> 
> } Stopped at _scsi_attachdevs+0x20: cmpb $0,0x7(%ebx)   <===
>
	Stupid question, but how do I read this?  I'd like to at least be
able to present the code along with my debug reports, so that everyone
else doesn't have to go searching :)

> Could you please print the value of scbus
> and scbus->adapter_link before the call to 
> scsi_attachdevs() and the corresponding 
> values within that function ?
>
	Okay, but you'll need to tell me how.  All I have to work with is
DDB, since I'm not getting a physical dump, and all I know how to use so
far in DDB (all I've ever needed to use) is trace :(  I'm going to read 
through the man page on DDB right now, and see if I can figure it out, but
it may be faster if someone just tells me what I should be doing, at least
for the first time? :(

> I don't see what's going on here, but I 
> don't have a 2.1R tree checked out and 
> can't easily build and boot a 2.1R kernel
> currently ...
>
	No probs, I don't mind being a guinea pig :)  Once I get this
machine upgraded properly, -current is going onto it, but I can't get 
-current onto it until I get this controller working (chicken before
egg dilemna :( )

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960202201028.3257D-100000>