kexec or similar for FreeBSD

2011-06-16 Thread Russell Cattelan
I have been contacted about possibly implementing a fast reboot mechanism for FreeBSD similar to kexec on Linux. I have just started looking into how this accomplished so I figured a note to freebsd hackers would also be a good place to ask for comments. Has anybody looked at doing something like

Re: kexec or similar for FreeBSD

2011-06-16 Thread Matthew Jacob
Hi Russell! Yes, I think it is. Solaris supports something like this and the idea here is that with complicated I/O subsystems it's too hard to get them and locks cleaned up in a crash, but you want to get all the forensics you can, so doing a jump to a preloaded kernel that has a small and s

Re: kexec or similar for FreeBSD

2011-06-16 Thread Gleb Kurtsou
On (16/06/2011 13:32), Russell Cattelan wrote: > I have been contacted about possibly implementing a fast reboot > mechanism for FreeBSD similar to kexec on Linux. > > I have just started looking into how this accomplished so I figured > a note to freebsd hackers would also be a good place to ask

Re: kexec or similar for FreeBSD

2011-06-16 Thread Russell Cattelan
On 6/16/11 3:06 PM, Gleb Kurtsou wrote: On (16/06/2011 13:32), Russell Cattelan wrote: I have been contacted about possibly implementing a fast reboot mechanism for FreeBSD similar to kexec on Linux. I have just started looking into how this accomplished so I figured a note to freebsd hackers w

Re: kexec or similar for FreeBSD

2011-06-21 Thread Gleb Kurtsou
On (16/06/2011 22:35), Russell Cattelan wrote: > On 6/16/11 3:06 PM, Gleb Kurtsou wrote: > > On (16/06/2011 13:32), Russell Cattelan wrote: > >> I have been contacted about possibly implementing a fast reboot > >> mechanism for FreeBSD similar to kexec on Linux. > >> > >> I have just started lookin

Re: kexec or similar for FreeBSD

2011-06-21 Thread Warner Losh
On Jun 21, 2011, at 2:40 PM, Gleb Kurtsou wrote: > On (16/06/2011 22:35), Russell Cattelan wrote: >> On 6/16/11 3:06 PM, Gleb Kurtsou wrote: >>> On (16/06/2011 13:32), Russell Cattelan wrote: I have been contacted about possibly implementing a fast reboot mechanism for FreeBSD similar t

Re: kexec or similar for FreeBSD

2011-06-22 Thread Gleb Kurtsou
On (21/06/2011 16:05), Warner Losh wrote: > On Jun 21, 2011, at 2:40 PM, Gleb Kurtsou wrote: > > On (16/06/2011 22:35), Russell Cattelan wrote: > >> On 6/16/11 3:06 PM, Gleb Kurtsou wrote: > >>> On (16/06/2011 13:32), Russell Cattelan wrote: > I have been contacted about possibly implementing

Re: kexec or similar for FreeBSD

2011-10-24 Thread Russell Cattelan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 p

Re: kexec or similar for FreeBSD

2011-11-06 Thread Andriy Gapon
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 gettin

Re: kexec or similar for FreeBSD

2011-11-08 Thread Russell Cattelan
-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 t

Re: kexec or similar for FreeBSD

2011-11-08 Thread Andriy Gapon
on 08/11/2011 23:14 Russell Cattelan said the following: > 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, co

Re: kexec or similar for FreeBSD

2011-11-08 Thread Russell Cattelan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/8/11 4:10 PM, Andriy Gapon wrote: > on 08/11/2011 23:14 Russell Cattelan said the following: >> 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 pul