From owner-freebsd-current@FreeBSD.ORG Fri Jul 2 09:46:52 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 103BB1065674 for ; Fri, 2 Jul 2010 09:46:52 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 906578FC14 for ; Fri, 2 Jul 2010 09:46:51 +0000 (UTC) Received: by fxm13 with SMTP id 13so2328865fxm.13 for ; Fri, 02 Jul 2010 02:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=KwzYe10Z2dNevWG4yhbIkGg6m3FXBjThl/qZNbEtv0Q=; b=Ec9V1p8z6Ij0U1Cky92+G2sX6fyT06WqcbcYn+5gRV06uX8mETd4SP570hdqo4fZjT qp8HRZxLBOj7h03IXDa4yEyqV/lLoi7nryNhaRiqsa1Rg6/kQOzUsym6L66ozco1eDaf H7uGu3Ugxnaw69SAhEvgVpECaMFPBLVay1FzM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; b=joKmr1Ea4AGCYgBWxsshq/+7bHkwQNcVtpD56kN8c4WDPLnKKqdJRtqa4QISeaRpeM tI2eJdMtr/zGgkLI0AXaAIlNfblHjK8bPVfqv+oVXPXTbV8BP70tlMZZ3w08vDZ5fdMp S1wbW356nU2opjpJVyRETplwWjvSiWJnz4aho= Received: by 10.223.117.65 with SMTP id p1mr448327faq.76.1278064004164; Fri, 02 Jul 2010 02:46:44 -0700 (PDT) Received: from dragon.dg (41-132-24-150.dsl.mweb.co.za [41.132.24.150]) by mx.google.com with ESMTPS id 11sm443843fas.0.2010.07.02.02.46.40 (version=SSLv3 cipher=RC4-MD5); Fri, 02 Jul 2010 02:46:42 -0700 (PDT) From: David Naylor Organization: Private To: freebsd-current@freebsd.org Date: Fri, 2 Jul 2010 11:46:41 +0200 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.3; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12174688.f9eNZ8mFDd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201007021146.46542.naylor.b.david@gmail.com> Subject: nvidia-driver crashing kernel on head 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: Fri, 02 Jul 2010 09:46:52 -0000 --nextPart12174688.f9eNZ8mFDd Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm not sure this has been reported before but I am experience crashes with= =20 nvidia-driver on -current (cvsup ~day ago). =20 If I remove all the debugging options from the kernel config then it is ver= y=20 usable. =20 Here are the backtraces from two nvidia-driver versions: nvidia-driver-195.36.15 and GENERIC: panic: mutex page lock not owned at /home/freebsd9/src/sys/vm/vm_page.c:1638 cpuid =3D 1 KDB: enter: panic [ thread pid 1815 tid 100097 ] Stopped at kdb_enter+0x3d: movq $0,0x6bc27c(%rip) db> bt Tracing pid 1815 tid 100097 td 0xffffff00045af000 kdb_enter() at kdb_enter+0x3d panic() at panic+0x176 assert_mtx() at assert_mtx vm_page_wire() at vm_page_wire+0x37 nv_alloc_system_pages() at nv_alloc_system_pages+0x217 nv_alloc_pages() at nv_alloc_pages+0xcd _nv019978rm() at _nv019978rm+0x7f nvidia-driver-256.35 and custom kernel: panic: blockable sleep lock (sleep mutex) select mtxpool @=20 /home/freebsd9/src/sys/kern/sys_generic.c:1479 cpuid =3D 1 KDB: enter: panic [ thread pid 1830 tid 100090 ] Stopped at kdb_enter+0x3d: movq $0,0x51368c(%rip) db> bt Tracing pid 1830 tid 100090 td 0xffffff000456d3d0 kdb_enter() at kdb_enter+0x3d panic() at panic+0x176 witness_checkorder() at witness_checkorder+0x913 _mtx_lock_flags() at _mtx_lock_flags+0x68 selrecord() at selrecord+0x71 nvidia_dev_poll() at nvidia_dev_poll+0x52 devfs_poll_f() at devfs_poll_f+0x55 kern_select() at kern_select+0x501 select() at select+0x54 syscallenter() at syscallenter+0x19b syscall() at syscall+0x41 Xfast_syscall() at Xfast_syscall+0xe2 =2D-- syscall (93, FreeBSD ELF64, select), rip =3D 0x801a17ddc, rsp =3D 0x7= fffffffe908,=20 rbp =3D 0x100 --- Also of note is: # grep '^C.*FLAGS' /etc/make.conf CFLAGS+=3D -DNDEBUG As mentioned that without any debugging options the system is stable. =20 Is there anything I can do to assist diagnosis? Regards, David --nextPart12174688.f9eNZ8mFDd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEABECAAYFAkwttYYACgkQUaaFgP9pFrJrgwCghDpcP7BhtFOWP5bADA2hZeYG NeQAniAtvUqqwHJl2TiU4iZ6db0aTFiH =shQC -----END PGP SIGNATURE----- --nextPart12174688.f9eNZ8mFDd--