Help - Search - Members - Calendar
Full Version: Sd Card Self-umount After Each Suspend
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
moe
I had been using my C1000 with PdaXrom Beta3 for about two month, and about one week ago I find this problem.

After each suspend, the SD card will be umounted. But it is not a clean umount, the system still thinks the SD card is mounted so I can not just mount it on. And when trying to umount, it gives me messages saying device busy. The only way to get around this is to use the MB applet to eject and reinsert the card, or sometimes I have to exit X, eject the card and insert it again to make sure it is mounted.

This is getting more and more annoy. Not only the files and programs stored on card become inaccesible before trying to remount the card. If I turn on the swap file on the card and suspend, the next poweron will hang the system and force me to restart.

The SD card is divided into 2 partition: a ext2 dev/mmcda2 on /mnt/card and fat-16 dev/mmcda1 on /mnt/card-fat16. And is a lexar 1G sd card.

If more information is needed, please let me know. Any advise is apperciated.
InSearchOf
Thats weird... I dont get this issue... I run swap on SD and suspend and resume often... have you made any config changes?

I actually run my /home on one partition and swap on another... and I've never had any problems with suspend and resume...

Late
moe
I had made change to the sdcontrol file, to add swapon after insert the sd card and swapoff before ejecting the sd card... but it seems not working at the time I try.

What actually happens during suspend? I am not very familiar with linux but if I know what file and procedures are related to suspend, it might narrow down the things to check..

----
another wierd syndrome.. this doesn't happen every time, but sometimes when I eject the sd card, I get kicked out of system. Not only out out X11 but also logout.

I have listed the packages I have on SD card.. not sure if that helps or not.

aspell
aspell-dict-en
bzip2
gaim
gconf
gftp
gimp
gnome-keyring
gnome-mine-data
gnome-vgs
gnumeric
goffice
gthumb
kismet
lesstif
libao
libbonobo
libbonobo-locale-az
libonoboui
libexif
libgcrypt
libgnome
libgnomeui
libgpg-error
libgphoto2
libgsf
librsvg
ligtasn1
libtiff
libusb
libwnck
links-g
mb-applet-tasks
nedit
opencdk
orbit2
putty
putty-tools
rdesktop
readline
samba-client
samba-codepage-950
samba-common
samba-mount
x11vnc

Yes, the list is kind of long...
If I cannot find out why I might have just reinstall.. which is kind of hassle..
Antikx
hmmm. If I were you having this problem, I would copy all my junk off my SD, wipe the SD (stick it in a Palm, they take pleasure in wiping ext2/3 partions), repartition, reformat and see if that helped. If that didn't help I would make a NAND backup and then reinstall a fresh pdaXrom to see if it's a software issue.
InSearchOf
and I would say refrain from messing with SD control... I'd set up a login service... in /etc/rc.d/rc5.d/ basicly... Enabling Swap and do the same in ../rc6.d/ Stopping Swap..

Late
moe
finally I give up fixing it.. go back to a eariler backup and "solved" the problem.

Spend hours and hours still have no clue on how to troubleshoot this.. Way to go..

Thanks for all the advise, apperciated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.