From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 20 07:16:51 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9999E8E; Thu, 20 Feb 2014 07:16:50 +0000 (UTC) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ADB201B25; Thu, 20 Feb 2014 07:16:50 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rp16so1517728pbb.34 for ; Wed, 19 Feb 2014 23:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/kxPCTzAadm1FpEltB0GbUjif6FzbLy2ztgyFRlEMk4=; b=SBPmZKSGWZ2Bfx97ZnfmCyxKOJV2DGQmKJf3T9Zrdl66HfKmXjMP+8X0bAlQ00nz5j laWmxkO4KMCLhdN4thyZpM0lGiCsrK13xpQH6Athtl4FBp8EM/O6M7P2P084M+gBNwrB nscj88fv8YZLOpJnGlJbe/o3mgPM8rRjTH8tarJ2tL2PX2/7ZcM62Dxb+S1Zf3MU5H0u p/Tx34ZT9t2gqY/jTfu5rc0ZOLQTqb+6HR3JgKvpMvO+bpSeD+ZbN6sTjPUV1B5gfqZJ zwDzz0QAaHHM+P9qjtYQYQk3eXEGsejskLVtXvWxuCW2Ijl1+c+JoOBrCD6RjOx9F9Y5 Gywg== MIME-Version: 1.0 X-Received: by 10.66.192.74 with SMTP id he10mr304760pac.126.1392880609840; Wed, 19 Feb 2014 23:16:49 -0800 (PST) Received: by 10.68.155.38 with HTTP; Wed, 19 Feb 2014 23:16:49 -0800 (PST) In-Reply-To: References: <52F6953D.2010400@callfortesting.org> <52F7C9FC.5070409@digiware.nl> <52F8735E.8020701@callfortesting.org> <52F8ECC2.2060805@digiware.nl> <52F97A84.90308@callfortesting.org> <52FAB720.7070206@freebsd.org> <52FABB9A.6000908@freebsd.org> <52FB9382.8000401@freebsd.org> Date: Thu, 20 Feb 2014 02:16:49 -0500 Message-ID: Subject: Re: CFT: bhyve AMD snapshot From: Aryeh Friedman To: Anish Gupta Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 20 Feb 2014 07:16:51 -0000 Just to let people know destroying it does work... now I do not need to test PC on a production host thanks!!!! (just saved hours or headache with this about $2k in money) On Thu, Feb 20, 2014 at 1:44 AM, Anish Gupta wrote: > Hi Aryeh, > > You need to destroy the VM before creating new one with same name, so > between bhyve and bhyveload, you should use "bhyvectl --destroy --vm= name=t4n1ustl23>. This fixed the problem "Fatal trap 30: reserved (unknown) > fault while in kernel mode" which I was able to reproduce on my Phenom box. > > bhyveload.....vm1 > bhyve.....vm1 > ... > bhyvectl --destroy --vm=vm1 << > bhyveload ...vm1 > bhyve.....vm1 > .... > > Thanks for your help in testing bhyve_svm and bhyve. > > -Anish > > On Feb 17, 2014, at 8:27 PM, Aryeh Friedman > wrote: > > > Sorry for taking so long (forgot to say orginally this is the guest) > > > > > > On Wed, Feb 12, 2014 at 10:30 AM, Peter Grehan > wrote: > > > >> Hi Aryeh, > >> > >> kernel panic during boot > >>> > >> > >> Can you post a verbose boot log with the panic (i.e. "boot -v" from the > >> loader prompt) ?OK boot -v > >> Booting... > >> SMAP type=01 base=0000000000000000 len=00000000000a0000 > >> SMAP type=01 base=0000000000100000 len=000000001ff00000 > >> Table 'APIC' at 0xf0500 > >> APIC: Found table at 0xf0500 > >> APIC: Using the MADT enumerator. > >> MADT: Found CPU APIC ID 0 ACPI ID 0: enabled > >> SMP: Added CPU 0 (AP) > >> 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@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > >> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > >> Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff817f2000. > >> Hypervisor: Origin = "bhyve bhyve " > >> Calibrating TSC clock ... TSC clock: 2595069727 Hz > >> CPU: AMD A6-3650 APU with Radeon(tm) HD Graphics (2595.07-MHz K8-class > CPU) > >> Origin = "AuthenticAMD" Id = 0x300f10 Family = 0x12 Model = 0x1 > >> Stepping = 0 > >> > >> > Features=0x783ab7f > >> Features2=0x80a02001 > >> AMD > >> > Features=0xe6505880<,SYSCALL,,,NX,MMX+,FFXSR,Page1GB,LM,3DNow!+,3DNow!> > >> AMD > >> > Features2=0x37ff > >> TSC: P-state invariant > >> L1 2MB data TLB: 48 entries, fully associative > >> L1 2MB instruction TLB: 16 entries, fully associative > >> L1 4KB data TLB: 48 entries, fully associative > >> L1 4KB instruction TLB: 32 entries, fully associative > >> L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > >> L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way > >> associative > >> L2 2MB data TLB: 128 entries, 2-way associative > >> L2 2MB instruction TLB: 0 entries, 2-way associative > >> L2 4KB data TLB: 1024 entries, 4-way associative > >> L2 4KB instruction TLB: 1024 entries, 4-way associative > >> L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way > >> associative > >> real memory = 536870912 (512 MB) > >> Physical memory chunk(s): > >> 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) > >> 0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages) > >> 0x000000000181a000 - 0x000000001f29ffff, 497573888 bytes (121478 pages) > >> avail memory = 492273664 (469 MB) > >> Event timer "LAPIC" quality 400 > >> ACPI APIC Table: > >> APIC: CPU 0 has ACPI ID 0 > >> x86bios: IVT 0x000000-0x0004ff at 0xfffff80000000000 > >> x86bios: SSEG 0x001000-0x001fff at 0xfffffe002c174000 > >> x86bios: ROM 0x0a0000-0x0fefff at 0xfffff800000a0000 > >> XEN: CPU 0 has VCPU ID 0 > >> random device not loaded; using insecure entropy > >> ULE: setup cpu 0 > >> ACPI: RSDP 0xf0400 00024 (v02 BHYVE ) > >> ACPI: XSDT 0xf0480 0003C (v01 BHYVE BVXSDT 00000001 INTL 20130823) > >> ACPI: APIC 0xf0500 00054 (v01 BHYVE BVMADT 00000001 INTL 20130823) > >> ACPI: FACP 0xf0600 0010C (v05 BHYVE BVFACP 00000001 INTL 20130823) > >> ACPI: DSDT 0xf0800 0012F (v02 BHYVE BVDSDT 00000001 INTL 20130823) > >> ACPI: FACS 0xf0780 00040 > >> ACPI: HPET 0xf0740 00038 (v01 BHYVE BVHPET 00000001 INTL 20130823) > >> MADT: Found IO APIC ID 0, Interrupt 0 at 0xfec00000 > >> ioapic0: Routing external 8259A's -> intpin 0 > >> MADT: Interrupt override: source 0, irq 2 > >> ioapic0: Routing IRQ 0 -> intpin 2 > >> MADT: Interrupt override: source 9, irq 9 > >> ioapic0: intpin 9 trigger: level > >> ioapic0: intpin 9 polarity: low > >> ioapic0 irqs 0-23 on motherboard > >> cpu0 BSP: > >> ID: 0x00000000 VER: 0x00000011 LDR: 0x00000000 DFR: 0xffffffff > >> lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > >> timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 > >> wlan: <802.11 Link Layer> > >> snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024] > >> feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 > >> feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25 > >> Hardware, Intel IvyBridge+ RNG: RDRAND is not present > >> Hardware, VIA Nehemiah Padlock RNG: VIA Padlock RNG not present > >> kbd0 at kbdmux0 > >> mem: > >> null: > >> nfslock: pseudo-device > >> Falling back to random adaptor > >> random: initialized > >> module_register_init: MOD_LOAD (vesa, 0xffffffff80cfa5e0, 0) error 19 > >> io: > >> VMBUS: load > >> hptnr: R750/DC7280 controller driver v1.0 > >> hpt27xx: RocketRAID 27xx controller driver v1.1 > >> hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 > >> > >> > >> 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 > >> > >> > > -- > > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org