Problems with missing ttyv devices in BHyve?
Craig Rodrigues
rodrigc at FreeBSD.org
Sat Sep 7 14:01:58 UTC 2013
Hi,
I am working on the FreeNAS project for iXsystems. FreeNAS is derived from
FreeBSD.
I am trying to use BHyve to do testing of FreeNAS, but I am running
into some problems.
I did the following:
(1) Downloaded the latest daily build ISO of FreeNAS, which has
some fixes to make the installer boot up properly under BHyve:
http://sourceforge.net/projects/freenas/files/FreeNAS-nightlies/
(2) Run this script as root, to create a bridge and connect it to tap0
device:
======================================================================
#!/bin/sh
set -x
iface=em0
ifconfig bridge0 create
ifconfig tap0 create
ifconfig bridge0 addm $iface addm tap0 up
sysctl net.link.tap.user_open=1
sysctl net.link.tap.up_on_open=1
======================================================================
(3) Create a 2G disk:
truncate -s 2G /tmp/disk.img
(4) Run this to boot the installer:
sh -x /usr/share/examples/bhyve/vmrun.sh -m 2048 -d /tmp/disk.img -I
FreeNAS-9.2.0-ALPHA-1bf84a0-x64.iso freenas1_vm
(5) In the installer, select disk vtbd0 as the device to install to.
(6) Shut down bhyve, and run again to boot off the disk:
sh -x /usr/share/examples/bhyve/vmrun.sh -m 2048 -d /tmp/disk.img
freenas1_vm
I am getting some errors about missing tty devices, so I can't log into the
TrueNAS console.
Does anyone have any ideas what the fix for this should be?
It would be handy to boot FreeNAS inside BHyve, especially for testing. I
don't get this problem under QEMU, Virtualbox, or VMWare still work.
Thanks.
--
Craig
bhyve_log.txt
Script started on Fri Aug 30 16:29:00 2013
command: sh -x /usr/share/examples/bhyve/vmrun.sh -m 2048 -d
/tmp/disk.img freenas1_vm
+ LOADER=/usr/sbin/bhyveload
+ BHYVECTL=/usr/sbin/bhyvectl
+ FBSDRUN=/usr/sbin/bhyve
+ DEFAULT_MEMSIZE=512
+ DEFAULT_CPUS=2
+ DEFAULT_TAPDEV=tap0
+ DEFAULT_VIRTIO_DISK=./diskdev
+ DEFAULT_ISOFILE=./release.iso
+ id -u
+ [ 0 -ne 0 ]
+ kldstat -n vmm
+ [ 0 -ne 0 ]
+ force_install=0
+ isofile=./release.iso
+ memsize=512
+ cpus=2
+ virtio_diskdev=./diskdev
+ tapdev=tap0
+ apic_opt=''
+ gdbport=0
+ getopts haic:g:I:m:d:t: c
+ memsize=2048
+ getopts haic:g:I:m:d:t: c
+ virtio_diskdev=/tmp/disk.img
+ getopts haic:g:I:m:d:t: c
+ shift 4
+ [ 1 -ne 1 ]
+ vmname=freenas1_vm
+ [ ! -f /tmp/disk.img ]
+ [ ! -r /tmp/disk.img ]
+ [ ! -w /tmp/disk.img ]
+ echo 'Launching virtual machine "freenas1_vm" ...'
Launching virtual machine "freenas1_vm" ...
+ [ 1 ]
+ /usr/sbin/bhyvectl --vm=freenas1_vm --destroy
+ file /tmp/disk.img
+ grep ': x86 boot sector'
+ rc=0
+ [ 0 -ne 0 ]
+ [ 0 -ne 0 ]
+ need_install=0
+ [ 0 -eq 1 -o 0 -eq 1 ]
+ BOOTDISK=/tmp/disk.img
+ installer_opt=''
+ /usr/sbin/bhyveload -m 2048 -d /tmp/disk.img freenas1_vm
Consoles: userboot
FreeBSD/amd64 User boot, Revision 1.1
(rodrigc at pcbsd-4708, Sat Aug 24 16:54:52 PDT 2013)
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/Loading
/boot/defaults/loader.conf
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/*/boot/kernel/kernel
text=0xb8db88 -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-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at 0x152d000
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/[H[J[1;2H
______ _ _ __ _____ [2;2H| ____| |
\ | | / \ / ___|[3;2H| |___ _ __ ____ ___| \ | |/ /\ \|
(__[4;2H| ___| '__/ _ |/ _ \ |\\ | | |__| |\___ \[5;2H| | | | |
__/ __/ | \\| | __ |____) |[6;2H| | | | | | | | \ | | |
| |[7;2H|_| |_| \___|\___|_| \_|_|
|_|_____/[25;0H[10;2H�[11;2H�[12;2H�[13;2H�[14;2H�[15;2H�[16;2H�[17;2H�[18;2H�[19;2H�[20;2H�[21;2H�[10;44H�[11;44H�[12;44H�[13;44H�[14;44H�[15;44H�[16;44H�[17;44H�[18;44H�[19;44H�[20;44H�[21;44H�[9;3H�����������������������������������������[22;3H�����������������������������������������[9;2H�[22;2H�[9;44H�[22;44H�[25;0H[9;15HWelcome
to FreeNAS[11;5H1 [11;6H.[11;8HBoot [Enter][12;5H2
[12;6H.[12;8H[Esc]ape to loader prompt[13;5H3
[13;6H.[13;8HReboot[15;5HOptions:[16;5H4 [16;6H.[16;8HSafe
[M]ode... off[17;5H5 [17;6H.[17;8H[S]ingle User. off[18;5H6
[18;6H.[18;8H[V]erbose..... off[25;0H[23;4HAutoboot in 1 seconds.
[Space] to pause[25;0H[23;4H
[25;0H-\|/-\|+ [ 0 -ne 0 ]
+ /usr/sbin/bhyve -c 2 -m 2048 -AI -H -P -g 0 -s 0:0,hostbridge -s
1:0,virtio-net,tap0 -s 2:0,virtio-blk,/tmp/disk.img -S 31,uart,stdio
freenas1_vm
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-STABLE #0 r+9ce6a0e: Fri Aug 30 00:10:14 PDT 2013
root at build2.ixsystems.com:/tank/build/nightlies/2013-08-30/os-base/amd64/tank/build/nightlies/2013-08-30/FreeBSD/src/sys/FREENAS.amd64
amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (2494.15-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x206a7 Family = 0x6 Model = 0x2a
Stepping = 7
Features=0x8f8bab7f<FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,APIC,SEP,PGE,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,SS,PBE>
Features2=0x83ba6257<SSE3,PCLMULQDQ,DTES64,DS_CPL,SMX,SSSE3,CX16,xTPR,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,HV>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 2147483648 (2048 MB)
avail memory = 2045456384 (1950 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <BHYVE BVMADT >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
WARNING: VIMAGE (virtualized network stack) is a highly experimental feature.
ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version,
truncating length 268 to 244 (20110527/tbfadt-320)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 1.1> irqs 0-16 on motherboard
kbd0 at kbdmux0
aesni0: <AES-CBC,AES-XTS> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <BHYVE BVXSDT> on motherboard
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x77 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: no PRT entry for 0.31.INTA
virtio_pci0: <VirtIO PCI Network adapter> port 0x2000-0x201f mem
0xc0000000-0xc0001fff at device 1.0 on pci0
vtnet0: <VirtIO Networking Adapter> on virtio_pci0
virtio_pci0: host features: 0x1018020 <NotifyOnEmpty,Status,MrgRxBuf,MacAddress>
virtio_pci0: negotiated features: 0x1018020
<NotifyOnEmpty,Status,MrgRxBuf,MacAddress>
vtnet0: Ethernet address: 00:a0:98:62:10:ba
virtio_pci1: <VirtIO PCI Block adapter> port 0x2040-0x207f mem
0xc0002000-0xc0003fff at device 2.0 on pci0
vtblk0: <VirtIO Block Adapter> on virtio_pci1
virtio_pci1: host features: 0x10000004 <RingIndirect,MaxNumSegs>
virtio_pci1: negotiated features: 0x10000004 <RingIndirect,MaxNumSegs>
vtblk0: 2048MB (4194304 512 byte sectors)
uart2: <16550 or compatible> port 0x3f8-0x3ff irq 4 at device 31.0 on pci0
uart2: console (9600,n,8,1)
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to
accept, logging disabled
DUMMYNET 0xfffffe00023f0900 with IPv6 initialized (100409)
load_dn_sched dn_sched WF2Q+ loaded
load_dn_sched dn_sched FIFO loaded
load_dn_sched dn_sched PRIO loaded
load_dn_sched dn_sched QFQ loaded
load_dn_sched dn_sched RR loaded
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
SMP: AP CPU #1 Launched!
Timecounter "TSC-low" frequency 1247076687 Hz quality 1000
Trying to mount root from ufs:/dev/ufs/FreeNASs1a [ro]...
WARNING: /data was not properly dismounted
Setting hostuuid: 4a92d981-1191-11e3-9eae-00a0986210ba.
Setting hostid: 0x632a9ca6.
Loading early kernel modules:
GEOM_RAID5: Module loaded, version 1.1.20110927.40 (rev 00ce00e5abb4)
/dev/ufs/FreeNASs4: INCORRECT BLOCK COUNT I=2016 (1 should be 0) (CORRECTED)
/dev/ufs/FreeNASs4: LINK COUNT DIR I=2 OWNER=root MODE=40755
/dev/ufs/FreeNASs4: SIZE=512 MTIME=Aug 30 16:28 2013 COUNT 4 SHOULD
BE 3 (ADJUSTED)
/dev/ufs/FreeNASs4: ZERO LENGTH DIR I=2016 OWNER=root MODE=40755
/dev/ufs/FreeNASs4: SIZE=0 MTIME=Aug 30 16:28 2013 (CLEARED)
/dev/ufs/FreeNASs4: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
/dev/ufs/FreeNASs4: SUMMARY INFORMATION BAD (SALVAGED)
/dev/ufs/FreeNASs4: BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/ufs/FreeNASs4: 4 files, 914 used, 39613 free (21 frags, 4949
blocks, 0.1% fragmentation)
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
** /dev/ufs/FreeNASs4
** Last Mounted on /data
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
4 files, 914 used, 39613 free (21 frags, 4949 blocks, 0.1% fragmentation)
***** FILE SYSTEM IS CLEAN *****
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
savecore: /dev/dumpdev: No such file or directory
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
No suitable dump device was found.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
Starting file system checks:
/dev/ufs/FreeNASs1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/FreeNASs1a: clean, 416406 free (2414 frags, 51749 blocks,
0.1% fragmentation)
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
/dev/ufs/FreeNASs3: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/FreeNASs3: clean, 2829 free (21 frags, 351 blocks, 0.7% fragmentation)
/dev/ufs/FreeNASs4: FILE SYSTEM CLEAN; SKIPPING g_handleattr: vtbd0
bio_length 24 len 28 -> EFAULT
CHECKS
/dev/ufs/FreeNASs4: clean, 39613 free (21 frags, 4949 blocks, 0.1%
fragmentation)
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
Mounting local file systems:.
Loading kernel modules:
Setting hostname: freenas.local.
vtnet0: link state changed to UP
Starting dhclient.
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Starting Network: lo0 vtnet0 ipfw0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
metric 0 mtu 1500
options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE>
ether 00:a0:98:62:10:ba
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet 1000baseT <full-duplex>
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
dhclient already running? (pid=844).
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
Generating host.conf.
Waiting 30s for the default route interface: .............................
ELF ldconfig path: /lib /usr/lib /usr/local/lib
32-bit compatibility ldconfig path:
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Creating and/or trimming log files.
Starting syslogd.
debug.ddb.textdump.pending: 0 -> 1
debug.debugger_on_panic: 1 -> 1
realpath: /dev/dumpdev: No such file or directory
/etc/rc: WARNING: Dump device does not exist. Savecore not run.
eval: cannot open /usr/local/etc/ldpbiconfig: No such file or directory
/etc/rc: WARNING: failed precmd routine for vmware_guestd
Updating motd:.
Starting ntpd.
16+0 records in
16+0 records out
16 bytes transferred in 0.000036 secs (444430 bytes/sec)
Generating a 2048 bit RSA private key
..................................................................+++
..............................+++
writing new private key to '/etc/ssl/freenas/CA/private/cakey.key'
-----
writing RSA key
Starting smartd.
Aug 30 09:30:50 freenas smartd[1795]: Configuration file
/usr/local/etc/smartd.conf parsed but has no entries (like /dev/hda)
/etc/rc: WARNING: failed to start smartd
Aug 30 09:30:51 freenas ntpd_initres[1567]: host name not found:
0.freebsd.pool.ntp.org
Aug 30 09:30:51 freenas ntpd_initres[1567]: host name not found:
1.freebsd.pool.ntp.org
Aug 30 09:30:51 freenas ntpd_initres[1567]: host name not found:
2.freebsd.pool.ntp.org
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.
Starting collectd.
Starting bsdstats.
Posting monthly OS statistics disabled
set monthly_statistics_enable="YES" in /etc/periodic.conf
Starting cron.
Waiting up to 5 seconds for ixdiagnose to finish... done.
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
Starting rpcbind.
Starting mountd.
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT
Fri Aug 30 09:31:02 PDT 2013
Aug 30 09:31:02 freenas getty[2270]: open /dev/ttyv0: No such file or directory
Aug 30 09:31:02 freenas getty[2276]: open /dev/ttyv6: No such file or directory
Aug 30 09:31:02 freenas getty[2272]: open /dev/ttyv2: No such file or directory
Aug 30 09:31:02 freenas getty[2274]: open /dev/ttyv4: No such file or directory
Aug 30 09:31:02 freenas getty[2277]: open /dev/ttyv7: No such file or directory
Aug 30 09:31:02 freenas getty[2273]: open /dev/ttyv3: No such file or directory
Aug 30 09:31:02 freenas getty[2275]: open /dev/ttyv5: No such file or directory
Aug 30 09:31:02 freenas getty[2271]: open /dev/ttyv1: No such file or directory
More information about the freebsd-virtualization
mailing list