Date: Tue, 15 Oct 2019 16:51:08 +0900 From: KIRIYAMA Kazuhiko <kiri@truefc.org> To: freebsd-virtualization@freebsd.org Cc: kiri@truefc.org Subject: VM freezed at booting of FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img Message-ID: <201910150751.x9F7p803016663@kx.truefc.org>
next in thread | raw e-mail | index | archive | help
Hi, all I'm managing bhyve vm by vm-bhyve-devel (1.3-devel) port which I've made by github head [1]. When create 13.0-CURRENT vm with FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img as follows: vm create -s 16GB -t tmpfile.gpWbtMxa tbedfc vm install -f tbedfc FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img < /dev/null where /vm/.templates/tmpfile.gpWbtMxa is loader="bhyveload" cpu=2 memory=8GB network0_type="virtio-net" network0_switch=local disk0_type="virtio-blk" disk0_name="disk0.img" storage=16GB But in install to image, boot freezed at: | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` s` `.....---.......--.``` -/ +============Welcome to FreeBSD===========+ +o .--` /y:` +. | | yo`:. :o `+- | 1. Boot Multi User [Enter] | y/ -/` -o/ | 2. Boot [S]ingle User | .- ::/sy+:. | 3. [Esc]ape to loader prompt | / `-- / | 4. Reboot | `: :` | | `: :` | Options: | / / | 5. [K]ernel: kernel (1 of 2) | .- -. | 6. Configure Boot [O]ptions... | -- -. | | `:` `:` | | .-- `--. | | .---.....----. +=========================================+ /boot/kernel/kernel text=0x153f9c0 data=0xe0 data=0x8007c0 syms=[0x8+0x1722d8+0x8+0x190cb2] Booting... - Using same image, I installed my note PC successfully. In above state, root@vm:~ # cat /vm/tbedfc/tbedfc.conf loader="bhyveload" cpu=2 memory=8GB network0_type="virtio-net" network0_switch=local disk0_type="virtio-blk" disk0_name="disk0.img" storage=16GB uuid="90a693df-ef1e-11e9-847a-0cc47ab3cfd4" network0_mac="58:9c:fc:0b:65:c9" root@vm:~ # cat /vm/tbedfc/vm-bhyve.log Oct 15 16:36:56: initialising Oct 15 16:36:56: [loader: bhyveload] Oct 15 16:36:56: [cpu: 2] Oct 15 16:36:56: [memory: 8GB] Oct 15 16:36:56: [hostbridge: standard] Oct 15 16:36:56: [com ports: com1] Oct 15 16:36:56: [uuid: 90a693df-ef1e-11e9-847a-0cc47ab3cfd4] Oct 15 16:36:56: [utctime: yes] Oct 15 16:36:56: [debug mode: no] Oct 15 16:36:56: [primary disk: disk0.img] Oct 15 16:36:56: [primary disk dev: file] Oct 15 16:36:56: generated static mac 58:9c:fc:0b:65:c9 (based on 'tbedfc:0:1571125016:0') Oct 15 16:36:56: initialising network device tap0 Oct 15 16:36:56: adding tap0 -> vm-local (local addm) Oct 15 16:36:56: bring up tap0 -> vm-local (local addm) Oct 15 16:36:56: booting Oct 15 16:36:56: bhyveload -m 8GB -e autoboot_delay=3 -d /vm/.iso/FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img tbedfc Oct 15 16:37:00: [bhyve options: -c 2 -m 8GB -AHP -U 90a693df-ef1e-11e9-847a-0cc47ab3cfd4 -u] Oct 15 16:37:00: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/vm/tbedfc/disk0.img -s 5:0,virtio-net,tap0,mac=58:9c:fc:0b:65:c9] Oct 15 16:37:00: [bhyve console: -l com1,stdio] Oct 15 16:37:00: [bhyve iso device: -s 3:0,ahci-hd,/vm/.iso/FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img] Oct 15 16:37:00: starting bhyve (run 1) root@vm:~ # uname -a FreeBSD vm.truefc.org 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353025: Thu Oct 3 19:38:47 JST 2019 admin@vm.truefc.org:/ds/obj/current/13.0/r353025/ds/src/current/13.0/r353025/amd64.amd64/sys/GENERIC amd64 root@vm:~ # ifconfig igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4e523bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> ether 0c:c4:7a:b3:cf:d4 inet xxx.xxx.xx.xx netmask 0xfffffff8 broadcast xxx.xxx.xx.xx media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> igb1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4a520b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,NOMAP> ether 0c:c4:7a:b3:cf:d5 inet 192.168.1.17 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vm-public: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether c6:ed:62:0a:b0:4e id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 groups: bridge vm-switch viid-4c918@ nd6 options=1<PERFORMNUD> vm-local: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 8a:d0:25:7d:f7:51 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 6 priority 128 path cost 2000000 member: igb1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 2 priority 128 path cost 20000 groups: bridge vm-switch viid-f5dda@ nd6 options=1<PERFORMNUD> tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: vmnet-tbedfc-0-local options=80000<LINKSTATE> ether 58:9c:fc:10:ff:df groups: tap vm-port media: Ethernet autoselect status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> Opened by PID 85496 root@vm:~ # Whats' wrong ? BTW 12.1-PRERELEASE(r352368) and 12.0-RELEASE-p10(r352368) are nothing happened. [1] https://github.com/TrueFC/ports/tree/master/sysutils/vm-bhyve-devel --- KIRIYAMA Kazuhiko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910150751.x9F7p803016663>