From owner-freebsd-stable@FreeBSD.ORG Sat Jul 21 13:30:12 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC2451065672 for ; Sat, 21 Jul 2012 13:30:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4F37B8FC18 for ; Sat, 21 Jul 2012 13:30:12 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q6LDUK6Q013214; Sat, 21 Jul 2012 16:30:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q6LDU8jZ038810; Sat, 21 Jul 2012 16:30:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q6LDU72C038809; Sat, 21 Jul 2012 16:30:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 21 Jul 2012 16:30:07 +0300 From: Konstantin Belousov To: Richard Yao Message-ID: <20120721133007.GB2676@deviant.kiev.zoral.com.ua> References: <5009DA78.5070709@gentoo.org> <5009FA7E.6020601@gentoo.org> <20120721005610.GW2676@deviant.kiev.zoral.com.ua> <500A15E9.3080108@gentoo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ydr+kCxCcP3yQKPN" Content-Disposition: inline In-Reply-To: <500A15E9.3080108@gentoo.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: stable@freebsd.org Subject: Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 13:30:13 -0000 --ydr+kCxCcP3yQKPN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 20, 2012 at 10:37:29PM -0400, Richard Yao wrote: > On 07/20/2012 08:56 PM, Konstantin Belousov wrote: > > On Fri, Jul 20, 2012 at 08:40:30PM -0400, Richard Yao wrote: > >> On 07/20/2012 06:23 PM, Richard Yao wrote: > >>> Dear FreeBSD Developers, > >>> > >>> Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails > >>> before the kernel dmesg with 'kernel trap 9 with interrupts disabled'= . I > >>> am running the following command: > >>> > >>> qemu-system-x86_64 -drive > >>> file=3D/dev/zvol/rpool/KVM/freebsd,if=3Dscsi-bootorder=3Dc > >>> -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp > >>> 6,cores=3D6,threads=3D1,sockets=3D1 -curses -net > >>> nic,model=3De1000,macaddr=3D52:54:00:00:ee:04 -cpu host > >>> > >>> If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install with= out > >>> any problems. > >>> > >>> Yours truly, > >>> Richard Yao > >>> > >> > >> I have an update. > >> > >> 1. There is no backtrace. The only thing that I see printed after the > >> boot screen with beastie is a single line: > >> > >> 'kernel trap 9 with interrupts disabled' > > This line is probably printed after the banner and might be CPU features > > line. Is this true ? If so, show it. >=20 > I do not know what the banner is. However, that line is printed The copyright of UCB and registered trademark of FF lines are usually referred as banner. > immediately after the boot2 menu with Beastie. It occurs when I would > expect to see "Copyright (c) 1992-2012 The FreeBSD Project.". I see no > other visible characters aside from those from the boot2 menu with Beasti= e. Ok. =2E... > Here is the dmesg output from FreeBSD 9.0-RELEASE with -cpu host: =2E... > Features=3D0x1783fbff > Features2=3D0x80802001 > AMD Features=3D0xe6500800 > AMD Features2=3D0x1f7 =2E.. > Here is the dmesg output from FreeBSD 9.0-RELEASE without -cpu host: =2E.. > Features=3D0x1783fbfd > Features2=3D0x80802001 > AMD Features=3D0x20100800 > AMD Features2=3D0x67 The only difference between these two which triggers some memories is the absence of Page1GB in !-cpu host case. Could you try to comment out the if ((amd_feature & AMDID_PAGE1GB) !=3D 0) ndm1g =3D ptoa(Maxmem) >> PDPSHIFT; lines in create_pagetables() function from sys/amd64/amd64/pmap.c and see whether resulting kernel boots on -cpu host configuration ? --ydr+kCxCcP3yQKPN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlAKrt8ACgkQC3+MBN1Mb4hVNwCcDaWAOx5+Ps/DK/tCUDWfx3RT QcsAniF+NqsTqF1707QSLbLGueDwKRfi =NH/h -----END PGP SIGNATURE----- --ydr+kCxCcP3yQKPN--