Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2013 10:29:04 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        kron <kron24@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: reproducible "panic: page fault" with clang-compiled nvidia-driver
Message-ID:  <20130305182904.GI13861@albert.catwhisker.org>
In-Reply-To: <51363303.5080300@gmail.com>
References:  <51363303.5080300@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--NyChO5MpGs3JHJbz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 05, 2013 at 07:01:39PM +0100, kron wrote:
> Hello,
>=20
> I have 100% reproducible "page fault" kernel panics on 9-STABLE
> (FreeBSD 9.1-STABLE #0 r247842M)
>=20
> It needs two conditions together:
> 1. nvidia-driver built by clang
> 2. nvidia_load=3D"YES" in loader.conf

Hmmm...  I don't see a problem; I am running:

FreeBSD g1-235.catwhisker.org 9.1-STABLE FreeBSD 9.1-STABLE #393  r247828M/=
247839: Tue Mar  5 05:11:27 PST 2013     root@g1-235.catwhisker.org:/usr/ob=
j/usr/src/sys/CANARY  i386

using nvidia-driver built by clang -- e..g:

=2E..
=3D=3D=3D>  Building for nvidia-driver-310.32
=3D=3D=3D> src (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
x86 -> /usr/src/sys/x86/include
=2E..
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"310.32\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/alt=
q -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig=
n -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -W=
no-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses=
-equality -c nvidia_ctl.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"310.32\" -D__K=
ERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DN=
DEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/alt=
q -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestan=
ding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prote=
ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissin=
g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig=
n -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -W=
no-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses=
-equality -c nvidia_dev.c
=2E...


Referring to <http://docs.freebsd.org/mail/current/svn-src-stable-9.html>,
the most recent commits to stable/9 (in most-recent-first sequence) are:

* r247850 - stable/9/sys/dev/mxge
* r247846 - stable/9/libexec/rtld-elf
* r247828 - in stable: 8/sys/dev/mfi 9/sys
* r247827 - in stable: 8/share/man/man4 8/
* r247803 - stable/9/sbin/devd
* r247802 - stable/9/sbin/devd

so I believe that your sources @r247842M should be equivalent to mine
@r247828M.

(The cause for the "M" flag in my case is the change I made locally to
src/sys/conf/newvers.sh to report the SVN revision a bit differently.)

Note that I'm running i386; that may be a difference.

> ...

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--NyChO5MpGs3JHJbz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlE2OW8ACgkQmprOCmdXAD3kCgCbBw0Wlnja838U/aorB50BLkWd
EkEAn0on/1n7rnEDd1NomTm7LXTORT70
=Kh9J
-----END PGP SIGNATURE-----

--NyChO5MpGs3JHJbz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130305182904.GI13861>