View Single Post
  #4   (View Single Post)  
Old 19th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You should be able to escape to the loader prompt and load/unload modules.

The press 1 for default boot, 2 acpi disabled, blah blah is just /boot/loader. Get to a prompt and try to ask for 'help' and it'll probably give a list of pre-defined commands.


I'd guess load modulename would probably work but don't quote me, never had to screw with it that much (yet).


If you have to load a module _after_ control has been passed from onto the kernel (the boot messages which later end up logged and displayed via 'dmesg' are basically showing the kernels message buffer I believe; more experienced people here can surely correct any errors in my thinking). The best way is probably to do it during the resource configuration, assuming the nVidia LKM can be loaded after the system is alive.

I'd probably put an

Code:
if [ -e /boot/kernel/nvidia_module_name.ko ]; then
        kldload nvidia_module_name
fi
in /etc/rc.local and see what happens.


(disclaimer: I'm not a rocket scientist when it comes to this side of FreeBSD)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote