From owner-freebsd-virtualization@freebsd.org Tue Oct 15 07:51:13 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A42C81567FC for ; Tue, 15 Oct 2019 07:51:13 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (flets-sg1026.kamome.or.jp [202.216.24.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46sng34zShz3Lh2 for ; Tue, 15 Oct 2019 07:51:11 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [202.216.24.26]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id x9F7p803016663; Tue, 15 Oct 2019 16:51:08 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <201910150751.x9F7p803016663@kx.truefc.org> Date: Tue, 15 Oct 2019 16:51:08 +0900 From: KIRIYAMA Kazuhiko To: freebsd-virtualization@freebsd.org Cc: kiri@truefc.org Subject: VM freezed at booting of FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 46sng34zShz3Lh2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 202.216.24.26) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [-0.23 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.48)[-0.484,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.841,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4704, ipnet:202.216.0.0/19, country:JP]; IP_SCORE(-0.00)[country: JP(-0.00)]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2019 07:51:13 -0000 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 metric 0 mtu 1500 options=4e523bb ether 0c:c4:7a:b3:cf:d4 inet xxx.xxx.xx.xx netmask 0xfffffff8 broadcast xxx.xxx.xx.xx media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 igb1: flags=8943 metric 0 mtu 1500 options=4a520b9 ether 0c:c4:7a:b3:cf:d5 inet 192.168.1.17 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 vm-public: flags=8843 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 ifmaxaddr 0 port 1 priority 128 path cost 20000 groups: bridge vm-switch viid-4c918@ nd6 options=1 vm-local: flags=8843 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 ifmaxaddr 0 port 6 priority 128 path cost 2000000 member: igb1 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 20000 groups: bridge vm-switch viid-f5dda@ nd6 options=1 tap0: flags=8943 metric 0 mtu 1500 description: vmnet-tbedfc-0-local options=80000 ether 58:9c:fc:10:ff:df groups: tap vm-port media: Ethernet autoselect status: active nd6 options=29 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