From owner-freebsd-current Sun Nov 12 14:56:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id E469537B4CF for ; Sun, 12 Nov 2000 14:56:16 -0800 (PST) Received: by freesbee.wheel.dk (Postfix, from userid 1002) id 2161A3E47; Sun, 12 Nov 2000 23:56:15 +0100 (CET) Date: Sun, 12 Nov 2000 23:56:15 +0100 From: "Niels Chr. Bank-Pedersen" To: "Justin T. Gibbs" Cc: current@FreeBSD.ORG Subject: Re: panic - probably aic7810/398X related Message-ID: <20001112235614.D11660@bank-pedersen.dk> Mail-Followup-To: "Niels Chr. Bank-Pedersen" , "Justin T. Gibbs" , current@FreeBSD.ORG References: <20001112135536.B11660@bank-pedersen.dk> <200011122113.eACLDd439851@aslan.scsiguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200011122113.eACLDd439851@aslan.scsiguy.com>; from gibbs@scsiguy.com on Sun, Nov 12, 2000 at 02:13:39PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 12, 2000 at 02:13:39PM -0700, Justin T. Gibbs wrote: > >Yesterday I decided to upgrade my home server from it's PRE_SMPNG > >state to -current, but now it panics just after detecting the > >aic7810 RAID controller (though unsupported, the box booted happily > >on an PRE_SMPNG kernel). > > My guess is that this patch will fix your problem. Indeed. Thanks. > Justin > > Index: aic7xxx.c > =================================================================== > RCS file: /usr/cvs/src/sys/dev/aic7xxx/aic7xxx.c,v > retrieving revision 1.60 > diff -c -r1.60 aic7xxx.c > *** aic7xxx.c 2000/11/12 05:19:46 1.60 > --- aic7xxx.c 2000/11/12 21:11:43 > *************** > *** 3689,3694 **** > --- 3689,3696 ---- > struct scb_data *scb_data; > > scb_data = ahc->scb_data; > + if (scb_data == NULL) > + return; > > switch (scb_data->init_level) { > default: > > /Niels Chr. -- Niels Christian Bank-Pedersen, NCB1-RIPE. Network Manager, Tele Danmark NET, IP-section. "Hey, are any of you guys out there actually *using* RFC 2549?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message