On Wed, 16 Oct 2019 07:17:04 +0900, KIRIYAMA Kazuhiko wrote: > > On Tue, 15 Oct 2019 19:35:23 +0900, > KIRIYAMA Kazuhiko wrote: > > > > On Tue, 15 Oct 2019 17:07:05 +0900, > > Simon wrote: > > > > > > > > > > > > Hi ) > > > May be the same problem. > > > I said about this here > > > https://forums.freebsd.org/threads/freebsd-12-0-release-amd64-freeze-boot-from-bhyve-uefi-bhyve_uefi-fd-uefi-gop-screen-goes-blank.69616/ > > > Solution. > > > Try this > > > Select > > > 3 - [Esc]ape to loader prompt > > > set boot_serial="NO" > > > boot > > > > `vm install' doesn't wait boot loader. So above > > manupulation could not work. I've specified it to the > > bhyveload `-e' option like with `-e boot_serial=NO': > > > > root@vm:~ # cat /vm/tbedfc/vm-bhyve.log > > Oct 15 19:27:55: initialising > > Oct 15 19:27:55: [loader: bhyveload] > > Oct 15 19:27:55: [cpu: 2] > > Oct 15 19:27:55: [memory: 8GB] > > Oct 15 19:27:55: [hostbridge: standard] > > Oct 15 19:27:55: [com ports: com1] > > Oct 15 19:27:55: [uuid: 737d1159-ef36-11e9-847a-0cc47ab3cfd4] > > Oct 15 19:27:55: [utctime: yes] > > Oct 15 19:27:55: [debug mode: no] > > Oct 15 19:27:55: [primary disk: disk0.img] > > Oct 15 19:27:55: [primary disk dev: file] > > Oct 15 19:27:55: generated static mac 58:9c:fc:02:46:e2 (based on > > 'tbedfc:0:1571135275:0') > > Oct 15 19:27:55: initialising network device tap0 > > Oct 15 19:27:55: adding tap0 -> vm-local (local addm) > > Oct 15 19:27:55: bring up tap0 -> vm-local (local addm) > > Oct 15 19:27:55: booting > > Oct 15 19:27:55: bhyveload -m 8GB -e autoboot_delay=3 -e boot_serial=NO -d > > /vm/.iso/FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img tbedfc > > Oct 15 19:27:59: [bhyve options: -c 2 -m 8GB -AHP -U > > 737d1159-ef36-11e9-847a-0cc47ab3cfd4 -u] > > Oct 15 19:27:59: [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:02:46:e2] > > Oct 15 19:27:59: [bhyve console: -l com1,stdio] > > Oct 15 19:27:59: [bhyve iso device: -s > > 3:0,ahci-hd,/vm/.iso/FreeBSD-13.0-CURRENT-amd64-20191011-r353427-memstick.img] > > Oct 15 19:27:59: starting bhyve (run 1) > > Oct 15 19:29:54: bhyve exited with status 1 > > Oct 15 19:29:54: destroying network device tap0 > > Oct 15 19:29:55: stopped > > root@vm:~ # > > > > but also freezed ;-( > > I've listed all boot variables at loader prompt: > > > Type '?' for a list of commands, 'help' for more detailed help. > OK show > LINES=24 > ansi_caption[1]=^[1mB^[moot Multi User ^[1m[Enter]^[m > ansi_caption[2]=Boot ^[1mS^[mingle User > ansi_caption[3]=^[1mEsc^[mape to loader prompt > ansi_caption[5]=Kernel: default/kernel (1 of 2) > ansi_caption[5][0]=Kernel: default/kernel (1 of 2) > ansi_caption[5][1]=Kernel: kernel.old (2 of 2) > ansi_caption[6]=Configure Boot ^[1mO^[mptions... > autoboot_delay=NO > beansi_bootfs=^[1mbootfs: ^[m > beansi_current=^[1mActive: ^[m > beansi_page=^[1mP^[mage: > beansi_pageof= of > bemenu_bootfs=bootfs: > bemenu_current=Active: > bemenu_page=[P]age: > bemenu_pageof= of > boot_serial=NO > bootenv_autolist=YES > bootenv_root[2]= > bootenvmenu_command[1]=be_draw_screen 1 goto_menu > bootenvmenu_command[2]=set_bootenv > bootenvmenu_command[3]=set_be_page > beansi_bootfs=^[1mbootfs: ^[m > beansi_current=^[1mActive: ^[m > beansi_page=^[1mP^[mage: > beansi_pageof= of > bemenu_bootfs=bootfs: > bemenu_current=Active: > bemenu_page=[P]age: > bemenu_pageof= of > boot_serial=NO > bootenv_autolist=YES > bootenv_root[2]= > bootenvmenu_command[1]=be_draw_screen 1 goto_menu > bootenvmenu_command[2]=set_bootenv > bootenvmenu_command[3]=set_be_page > bootenvmenu_init=init_bootenv > bootenvmenu_keycode[1]=8 > bootenvmenu_keycode[2]=97 > bootenvmenu_keycode[3]=112 > bootenvmenu_options=4 > bootenvmenu_optionstext=Boot Environments: > bootfile=kernel > console=userboot > currdev=disk0s2a: > efi_max_resolution=1x1 > hint.acpi_throttle.0.disabled=1 > hint.atkbd.0.at=atkbdc > hint.atkbd.0.irq=1 > hint.atkbdc.0.at=isa > hint.atkbdc.0.port=0x060 > hint.atrtc.0.at=isa > hint.atrtc.0.irq=8 > hint.atrtc.0.port=0x70 > hint.attimer.0.at=isa > hint.attimer.0.irq=0 > hint.attimer.0.port=0x40 > hint.fd.0.at=fdc0 > hint.fd.0.drive=0 > efi_max_resolution=1x1 > hint.acpi_throttle.0.disabled=1 > hint.atkbd.0.at=atkbdc > hint.atkbd.0.irq=1 > hint.atkbdc.0.at=isa > hint.atkbdc.0.port=0x060 > hint.atrtc.0.at=isa > hint.atrtc.0.irq=8 > hint.atrtc.0.port=0x70 > hint.attimer.0.at=isa > hint.attimer.0.irq=0 > hint.attimer.0.port=0x40 > hint.fd.0.at=fdc0 > hint.fd.0.drive=0 > hint.fd.1.at=fdc0 > hint.fd.1.drive=1 > hint.fdc.0.at=isa > hint.fdc.0.drq=2 > hint.fdc.0.irq=6 > hint.fdc.0.port=0x3F0 > hint.p4tcc.0.disabled=1 > hint.ppc.0.at=isa > hint.ppc.0.irq=7 > hint.psm.0.at=atkbdc > hint.psm.0.irq=12 > hint.sc.0.at=isa > hint.sc.0.flags=0x100 > hint.uart.0.at=isa > hint.uart.0.flags=0x10 > hint.uart.0.irq=4 > hint.uart.0.port=0x3F8 > hint.uart.1.at=isa > hint.uart.1.irq=3 > hint.uart.1.port=0x2F8 > interpret=OK > kernel=kernel > kernel[0]=kernel > hint.psm.0.at=atkbdc > hint.psm.0.irq=12 > hint.sc.0.at=isa > hint.sc.0.flags=0x100 > hint.uart.0.at=isa > hint.uart.0.flags=0x10 > hint.uart.0.irq=4 > hint.uart.0.port=0x3F8 > hint.uart.1.at=isa > hint.uart.1.irq=3 > hint.uart.1.port=0x2F8 > interpret=OK > kernel=kernel > kernel[0]=kernel > kernel[1]=kernel.old > kernel_options= > kernels_autodetect=NO > loaddev=disk0s2a: > loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local > mainansi_caption[1]=^[1mB^[moot Multi User ^[1m[Enter]^[m > mainansi_caption[2]=Boot ^[1mS^[mingle User > mainansi_caption[3]=^[1mEsc^[mape to loader prompt > mainansi_caption[6]=Configure Boot ^[1mO^[mptions... > mainmenu_caption[1]=Boot Multi User [Enter] > mainmenu_caption[2]=Boot [S]ingle User > mainmenu_caption[3]=[Esc]ape to loader prompt > mainmenu_caption[6]=Configure Boot [O]ptions... > mainmenu_command[1]=boot > mainmenu_command[2]=altboot > mainmenu_command[3]=goto_prompt > mainmenu_command[5]=cycle_kernel > mainmenu_command[6]=2 goto_menu > mainmenu_init[1]=init_boot > mainmenu_init[2]=init_altboot > mainmenu_kernel=5 > mainmenu_keycode[3]=27 > mainmenu_keycode[5]=107 > mainmenu_caption[1]=Boot Multi User [Enter] > mainmenu_caption[2]=Boot [S]ingle User > mainmenu_caption[3]=[Esc]ape to loader prompt > mainmenu_caption[6]=Configure Boot [O]ptions... > mainmenu_command[1]=boot > mainmenu_command[2]=altboot > mainmenu_command[3]=goto_prompt > mainmenu_command[5]=cycle_kernel > mainmenu_command[6]=2 goto_menu > mainmenu_init[1]=init_boot > mainmenu_init[2]=init_altboot > mainmenu_kernel=5 > mainmenu_keycode[3]=27 > mainmenu_keycode[5]=107 > mainmenu_keycode[6]=111 > mainmenu_options=5 > mainmenu_reboot= > maintoggled_ansi[1]=Boot ^[1mS^[mingle User ^[1m[Enter]^[m > maintoggled_ansi[2]=Boot ^[1mM^[multi User > maintoggled_text[1]=Boot [S]ingle User [Enter] > maintoggled_text[2]=Boot [M]ulti User > menu_caption[1]=Boot Multi User [Enter] > menu_caption[2]=Boot [S]ingle User > menu_caption[3]=[Esc]ape to loader prompt > menu_caption[5]=[K]ernel: kernel (1 of 2) > menu_caption[5][0]=[K]ernel: kernel (1 of 2) > menu_caption[5][1]=[K]ernel: kernel.old (2 of 2) > menu_caption[6]=Configure Boot [O]ptions... > menu_command[1]=boot > menu_command[2]=altboot > menu_command[3]=goto_prompt > menu_command[5]=cycle_kernel > menu_command[6]=2 goto_menu > menu_init[1]=init_boot > menu_init[2]=init_altboot > menu_kernel=5 > menu_keycode[1]=98 > menu_caption[3]=[Esc]ape to loader prompt > menu_caption[5]=[K]ernel: kernel (1 of 2) > menu_caption[5][0]=[K]ernel: kernel (1 of 2) > menu_caption[5][1]=[K]ernel: kernel.old (2 of 2) > menu_caption[6]=Configure Boot [O]ptions... > menu_command[1]=boot > menu_command[2]=altboot > menu_command[3]=goto_prompt > menu_command[5]=cycle_kernel > menu_command[6]=2 goto_menu > menu_init[1]=init_boot > menu_init[2]=init_altboot > menu_kernel=5 > menu_keycode[1]=98 > menu_keycode[2]=115 > menu_keycode[3]=27 > menu_keycode[5]=107 > menu_keycode[6]=111 > menu_options=5 > menu_reboot= > menu_timeout_command=boot > menuset_initial=1 > menuset_name1=main > menuset_name2=options > menuset_name3=bootenv > module_blacklist=drm drm2 radeonkms i915kms amdgpu > module_path=/boot/modules;/boot/dtb;/boot/dtb/overlays > optionsansi_caption[1]=Back to Main Menu ^[1m[Backspace]^[m > optionsansi_caption[2]=Load System ^[1mD^[mefaults > optionsansi_caption[3]=^[1mA^[mCPI Support ^[34;1mOff^[m > optionsansi_caption[4]=Safe ^[1mM^[mode... ^[34;1mOff^[m > optionsansi_caption[5]=^[1mS^[mingle User. ^[34;1mOff^[m > optionsansi_caption[6]=^[1mV^[merbose..... ^[34;1mOff^[m > optionsmenu_acpi=3 > optionsmenu_caption[1]=Back to Main Menu [Backspace] > optionsmenu_caption[2]=Load System [D]efaults > optionsmenu_caption[3]=[A]CPI Support off > menuset_name2=options > menuset_name3=bootenv > module_blacklist=drm drm2 radeonkms i915kms amdgpu > module_path=/boot/modules;/boot/dtb;/boot/dtb/overlays > optionsansi_caption[1]=Back to Main Menu ^[1m[Backspace]^[m > optionsansi_caption[2]=Load System ^[1mD^[mefaults > optionsansi_caption[3]=^[1mA^[mCPI Support ^[34;1mOff^[m > optionsansi_caption[4]=Safe ^[1mM^[mode... ^[34;1mOff^[m > optionsansi_caption[5]=^[1mS^[mingle User. ^[34;1mOff^[m > optionsansi_caption[6]=^[1mV^[merbose..... ^[34;1mOff^[m > optionsmenu_acpi=3 > optionsmenu_caption[1]=Back to Main Menu [Backspace] > optionsmenu_caption[2]=Load System [D]efaults > optionsmenu_caption[3]=[A]CPI Support off > optionsmenu_caption[4]=Safe [M]ode... off > optionsmenu_caption[5]=[S]ingle User. off > optionsmenu_caption[6]=[V]erbose..... off > optionsmenu_command[1]=1 goto_menu > optionsmenu_command[2]=set_default_boot_options > optionsmenu_command[3]=toggle_acpi > optionsmenu_command[4]=toggle_safemode > optionsmenu_command[5]=toggle_singleuser > optionsmenu_command[6]=toggle_verbose > optionsmenu_init[4]=init_safemode > optionsmenu_init[5]=init_singleuser > optionsmenu_init[6]=init_verbose > optionsmenu_keycode[1]=8 > optionsmenu_keycode[2]=100 > optionsmenu_keycode[3]=97 > optionsmenu_keycode[4]=109 > optionsmenu_keycode[5]=115 > optionsmenu_keycode[6]=118 > optionsmenu_options=3 > optionsmenu_optionstext=Boot Options: > optionstoggled_ansi[3]=^[1mA^[mCPI Support ^[32;7mOn^[m > optionstoggled_ansi[4]=Safe ^[1mM^[mode... ^[32;7mOn^[m > optionstoggled_ansi[5]=^[1mS^[mingle User. ^[32;7mOn^[m > optionsmenu_caption[5]=[S]ingle User. off > optionsmenu_caption[6]=[V]erbose..... off > optionsmenu_command[1]=1 goto_menu > optionsmenu_command[2]=set_default_boot_options > optionsmenu_command[3]=toggle_acpi > optionsmenu_command[4]=toggle_safemode > optionsmenu_command[5]=toggle_singleuser > optionsmenu_command[6]=toggle_verbose > optionsmenu_init[4]=init_safemode > optionsmenu_init[5]=init_singleuser > optionsmenu_init[6]=init_verbose > optionsmenu_keycode[1]=8 > optionsmenu_keycode[2]=100 > optionsmenu_keycode[3]=97 > optionsmenu_keycode[4]=109 > optionsmenu_keycode[5]=115 > optionsmenu_keycode[6]=118 > optionsmenu_options=3 > optionsmenu_optionstext=Boot Options: > optionstoggled_ansi[3]=^[1mA^[mCPI Support ^[32;7mOn^[m > optionstoggled_ansi[4]=Safe ^[1mM^[mode... ^[32;7mOn^[m > optionstoggled_ansi[5]=^[1mS^[mingle User. ^[32;7mOn^[m > optionstoggled_ansi[6]=^[1mV^[merbose..... ^[32;7mOn^[m > optionstoggled_text[3]=[A]CPI Support On > optionstoggled_text[4]=Safe [M]ode... On > optionstoggled_text[5]=[S]ingle User. On > optionstoggled_text[6]=[V]erbose..... On > prompt=${interpret} > script.lang=forth > smbios.bios.vendor=BHYVE > toggled_ansi[1]=Boot ^[1mS^[mingle User ^[1m[Enter]^[m > toggled_ansi[2]=Boot ^[1mM^[multi User > toggled_text[1]=Boot [S]ingle User [Enter] > toggled_text[2]=Boot [M]ulti User > twiddle_divisor=1 > vfs.mountroot.timeout=10 > zfs_be_currpage=1 > OK > > Surely boot_serial changed "NO", but did not booted. > > > > > > Look here > > > https://lists.freebsd.org/pipermail/freebsd-virtualization/2018-November/006944.html > > > Simon. > > > You wrote 15.10.2019, 10:51:08: > > > > 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...
This is not the case for 13.0-CURRENT but also 11.3-STABLE and 12.1-PRERELEASE: root@vm:/.dake/bds # vm create -s 16GB -t tbedf tbedfc root@vm:/.dake/bds # vm install -f tbedfc FreeBSD-11.3-STABLE-amd64-20191011-r353406-memstick.img ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` 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... | -- -. | | `:` `:` | | .-- `--. | | .---.....----. +=========================================+ | To get back to the menu, type `menu' and press ENTER or type `boot' and press ENTER to start FreeBSD. Type '?' for a list of commands, 'help' for more detailed help. OK boot /boot/kernel/kernel text=0x1579008 data=0x145db0+0x4cdea0 syms=[0x8+0x16e168+0x8+0x187010] Booting... \ root@vm:~ # cat /vm/tbedfc/vm-bhyve.log Oct 16 09:34:46: initialising Oct 16 09:34:46: [loader: bhyveload] Oct 16 09:34:46: [cpu: 4] Oct 16 09:34:46: [memory: 4G] Oct 16 09:34:46: [hostbridge: standard] Oct 16 09:34:46: [com ports: com1] Oct 16 09:34:46: [uuid: b5986048-efac-11e9-847a-0cc47ab3cfd4] Oct 16 09:34:46: [utctime: yes] Oct 16 09:34:46: [debug mode: no] Oct 16 09:34:46: [primary disk: disk0.img] Oct 16 09:34:46: [primary disk dev: file] Oct 16 09:34:46: generated static mac 58:9c:fc:05:a3:5e (based on 'tbedfc:0:1571186086:0') Oct 16 09:34:46: initialising network device tap0 Oct 16 09:34:46: adding tap0 -> vm-local (local addm) Oct 16 09:34:46: bring up tap0 -> vm-local (local addm) Oct 16 09:34:46: booting Oct 16 09:34:46: bhyveload -m 4G -e autoboot_delay=20 -e boot_serial=NO -d /vm/.iso/FreeBSD-11.3-STABLE-amd64-20191011-r353406-memstick.img tbedfc Oct 16 09:35:21: [bhyve options: -c 4 -m 4G -AHP -U b5986048-efac-11e9-847a-0cc47ab3cfd4 -u] Oct 16 09:35:21: [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:05:a3:5e] Oct 16 09:35:21: [bhyve console: -l com1,stdio] Oct 16 09:35:21: [bhyve iso device: -s 3:0,ahci-hd,/vm/.iso/FreeBSD-11.3-STABLE-amd64-20191011-r353406-memstick.img] Oct 16 09:35:21: starting bhyve (run 1) root@vm:~ # vm create -s 16GB -t tbedf tbedfc root@vm:/.dake/bds # vm install -f tbedfc FreeBSD-12.1-PRERELEASE-amd64-20190913-r352266-memstick.img | ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` Welcome to FreeBSD s` `.....---.......--.``` -/ +o .--` /y:` +. 1. Boot Multi user [Enter] yo`:. :o `+- 2. Boot Single user y/ -/` -o/ 3. Escape to loader prompt .- ::/sy+:. 4. Reboot / `-- / `: :` Options: `: :` 5. Kernel: default/2kernel (1 of 1) / / 6. Boot Options .- -. -- -. `:` `:` .-- `--. .---.....----. Exiting menu! Type '?' for a list of commands, 'help' for more detailed help. OK show LINES=24 autoboot_delay=NO boot_serial=NO bootenv_autolist=YES bootfile=kernel console=userboot currdev=disk0s2a: efi_max_resolution=1x1 hint.acpi_throttle.0.disabled=1 hint.atkbd.0.at=atkbdc hint.atkbd.0.irq=1 hint.atkbdc.0.at=isa hint.atkbdc.0.port=0x060 hint.atrtc.0.at=isa hint.atrtc.0.irq=8 hint.atrtc.0.port=0x70 hint.attimer.0.at=isa hint.attimer.0.irq=0 hint.attimer.0.port=0x40 hint.fd.0.at=fdc0 hint.fd.0.drive=0 hint.fd.1.at=fdc0 hint.fd.1.drive=1 hint.fdc.0.at=isa hint.fdc.0.drq=2 hint.fdc.0.irq=6 hint.fdc.0.port=0x3F0 hint.p4tcc.0.disabled=1 hint.ppc.0.at=isa hint.ppc.0.irq=7 hint.psm.0.at=atkbdc hint.psm.0.irq=12 hint.sc.0.at=isa hint.sc.0.flags=0x100 hint.uart.0.at=isa hint.uart.0.flags=0x10 hint.uart.0.irq=4 hint.uart.0.port=0x3F8 hint.uart.1.at=isa hint.uart.1.irq=3 hint.uart.1.port=0x2F8 interpret=OK kernel=kernel kernel_options= kernels_autodetect=NO loaddev=disk0s2a: loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local module_blacklist=drm drm2 radeonkms i915kms amdgpu module_path=/boot/modules;/boot/dtb;/boot/dtb/overlays nextboot_conf=/boot/nextboot.conf nextboot_enable=NO prompt=${interpret} script.lang=lua smbios.bios.vendor=BHYVE twiddle_divisor=1 verbose_loading=NO vfs.mountroot.timeout=10 OK boot Loading kernel... /boot/kernel/kernel text=0x168eb51 data=0x1d0a68+0x768d80 syms=[0x8+0x178b00+0x8+0x196889] Loading configured modules... can't find '/boot/entropy' - root@vm:~ # cat /vm/tbedfc/vm-bhyve.log Oct 16 09:45:18: initialising Oct 16 09:45:18: [loader: bhyveload] Oct 16 09:45:18: [cpu: 4] Oct 16 09:45:18: [memory: 4G] Oct 16 09:45:18: [hostbridge: standard] Oct 16 09:45:18: [com ports: com1] Oct 16 09:45:18: [uuid: 20fbd3ef-efae-11e9-847a-0cc47ab3cfd4] Oct 16 09:45:18: [utctime: yes] Oct 16 09:45:18: [debug mode: no] Oct 16 09:45:18: [primary disk: disk0.img] Oct 16 09:45:18: [primary disk dev: file] Oct 16 09:45:18: generated static mac 58:9c:fc:01:c9:dd (based on 'tbedfc:0:1571186718:0') Oct 16 09:45:18: initialising network device tap0 Oct 16 09:45:18: adding tap0 -> vm-local (local addm) Oct 16 09:45:18: bring up tap0 -> vm-local (local addm) Oct 16 09:45:18: booting Oct 16 09:45:18: bhyveload -m 4G -e autoboot_delay=20 -e boot_serial=NO -d /vm/.iso/FreeBSD-12.1-PRERELEASE-amd64-20190913-r352266-memstick.img tbedfc Oct 16 09:47:06: [bhyve options: -c 4 -m 4G -AHP -U 20fbd3ef-efae-11e9-847a-0cc47ab3cfd4 -u] Oct 16 09:47:06: [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:01:c9:dd] Oct 16 09:47:06: [bhyve console: -l com1,stdio] Oct 16 09:47:06: [bhyve iso device: -s 3:0,ahci-hd,/vm/.iso/FreeBSD-12.1-PRERELEASE-amd64-20190913-r352266-memstick.img] Oct 16 09:47:06: starting bhyve (run 1) Oct 16 09:47:36: bhyve exited with status 1 Oct 16 09:47:36: destroying network device tap0 Oct 16 09:47:37: stopped root@vm:~ # For 11.3-STABLE, `show' in boot prompt disturb termcap and could not display loader settings. This problem cause from bhyveload options or any bugs of bhyveload ? > > > > - > > > > 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 > > > > ad...@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 > > > > _______________________________________________ > > > > freebsd-virtualization@freebsd.org mailing list > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > > > To unsubscribe, send any mail to > > > > "freebsd-virtualization-unsubscr...@freebsd.org" > > > > > > > > --- > > KIRIYAMA Kazuhiko > > > --- > KIRIYAMA Kazuhiko > _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"