Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 16:30:07 +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:  <20120721133007.GB2676@deviant.kiev.zoral.com.ua>
In-Reply-To: <500A15E9.3080108@gentoo.org>
References:  <5009DA78.5070709@gentoo.org> <5009FA7E.6020601@gentoo.org> <20120721005610.GW2676@deviant.kiev.zoral.com.ua> <500A15E9.3080108@gentoo.org>

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

--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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=3D0x80802001<SSE3,CX16,POPCNT,HV>
>   AMD Features=3D0xe6500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,LM,3DNow!+,3DNo=
w!>
>   AMD Features2=3D0x1f7<LAHF,CMP,SVM,CR8,ABM,SSE4A,MAS,Prefetch>
=2E..
> Here is the dmesg output from FreeBSD 9.0-RELEASE without -cpu host:
=2E..
> Features=3D0x1783fbfd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC=
A,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=3D0x80802001<SSE3,CX16,POPCNT,HV>
>   AMD Features=3D0x20100800<SYSCALL,NX,LM>
>   AMD Features2=3D0x67<LAHF,CMP,SVM,ABM,SSE4A>

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



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