Problem: Loading the driver nvidia x11/nvidia-driver (either the recent support version 340.24, or 340.32 or even the recent BETA 343.13) freezes a CURRENT booting off UEFI when the kernel module is loaded via loader.conf. The system in question runs FreeBSD 11.0-CURRENT #2 r271869: Fri Sep 19 13:28:03 CEST 2014 amd, is a Lenovo ThinkPad Edge E540 with the most recent Lenovo UEFI Firmware available as of this date.
The last message to see on vt() screen is what comes shortly before the kernel messages run over the screen when the kernel is booting and states some resoltuion informations.
The problem can be solved by loading the kernel module via /etc/rc.conf[.local] with
I have the same problems with FreeBSD-10.1-RC2 (r272978) and nvidia-driver (version 331.67_1) installed from ports. I can kldload it from console but it frezes system if I trying to load it from /boot/loader.conf
nVidia GeForce GTX 760
I also have the issue, but it goes much deeper than just NVIdia. It affects any 3rd party module you may try to load from /boot/loader.conf.
It appears that the loader is ignoring the configured module_path in the /boot/defaults/loader.conf file which includes /boot/modules as a legit search path for other modules.....Loader is ignoring this directive and is only looking at /boot/kernel for it's modules. Thus the loader dies and pukes out a CPU register dump on your screen.
The temporary fix is to either load it in the scripts (as mentioned), or copy the module from /boot/modules to /boot/kernel
It the module exists in /boot/kernel.....you can continue to load your modules in the loader.conf file normally.
Sincerely and respectfully,
I am facing the same issue with 10.1 using UEFI.
My workaround is to load the nvidia module later using rc.conf using:
For the record, kld_load="nvidia" did not work for me there.
Fix summary and reassign; the problem affects any 3rd party module loaded from /boot/loader.conf.
On FreeBSD 10.1-RELEASE-p9 amd64 using x11/nvidia-driver version 346.47 with a GeForce GTX 770M and the UEFI bootloader, I experienced what I believe may be the same issue.
With 'nvidia_load="YES"' in /boot/loader.conf, the final lines on the console at boot were:
panic: free: guard 1 fail @ 0x9606a4f0 from /usr/src/lib/libstand/close.c:79
--> Press a key on the console to reboot <--
After pressing a key:
panic: Load failed
I tried the suggested fix of moving the nvidia.ko module as per Comment 3, but that did not work. The workaround of adding 'kld_list="nvidia"' to /etc/rc.conf works fine.
Is this still a problem with 12-ALPHA?