CFT: bhyve AMD snapshot

Aryeh Friedman aryeh.friedman at gmail.com
Tue Feb 11 08:15:48 UTC 2014


On Tue, Feb 11, 2014 at 3:07 AM, Aryeh Friedman <aryeh.friedman at gmail.com>wrote:

> It seems like the patch fails to acquire a DHCP address (or use the net in
> any other way with the following which works fine on intel):
>
> #!/bin/sh
> #
> # Generated by PetiteCloud 0.2.5
> #
>
> truncate -s 10G /vms/pri/nq6g103n9
> ifconfig tap1 destroy
> ifconfig tap1 create
> ifconfig tap1 up
> sleep 5
> ifconfig bridge0 addm tap1 up
>
> /usr/sbin/bhyveload -m 512 -d
> /vms/cds/FreeBSD-10.0-RELEASE-amd64-disc1.iso t4n1ustl23
> /usr/sbin/bhyve -c 1 -m 512 -AI -H -P -g 0 -s 0:0,hostbridge -s
> 1,virtio-net,tap1 -s 2,virtio-blk,/vms/pri/nq6g103n9 -s
> 3,ahci-cd,/vms/cds/FreeBSD-10.0-RELEASE-amd64-disc1.iso -S 31,uart,stdio
> t4n1ustl23
> echo $!>/var/run/petitecloud/t4n1ustl23
> ifconfig tap1 destroy
> ifconfig tap1 create
> ifconfig tap1 up
> sleep 5
> ifconfig bridge0 addm tap1 up
>
> /usr/sbin/bhyveload -m 512 -d /vms/pri/nq6g103n9 t4n1ustl23
> /usr/sbin/bhyve -c 1 -m 512 -AI -H -P -g 0 -s 0:0,hostbridge -s
> 1,virtio-net,tap1 -s 2,virtio-blk,/vms/pri/nq6g103n9  -S 31,uart,stdio
> t4n1ustl23
> echo $!>/var/run/petitecloud/t4n1ustl23
>
>
Booting...
Copyright (c) 1992-2014 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 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
    root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD A6-3650 APU with Radeon(tm) HD Graphics (2595.08-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x300f10  Family = 0x12  Model = 0x1
Stepping = 0

Features=0x783ab7f<FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,APIC,SEP,PGE,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2>
  Features2=0x80a02001<SSE3,CX16,x2APIC,POPCNT,HV>
  AMD
Features=0xe6505880<<s7>,SYSCALL,<s12>,<s14>,NX,MMX+,FFXSR,Page1GB,LM,3DNow!+,3DNow!>
  AMD
Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  TSC: P-state invariant
real memory  = 536870912 (512 MB)
avail memory = 492273664 (469 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <BHYVE  BVMADT  >
random device not loaded; using insecure entropy
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd0 at kbdmux0
random: <Software, Yarrow> initialized
module_register_init: MOD_LOAD (vesa, 0xffffffff80cfa5e0, 0) error 19


Fatal trap 30: reserved (unknown) fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer    = 0x20:0xffffffff80d1d3af
stack pointer            = 0x28:0xffffffff817f6b10
frame pointer            = 0x28:0xffffffff817f6b40
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags    = interrupt enabled, IOPL = 0
current process        = 0 (swapper)
trap number        = 30
panic: reserved (unknown) fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff808e7dd0 at kdb_backtrace+0x60
#1 0xffffffff808af8b5 at panic+0x155
#2 0xffffffff80c8e692 at trap_fatal+0x3a2
#3 0xffffffff80c8e2cf at trap+0x7bf
#4 0xffffffff80c75392 at calltrap+0x8
#5 0xffffffff80d1e59e at vmbus_identify+0xe
#6 0xffffffff808e02d7 at bus_generic_probe+0x77
#7 0xffffffff80c7314a at nexus_acpi_attach+0x1a
#8 0xffffffff808df242 at device_attach+0x3a2
#9 0xffffffff808e07b9 at bus_generic_new_pass+0xe9
#10 0xffffffff808dd0af at bus_set_pass+0x8f
#11 0xffffffff80c7472a at configure+0xa
#12 0xffffffff80861238 at mi_startup+0x118
#13 0xffffffff802d3e0c at btext+0x2c
Uptime: 1s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

Host:

root@:/home/aryeh # uname -a
FreeBSD  11.0-CURRENT FreeBSD 11.0-CURRENT #0 r261732: Tue Feb 11 03:19:01
EST 2014     aryeh@:/usr/obj/usr/src/sys/GENERIC  amd64

CPU: AMD A6-3650 APU with Radeon(tm) HD Graphics (2595.33-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x300f10  Family = 0x12  Model = 0x1
Stepping = 0

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD
Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD
Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 7732641792 (7374 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <HPQOEM SLIC-CPC>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-virtualization mailing list