Author Topic: Sd Card Self-umount After Each Suspend  (Read 3067 times)

moe

  • Newbie
  • *
  • Posts: 16
    • View Profile
Sd Card Self-umount After Each Suspend
« on: October 30, 2006, 05:37:10 pm »
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.
C1000 w/ pdaXrom beta3, buffolo wifi, unknown brand bluetooth card.

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Sd Card Self-umount After Each Suspend
« Reply #1 on: October 30, 2006, 05:43:36 pm »
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
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

moe

  • Newbie
  • *
  • Posts: 16
    • View Profile
Sd Card Self-umount After Each Suspend
« Reply #2 on: October 31, 2006, 01:24:45 am »
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..
« Last Edit: October 31, 2006, 01:36:52 am by moe »
C1000 w/ pdaXrom beta3, buffolo wifi, unknown brand bluetooth card.

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Sd Card Self-umount After Each Suspend
« Reply #3 on: October 31, 2006, 02:05:55 am »
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.
« Last Edit: October 31, 2006, 02:08:09 am by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Sd Card Self-umount After Each Suspend
« Reply #4 on: October 31, 2006, 11:07:28 am »
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
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

moe

  • Newbie
  • *
  • Posts: 16
    • View Profile
Sd Card Self-umount After Each Suspend
« Reply #5 on: November 09, 2006, 01:53:09 am »
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.
C1000 w/ pdaXrom beta3, buffolo wifi, unknown brand bluetooth card.