From owner-freebsd-current Sat Oct 7 20: 7:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from hub.org (hub.org [216.126.84.1]) by hub.freebsd.org (Postfix) with ESMTP id D4B0837B503; Sat, 7 Oct 2000 20:07:06 -0700 (PDT) Received: from localhost (scrappy@localhost) by hub.org (8.10.1/8.10.1) with ESMTP id e9836tw20183; Sat, 7 Oct 2000 23:07:05 -0400 (EDT) Date: Sat, 7 Oct 2000 23:06:55 -0400 (EDT) From: "Marc G. Fournier" To: Bosko Milekic Cc: gibbs@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: latest ahc panic, more data ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG there is a thread going on in committers that appears to revolve aroudn this issue, and Justin has been throwing out patches, so it is being worked on "fast and furious" ... I'm currently up in Windows (Dual-Boot machine fo rmy little girl) watching for a physical commit to the repository that at least suggestions its a fix before rebooting and upgrading :) On Sat, 7 Oct 2000, Bosko Milekic wrote: > > I've just been hit by one such problem on bootup. This is -current as of > today, so I suspect it's the commits that went in the past two days. > > Basically, I tracked it down just enough to know that the problem is > happening during a call to ahc_print_path() in aic7xxx.c, specifically > for me, this happens during bootup in ahc_handle_scsiint() right after > the second call to ahc_abort_scbs(). > > ahc_print_path() is called like this: > > ahc_print_path(ahc, scb); > > (why both ahc and scb are being passed, I have no idea, since > ahc_print_path only actually makes use of scb). > > For the unaware, ahc_print_path() seems to only wrap a call to > xpt_print_path() to which it passes scb->io_ctx->ccb_h.path as an > argument, and in this case, scb->io_ctx happens to be NULL, so during its > pass, a NULL pointer gets dereferenced and the page fault happens. > > The NULLing out of this is coming somewhere in ahc_handle_scsiint(), > because some prior ahc_print_path()s (with the same arguments) are > succeeding. > > I have not tried backing out the changes from the past two days and > trying again, but this was not happening a week ago. > > So what's going on here? > > On Sat, 7 Oct 2000, Marc G. Fournier wrote: > > > > > okay, have been watching the conversation going on in the committers list, > > and am watching for any new commits that seem appropriate, but figure > > adding a little bit of extra info as I come up with it might help? > > > > latest reboot had a bit more info then the last, and started with: > > > > ahc0:A:1: ahc_intr - referenced scb not valid during seqint 0x73 scb(147) > > ach0: WARNING no command for scb 147 (cmdcmplt) > > QOUTPOS=132 > > > > Marc G. Fournier scrappy@hub.org > > Systems Administrator @ hub.org > > scrappy@{postgresql|isc}.org ICQ#7615664 > > > > Bosko Milekic > bmilekic@technokratis.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > Marc G. Fournier scrappy@hub.org Systems Administrator @ hub.org scrappy@{postgresql|isc}.org ICQ#7615664 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message