From owner-freebsd-current@FreeBSD.ORG Tue Sep 20 19:41:08 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 D732D16A420 for ; Tue, 20 Sep 2005 19:41:08 +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 C06FF43D69 for ; Tue, 20 Sep 2005 19:41:04 +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 j8KJf3wx022281 for ; Tue, 20 Sep 2005 21:41:03 +0200 (CEST) (envelope-from harry@schmalzbauer.de) Received: from akima.flintsbach.schmalzbauer.de (akima.flintsbach.schmalzbauer.de [172.21.1.213]) by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 83B17627F for ; Tue, 20 Sep 2005 21:41:03 +0200 (CEST) From: Harald Schmalzbauer To: freebsd-current@freebsd.org Content-Type: text/plain Date: Tue, 20 Sep 2005 21:41:02 +0200 Message-Id: <1127245262.32486.1.camel@akima.flintsbach.schmalzbauer.de> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 21 Sep 2005 11:32:40 +0000 Subject: 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: Tue, 20 Sep 2005 19:41:09 -0000 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 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x30: leave db> trace Tracing pid 0 tid 0 td 0xc07f7d00 kdb_enter(c078c4f3,c07fa340,c0790329,c1020c54,100) at kdb_enter+0x30 panic(c0790329,c0baf6a6,c078fca9,519,c1e646c0) at panic+0xd5 enroll(c0baf6a6,c07cc9cc,c078fca9,22d,c1e646c0) at enroll+0x13a witness_init(c1e646c0,24,c0b839c5,30,c1e65800) at witness_init+0x17a mtx_init(c1e646c0,c0baf6a6,0,5,c1e646c0) at mtx_init+0xe4 os_alloc_sema(c1dcb2e8,c1dcb000,c1020cec,c099993b,c0c994e8) at os_alloc_sema+0x4a _nv001647rm(c1dcb2e8,4,0,c1020d24,c1dfdc80) at _nv001647rm+0xe _nv007848rm(c0baf81f,c1dfdc80,c1020d28,c0b85d69,0) at _nv007848rm+0x6b rm_init_rm(0,c1020d48,c05b8ba6,c1d83d80,0) at rm_init_rm+0x11 nvidia_modevent(c1d83d80,0,0,c1d83d80,c0c994fc) at nvidia_modevent+0x19 driver_module_handler(c1d83d80,0,c0c994e8,c04d17cb,c07f1ba0) at driver_module_handler+0x76 module_register_init(c0c994fc,101e000,101ec00,101e000,0) at module_register_init+0x81 mi_startup() at mi_startup+0xb5 begin() at begin+0x2c db>