kexec or similar for FreeBSD

Russell Cattelan cattelan at thebarn.com
Tue Nov 8 21:14:36 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/6/11 6:23 AM, Andriy Gapon wrote:
> on 24/10/2011 20:55 Russell Cattelan said the following:
>> So it has been a while and a lot of hair pulling but kload is
>> sorta alive and kicking. It can now load the kernel from
>> userspace, copy it over the running kernel and jump the the
>> kernel entry point.
>> 
>> I'm still having problems getting through the boot process due
>> to interrupts arriving for unconfigured handlers. Fatal Trap
>> (30)
> 
> Just in case, is your original kernel running SMP?
> 
I'm working on the SMP stuff now.
Trying to get the processors in a state where
the restart process can complete.

For now I removed the panic call in the unknown interrupt case.


What I finally figured out was that starting up the system
was overwriting the page tables and caused any of AP's still
looking at those locations to cause qemu / kvm to reset  :-(

- -Russell


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk65m7gACgkQNRmM+OaGhBjkaQCfS4rfmuKAyyPWyseEYJaHbq+G
h1sAnjPgX2E6x7CEcvN11iR3qtJAfdPA
=OgIO
-----END PGP SIGNATURE-----


More information about the freebsd-hackers mailing list