Re: Switching Kernels without Rebooting?

Jesse Pollard (jesse@cats-chateau.net)
Wed, 11 Jul 2001 19:31:22 -0500


On Wed, 11 Jul 2001, Kip Macy wrote:
>In the future when Linux is more heavily used at the enterprise level
>there will likely be upgrade/revert modules to allow such a transition to
>take place.

I use some of the largest UNIX supercomputers ever built (IBM SP, Cray T3E,
SV1, YMP, XMP, J90, SGI Origin). None of them can start of a new kernel from an
earlier version. There are too many things that will fail:

Any network activity
Active disk I/O
Locked memory
File modification
File structures
Disk structures (yes they change...)
Clock Synchronization (SMP and cluster)
Shared memory (SMP and cluster)
semaphores (SMP and cluster)
login sessions
device status
shared disks and distributed file systems (cluster)
pipes

Before you even try switching kernels, first implement a process
checkpoint/restart. The process must be resumed after a boot using the same
kernel, with all I/O resumed. Now get it accepted into the kernel.

Anything else is just another name for "reboot using new kernel".

-- 
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: jesse@cats-chateau.net

Any opinions expressed are solely my own. - 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/