R
ranyardm
Guest
I want to run pfSense (a FreeBSD-based firewall) on my proxmox-ve server but half-way through boot it fails and shuts down.
After a fair few hours, I figured out that it was the usb tablet/usb host adapters that are causing this crash, and modifying the QemuServer.pm didn't seem to make any difference to the commandline being called.
I ended up wrapping the kvm binary (by renaming it kvm.real and calling the script kvm - don't forget to chmod +x it) in a script calling sed to remove the options - the content is as follows :
--
Martyn
After a fair few hours, I figured out that it was the usb tablet/usb host adapters that are causing this crash, and modifying the QemuServer.pm didn't seem to make any difference to the commandline being called.
I ended up wrapping the kvm binary (by renaming it kvm.real and calling the script kvm - don't forget to chmod +x it) in a script calling sed to remove the options - the content is as follows :
Code:
#!/bin/bash
/usr/bin/kvm -id 100 -chardev socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait -mon chardev=monitor,mode=readline -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -readconfig /usr/share/qemu-server/pve-usb.cfg -device usb-tablet,bus=ehci.0,port=6 -name pfSensenew -smp sockets=1,cores=1 -cpu qemu32 -nodefaults -boot menu=on,order=cdn -vga cirrus -tdf -no-kvm -k en-us -drive file=/var/lib/vz/template/iso/pfSense-2.0-RELEASE-i386.iso,if=none,id=drive-ide2,media=cdrom,aio=native -device ide-drive,bus=ide.1,unit=0,drive=drive-ide2,id=device-ide2 -drive file=/var/lib/vz/images/100/vm-100-disk-1.vmdk,if=none,id=drive-ide0,aio=native,boot=on -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0,id=device-ide0 -m 512 -netdev type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge -device rtl8139,romfile=,mac=1E:7C:85:84:16:3F,netdev=net0 -cpuunits 1000
--
Martyn