From owner-freebsd-stable Fri Feb 2 17:15:55 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA26079 for stable-outgoing; Fri, 2 Feb 1996 17:15:55 -0800 (PST) Received: from ki.net (root@ki.net [142.77.249.8]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA26072 Fri, 2 Feb 1996 17:15:50 -0800 (PST) Received: (from scrappy@localhost) by ki.net (8.7.3/8.7.3) id UAA03516; Fri, 2 Feb 1996 20:15:47 -0500 (EST) Date: Fri, 2 Feb 1996 20:15:46 -0500 (EST) From: "Marc G. Fournier" To: Stefan Esser cc: stable@freebsd.org, current@freebsd.org Subject: Re: PR: ASUS PC-SC200 panicks at _scsi_attachdevs+0x20 In-Reply-To: <199602022340.AA01725@Sysiphos> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@freebsd.org Precedence: bulk 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