From owner-freebsd-stable@FreeBSD.ORG Sat Jul 21 00:56:14 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F21C106566B for ; Sat, 21 Jul 2012 00:56:14 +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 D2F448FC12 for ; Sat, 21 Jul 2012 00:56:13 +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 q6L0uM0B060452; Sat, 21 Jul 2012 03:56:22 +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 q6L0uA17021895; Sat, 21 Jul 2012 03:56:10 +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 q6L0uAJF021894; Sat, 21 Jul 2012 03:56:10 +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 03:56:10 +0300 From: Konstantin Belousov To: Richard Yao Message-ID: <20120721005610.GW2676@deviant.kiev.zoral.com.ua> References: <5009DA78.5070709@gentoo.org> <5009FA7E.6020601@gentoo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hRt258QUzs6ToQn5" Content-Disposition: inline In-Reply-To: <5009FA7E.6020601@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 00:56:14 -0000 --hRt258QUzs6ToQn5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > 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: > >=20 > > 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 > >=20 > > If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without > > any problems. > >=20 > > Yours truly, > > Richard Yao > >=20 >=20 > I have an update. >=20 > 1. There is no backtrace. The only thing that I see printed after the > boot screen with beastie is a single line: >=20 > '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 > 2. Verbose mode does not change it. >=20 > 3. Removing `-cpu host` fixes it. Here is an excerpt of the host's > /proc/cpuinfo: >=20 > processor : 0 > vendor_id : AuthenticAMD > cpu family : 16 > model : 10 > model name : AMD Phenom(tm) II X6 1090T Processor > stepping : 0 > microcode : 0x10000dc > cpu MHz : 1600.000 > cache size : 512 KB > physical id : 0 > siblings : 6 > core id : 0 > cpu cores : 6 > apicid : 0 > initial apicid : 0 > fpu : yes > fpu_exception : yes > cpuid level : 6 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext > fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl > nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_l > m cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch > osvw ibs skinit wdt cpb npt lbrv svm_lock nrip_save pausefilter > bogomips : 6421.39 > TLB size : 1024 4K pages > clflush size : 64 > cache_alignment : 64 > address sizes : 48 bits physical, 48 bits virtual > power management: ts ttp tm stc 100mhzsteps hwpstate [9] >=20 > FreeBSD 9.0 had no problems in KVM with `-cpu host` on this system, so > this would seem to be a regression. >=20 Can you boot FreeBSD kernel on this machine bare ? Also it could be useful to show the CPU features lines from FreeBSD 9.0, or just full verbose dmesgs of the boots in KVM with and without -cpu host. --hRt258QUzs6ToQn5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlAJ/ikACgkQC3+MBN1Mb4gu7ACg0EV4Pw6AxgW0easJFK9qwTzY XhgAnRzrUkuam7kfhlRGxJQwinXq72du =5fSJ -----END PGP SIGNATURE----- --hRt258QUzs6ToQn5--