Panic "Fatal trap 18: integer divide fault while in kernel mode"

David Wolfskill david at catwhisker.org
Thu Apr 30 21:40:08 UTC 2009


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().
> 
> What if just return that part back to cpu_topo() ?
> 
> David, can you thy this? It works for me now at least.
> 
> $ 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 +0400
> +++ sys/amd64/amd64/mp_machdep.c        2009-05-01 01:00:20.000000000 +0400
> @@ -309,6 +309,8 @@ cpu_topo(void)
>  {
>         int cg_flags;
> 
> +       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 +0400
> +++ sys/i386/i386/mp_machdep.c  2009-05-01 01:01:41.000000000 +0400
> @@ -362,6 +362,8 @@ cpu_topo(void)
>  {
>         int cg_flags;
> 
> +       topo_probe();
> +
>         /*
>          * Determine whether any threading flags are
>          * necessry.
> 

I was able to hand-apply that, rebuild kernel, and it booted
successfully -- thanks!

Peace,
david
-- 
David H. Wolfskill				david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090430/4907f581/attachment.pgp


More information about the freebsd-current mailing list