Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 03:56:10 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Richard Yao <ryao@gentoo.org>
Cc:        stable@freebsd.org
Subject:   Re: FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux
Message-ID:  <20120721005610.GW2676@deviant.kiev.zoral.com.ua>
In-Reply-To: <5009FA7E.6020601@gentoo.org>
References:  <5009DA78.5070709@gentoo.org> <5009FA7E.6020601@gentoo.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120721005610.GW2676>