From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 15 00:42:01 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 2B97AF21 for ; Mon, 15 Dec 2014 00:42:01 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id E0850847 for ; Mon, 15 Dec 2014 00:42:00 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 27A5386242 for ; Mon, 15 Dec 2014 00:41:53 +0000 (UTC) Message-ID: <548E2E6D.6080908@freebsd.org> Date: Sun, 14 Dec 2014 19:42:21 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: bhyverun - mptable/smbios table requires mapped mem References: <6A5FD6A7-E3B2-4323-A21D-3770E7C3742E@gmail.com> In-Reply-To: <6A5FD6A7-E3B2-4323-A21D-3770E7C3742E@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7Q1gLj8MLDdPM4Ot16tG2oRcShgeLeLmt" 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:42:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7Q1gLj8MLDdPM4Ot16tG2oRcShgeLeLmt Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2014-12-14 19:35, Paul Chakravarti wrote: > Hello, >=20 > I was just trying out bhyve on a server (demise below) and got the foll= owing problems -=20 >=20 >=20 > # sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 512K -t tap0 -d vm0.i= mg -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 >=20 >=20 > After a bit of digging around I found the =E2=80=98-Y=E2=80=99 option f= or bhyve(8) (inhibit MPtable generation) and temporarily patched vmrun to= pass this option and then got the following error >=20 > /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), fun= ction main, file /usr/src/usr.sbin/bhyve/bhyverun.c, line 839. > Abort trap (core dumped) >=20 > Any ideas? >=20 > Paul >=20 >=20 >=20 >=20 > Copyright (c) 1992-2014 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 199= 4 > 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) 2014051= 2 > module vtnet already present! > CPU: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz (3400.09-MHz K8-class CP= U) > 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 acpi= 0 > 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-0xf= 7bfffff,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 ir= q 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 me= m 0xf7d00000-0xf7d1ffff,0xf7d20000-0xf7d23fff irq 17 at device 0.0 on pci= 4 > 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 i= rq 19 at device 0.0 on pci5 > xhci0: 32 byte context size. > usbus1 on xhci0 > ehci1: mem 0xf7e03000-0xf7e033ff ir= q 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,0xf= 0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xf7e02000-0xf7e= 027ff 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 is= a0 > 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 usbus= 2 > ugen1.1: <0x1b21> at usbus1 > uhub1: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbu= s1 > ugen0.1: at usbus0 > uhub2: on usbus= 0 > 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 >=20 >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 You are trying to run a guest with what looks like an invalid amount of memory. -m expects a value in metabytes --=20 Allan Jude --7Q1gLj8MLDdPM4Ot16tG2oRcShgeLeLmt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUji5wAAoJEJrBFpNRJZKfjH8QAI4MHhtFDKNgcB9NFubG27Nw Il32+JboOsXRQYJDob3HYQJxqFmgu5IuoTmkKFDpu3l6hkyTb9Ur7FaRhcNRy7gc vIsXyk4snDoZhnebvSLMRY/xvlsCTKHvPbQyMBPtJiYXj/rbH8eYUtEs2i3mceWj TsCNRogxovAVQgUwjv08U4SAMFJ6rFtEMLRp18QoIlcPOZKUavCGgjx0VXjciU+r zGVMUb8/EOKHAsb5SyAZ98XJni/ytejIXJltcyRdkHjBjv6fEI7XQ2iuUoZYje1+ 7N7QxzEBJQIeaPAFUTVt2mKOBoqauZgcgflhLEXcPpVLjQq3CdkqawhlmTJYjq43 58y0UvGnN6BFS9wBwXOjamNMGq3YNwMZZVInzD6RJDb8GieE9B9l9QtHIE0OkEc+ /igbtOcx47TGUSJLNDKi0hwt7U42YgqFWa92yRU9VuZwo1RYPoqW/w6wv5D/TJcp QA5jPxLuL4WeDvsR+LPswIeJ3FMdzh8w7wZ5UTwWNLhNwBS+2Ffgpw2gpKF4toxc 4qeupva9+FJysAm/FO5zGqMBB3GKqHuf/RTbnxxpe0vVeaCavL5LdZ56TUn7E9Es 5xXLF1G488AuzjgTypf52+FgKtvB5EiXp/imm7UA28yr5WpyfA877TiGwhGtR/sO ESQgJL32xI1lJAfN8Hfe =k301 -----END PGP SIGNATURE----- --7Q1gLj8MLDdPM4Ot16tG2oRcShgeLeLmt--