Re: nvidia kld panic with debug kernel

From: Emanuel Strobl <Emanuel.strobl_at_gmx.net>
Date: Sat, 24 Sep 2005 02:51:38 +0200
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: <D815EA EA81510A>
> > ioapic0: Changing APIC ID to 1
> > ioapic0 <Version 2.0> 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
> ===================================================================
> 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
> _at__at_ -363,6 +363,7 _at__at_
>  #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 a lot, now I have my usual kernel but with debuging stuff enabled 
_and_ the nvidia driver, atached the dmesg.

No I see again the LOR #073 and #075, but that's another story I think.

The patch eliminated my nvidia-panic and like you stated it won't affect 
any other things, so I just can vote for including it :)

Thanks a lot,

-Harry


Received on Fri Sep 23 2005 - 22:52:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC