Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.



On Thu, Feb 21, 2008 at 09:45:02AM +1100, Nigel Cunningham wrote:

- people keep talking about hibernating to an ext3 fs mounted on fuse as
a limitation of the freezer. To do that with kexec, you're still going
to have to bmap the ext3 fs and pass the block list (in which case we
can also do it without kexec) or umount all the ext3/fuse part and
remount in the kexec'd kernel. Sort of defeats the purpose, doesn't it?

No, with a freezer-based model you can basically *never* suspend to
anything related to FUSE or a userspace USB device or anything involving
userspace iSCSI initiators or whatever. Sure, there are cases where
moving away from the current model doesn't buy you anything, but that
doesn't mean that the current model is a good thing. It's not. The
freezer is a fundamentally broken concept.

I also wonder about how much of a pain it's going to be setting up
userspace for this kexec'd kernel. Will you need a separate partition
just for it? If not, will the userspace be loaded into memory all the
time (more memory wasted for normal use), or loaded from ordinary
partitions at kexec time (how to do safely? - more info to transfer
between kernels?).

You're looking at a tiny amount of memory when compared to current
systems. It's really not a problem.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.
    ... To do that with kexec, you're still going to have to bmap the ext3 fs and pass the block list or umount all the ext3/fuse part and remount in the kexec'd kernel. ... anything related to FUSE or a userspace USB device or anything involving userspace iSCSI initiators or whatever. ... The freezer is a fundamentally broken concept. ... Low memory situations is one other situation that occurs to me quickly, especially if your ability to swap were to depend upon a userspace driver and/or filesystem. ...
    (Linux-Kernel)
  • Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.
    ... To do that with kexec, you're still going to have to bmap the ext3 fs and pass the block list or umount all the ext3/fuse part and remount in the kexec'd kernel. ... anything related to FUSE or a userspace USB device or anything involving userspace iSCSI initiators or whatever. ... The freezer is a fundamentally broken concept. ... Putting drivers and filesystems in userspace is the fundamentally broken concept. ...
    (Linux-Kernel)
  • Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.
    ... To do that with kexec, ... userspace iSCSI initiators or whatever. ... freezer is a fundamentally broken concept. ... Putting drivers and filesystems in userspace is the fundamentally broken ...
    (Linux-Kernel)
  • Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.
    ... To do that with kexec, you're still going to have to bmap the ext3 fs and pass the block list or umount all the ext3/fuse part and remount in the kexec'd kernel. ... anything related to FUSE or a userspace USB device or anything involving userspace iSCSI initiators or whatever. ... The freezer is a fundamentally broken concept. ... If not, will the userspace be loaded into memory all the time, or loaded from ordinary partitions at kexec time (how to do safely? ...
    (Linux-Kernel)
  • Re: [linux-pm] Re: Hibernation considerations
    ... requested the image to be not greater than 50% of RAM. ... to free some memory _before_ identifying memory to save and you must not ... the memory, it's very possilbe that it is going to involve userspace, so ... The argument given was about the freezer and IMO it was valid. ...
    (Linux-Kernel)