Aspire One can't hibernate

Bug #660708 reported by Mathieu Trudel-Lapierre
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
High
Canonical Kernel Team
Maverick
Invalid
High
Canonical Kernel Team

Bug Description

Trying to hibernate this Acer Aspire One model we have in the lab but hibernate doesn't complete: the system goes back to screensaver and asking for a password. However, the power button LED starts blinking as in suspended mode (although the system doesn't suspend following this). It needs to be restarted before the button LED will get back to the "normal" green state.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1481 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x58540000 irq 45'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025015b,00100101'
   Controls : 8
   Simple ctrls : 5
Date: Wed Oct 13 10:07:37 2010
HibernationDevice: RESUME=UUID=eb4f3c4c-8374-4af2-add4-0d2bc5c66091
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: Acer AOA110
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=0de8a399-abc2-4283-a262-9335735cf026 ro quiet splash initcall_debug
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 05/09/2008
dmi.bios.vendor: Acer
dmi.bios.version: v0.3305
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAcer:bvrv0.3305:bd05/09/2008:svnAcer:pnAOA110:pvr1:rvnAcer:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: AOA110
dmi.product.version: 1
dmi.sys.vendor: Acer

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Well, seems like this may actually be an issue with the partitioning scheme, as there is a "Not enough free swap" message in syslog (and I finally could see the message once on another netbook). Marking as Incomplete, we should first test with a different partitioning scheme.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

Hi Matthieu,

I have an Aspire One ZG5 which is AOA110 and when I tried this week to install 10.10 from a usb "try it" version, downloaded from our site I wouldnt even boot. You seem to have better luck than me.

Do we have different models or is the cert process doing differently to what a user would do?

Revision history for this message
Ameet Paranjape (ameetp) wrote :

Mathieu,

Any update on the re-test as mentioned in comment #2?

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Hibernation works fine after setting custom partitions. Here is what I think happens:

This system is the model with an SSD drive, which is so small the code that decides what size swap to use for guided- use entire disk guesses a space that is too small to hold the entire contents of RAM, so hibernate fails.

This time I used ~6G for /, which left about 2.1G for swap, and hibernate succeeded.

Victor, I couldn't say why your system won't boot. The model I'm using is also a ZG5 AOA110, so maybe it has to do with a BIOS update required (I vaguely recall something similar to this early on when they were released or with early models).

Revision history for this message
Ameet Paranjape (ameetp) wrote :

Thanks Mathieu. I will double check with the kernel team if this issue requires documentation or a legitimate bug fix. Could you add the output of 'fdisk -l' for the working and non-working situations.

Victor, Please open a new bug for your issue. Thanks.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

A "bad" partitioning scheme goes like this:

Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006fbcd

   Device Boot Start End Blocks Id System
/dev/sda1 1 933 7490560 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 933 981 387073 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/sda5 933 981 387072 82 Linux swap / Solaris

While with manual partitioning ("good"), on which hibernate succeeds:

Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004e831

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 730 5858304 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 730 981 2019329 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/sda5 730 981 2019328 82 Linux swap / Solaris

Ameet Paranjape (ameetp)
Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → High
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
Changed in linux (Ubuntu Maverick):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
Changed in linux (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Herton R. Krzesinski (herton) wrote :

The bad partitioning case has indeed a swap very low in size: around 378MB, insufficient for 1GB of RAM of this machine. Kernel not at fault in this case.

There is a nice faq about swap here: https://help.ubuntu.com/community/SwapFaq

Not sure if more documentation is needed. I changed this to invalid, if not ok please reset it.

Changed in linux (Ubuntu Maverick):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.