Hibernate brokes my swap partition.

Derek Broughton news at pointerstop.ca
Tue Mar 14 00:41:43 UTC 2006


Josué Alcalde González wrote:

> El lun, 13--2006 a las 11:22 -0400, Derek Broughton escribió:
>> > No, it doesn't work. In fact, doing an update-grub deletes the line
>> I
>> > add.
>> 
>> Of course it does - read the comments in the file for ensuring that
>> parameters are applied by update-grub.  However, the resume parameter
>> shouldn't really be necessary.
>> --
> Yes, it works, and now, I can hibernate. Thanks.
> 
> I had not understand what I was doing. I didn't realise that the line
> must be commented and update-grub would understand it.

It _is_ counter-intuitive, isn't it.  It would have been better if they'd
used something like the shebang line in scripts: #!

> Also, the Hoary wiki page doesn't have an equal "=" after "kopt".

It's a wiki - if it's wrong, fix it :-)

> Anyway, I am having another problem, my wireless doesn't wake up after
> hibernation. Is this a known issue? I am using ipw2200 with static
> configuration using wep encryption.

For the purposes of testing, I'd turn off the WEP (actually, I have zero
confidence in WEP, anyway) and see if it comes back when you don't have
encryption.  

I should ask how you're hibernating.  /etc/acpi/hibernate.sh will force the
IPW2200 down first and rmmod the driver.  It does that for all network
devices.  This is done _before_ the actual hibernation.  It will also stop
problem services (by default, currently in dapper just mysql, but I have it
do anacron and ifplugd too). They then get restarted on resume. Don't just
invoke the ACPI routines directly. I don't know if Gnome has a good way to
do this, but I will _not_ invoke hibernate through the KDE klaptopdaemon,
because it doesn't seem to remove network drivers and restart anacron on
resume.

If you use the script, and it works without WEP, but not with, then you
probably need to add whatever controls WEP on your system to STOP_SERVICES
in /etc/default/acpi-support
-- 
derek





More information about the ubuntu-users mailing list