From owner-freebsd-virtualization@FreeBSD.ORG Tue Jan 28 06:57:35 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 974FCE48 for ; Tue, 28 Jan 2014 06:57:35 +0000 (UTC) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E5D01E51 for ; Tue, 28 Jan 2014 06:57:35 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id q10so6725232pdj.10 for ; Mon, 27 Jan 2014 22:57:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nqoWr+LYVSm6mzUU1GIZtQ+CC+tSbLksKI8NJ5Lh8tY=; b=aFBliAM2FVTCfF9kwU+wwf1X6sP1IRj2J+4oDRApqwIR1qfa074eT7FaIUG+Ox4+ua 7cgtHZ9OcyiSKs45v4zgr0PfzSJpf+mMk3n81aYWEkvKYZ/SGE1HnuBLXtildqmLG0Nm QNh9wuimGrf6RLRyySBgTWsSA8wOzy6Xk8au5Mk07RFGygNa69A+eDGcpVOh3qh5qm73 pj2+lRzPVaRwvJZMLzrnn4K3q8CNFKVJKFm7CSpJ6chcP9s8UsgwKcGFonkwjiIP7mpI q16LcVXbaPNfXfrSrNdzBrGcLCw2pqLv/tCQu/wpzWCXreKQzpxsraUSeYjq1bM/qv1u MLew== MIME-Version: 1.0 X-Received: by 10.68.139.73 with SMTP id qw9mr21497085pbb.121.1390892255121; Mon, 27 Jan 2014 22:57:35 -0800 (PST) Received: by 10.68.155.38 with HTTP; Mon, 27 Jan 2014 22:57:35 -0800 (PST) Date: Tue, 28 Jan 2014 01:57:35 -0500 Message-ID: Subject: strange behavior out of a "supported" bhyve CPU From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Tue, 28 Jan 2014 06:57:35 -0000 CPU: Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz (2998.33-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306c3 Family = 0x6 Model = 0x3c Stepping = 3 Features=0xbfebfbff Features2=0x7ffafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Standard Extended Features=0x27ab TSC: P-state invariant, performance statistics #!/bin/sh ifconfig tap9 destroy ifconfig tap9 create ifconfig tap9 up sleep 5 ifconfig bridge0 addm tap9 up /usr/sbin/bhyveload -m 512 -d /vms/import/backupInstance 8e2nt39puc /usr/sbin/bhyve -c 1 -m 512 -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap9 -s 2:0,virtio-blk,/vms/import/backupInstance -S 31,uart 8e2nt39puc& echo $!>/var/run/petitecloud/8e2nt39puc ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | |_| |_| \___|\___||____/|_____/|_____/ ``` ` 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... | .- -. | | -- -. | | `:` `:` | | .-- `--. | | .---.....----. +-----------------------------------------+ Booting... 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 10.0-BETA2 #0 r257166: Sat Oct 26 19:23:22 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz (2998.05-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306c3 Family = 0x6 Model = 0x3c Stepping = 3 Features=0x8f83ab7f Features2=0xe2fa7a17,FMA,CX16,xTPR,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AESNI,F16C,RDRAND,HV> AMD Features=0x24100800 AMD Features2=0x21 Standard Extended Features=0x400 TSC: P-state invariant real memory = 536870912 (512 MB) avail memory = 492277760 (469 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: random device not loaded; using insecure entropy ioapic0 irqs 0-23 on motherboard kbd0 at kbdmux0 random: initialized module_register_init: MOD_LOAD (vesa, 0xffffffff80cf9cf0, 0) error 19 acpi0: on motherboard acpi0: Power Button (fixed) atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 10000000 Hz quality 950 Event timer "HPET" frequency 10000000 Hz quality 550 Event timer "HPET1" frequency 10000000 Hz quality 450 Event timer "HPET2" frequency 10000000 Hz quality 450 Event timer "HPET3" frequency 10000000 Hz quality 450 Event timer "HPET4" frequency 10000000 Hz quality 450 Event timer "HPET5" frequency 10000000 Hz quality 450 Event timer "HPET6" frequency 10000000 Hz quality 450 Event timer "HPET7" frequency 10000000 Hz quality 450 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: no PRT entry for 0.31.INTA virtio_pci0: port 0x2000-0x201f mem 0xc0000000-0xc0001fff at device 1.0 on pci0 vtnet0: on virtio_pci0 virtio_pci0: host features: 0x1018020 virtio_pci0: negotiated features: 0x18020 vtnet0: Ethernet address: 00:a0:98:33:6d:42 virtio_pci1: port 0x2040-0x207f mem 0xc0002000-0xc0003fff at device 2.0 on pci0 vtblk0: on virtio_pci1 virtio_pci1: host features: 0x10000044 virtio_pci1: negotiated features: 0x10000044 vtblk0: 10240MB (20971520 512 byte sectors) uart2: port 0x3f8-0x3ff irq 4 at device 31.0 on pci0 uart2: console (9600,n,8,1) Timecounters tick every 10.000 msec random: unblocking device. Netvsc initializing... Timecounter "TSC-low" frequency 1499022770 Hz quality 1000 and freezes.... note this is the same machine I had the weirdness with grub2-bhyve on -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org