lkml.org 
[lkml]   [2004]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Hot kernel change
On Thu, 19 Feb 2004 13:33:43 -0000 (WET) "Carlos Silva" <r3pek@r3pek.homelinux.org> wrote:

| hi,
|
| i would like to know if isn't it possible to implement a hot kernel
| change, i mean, without reboot. i would do it myself if i had the knoledge
| to do it but i'm starting with kernel-level programing now. i think it
| would be possible if we make something like M$'s OS do when it hibernates,
| copy all the memory, registers, etc to the disc and then put all back
| again.
|
| am i dreaming or this is possible? :)

The kexec patch is basically "linux reboots linux".
It bypasses the firmware/BIOS to do the reboot.

Patches for 2.6.0 and 2.6.1 are here (I haven't updated for
2.6.2 or 2.6.3 yet):
http://developer.osdl.org/rddunlap/kexec/

Patches for some 2.5.x kernels are here:
http://www.xmission.com/~ebiederm/files/kexec/

kexec does reduce reboot time quite a bit on some machines, but
there is still a noticeable pause.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.118 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site