From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 15 00:36:03 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18DC8E84 for ; Mon, 15 Dec 2014 00:36:03 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F74E79F for ; Mon, 15 Dec 2014 00:36:02 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id x12so13240073wgg.11 for ; Sun, 14 Dec 2014 16:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=4NYSEeKpkeQj76lhv6BrrG5OKPp0DLkZkUei1jIewn4=; b=KqDcMUexWNnDLHF18gKmQy26KLIhFVsv3yqlpAbTUIjXnMate49izSV5mk89n7FSf7 J57HHA4su/r30O9SYFEs7NUIiw2RHEZWMk/cwwR7pFlphA+b6V+byWA91NrAuiZ5Z4ZC DcQOlkcTckmseypcZGKDiU8WcoR2BZCtvODknAeYKs3zn92eoEetvY1+MJaOA6AxTykX gm12p6mP6MVK4XI5qZaG1WdQ7S/F9KZyPuylHXUkTMXXCx5o9BTyCH4VYj2LbLaXJNEy LOqfb3DVJGLHbvTLsV3boxG8LTJNfhdAxuXupr8SJ5Y4CUpgI3ZICv0HVAcBc1VAzVyZ XlDw== X-Received: by 10.194.242.196 with SMTP id ws4mr14130697wjc.1.1418603760898; Sun, 14 Dec 2014 16:36:00 -0800 (PST) Received: from [10.0.1.108] (cpc15-stav13-2-0-cust197.17-3.cable.virginm.net. [77.100.102.198]) by mx.google.com with ESMTPSA id j1sm11032381wjw.25.2014.12.14.16.36.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Dec 2014 16:36:00 -0800 (PST) From: Paul Chakravarti Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: bhyverun - mptable/smbios table requires mapped mem Message-Id: <6A5FD6A7-E3B2-4323-A21D-3770E7C3742E@gmail.com> Date: Mon, 15 Dec 2014 00:35:59 +0000 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 15 Dec 2014 00:36:03 -0000 Hello, I was just trying out bhyve on a server (demise below) and got the = following problems -=20 # sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 512K -t tap0 -d = vm0.img -i -I ./FreeBSD-10.1-RELEASE-amd64-bootonly.iso vm0 Launching virtual machine "vm0" ... Consoles: userboot =20 FreeBSD/amd64 User boot, Revision 1.1 (root@releng1.nyi.freebsd.org, Tue Nov 11 20:57:23 UTC 2014) Loading /boot/defaults/loader.conf=20 =20 /boot/kernel/kernel text=3D0xf8f898 data=3D0x124a30+0x2055c0 = syms=3D[0x8+0x1405e0+0x8+0x15b077] Booting... mptable requires mapped mem After a bit of digging around I found the =E2=80=98-Y=E2=80=99 option = for bhyve(8) (inhibit MPtable generation) and temporarily patched vmrun = to pass this option and then got the following error /boot/kernel/kernel text=3D0xf8f898 data=3D0x124a30+0x2055c0 = syms=3D[0x8+0x1405e0+0x8+0x15b077] Booting... smbios table requires mapped mem Assertion failed: (error =3D=3D 0), = function main, file /usr/src/usr.sbin/bhyve/bhyverun.c, line 839. Abort trap (core dumped) Any ideas? Paul 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.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 module vtnet already present! CPU: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz (3400.09-MHz K8-class = CPU) Origin =3D "GenuineIntel" Id =3D 0x306a9 Family =3D 0x6 Model =3D = 0x3a Stepping =3D 9 = Features=3D0xbfebfbff = Features2=3D0x7fbae3ff AMD Features=3D0x28100800 AMD Features2=3D0x1 Structured Extended Features=3D0x281 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 34359738368 (32768 MB) avail memory =3D 33200242688 (31662 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard random: initialized kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 67, 1 (4) failed cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xf000-0xf03f mem = 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: aperture size is 256M, detected 65532k stolen memory vgapci0: Boot video device pcib2: irq 19 at device 6.0 on pci0 pci2: on pcib2 pci0: at device 22.0 (no driver attached) ehci0: mem 0xf7e04000-0xf7e043ff irq = 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0 on ehci0 pcib3: irq 16 at device 28.0 on pci0 pci3: on pcib3 pcib4: irq 17 at device 28.5 on pci0 pci4: on pcib4 em0: port 0xe000-0xe01f mem = 0xf7d00000-0xf7d1ffff,0xf7d20000-0xf7d23fff irq 17 at device 0.0 on pci4 em0: Using MSIX interrupts with 3 vectors em0: Ethernet address: 30:85:a9:a6:c6:93 pcib5: irq 19 at device 28.7 on pci0 pci5: on pcib5 xhci0: mem 0xf7c00000-0xf7c07fff = irq 19 at device 0.0 on pci5 xhci0: 32 byte context size. usbus1 on xhci0 ehci1: mem 0xf7e03000-0xf7e033ff irq = 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 pcib6: at device 30.0 on pci0 pci6: on pcib6 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port = 0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f = mem 0xf7e02000-0xf7e027ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahciem0: on ahci0 acpi_button0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: at iomem 0xce800-0xcf7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 est4: on cpu4 p4tcc4: on cpu4 est5: on cpu5 p4tcc5: on cpu5 est6: on cpu6 p4tcc6: on cpu6 est7: on cpu7 p4tcc7: on cpu7 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec random: unblocking device. usbus0: 480Mbps High Speed USB v2.0 usbus1: 5.0Gbps Super Speed USB v3.0 usbus2: 480Mbps High Speed USB v2.0 ugen2.1: at usbus2 uhub0: on usbus2 ugen1.1: <0x1b21> at usbus1 uhub1: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on = usbus1 ugen0.1: at usbus0 uhub2: on usbus0 uhub1: 4 ports with 4 removable, self powered ses0 at ahciem0 bus 0 scbus2 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 3.x device ada0: Serial Number Z295PC3C ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 3.x device ada1: Serial Number Z295PTNZ ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! Timecounter "TSC-low" frequency 1700046150 Hz quality 1000 Root mount waiting for: usbus2 usbus0 uhub2: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus2 usbus0 ugen0.2: at usbus0 uhub3: = on usbus0 ugen2.2: at usbus2 uhub4: = on usbus2 Root mount waiting for: usbus2 usbus0 uhub3: 6 ports with 6 removable, self powered uhub4: 8 ports with 8 removable, self powered Trying to mount root from zfs:tank/root []=E2=80=A6