[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tosh libretto apm / battery / disk woes




On 15 May 2005, at 12:09 pm, Martin Hauser wrote:

Hello,

note that CONFIG_APM_IGNORE_USER_SUSPEND is on by default, but based
on googling it should not be enabled for the libretto 1x0CT's.

Still cannot get the suspend to disk to work, but at least I can
unplug it from the mains cable now :)


I've never seen any suspend from the Kernel working in any way...
no chance at all. I've got an ibm thinkpad here and as i move around quite
a lot, i've decided i need a solution. I found one: swsusp2. This works
like a breeze for me and i've seen it working on other systems as well.
Might be worth a try for you as well. http://swsusp.sourceforge.net would
be the url for it.

The libretto doesn't require any OS support for suspend-to-disk; the hardware can do it on its own. It suspends to the last 130MB or so of where the *BIOS* thinks the hard disk end; this is crucial because the BIOS has the old limitation where it thinks that all disks are <=8.1 GB.

On my 100CT, I have the following partitions:

Disk /dev/hda: 12.0 GB, 12072517632 bytes
255 heads, 63 sectors/track, 1467 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         279     2241036    b  W95 FAT32
/dev/hda2   *         280         304      200812+  83  Linux
/dev/hda3 305 320 128520 82 Linux swap / Solaris
/dev/hda4             321        1467     9213277+   5  Extended
/dev/hda5             321        1017     5598621   83  Linux
/dev/hda6            1029        1467     3526267+  83  Linux

You can see the hole for the machine to suspend to between hda5 and hda6.

I spent a lot of time calculating where that hole needed to be, and the first time I did it I got it wrong and trashed the filesystem. :-)

Tim

--
Dr Tim Cutts
GPG: 1024/D FC81E159 5BA6 8CD4 2C57 9824 6638  C066 16E2 F4F5 FC81 E159



Reply to: