From owner-freebsd-stable Wed Mar 14 1: 0:59 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id CF30237B718; Wed, 14 Mar 2001 01:00:48 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id TAA17937; Wed, 14 Mar 2001 19:30:46 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 14 Mar 2001 19:30:46 +1030 (CST) From: "Daniel O'Connor" To: "Daniel O'Connor" Subject: RE: Advansys Weirdness (tm) Cc: gibbs@freebsd.org, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 14-Mar-01 Daniel O'Connor wrote: > The second time the adw0 line is printed, there is no line which says that the > firmware load failed, but I don't know if that's because it suceeded or if it > bombs > before then. > > I will get a stack trace soon. OK, well I see that the Advansys code doesn't do a bus_release_resource() when an error happens. I think that in adw_pci_attach() instead of just doing return(ENXIO), do err = ENXIO; goto bailout; [ .. ] bailout: if (regs) bus_release_resource(dev, regs_type, regs_id, regs); I will see if I can work up a proper diff :) WRT the actual problem (ie the firmware doesn't load) I am guessing the card must be faulty since it has a problem in the BIOS.. (Where it says init error 0x2) - that problem doesn't happen all the time, but most of the time. Occassionally the card actually works properly though. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message