From owner-freebsd-current@FreeBSD.ORG Thu Apr 30 21:40:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8943106572F; Thu, 30 Apr 2009 21:40:07 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id EB8DA8FC1E; Thu, 30 Apr 2009 21:40:02 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.3/8.14.3) with ESMTP id n3ULe21k062060; Thu, 30 Apr 2009 14:40:02 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.3/8.14.3/Submit) id n3ULe2HH062059; Thu, 30 Apr 2009 14:40:02 -0700 (PDT) (envelope-from david) Date: Thu, 30 Apr 2009 14:40:02 -0700 From: David Wolfskill To: pluknet Message-ID: <20090430214002.GB61978@albert.catwhisker.org> References: <20090429161626.GQ1387@albert.catwhisker.org> <200904301552.03118.jkim@FreeBSD.org> <200904301656.51003.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Andriy Gapon , Jung-uk Kim , Scott Ullrich Subject: Re: Panic "Fatal trap 18: integer divide fault while in kernel mode" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 21:40:08 -0000 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 01, 2009 at 01:09:45AM +0400, pluknet wrote: > ... > I decided to go another way. Before last changes in mp_machdep.c > cpu_topo() included > previously that piece of code which now is in topo_probe(). >=20 > What if just return that part back to cpu_topo() ? >=20 > David, can you thy this? It works for me now at least. >=20 > $ diff -urp sys/amd64/amd64/mp_machdep.c.orig sys/amd64/amd64/mp_machdep.c > --- sys/amd64/amd64/mp_machdep.c.orig 2009-05-01 00:59:55.000000000 +04= 00 > +++ sys/amd64/amd64/mp_machdep.c 2009-05-01 01:00:20.000000000 +04= 00 > @@ -309,6 +309,8 @@ cpu_topo(void) > { > int cg_flags; >=20 > + topo_probe(); > + > /* > * Determine whether any threading flags are > * necessry. > $ diff -urp sys/i386/i386/mp_machdep.c.orig sys/i386/i386/mp_machdep.c > --- sys/i386/i386/mp_machdep.c.orig 2009-05-01 01:01:53.000000000 +04= 00 > +++ sys/i386/i386/mp_machdep.c 2009-05-01 01:01:41.000000000 +0400 > @@ -362,6 +362,8 @@ cpu_topo(void) > { > int cg_flags; >=20 > + topo_probe(); > + > /* > * Determine whether any threading flags are > * necessry. >=20 I was able to hand-apply that, rebuild kernel, and it booted successfully -- thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --qcHopEYAB45HaUaB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkn6GrEACgkQmprOCmdXAD3qDgCdGvhkPk/bC2BGB8AQ8384zdz0 aJAAn0+cGH8dPWOOh1ngvHMv72zpyG3b =W4Dm -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--