Hi. On Thu, 2008-03-20 at 20:52 -0400, Alan Stern wrote: > For an S5 hibernation, the interpreter state within the image is wrong. > The image kernel needs to have the interpreter state from the boot > kernel -- I don't know if this is possible. It's possible. 1) When hibernating, allocate a page (or pages if one isn't enough) for the data to end up in after the atomic restore. 2) Put the location(s) in the image header. 3) At resume time, allocate an equivalent number of extra 'safe' pages and set up extra pbes for the atomic restore to copy data from the extra pages to the ones allocated when hibernating. 4) At the appropriate point in time, copy the NVS data to the extra 'safe' pages allocated in step 3. The data will then be available to the resumed kernel post-resume. I've been using this method to pass data from the boot kernel to the resumed kernel for a while now. (I'm using it for I/O speed statistics and state preservation). Regards, Nigel