El 13/04/15 a les 11.19, Hannes Mehnert ha escrit: > On 04/12/2015 17:56, Hannes Mehnert wrote: >> I am able to boot FreeBSD dom0 (using r281439) on my Lenovo X220 >> [no serial port :/]. Unfortunately, I cannot see any console >> output while the FreeBSD dom0 kernel is booting, using the >> following xen command line: > >> xen_cmdline="dom0_mem=4096M dom0_max_vcpus=4 dom0pvh=1 >> com1=115200,8n1 guest_loglvl=all loglvl=all console=com1,vga" > > I got it working by putting "-Dh" into /boot.config. > > Now, when running `xl list`, I get: > libxl: error: libxl.c:669:libxl_list_domain: getting domain info list: > Cannot allocate memory > libxl_list_domain failed. > > Relevant output from `xl info`: > total_memory : 8075 > free_memory : 3837 > > The output of `xl dmesg` is attached. > > Xen is installed from ports (4.5), kernel is GENERIC in r281439.
You probably need to increase the amount of allowed wired mappings in the kernel. You can set it to unlimited with the following: # sysctl -w vm.max_wired=-1 Or if you want to make it permanent: # echo 'vm.max_wired=-1' >> /etc/sysctl.conf This is because the Xen tools make extensive use of wired memory in order to interact with the hypervisor. Roger. _______________________________________________ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"