Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2014 07:45:09 +0100
From:      Jamie Griffin <griffin8j@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Loading kernel modules on startup
Message-ID:  <540172F5.4020707@gmail.com>

next in thread | raw e-mail | index | archive | help
I'm just wondering about the correct way to load kernel modules; namely, 
specifying them in /boot/loader.conf or /etc/rc.conf. For example;

loading linux emulation layer, kld_list can be specified in rc.conf(5) 
using linsysfs, linprocfs & linux. Also, linux_enable can be used. 
What's the difference?

Then, there is kld_list=kldi915 for the vt console driver, and also 
kern.vty=vt and hw.vga.textmode=1 in loader.conf for the same module. 
Incidentally, the vt driver did not work properly for me when I used the 
latter in loader.conf and I had to use the kld_list line in rc.conf(5).

What is the 'right' method for kernel module loading and is it just 
easier to compile them into the kernel going forward?



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