Linux on BHyVe in 10.0-RELEASE

Markiyan Kushnir markiyan.kushnir at gmail.com
Sun Jan 26 14:01:31 UTC 2014


also check out these sysctls:

net.link.tap.user_open: 0 -> 1
net.link.tap.up_on_open: 0 -> 1

2014-01-26 Markiyan Kushnir <markiyan.kushnir at gmail.com>:
> the host built out of revision:
>
> 15:45:test-bhyve# uname -a
> FreeBSD mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0
> r260573: Mon Jan 13 08:05:15 UTC 2014
> root at vm0.mkushnir.mooo.com:/work/obj/work/src.svnup/sys/MAREK  amd64
>
>
> 2014-01-26 Markiyan Kushnir <markiyan.kushnir at gmail.com>:
>> hmm...
>>
>> 15:45:test-bhyve# md5 ubuntu-12.04.3-server-amd64.iso
>> MD5 (ubuntu-12.04.3-server-amd64.iso) = 2cbe868812a871242cdcdd8f2fd6feb9
>>
>>
>>
>> 2014-01-26 Aryeh Friedman <aryeh.friedman at gmail.com>:
>>> # ls
>>> ubuntu.iso
>>> # kldstat
>>> Id Refs Address            Size     Name
>>>  1    7 0xffffffff80200000 16167b0  kernel
>>>  2    1 0xffffffff81a12000 2a44     uhid.ko
>>>  3    1 0xffffffff81a15000 34d3     ums.ko
>>> # kldload vmm
>>> # kldload if_tap
>>> # kldload bridgestp
>>> # kldload if_bridge
>>> # ifconfig tap0 create
>>> # ifconfig bridge0 create
>>> # ifconfig bridge0 up
>>> # ifconfig bridge0 addm tap0 addm re0
>>> # mkdir ubuntu
>>> # mv ubuntu.iso ubuntu
>>> # cat - << EOF > ubuntu/device.map
>>> ? (hd0) ./ubuntu/ubuntu.img
>>> ? (cd0) ./ubuntu/ubuntu.iso
>>> ? EOF
>>> # more ubuntu/device.map
>>> (hd0) ./ubuntu/ubuntu.img
>>> (cd0) ./ubuntu/ubuntu.iso
>>> # truncate -s 8G ubuntu/ubuntu.img
>>> # grub-bhyve -r cd0 -m ./ubuntu/device.map -M 2048 ubuntu
>>>
>>>  :
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> uninitializing+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=
>>> ====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====
>>> ==+====+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+
>>> =+==+=+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+===
>>> ===+====+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=
>>> ==+===+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
>>> =====+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=
>>> ==+=+==+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+==
>>> =+====+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===
>>> ===+=+===+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+
>>> ==+====+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+==
>>> =====+===+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
>>> ==+=+==+===+====+===+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=
>>> =+====+==+====+===+===+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====
>>> ===+=+==+==+=+==+==+====+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+=
>>> ==+====+====+==+==+==+=+===+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+
>>> =====+====+======+==+====+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+==
>>> ==+=+==+=+==+=+=+=====+=+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
>>> =+====+====+===+==+=+=====+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=
>>> ===+=+==+=+==+=======+=+=+==+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====
>>> ==+====+====+==+=+=+=======+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+
>>> =====+===+=+======+==+=+=+====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+===
>>> ==+=+==+======+=+===+======+=+==+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=
>>> =+====+==+=+=+===+====+=+=+====+====+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
>>> ===+=+==+======+===+=+======+=+===+==+===+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=
>>> ==+====+===+=+===+==+==+=+=+====+==+===+===+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+==
>>> =====+====+====+===+=========+=+=====+==+====+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+
>>> ==+=+==+=+==+====+===+=+=+=+=====+=+==+===+=+===+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+===
>>> =+====+====+==+=+==+==+===+==+=+=====+==+=====+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=
>>> ===+=+==+=+====+==+==+==+===+=====+=+=====+=+==+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+===+=+==
>>> ==+====+====+=+=====+=====+===+=+==+==+=+====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+=====+
>>> =====+===+=+=====+=+==+=+==+=====+=======+=+===+=+==+=+=+==+=+==+=+=+==+=+==+=+=+==+=+==+=+=+==+=+==+=+=+==+=+==+=+=+==+=+==+=+=+==+=+==
>>> ==+=+==+======+===+======+===+=+===+=+=+=====+==+==+======+===+====+==+===+====+==+===+====+==+===+====+==+===+====+==+===+====+==+===+=
>>> =+====+==+=+====+===+=+=+==+====+=+===+==+=+===+==+==+=+=+==+===+=+=====+===+=+=====+===+=+=====+===+=+=====+===+=+=====+===+=+=====+===
>>> ===+=+==+====+=+==+====+=====+=+====+===+====+===+======+=====+======+=+==+======+=+==+======+=+==+======+=+==+======+=+==+======+=+==+=
>>> ==+====+===+==+==+==+=+==+=+=====+====+===+=+==+====+=+===+=+==+=+=+==+==+==+=+=+====+==+=+=+====+==+=+=+====+==+=+=+====+==+=+=+====+==
>>> =====+====+==+=====+====+===+=+=+==+=+==+=====+==+=+===+=====+====+==+=====+===+==+=+==+===+==+=+==+===+==+=+==+===+==+=+==+===+==+=+==+
>>> ==+=+==+=+======+=+==+=+===+======+====+==+=+========+===+=+===+=+=====+=+===+========+===+=======+===+=======+===+=======+===+=======+=
>>> =+====+====+=+=+====+====+====+=+====+===+====+=+=+=+==+==+==+======+=+===+=+==+=+=+=+===+==+=+=+====+==+=+=+====+==+=+=+====+==+=+=+===
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Segmentation fault (core dumped)
>>>
>>>
>>>
>>>
>>> --
>>> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-virtualization mailing list