LOBOS
Hello all :))
I've reading a bit about booting Linux within Linux, and I'm
pretty interested in this issue. The point here is, will a stable kernel support this in a near future?.
There are a few alternatives like 'LOBOS' (which, IMHO, is the
most portable, easy and small of all), 'bootimg', the two kernel monte, etc...
This will be very useful for a lot of thinks: netbooting, initrd
replacement, kernel switching and testing, etc...
Have you think about adding this to the kernel. It won't enlarge
the kernel and IMHO is a very good thing to have. Of course I'm not a kernel guru and I don't know what kind of problems this would arise.
Have fun :)
Ra�l
I've been wanting Linux which can boot Linux for a long time. See http://www.bitmover.com/ml for some slides on why, for those of you who are guess, yes it is the same OS cluster idea for SMP scaling I've been pushing on for 7 years. It's finally getting some attention as well, the IBM guys are looking at it, a FreeBSD guy is looking at it, and the UML guy thinks he can do a UML implementation in such a way that putting it on real hardware would be a "simple" port.
Quoted 24 lines · RaúlNúñez de Arenas Coronado
Hello all :))
I've reading a bit about booting Linux within Linux, and I'm
pretty interested in this issue. The point here is, will a stable kernel support this in a near future?.There are a few alternatives like 'LOBOS' (which, IMHO, is the
most portable, easy and small of all), 'bootimg', the two kernel monte, etc...This will be very useful for a lot of thinks: netbooting, initrd
replacement, kernel switching and testing, etc...Have you think about adding this to the kernel. It won't enlarge
the kernel and IMHO is a very good thing to have. Of course I'm not a kernel guru and I don't know what kind of problems this would arise.Have fun :)
Raúl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
--- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm
hi read that url ;)
http://www.missl.cs.umd.edu/linuxbios/msg03992.html
victor
-------------------------------------
RaúlNúñez de Arenas Coronado <[email protected]>
Hello all :))
I've reading a bit about booting Linux within Linux, and I'm
pretty interested in this issue. The point here is, will a stable kernel support this in a near future?.
There are a few alternatives like 'LOBOS' (which, IMHO, is the
most portable, easy and small of all), 'bootimg', the two kernel monte, etc...
This will be very useful for a lot of thinks: netbooting, initrd
replacement, kernel switching and testing, etc...
Have you think about adding this to the kernel. It won't enlarge
the kernel and IMHO is a very good thing to have. Of course I'm not a kernel guru and I don't know what kind of problems this would arise.
Have fun :)
Raúl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line
I've been wanting Linux which can boot Linux for a long time.
This is what Cobalt firmware has been doing FOREVER. We didn't solve it generically, but it works marvelously for what it does.
Quoted 4 lines · Tim Hockin
Quoted 1 line
I've been wanting Linux which can boot Linux for a long time.
This is what Cobalt firmware has been doing FOREVER. We didn't solve it generically, but it works marvelously for what it does.
The netwinder firmware is a stripped down Linux kernel which boots another linux kernel.
ftp://ftp.netwinder.org/pub/ccc/firmware/
And the Linux BIOS project does that also
http://www.acl.lanl.gov/linuxbios/
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
Re: LOBOS (kexec)
In reply to RaúlNúñez de Arenas CoronadoQuoted 7 lines · Larry McVoy
I've been wanting Linux which can boot Linux for a long time. See http://www.bitmover.com/ml for some slides on why, for those of you who are guess, yes it is the same OS cluster idea for SMP scaling I've been pushing on for 7 years. It's finally getting some attention as well, the IBM guys are looking at it, a FreeBSD guy is looking at it, and the UML guy thinks he can do a UML implementation in such a way that putting it on real hardware would be a "simple" port.
I am maintaining a version of this functionality against 2.4.x called kexec. And I plan to work on integration into linux with 2.5.x. After the details are worked out I will look at a backport to 2.4.x
The hard part is not linux booting linux but the passing of the firmware/BIOS tables from one kernel to the next. Especially those that can only be obtained by a 16bit query. It is my assumption that after the OS runs you cannot return to the firmware, it's state is hopelessly mangled. That may not be totally true but it is fairly close to the truth.
I am doing this a part of the linuxBIOS effort and as such it is just maturing enough that I can really start concentrating on this aspect of the problem. I do not want an interface that is mushy. I want an interface that is extensible. But is pretty much frozen for all time like the ELF file format.
My patches show up from time to time at:
ftp://download.linuxnetworx.com/pub/src/kernel-patches/
Hopefully soon I will get my port to 2.4.14 put up there soon. I have been maintaining and this since 2.4.0-pre9 or so. And I have been using this actively. And I have an alpha port. I would port to other architectures but I don't have the machines available.
Eric
Re: LOBOS (kexec)
Quoted 6 lines
The hard part is not linux booting linux but the passing of the
firmware/BIOStables from one kernel to the next. Especially those that can only be obtained by a 16bit query. It is my assumption that after the OS runs you cannot return to the firmware, it's state is hopelessly mangled. That may not be totally true but it is fairly close to the truth.
It is unless you control the firmware. Our (Cobalt) firmware reserves a region of memory which the primary (in-flash) kernel is not made aware of. The in-flash kernel can do all the fun things a kernel can do, and then return to firmware.
Re: LOBOS (kexec)
Quoted 11 lines · Tim Hockin
Quoted 6 lines
The hard part is not linux booting linux but the passing of the
firmware/BIOStables from one kernel to the next. Especially those that can only be obtained by a 16bit query. It is my assumption that after the OS runs you cannot return to the firmware, it's state is hopelessly mangled. That may not be totally true but it is fairly close to the truth.It is unless you control the firmware. Our (Cobalt) firmware reserves a region of memory which the primary (in-flash) kernel is not made aware of. The in-flash kernel can do all the fun things a kernel can do, and then return to firmware.
Hmm. I might have to check it out. Comparing notes with what you do on the Cobalt with what I'm doing in linuxBIOS. Do you happen to have a url?
But as I want a general solution I don't intend to pick a solution that depends on the firmware.
Eric
Re: LOBOS (kexec)
In reply to RaúlNúñez de Arenas CoronadoThe approaching 2.5 seems to revive the spirits of the Linux to Linux boot loaders ;-) Just a few days ago, I've started working again on bootimg ...
Quoted 2 lines · Eric W. Biederman
My patches show up from time to time at:
ftp://download.linuxnetworx.com/pub/src/kernel-patches/
This site always seems to be unavailable. Is there a more stable location for kexec ? I'd like to link to it from
http://bootimg.sourceforge.net/
- Werner
Signature · 3 lines
_________________________________________________________________________ / Werner Almesberger, Lausanne, CH [email protected] / /_http://icawww.epfl.ch/almesberger/_____________________________________/
Re: LOBOS (kexec)
In reply to RaúlNúñez de Arenas CoronadoQuoted 3 lines · Werner Almesberger
The approaching 2.5 seems to revive the spirits of the Linux to Linux boot loaders ;-) Just a few days ago, I've started working again on bootimg ...
There is something to that. I've mostly been in maintenance mode. And tackling other things. For what is worth I can currently boot memtest86 and etherboot, besides the linux kernel.
Quoted 7 lines
Quoted 2 lines · Eric W. Biederman
My patches show up from time to time at:
ftp://download.linuxnetworx.com/pub/src/kernel-patches/This site always seems to be unavailable. Is there a more stable location for kexec ? I'd like to link to it from
http://bootimg.sourceforge.net/
Hmm. I will have to look. I haven't had problems with it myself. So I don't know what to say.
I'm not quite ready to do a whole lot on the maintenance side until I finish working through my design issues. But as soon as that is completed I will make certain something is going on.
You might want to link to the linuxBIOS site. http://www.linuxbios.org
As that is related. But I guess not directly useful.
Eric
Re: LOBOS (kexec)
In reply to RaúlNúñez de Arenas CoronadoQuoted 10 lines
Quoted 7 lines
Quoted 2 lines · Eric W. Biederman
My patches show up from time to time at:
ftp://download.linuxnetworx.com/pub/src/kernel-patches/This site always seems to be unavailable. Is there a more stable location for kexec ? I'd like to link to it from
http://bootimg.sourceforge.net/Hmm. I will have to look. I haven't had problems with it myself. So I don't know what to say.
I had problems with that URL also. It should be:
ftp://download.linuxnetworx.com/pub/src/linux-kernel-patches/
~Randy
Re: LOBOS (kexec)
In reply to RaúlNúñez de Arenas CoronadoQuoted 8 lines · Randy.Dunlap
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines · Eric W. Biederman
My patches show up from time to time at:
ftp://download.linuxnetworx.com/pub/src/kernel-patches/This site always seems to be unavailable. Is there a more stable location for kexec ? I'd like to link to it from
http://bootimg.sourceforge.net/
Quoted 5 lines
Quoted 2 lines
Hmm. I will have to look. I haven't had problems with it myself. So I don't know what to say.
I had problems with that URL also. It should be:
ftp://download.linuxnetworx.com/pub/src/linux-kernel-patches/
Oops I typed too much from memory...
Eric