From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 21:28:32 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4138316A41F; Wed, 21 Sep 2005 21:28:32 +0000 (GMT) (envelope-from harry@schmalzbauer.de) Received: from flb.schmalzbauer.de (flb.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FEC43D48; Wed, 21 Sep 2005 21:28:31 +0000 (GMT) (envelope-from harry@schmalzbauer.de) Received: from korso.flintsbach.schmalzbauer.de (korso.flintsbach.schmalzbauer.de [172.21.2.3]) by flb.schmalzbauer.de (8.13.1/8.13.1) with ESMTP id j8LLSUH3041726; Wed, 21 Sep 2005 23:28:30 +0200 (CEST) (envelope-from harry@cale.flintsbach.schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.252]) by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 19B26627F; Wed, 21 Sep 2005 23:28:30 +0200 (CEST) Received: from cale.flintsbach.schmalzbauer.de (localhost [127.0.0.1]) by cale.flintsbach.schmalzbauer.de (8.13.4/8.13.4) with ESMTP id j8LLSQKN020996; Wed, 21 Sep 2005 23:28:27 +0200 (CEST) (envelope-from harry@cale.flintsbach.schmalzbauer.de) Received: from localhost (localhost [[UNIX: localhost]]) by cale.flintsbach.schmalzbauer.de (8.13.4/8.13.4/Submit) id j8LLSQBZ020995; Wed, 21 Sep 2005 23:28:26 +0200 (CEST) (envelope-from harry@cale.flintsbach.schmalzbauer.de) From: Harald Schmalzbauer To: John Baldwin Date: Wed, 21 Sep 2005 23:28:17 +0200 User-Agent: KMail/1.8.1 References: <1127245262.32486.1.camel@akima.flintsbach.schmalzbauer.de> <200509211651.09666.jhb@FreeBSD.org> In-Reply-To: <200509211651.09666.jhb@FreeBSD.org> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1688496.Bb3GvCUFfa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509212328.26394@harrymail> X-Mailman-Approved-At: Thu, 22 Sep 2005 13:11:24 +0000 Cc: freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: nvidia kld panic with debug kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 21:28:32 -0000 --nextPart1688496.Bb3GvCUFfa Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Mittwoch, 21. September 2005 22:51 CEST schrieb John Baldwin: > On Tuesday 20 September 2005 03:41 pm, Harald Schmalzbauer wrote: > > Hello, > > > > I get the following panic when using the nvidia driver with a debug > > kernel, when I disable INVARIANTS and WITNESS everything is working > > fine! > > > > Here's the trace: > > > > ACPI APIC Table: > > ioapic0: Changing APIC ID to 1 > > ioapic0 irqs 0-23 on motherboard > > panic: spin lock rm.mutex_mtx not in order list > > You need to add an entry for "rm.mutex_mtx" to the static spin lock > order list in sys/kern/subr_witness.c. Something like this: > > Index: subr_witness.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: /usr/cvs/src/sys/kern/subr_witness.c,v > retrieving revision 1.201 > diff -u -r1.201 subr_witness.c > --- subr_witness.c 15 Sep 2005 19:07:14 -0000 1.201 > +++ subr_witness.c 21 Sep 2005 20:50:45 -0000 > @@ -363,6 +363,7 @@ > #ifdef SMP > { "ap boot", &lock_class_mtx_spin }, > #endif > + { "rm.mutex_mtx", &lock_class_mtx_spin }, > { "sio", &lock_class_mtx_spin }, > #ifdef __i386__ > { "cy", &lock_class_mtx_spin }, Thanks for your attention! I don't exactly know what this does and why I=20 should add this spinlock exclude, I posted this error because somewhere=20 between early BETA4 and late BETA4 I could run the nvidia driver with=20 debug kernels without this panic. Short before BETA5 this changed back to=20 the panic I've already seen before BETA4, so I posted it here. If it is something harmless it's safe to ignore my post, if it's something= =20 which reflects a bug I hope I could help. Thanks, =2DHarry --nextPart1688496.Bb3GvCUFfa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDMdB6Bylq0S4AzzwRAlBbAJ0c7/C5BIDwnvaxmBVAOdlsbiRl2wCfdFVf XxEIjf80EcxByI/cwyKYazs= =DVtV -----END PGP SIGNATURE----- --nextPart1688496.Bb3GvCUFfa--