Re: Saving system image to disk (NOT on a laptop)

1999-08-17 Thread Marc Nicholas

Wasn't there already a project that did this??? The project name escapes
me, but I believe it was linked from the FreeBSD Projects page...

-marc


Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
"Fast, Expandable and Affordable Internet Caching Products"
1.877.464.4776 416.979.9000 fax: 416.979.8223 cell: 416.346.9255

On Tue, 17 Aug 1999, Andrzej Bialecki wrote:

 Hi,
 
 To all you low-level kernel and bootloader hackers: what would it take to
 save and restore a running system image (presumably from dedicated raw
 partition) so that the system would continue where it left before reboot?
 
 It doesn't sound that difficult to me - after all, laptops somehow do it -
 but I know too little low-level stuff to try implementing it myself...
 
 Any comments? Some code? ;-)
 
 
 Andrzej Bialecki
 
 //  [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
 // ---
 // -- FreeBSD: The Power to Serve. http://www.freebsd.org 
 // --- Small  Embedded FreeBSD: http://www.freebsd.org/~picobsd/ 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Saving system image to disk (NOT on a laptop)

1999-08-17 Thread Kris Kennaway

On Tue, 17 Aug 1999, Marc Nicholas wrote:

 Wasn't there already a project that did this??? The project name escapes
 me, but I believe it was linked from the FreeBSD Projects page...

Maybe you're thinking of the RIO project (RAM I/O):
http://www.eecs.umich.edu/Rio/

Kris



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Saving system image to disk (NOT on a laptop)

1999-08-17 Thread Marc Nicholas

Yeah...I was thinking of RIO which isn't 100% what Andrzej wanted...but
maybe a step in the right direction?

-marc


Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
"Fast, Expandable and Affordable Internet Caching Products"
1.877.464.4776 416.979.9000 fax: 416.979.8223 cell: 416.346.9255

On Tue, 17 Aug 1999, Kris Kennaway wrote:

 On Tue, 17 Aug 1999, Marc Nicholas wrote:
 
  Wasn't there already a project that did this??? The project name escapes
  me, but I believe it was linked from the FreeBSD Projects page...
 
 Maybe you're thinking of the RIO project (RAM I/O):
 http://www.eecs.umich.edu/Rio/
 
 Kris
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Saving system image to disk (NOT on a laptop)

1999-08-17 Thread Marc Nicholas
Wasn't there already a project that did this??? The project name escapes
me, but I believe it was linked from the FreeBSD Projects page...

-marc


Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
Fast, Expandable and Affordable Internet Caching Products
1.877.464.4776 416.979.9000 fax: 416.979.8223 cell: 416.346.9255

On Tue, 17 Aug 1999, Andrzej Bialecki wrote:

 Hi,
 
 To all you low-level kernel and bootloader hackers: what would it take to
 save and restore a running system image (presumably from dedicated raw
 partition) so that the system would continue where it left before reboot?
 
 It doesn't sound that difficult to me - after all, laptops somehow do it -
 but I know too little low-level stuff to try implementing it myself...
 
 Any comments? Some code? ;-)
 
 
 Andrzej Bialecki
 
 //  ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com)
 // ---
 // -- FreeBSD: The Power to Serve. http://www.freebsd.org 
 // --- Small  Embedded FreeBSD: http://www.freebsd.org/~picobsd/ 
 
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message
 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Saving system image to disk (NOT on a laptop)

1999-08-17 Thread Kris Kennaway
On Tue, 17 Aug 1999, Marc Nicholas wrote:

 Wasn't there already a project that did this??? The project name escapes
 me, but I believe it was linked from the FreeBSD Projects page...

Maybe you're thinking of the RIO project (RAM I/O):
http://www.eecs.umich.edu/Rio/

Kris



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Saving system image to disk (NOT on a laptop)

1999-08-17 Thread Marc Nicholas
Yeah...I was thinking of RIO which isn't 100% what Andrzej wanted...but
maybe a step in the right direction?

-marc


Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
Fast, Expandable and Affordable Internet Caching Products
1.877.464.4776 416.979.9000 fax: 416.979.8223 cell: 416.346.9255

On Tue, 17 Aug 1999, Kris Kennaway wrote:

 On Tue, 17 Aug 1999, Marc Nicholas wrote:
 
  Wasn't there already a project that did this??? The project name escapes
  me, but I believe it was linked from the FreeBSD Projects page...
 
 Maybe you're thinking of the RIO project (RAM I/O):
 http://www.eecs.umich.edu/Rio/
 
 Kris
 
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-hackers in the body of the message
 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Saving system image to disk (NOT on a laptop)

1999-08-16 Thread Mike Smith
 Hi,
 
 To all you low-level kernel and bootloader hackers: what would it take to
 save and restore a running system image (presumably from dedicated raw
 partition) so that the system would continue where it left before reboot?
 
 It doesn't sound that difficult to me - after all, laptops somehow do it -
 but I know too little low-level stuff to try implementing it myself...

It's quite difficult, in that it requires intimate low-level knowledge 
of the hardware in order to save/restore its state correctly.

In the case of laptops it's much easier because the hardware can't be 
changed under the image, and the BIOS knows all about the hardware.

To do it right in the generic case, you'd virtually have to go 
through the entire boot process again.

It might make more sense to try an alternative arrangement whereby you 
paged _everything_ out to swap, then saved the entire kernel data and 
bss segments somewhere.  You'd have fun at the restore's cutover point 
though, and any stateful hardware would still be a bitch to deal with.

-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  msm...@freebsd.org
\\-- Joseph Merrick   \\  msm...@cdrom.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message