From owner-freebsd-stable@FreeBSD.ORG Wed Jan 23 11:26:27 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A709E16A418; Wed, 23 Jan 2008 11:26:27 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from anduin.net (anduin.net [213.225.74.230]) by mx1.freebsd.org (Postfix) with ESMTP id 2923E13C44B; Wed, 23 Jan 2008 11:26:26 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from anduin.net ([10.1.6.18] helo=localhost ident=ltning) by anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JHdkO-000PDT-44; Wed, 23 Jan 2008 12:26:24 +0100 Message-Id: <78E374DA-4840-475A-BBF4-F6B79E1C9499@anduin.net> From: =?ISO-8859-1?Q?Eirik_=D8verby?= To: Scott Long In-Reply-To: <4796DF89.20507@samsco.org> Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 23 Jan 2008 12:26:24 +0100 References: <47947299.5000902@anduin.net> <02783148-323B-435C-9FAF-6DADAA0C526D@anduin.net> <20080122182306.GA42286@alchemy.franken.de> <7E2FDA21-4026-4610-B5BC-BE4CB81AD0A1@anduin.net> <4796DF89.20507@samsco.org> X-Mailer: Apple Mail (2.915) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: scottl@freebsd.org, Anders Gulden Olstad , freebsd-sparc64@freebsd.org, freebsd-stable@freebsd.org, Marius Strobl Subject: Re: 7.0 RC1/SPARC64 panic in boot [SOLVED] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 11:26:27 -0000 On Jan 23, 2008, at 7:32 AM, Scott Long wrote: > Eirik =D8verby wrote: >> On Jan 22, 2008, at 7:23 PM, Marius Strobl wrote: >>> On Tue, Jan 22, 2008 at 07:16:16AM +0100, Eirik verby wrote: >>>> Hi list, >>>> >>>> by disabling the isp driver (set hint.isp.o.disabled=3D1), the =20 >>>> system comes up. This of course denies us access to the external =20= >>>> disk array hosted by the internal QLogic controller, but =20 >>>> pinpoints the problem. >>>> >>>> We tried setting hint.isp.0.prefer_iomap=3D1, which made no =20 >>>> difference (though by reading the code, I don't see that it ever =20= >>>> used this). >>>> >>>> Can anyone help us out here? >>> >>> Scott, could this be due to a missing MFC of isp_sbus.c rev. 1.36? >> If that would be the case I'd be most happy to hear that. I'll also =20= >> be more than happy to test, and can do so on relatively short =20 >> notice (at least for another few hours). >> We have, for the record, gone through some basic troubleshooting: =20 >> Replaced memory (as this error also can show up under Solaris and =20 >> is usually an indicator of bad memory), replaced SCSI controller =20 >> with another one (still isp driven), and testing various device =20 >> hints - suffice to say we have wasted our time so far ;) > > Are you able to compile a new kernel without having to install first? > if so, apply the attached patch and let me know if it works. Works very well, thanks a bunch! Will this make it into 7-RELEASE? /Eirik > > > Scott > Index: isp_sbus.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /usr1/ncvs/src/sys/dev/isp/isp_sbus.c,v > retrieving revision 1.35 > retrieving revision 1.36 > diff -u -r1.35 -r1.36 > --- isp_sbus.c 11 May 2007 13:47:28 -0000 1.35 > +++ isp_sbus.c 5 Nov 2007 11:22:18 -0000 1.36 > @@ -29,7 +29,7 @@ > */ > > #include > -__FBSDID("$FreeBSD: src/sys/dev/isp/isp_sbus.c,v 1.35 2007/05/11 =20 > 13:47:28 mjacob Exp $"); > +__FBSDID("$FreeBSD: src/sys/dev/isp/isp_sbus.c,v 1.36 2007/11/05 =20 > 11:22:18 scottl Exp $"); > > #include > #include > @@ -327,21 +327,26 @@ > /* > * Make sure we're in reset state. > */ > + ISP_LOCK(isp); > isp_reset(isp); > if (isp->isp_state !=3D ISP_RESETSTATE) { > isp_uninit(isp); > + ISP_UNLOCK(isp); > goto bad; > } > isp_init(isp); > if (isp->isp_role !=3D ISP_ROLE_NONE && isp->isp_state !=3D =20 > ISP_INITSTATE) { > isp_uninit(isp); > + ISP_UNLOCK(isp); > goto bad; > } > isp_attach(isp); > if (isp->isp_role !=3D ISP_ROLE_NONE && isp->isp_state !=3D =20 > ISP_RUNSTATE) { > isp_uninit(isp); > + ISP_UNLOCK(isp); > goto bad; > } > + ISP_UNLOCK(isp); > return (0); > > bad: > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to = "freebsd-sparc64-unsubscribe@freebsd.org=20 > "