Author Topic: Failed to eject card  (Read 2618 times)

Anonymous

  • Guest
Failed to eject card
« on: February 01, 2004, 02:15:28 pm »
Hi,
 on sl-5600 , I am getting an error when I try to eject my cf card.
sharp rom 1.32 , compact flash card.

\"Failed to eject card. Please eject card after you close all apps and turn off zaurus.\"

I also try to umount /mnt/cf --] device or resource busy

I rebooted the zaurus and same error!

Now, I uninstalled qpealarm clock which I had installed to cf card, and voila I could tap on cf and eject it.

So,, this app must stay resident in memory, and start on bootup? It was not running (at least not obviously to me).

Any commands , ways to tell current running processes, and stop them? Also for example if you run vncserver, how would you stop that?

I may have been able to shutdown the zaurus and take the card out, but if the app did autostart, then it should have given an error during boot, I hadn\'t tried that.

Thanks for any suggestions or comments you might have in advance.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Failed to eject card
« Reply #1 on: February 01, 2004, 02:33:30 pm »
Did you install the version of qpealarm clock that also includes a replacement for the taskbar clock? (In that version, when you tap the clock there is an extra option to launch the app) If so then since that applet is always running, it will make your CF card busy.

The latest VNC Server package has a GUI option for stopping the server

To look at the proceses, install something like WhatsUpOnZ.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
Failed to eject card
« Reply #2 on: February 01, 2004, 02:39:29 pm »
You can also use lsof which will list all open files.

Sadly I cannot remember where I got my copy from.

Peter.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Failed to eject card
« Reply #3 on: February 01, 2004, 02:59:21 pm »
That reminds me (thanks zbones) you can also use the command \'fuser -m /mnt/cf\' to list all the processes accessing the CF card.

\'fuser -k -m /mnt/cf\' will kill all processes using the CF card but this will likely crash Qtopia it is a Qtopia process that is keeping it busy.

fuser comes with the Sharp ROM, but of course you will need to install a terminal to use it.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender