Messages in this thread | | | Date | Mon, 20 Mar 2000 20:23:07 -0500 | From | Erik Arjan Hendriks <> | Subject | Re: Linux loading Linux |
| |
I have done some work on Linux loading Linux...
I have written a kernel module that loads and starts a new Linux kernel on Linux. The code it completely contained in a module so no kernel modifications are required at all. The code I have is built/tested against Linux 2.2.x but I think it should be pretty portable to other kernel versions since it doesn't need much more than get_free_page() from the existing kernel. I have tested this code on the machines at my disposal and it seems to work fine.
Quick list of features: * It's a kernel module - no kernel patches * Loads initial ram disks along with the kernel image. * Loads kernel command lines.
This stuff starts a new kernel by returning to real mode first. The code and more documentation (including technical) is available at: http://www.scyld.com/software/monte.html
(I call it two kernel monte after the game three card monte. Two is easier than three. It's best to start easy.)
A limitation right now is that it doesn't handle reboots of SMP boxes. That seems pretty hairy. Any comments on the code and/or suggestions about what to do with SMP would be greatly appreciated.
- Erik ---------------------------------------------------------------------- Erik Arjan Hendriks Senior Technology Officer hendriks@scyld.com Scyld Computing Corporation
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |