I
irieKEN
Guest
Hi,
I have consolidated my server closet into a low-power host, and figured that I should share how I got around a few of the glitches I encountered.
Bug #1: pfSense has a kernel panic while installing on the AMD E450-based system, which says
.
Solution: Enter the following load option "hw.mca.enabled=0", the tell it to boot. Repeat manually disabling MCA after installation, then echo
Bug #2: pfSense won't automatically use virtio.
Solution: Append the following lines to /boot/loader.conf:
Then edit /etc/fstab, so that pfSense knows to look for root/swap on /dev/vtbd0s1a and /dev/vtbd0s1b.
Bug #3: If pfSense and Linux guests use virtio for their LAN-facing NICs, routing doesn't work properly.
Solution: Set pfSense' LAN-facing NIC to use the Intel E1000 driver; I am not sure what the cause of the problem is, but but guest OSs that share the same physical adapter on the Proxmox host don't have their traffic routed properly (physical machines on the LAN are fine, though).
Bug #4: NAS4Free has a kernel panic when booting the installer.
Solution: Same as bug #1.
Bug #5: NAS4Free doesn't include virtio drivers.
Solution: Download and install the virtio kmod for FreeBSD
After doing that, you can issue a qm set command on the host to make the physical disk available to the VM: e.g.
Add virtio statements for each physical disk to the the VM config file in /etc/pve/qemu-server/. E.g.
I hope that this saves someone else some time
I have consolidated my server closet into a low-power host, and figured that I should share how I got around a few of the glitches I encountered.
Bug #1: pfSense has a kernel panic while installing on the AMD E450-based system, which says
Code:
"[COLOR=#000000][FONT=monospace]Fatal trap 9: general protection fault while in kernel mode"[/FONT][/COLOR]
Solution: Enter the following load option "hw.mca.enabled=0", the tell it to boot. Repeat manually disabling MCA after installation, then echo
Code:
hw.mca.enabled=0 >> /boot/loader.conf
Bug #2: pfSense won't automatically use virtio.
Solution: Append the following lines to /boot/loader.conf:
Code:
virtio_load="YES"
virtio_pci_load="YES"
virtio_blk_load="YES"
if_vtnet_load="YES"
virtio_balloon_load="YES"
Then edit /etc/fstab, so that pfSense knows to look for root/swap on /dev/vtbd0s1a and /dev/vtbd0s1b.
Bug #3: If pfSense and Linux guests use virtio for their LAN-facing NICs, routing doesn't work properly.
Solution: Set pfSense' LAN-facing NIC to use the Intel E1000 driver; I am not sure what the cause of the problem is, but but guest OSs that share the same physical adapter on the Proxmox host don't have their traffic routed properly (physical machines on the LAN are fine, though).
Bug #4: NAS4Free has a kernel panic when booting the installer.
Solution: Same as bug #1.
Bug #5: NAS4Free doesn't include virtio drivers.
Solution: Download and install the virtio kmod for FreeBSD
Code:
# setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/
or # setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/
# pkg_add -r virtio-kmod-9.1
## Add to /boot/loader.conf
virtio_load="YES"
virtio_pci_load="YES"
virtio_blk_load="YES"
if_vtnet_load="YES"
virtio_balloon_load="YES"
## If wanted, update /etc/fstab to use the virtio drive before shutting down.
After doing that, you can issue a qm set command on the host to make the physical disk available to the VM: e.g.
Code:
qm set 110 --virtio1 /dev/disk/by-path/pci-0000\:00\:1f.2-scsi-2\:0\:0\:0
Code:
virtio5: /dev/disk/by-path/pci-0000:00:11.0-scsi-5:0:0:0,backup=no,size=2930266584K
I hope that this saves someone else some time
Last edited by a moderator: