O. Hartmann
2012-Jan-03 10:15 UTC
x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG built), equipted with a nVidia GT760Ti graphics board, loading the nvidia module via /boot/loader.conf results in a page fault with random error messages before rebooting. Booting the box without the nvidia.ko module loaded in he preboot phase, results in a stable system. I can then load the module via kldload and the system jumps then into X11-screen as usual. I recompile x11/nvidia-driver on a regular basis when recompiling the kernel, so the module is always up to date and en par with the kernel sources. The problem occurs idendependently of having kernel module drm.ko loaded or not. I also tried falling back to the older nvidia driver 285.05.09 (I use at the moment successfully 290.10). Before issuing a PR and doing a full debug reconfiguration of my box, I'd like to ask whether this is a commong, well known problem since with FreeBSD 9.0, I'd like to stay with STABLE rather than with RELEASE. Regards, Oliver -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 292 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120103/36cf6a3f/signature.pgp
Christian Gusenbauer
2012-Jan-03 12:35 UTC
x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
Hi Oliver! I'm using stable/9 and amd64 setup, too, but I do not experience such page faults as you do. I've an older GeForce 7600 GT card and I'm using driver 285.05.09 - neither OS nor driver built with clang. Perhaps it's a clang issue? Ciao, Christian. On Tuesday 03 January 2012 11:15:20 O. Hartmann wrote:> On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG > built), equipted with a nVidia GT760Ti graphics board, loading the > nvidia module via /boot/loader.conf results in a page fault with random > error messages before rebooting. > > Booting the box without the nvidia.ko module loaded in he preboot phase, > results in a stable system. I can then load the module via kldload and > the system jumps then into X11-screen as usual. > > I recompile x11/nvidia-driver on a regular basis when recompiling the > kernel, so the module is always up to date and en par with the kernel > sources. > > The problem occurs idendependently of having kernel module drm.ko loaded > or not. I also tried falling back to the older nvidia driver 285.05.09 > (I use at the moment successfully 290.10). > > Before issuing a PR and doing a full debug reconfiguration of my box, > I'd like to ask whether this is a commong, well known problem since with > FreeBSD 9.0, I'd like to stay with STABLE rather than with RELEASE. > > Regards, > Oliver
Volodymyr Kostyrko
2012-Jan-03 12:50 UTC
x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
03.01.2012 12:15, O. Hartmann wrote:> On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG > built), equipted with a nVidia GT760Ti graphics board, loading the > nvidia module via /boot/loader.conf results in a page fault with random > error messages before rebooting.9-STABLE, amd64, clang world and ports, GeForce 8500 GT - works like a charm for me. -- Sphinx of black quartz judge my vow.
Denise H. G.
2012-Jan-04 07:44 UTC
x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
On 2012/01/03 at 18:15, "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> wrote:> > On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG > built), equipted with a nVidia GT760Ti graphics board, loading the > nvidia module via /boot/loader.conf results in a page fault with random > error messages before rebooting. > > Booting the box without the nvidia.ko module loaded in he preboot phase, > results in a stable system. I can then load the module via kldload and > the system jumps then into X11-screen as usual. > > I recompile x11/nvidia-driver on a regular basis when recompiling the > kernel, so the module is always up to date and en par with the kernel > sources. > > The problem occurs idendependently of having kernel module drm.ko loaded > or not. I also tried falling back to the older nvidia driver 285.05.09 > (I use at the moment successfully 290.10). > > Before issuing a PR and doing a full debug reconfiguration of my box, > I'd like to ask whether this is a commong, well known problem since with > FreeBSD 9.0, I'd like to stay with STABLE rather than with RELEASE.No. But build your x11/nvidia-driver with no more than -O. Better with gcc (clang may be OK, but I'm not sure). Furthermore, if you use x11/nvidia-driver, you have no need to load drm.ko, which is for, e.g. radeon cards.> > Regards, > Oliver > >-- It is impossible for an optimist to be pleasantly surprised.