 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

25th December 2009, 09:55 PM
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Amsterdam, the Netherlands
Posts: 18

|
|
|
Aspire one (A110) suspend fails with filesystem mounted on mmcblk0
Hi;
F12 on my aspire one (A110, the original 8Gb SSD model) works well with only one significant problem.
Suspend fails; the screen fades to black, backlight stays on, macine stops responding to keyboard/mouse/powerswitch and just hangs (for at least an hour... longest I left it). Only thing that works is a 5 second click of death on the powerswitch. Plus an FSCK on at least one occasion after reboot. I have not been able to check if SSH and shutdown possible (on vacation) plus have logs go to a tmpfs (to save my SSD) so no log info. Similarly I cannot confirm if this affects hibernate because I run without a swapfile (SSD again, i.5Gb ram installed and I have never come even close to running out of memory).
But I think I have the culprit anyway:
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/464712
As described there; shutdown fails if there is a mounted card in the cardreader slot (/dev/mmcblk0) My system has a 4Gb SDHC card in the LH slot with a single XFS filesystem; which has my homedir on it; if I unmount that filesystem (but do not remove the card) shutdown and restore appear to work properly. But if the filesytem is mounted I get the bsod. Linked bug suggests this is restricted to large filesystems (?SDHC?) but I have not fully confirmed, although that matches my situation.
Posting here to see if anyone has any further info/workarounds, to ensure the fedora crew are aware that this appears to affect F12 (and is a regression, F11 suspended fine) and make sure it is documented somewhere. The linked bug also states similar bad suspend activity on other netbooks.
I'll try some other variations (and see if it also happens with USB sticks/RH cardrader, and report back here.
---------- Post added at 10:55 PM CST ---------- Previous post was at 09:44 PM CST ----------
Quick confirm/update; just tried as many combos as I can (limited resources).
Suspend always fails if I the SDHC card XFS filesystem is mounted in either the left or right cardreaders (as /dev/mmcblk0p1). Suspend is OK if the card is present but unmounted. Suspend is also fine with a 4Gb vfat (fat32) USB memorystick mounted as /dev/sdb1.
My F12 is fully updated; 2.6.31.9-174.fc12.i686.
If this appears new and I need to make a bugreport I'm happy to do so. Workarounds/suggestions also welcome.
Last edited by EasyTarget; 25th December 2009 at 10:08 PM.
Reason: remopve repitition, copyedit, correct title
|

25th December 2009, 10:36 PM
|
 |
An ape descendant
|
|
Join Date: Dec 2006
Location: Mexico City
Age: 29
Posts: 3,101

|
|
|
I just made some tests and confirm your findings. My 4GB SDHC card is formatted as ext2 and the 'funny' thing is that after the issue appears, the left slot only recognizes that particular card although it refuses to mount it. If I insert the card in the right slot I get the mounting issue as well.
Will restart to check the integrity of the card itself.
Just to clarify, by suspend you mean close the lid, right?
Thanks,
Joe.
---------- Post added at 04:36 PM CST ---------- Previous post was at 04:21 PM CST ----------
Is your SDHC ok? I mean, mine seems to have its superblock corrupted afterwards..
Thanks,
Joe.
__________________
Notebook: Acer Aspire 5536-5112.
AMD Athlon X2 QL64 @ 2.1GHz, 4GB DDR2 PC2-5300, ATI Radeon HD3200 (256MB), 250GB Toshiba HDD, HL-DT-ST DVDRAM GT20N
Fedora 16 x86_64
Netbook: Acer Aspire One A150
Intel Atom N270 @ 1.6GHz, 1.5 GB DDR2 PC2-4200, Intel Graphics (8MB?), 160GB Seagate HDD
Fedora 15 i686
|

25th December 2009, 11:38 PM
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Amsterdam, the Netherlands
Posts: 18

|
|
|
Joe;
There is an (one year old and, I thought, resolved) issue with ext filesystems corrupting on SD devices on the A110 during shutdown; I normally used 'testdsk' in auto mode to fix this (It worked well for me several times).
The long term solution I found was to format XFS (which is fine for /home in my experience).
To trigger suspend I closed the lid while I'm at the GDM login screen. But this also happens if I use the FN-F4 key combo or the shutdown menu. I was doing CTRL-ALT-F2 to the console and mounting/unmounting /home as root for convenience without logging as a user. But I first discovered this while in a full gnome session as my user and selecting 'suspend' from the shutdown menu.
For reference; Correct operation has the HDD light for a few seconds, then the screen goes off and the power LED flashes orange; wakes on any keypress.
|

26th December 2009, 02:55 AM
|
 |
An ape descendant
|
|
Join Date: Dec 2006
Location: Mexico City
Age: 29
Posts: 3,101

|
|
Quote:
Originally Posted by EasyTarget
Joe;
There is an (one year old and, I thought, resolved) issue with ext filesystems corrupting on SD devices on the A110 during shutdown; I normally used 'testdsk' in auto mode to fix this (It worked well for me several times).
The long term solution I found was to format XFS (which is fine for /home in my experience).
To trigger suspend I closed the lid while I'm at the GDM login screen. But this also happens if I use the FN-F4 key combo or the shutdown menu. I was doing CTRL-ALT-F2 to the console and mounting/unmounting /home as root for convenience without logging as a user. But I first discovered this while in a full gnome session as my user and selecting 'suspend' from the shutdown menu.
For reference; Correct operation has the HDD light for a few seconds, then the screen goes off and the power LED flashes orange; wakes on any keypress.
|
OK, I managed to recover the files in the corrupted SD but your long term solution does not work: if I leave the SD card mounted and formatted as XFS the thing hangs upon suspend (need to hard reboot to regain control).
How did you work around this?
Thanks,
Joe.
__________________
Notebook: Acer Aspire 5536-5112.
AMD Athlon X2 QL64 @ 2.1GHz, 4GB DDR2 PC2-5300, ATI Radeon HD3200 (256MB), 250GB Toshiba HDD, HL-DT-ST DVDRAM GT20N
Fedora 16 x86_64
Netbook: Acer Aspire One A150
Intel Atom N270 @ 1.6GHz, 1.5 GB DDR2 PC2-4200, Intel Graphics (8MB?), 160GB Seagate HDD
Fedora 15 i686
|

26th December 2009, 02:42 PM
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Amsterdam, the Netherlands
Posts: 18

|
|
|
"How did you work around this?"
I didn't.. My machine still hangs if I suspend it.
But at least it does not always also corrupt the SD card on reboot.
- This is only my long-term solution to the SD card filesystem corruption, which is a separate kernel issue. It also can be cured with the MMC_UNSAFE_RESUME kernel compile option, if you like building kernels.
|

27th December 2009, 03:40 AM
|
 |
An ape descendant
|
|
Join Date: Dec 2006
Location: Mexico City
Age: 29
Posts: 3,101

|
|
Quote:
Originally Posted by EasyTarget
"How did you work around this?"
I didn't.. My machine still hangs if I suspend it.
But at least it does not always also corrupt the SD card on reboot.
- This is only my long-term solution to the SD card filesystem corruption, which is a separate kernel issue. It also can be cured with the MMC_UNSAFE_RESUME kernel compile option, if you like building kernels.
|
I see, let's hope the devs take a look at this and make that a default option. Given Fedora's rapid development I am not really willing to compile the kernel myself.
Thanks for making me aware of the problem,
Joe.
__________________
Notebook: Acer Aspire 5536-5112.
AMD Athlon X2 QL64 @ 2.1GHz, 4GB DDR2 PC2-5300, ATI Radeon HD3200 (256MB), 250GB Toshiba HDD, HL-DT-ST DVDRAM GT20N
Fedora 16 x86_64
Netbook: Acer Aspire One A150
Intel Atom N270 @ 1.6GHz, 1.5 GB DDR2 PC2-4200, Intel Graphics (8MB?), 160GB Seagate HDD
Fedora 15 i686
|

10th January 2010, 07:17 PM
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 7

|
|
|
I've just upgraded my AA1 to F12 and have come across the same problem.
To get round it I created a file to force pm-suspend to unmount it and saved it as 66sdcard in /etc/pm/sleep.d
#!/bin/bash
case $1 in
hibernate)
umount /dev/mmcblk0
echo "unmounting SD card"
;;
suspend)
umount /dev/mmcblk0
echo "unmounting SD card"
;;
*)
;;
esac
I didn't bother making it remount it as it seems to do that anyway!
K
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:01 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|