Created
April 2, 2014 11:22
-
-
Save orimanabu/9932257 to your computer and use it in GitHub Desktop.
bhyve log (FreeBSD 10.0 host on FreeBSD 9.2 guest)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ori@freebsd-master:~/work/bhyve-script % sudo sh freebsd1 start | |
Password: | |
vmm.ko is loaded. | |
Entering vmload() | |
vmload: Attaching raw image ./vm/freebsd1/freebsd1.img for fsck | |
vmload: DEBUG: VMIMG is ./vm/freebsd1/freebsd1.img and VMDEV is md0 | |
Entering getvolpart() | |
vmload: DEBUG: fsck_ufs -y /dev/md0p2 | |
** /dev/md0p2 | |
USE JOURNAL? yes | |
** SU+J Recovering /dev/md0p2 | |
** Reading 15925248 byte journal from inode 4. | |
RECOVER? yes | |
** Building recovery table. | |
** Resolving unreferenced inode list. | |
** Processing journal entries. | |
WRITE CHANGES? yes | |
** 15 journal records in 2048 bytes for 23.44% utilization | |
** Freed 0 inodes (0 dirs) 0 blocks, and 0 frags. | |
***** FILE SYSTEM MARKED CLEAN ***** | |
Entering mddestroy() | |
mddestroy: Destroying all memory devices associated with freebsd1 | |
mddestroy: Destroying mdconfig device: md0 | |
vmload: DEBUG: mdconfig -lv | grep -o md0 (gone?) | |
vmload: Running the bhyveload command: | |
bhyveload -m 1024 -d ./vm/freebsd1/freebsd1.img freebsd1 | |
Consoles: userboot | |
FreeBSD/amd64 User boot, Revision 1.1 | |
([email protected], Thu Jan 16 22:18:02 UTC 2014) | |
Loading /boot/defaults/loader.conf | |
/boot/kernel/kernel text=0xe30120 data=0x15ea00+0x112168 syms=[0x8+0x162270+0x8+0x1b64b7] | |
\ | |
______ ____ _____ _____ | |
| ____| | _ \ / ____| __ \ | |
| |___ _ __ ___ ___ | |_) | (___ | | | | | |
| ___| '__/ _ \/ _ \| _ < \___ \| | | | | |
| | | | | __/ __/| |_) |____) | |__| | | |
| | | | | | || | | | | |
|_| |_| \___|\___||____/|_____/|_____/ ``` ` | |
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. Configure Boot [O]ptions... | .- -. | |
| | -- -. | |
| | `:` `:` | |
| | .-- `--. | |
| | .---.....----. | |
+-----------------------------------------+ | |
FreeBSD `Nakatomi Socrates' 9.2 | |
Booting... | |
vmload: freebsd1 appears to have loaded. | |
Entering vmboot() | |
vmboot: Starting Networking. "File Exists" warnings are okay. | |
ifconfig: interface tap1 does not exist | |
ifconfig: interface tap1 does not exist | |
ifconfig: BRDGADD em0: File exists | |
vmboot: the bhyve command will be: | |
/usr/sbin/bhyve -c 1 -m 1024 -A -I -H -s 0,hostbridge -s 2,ahci-hd,./vm/freebsd1/freebsd1.img -s 3,virtio-net,tap1 -S 31,uart,stdio freebsd1 | |
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.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 | |
[email protected]:/usr/obj/usr/src/sys/GENERIC amd64 | |
gcc version 4.2.1 20070831 patched [FreeBSD] | |
CPU: Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz (2693.64-MHz K8-class CPU) | |
Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a Stepping = 9 | |
Features=0xf83ab7f<FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,APIC,SEP,PGE,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS> | |
Features2=0xe2ba2203<SSE3,PCLMULQDQ,SSSE3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,AESNI,F16C,RDRAND,HV> | |
AMD Features=0x20100800<SYSCALL,NX,LM> | |
AMD Features2=0x1<LAHF> | |
real memory = 1073741824 (1024 MB) | |
avail memory = 1006927872 (960 MB) | |
Event timer "LAPIC" quality 400 | |
ACPI APIC Table: <BHYVE BVMADT > | |
ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version, truncating length 268 to 244 (20110527/tbfadt-320) | |
ioapic0 <Version 1.1> irqs 0-16 on motherboard | |
kbd0 at kbdmux0 | |
module_register_init: MOD_LOAD (vesa, 0xffffffff80d11010, 0) error 19 | |
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-fast" frequency 3579545 Hz quality 900 | |
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 | |
ahci0: <Intel ICH8 AHCI SATA controller> mem 0xc0000000-0xc00003ff at device 2.0 on pci0 | |
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported | |
ahcich0: <AHCI channel> at channel 0 on ahci0 | |
virtio_pci0: <VirtIO PCI Network adapter> port 0x2000-0x201f mem 0xc0002000-0xc0003fff at device 3.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:9c:28:d8 | |
uart2: <16550 or compatible> port 0x3f8-0x3ff irq 4 at device 31.0 on pci0 | |
uart2: console (9600,n,8,1) | |
Timecounters tick every 10.000 msec | |
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 | |
ada0: <BHYVE SATA DISK 001> ATA-8 SATA 2.x device | |
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) | |
ada0: Command Queueing enabled | |
ada0: 2048MB (4194304 512 byte sectors: 0H 0S/T 0C) | |
ada0: Previously was known as ad4 | |
Timecounter "TSC-low" frequency 1346820241 Hz quality 800 | |
Trying to mount root from ufs:/dev/ada0p2 [rw]... | |
Setting hostuuid: ab72fd98-ba82-11e3-9fad-00a0989c28d8. | |
Setting hostid: 0x07078ee7. | |
Entropy harvesting:. | |
Starting file system checks: | |
/dev/ada0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS | |
/dev/ada0p2: clean, 293520 free (608 frags, 36614 blocks, 0.1% fragmentation) | |
Mounting local file systems:. | |
Setting hostname: freebsd-vm. | |
vtnet0: link state changed to UP | |
Starting Network: lo0 vtnet0. | |
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 0x2 | |
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:9c:28:d8 | |
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> | |
media: Ethernet 1000baseT <full-duplex> | |
status: active | |
Starting devd. | |
Starting dhclient. | |
DHCPREQUEST on vtnet0 to 255.255.255.255 port 67 | |
DHCPACK from 172.16.143.254 | |
bound to 172.16.143.165 -- renewal in 900 seconds. | |
add net fe80::: gateway ::1 | |
add net ff02::: gateway ::1 | |
add net ::ffff:0.0.0.0: gateway ::1 | |
add net ::0.0.0.0: gateway ::1 | |
Creating and/or trimming log files. | |
Starting syslogd. | |
No core dumps found. | |
ELF ldconfig path: /lib /usr/lib /usr/lib/compat | |
32-bit compatibility ldconfig path: /usr/lib32 | |
Clearing /tmp (X related). | |
Updating motd:. | |
Performing sanity check on sshd configuration. | |
Starting sshd. | |
Starting cron. | |
Starting background file system checks in 60 seconds. | |
Wed Apr 2 20:18:37 JST 2014 | |
FreeBSD/amd64 (freebsd-vm) (console) | |
login: Apr 2 20:18:37 freebsd-vm getty[771]: open /dev/ttyv0: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[772]: open /dev/ttyv1: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[774]: open /dev/ttyv3: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[775]: open /dev/ttyv4: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[776]: open /dev/ttyv5: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[777]: open /dev/ttyv6: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[778]: open /dev/ttyv7: No such file or directory | |
Apr 2 20:18:37 freebsd-vm getty[773]: open /dev/ttyv2: No such file or directory | |
FreeBSD/amd64 (freebsd-vm) (console) | |
login: root | |
Password: | |
Apr 2 20:18:45 freebsd-vm login: ROOT LOGIN (root) ON console | |
Last login: Wed Apr 2 20:16:39 on console | |
FreeBSD 9.2-RELEASE (GENERIC) #0 r255898: Thu Sep 26 22:50:31 UTC 2013 | |
Welcome to FreeBSD! | |
Before seeking technical support, please use the following resources: | |
o Security advisories and updated errata information for all releases are | |
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section | |
for your release first as it's updated frequently. | |
o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, | |
along with the mailing lists, can be searched by going to | |
http://www.FreeBSD.org/search/. If the doc package has been installed | |
(or fetched via pkg_add -r lang-freebsd-doc, where lang is the | |
2-letter language code, e.g. en), they are also available formatted | |
in /usr/local/share/doc/freebsd. | |
If you still have a question or problem, please take the output of | |
`uname -a', along with any relevant error messages, and email it | |
as a question to the [email protected] mailing list. If you are | |
unfamiliar with FreeBSD's directory layout, please refer to the hier(7) | |
manual page. If you are not familiar with manual pages, type `man man'. | |
Edit /etc/motd to change this login announcement. | |
root@freebsd-vm:~ # diff -u /etc/ttys.orig /etc/ttys | |
--- /etc/ttys.orig 2014-04-02 20:17:11.000000000 +0900 | |
+++ /etc/ttys 2014-04-02 20:17:26.000000000 +0900 | |
@@ -27,7 +27,8 @@ | |
# | |
# If console is marked "insecure", then init will ask for the root password | |
# when going to single-user mode. | |
-console none unknown off secure | |
+#console none unknown off secure | |
+console "/usr/libexec/getty std.9600" vt100 on secure | |
# | |
ttyv0 "/usr/libexec/getty Pc" xterm on secure | |
# Virtual terminals | |
root@freebsd-vm:~ # | |
root@freebsd-vm:~ # shutdown -h now | |
Shutdown NOW! | |
shutdown: [pid 783] | |
root@freebsd-vm:~ # | |
*** FINAL System shutdown message from root@freebsd-vm *** | |
System going down IMMEDIATELY | |
Apr 2 20:19:06 freebsd-vm shutdown: halt by root: | |
System shutdown time has arrived | |
Stopping cron. | |
Stopping sshd. | |
Stopping devd. | |
Writing entropy file:. | |
Terminated | |
. | |
Apr 2 20:19:08 freebsd-vm syslogd: exiting on signal 15 | |
Waiting (max 60 seconds) for system process `vnlru' to stop...done | |
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done | |
Waiting (max 60 seconds) for system process `syncer' to stop... | |
Syncing disks, vnodes remaining...2 1 0 done | |
All buffers synced. | |
Uptime: 42s | |
The operating system has halted. | |
Please press any key to reboot. | |
Rebooting... | |
Entering vmdestroy() | |
vmdestroy: Destroying freebsd1 | |
freebsd1 ungracefully stopped | |
vmdestroy: Destroying tap1 | |
ori@freebsd-master:~/work/bhyve-script % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment