FreeBSD 7 i386, PAE and kernel modules
I've just got a new box with 4GB physical RAM.
I have an existing server running a bunch of jails that I want to migrate over to this new server - this existing server is running FreeBSD 6.2 i386.
As such the new server is also running i386 otherwise I'm going to run into problems running my 32 bit jail binaries on a 64 bit kernel.
Obviously I'm not seeing the full amount of RAM in the new server and won't do until I install a PAE kernel.
However the handbook advises (well actually flat out says not to!) against loading kernel modules into a PAE kernel and indeed the PAE template config file has
Which kindof gives that away. So far so good - unfortunately :
Id Refs Address Size Name
1 8 0xc0400000 97f830 kernel
2 1 0xc0d80000 164e8 geom_mirror.ko
3 1 0xc0d97000 6a2c4 acpi.ko
4 1 0xc6d0b000 22000 linux.ko
I need those modules. acpi is taken care of in the PAE config :
How do I do the other two?
I need geom_mirror (for the root gmirror disk) before the kernel loads - its currently being loaded in /boot/loader.conf.
I also want the linux support.
How can I build them statically into the kernel such that they both work? Is it as simple as a device line in the kernel config? i.e
Also does geom_mirror depend on anything? I'm guessing not as nothing else seems to be loaded but :
# ls /boot/kernel/geom* | wc -l
There are an awful lot of geom modules in my existing kernel compile and some of them sound very generic - like they may be needed all the time (geom_label, geom_bsd for examples)
Any tips from someone whose done this before?
|Thread||Thread Starter||Forum||Replies||Last Post|
|NetBSD New kernel modules in NetBSD-CURRENT (instead LKM)||vermaden||News||0||5th October 2009 05:28 PM|
|Directadmin on FreeBSD 7 Stable i386 issue||Celestemmcknight||FreeBSD Ports and Packages||1||7th June 2009 11:35 PM|
|kernel modules||Mr-Biscuit||FreeBSD General||0||2nd March 2009 05:18 AM|
|FreeBSD 8.0-CURRENT (amd64 & i386) VMware Virtual Appliances Available||glarkin_at_FreeBSD||FreeBSD Installation and Upgrading||1||3rd December 2008 07:49 AM|
|Are certain kernel modules permanent?||davidgurvich||FreeBSD General||3||6th June 2008 06:14 PM|