checkpoint/restart

Kip Macy kmacy at fsmware.com
Wed Oct 8 21:25:56 PDT 2003


crap. I shouldn't do updates when I'm tired. Unfortunately,
I do all my DragonFly work when I'm too tired to do my paying
work.


			-Kip

On Wed, 8 Oct 2003, Matthew Dillon wrote:

>
> :Well the upcall mechanism mostly works, I've updated
> :the #ifdefs and added some simple test code for it.
> :http://www.fsmware.com/ckpt5.tgz
> :
> :However, it appears that the upcalls are messing up the
> :stack somehow. Instead of checkpoint returning the number
> :of bytes written, it returns a value less than zero and
> :sets errno to 210 (the syscall index for checkpoint).
> :It appears the stack isn't being popped enough.
> :
> :I'd appreciate it if someone could take a look at the upcall
> :function (taken from sendsig).
> :
> :Since I'm effectively sending a signal from a syscall should
> :I be setting the stack frame pointer to somewhere other than
> :regs->tf_esp - 1?
> :
> :			-Kip
>
>     freeze.S is missing from ckpt5.tgz.  The one from ckpt4 seems to
>     be incompatible.
>
> 					-Matt
> 					Matthew Dillon
> 					<dillon at xxxxxxxxxxxxx>
>





More information about the Kernel mailing list