kernel trap 12

Matthew Dillon dillon at apollo.backplane.com
Sun Jul 18 09:37:14 PDT 2004


    I almost have it working in Bochs.  Bochs is not properly saving and
    restoring registers around BIOS calls, and even a fix FreeBSD-5 recently
    put in their cdboot.s doesn't solve the problem.  However, a brute-force
    pushal/popal to save and restore *all* general register around the calls
    appears to solve the problem and I am able to make it boot via a normal
    non-emulated 'CD'.  It gets past the loader stage and actually boots
    the kernel single-user.

    Unfortunately it looks like Bochs's floating point support is badly
    broken and I get a panic the moment I try to use FP.

						-Matt





More information about the Bugs mailing list