Date: Thu, 30 Apr 2009 14:40:02 -0700 From: David Wolfskill <david@catwhisker.org> To: pluknet <pluknet@gmail.com> Cc: freebsd-current@freebsd.org, Andriy Gapon <avg@icyb.net.ua>, Jung-uk Kim <jkim@freebsd.org>, Scott Ullrich <sullrich@gmail.com> Subject: Re: Panic "Fatal trap 18: integer divide fault while in kernel mode" Message-ID: <20090430214002.GB61978@albert.catwhisker.org> In-Reply-To: <a31046fc0904301409y6db1b591nb6bc4887ab8bff0f@mail.gmail.com> References: <20090429161626.GQ1387@albert.catwhisker.org> <200904301552.03118.jkim@FreeBSD.org> <a31046fc0904301325p6218e7ccxf68d4087484cd569@mail.gmail.com> <200904301656.51003.jkim@FreeBSD.org> <a31046fc0904301409y6db1b591nb6bc4887ab8bff0f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090430214002.GB61978>