Author Topic: Cf Card  (Read 36355 times)

baptista

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Cf Card
« on: April 09, 2007, 11:52:20 am »
Hi people: I´m working with my collie with a 500Mb card type II. Now for a mistake I received a card type I with 1 GB. Any problem to read the data and transfer it for ancient to new card?.
Thanks for any help
baptista

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Cf Card
« Reply #1 on: April 09, 2007, 12:25:50 pm »
There should be no issue with transfering the data.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

baptista

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Cf Card
« Reply #2 on: April 12, 2007, 11:18:42 am »
Thankyou for the help Capn_Fish, but I can´t eject the CF via applet or terminal: umount /mnt/cf, what is wrong?. Excuse me the little aknowlegment, thanks again.
baptista

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Cf Card
« Reply #3 on: April 12, 2007, 12:28:24 pm »
Maybe an application is using it...

Late
« Last Edit: April 12, 2007, 12:28:44 pm by InSearchOf »
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Cf Card
« Reply #4 on: April 12, 2007, 12:41:05 pm »
What is it saying when you try to eject the card via terminal?
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

baptista

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Cf Card
« Reply #5 on: April 12, 2007, 04:55:37 pm »
I´m saying that I umount it from terminal and them would be possivel to eject it via aplet. Is it correct? Thanks for the help
baptista

baptista

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Cf Card
« Reply #6 on: April 15, 2007, 01:39:42 pm »
Thanks to everybody that try to help me. At last I meet  the way. I suspend the collie, push out the CF card II copy it to CF card type I via a memory reader writer and insert CF type I to the machine, that all. The only thing is  that this type of card is not detected by the applet, so it is not necessary to eject it (I think so...). Nevertheles everything is functioning OK.
baptista

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cf Card
« Reply #7 on: April 15, 2007, 03:05:55 pm »
I am very suspicious about your having to suspend collie to eject card..  I believe the correct command to enter is:

umount /dev/hda1

are you sure the card is not corrupt?  I wrote a bunch about this in my blog, about a card I ended up returning, at

http://sdjf.wordpress.com/tag/cf-card-issues

Maybe it isn't relevant, as I don't know about the type I, type II CF card issue.

But, here's the info, in case it might help someone.  It turned out wordpress had not accepted most of my final post on the issue, but I have now edited out the binary and anyone who saw it before, the conclusion is now truly on the web.

sdjf

EDIT: I checked on card types, and that seems to just be a matter of physical thickness of the card itself.  If it fits properly into the slot, it shouldn't matter.
« Last Edit: April 15, 2007, 04:55:07 pm by sdjf »
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cf Card
« Reply #8 on: April 15, 2007, 04:52:12 pm »
BTW, if your umount command is successful, the CF card applet will show that it has been ejected...you do not have to do both.

If something is hanging on to the Card, then ideally one should shut down or kill that process to keep from damaging any data, just to be on the safe side.

And actually, I would use "cardctl eject" instead, since you really did want to eject the card once you were done with transferring the data off of it to internal memory or SD card.

My two cents worth...for future reference.
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cf Card
« Reply #9 on: April 30, 2007, 07:56:50 pm »
Here's some more info in case none of the commands work.

First, some questions.  What is on the card?  And what happens when you can't get it to eject?  Post a cut/paste of what you enter and see in the console.

Another thing to do is run "ps ax | more" to get a full list of everything that is running.  Do you see anything that might be holding on to the card?  If you are not sure, then paste the output here.

Can't help much more without seeing some output.
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cf Card
« Reply #10 on: April 30, 2007, 08:15:37 pm »
Another thing you may need to do to get control of the CF card ejection, is to use some qcop commands.

An easy way to test if you need to upgrade to qcop2 is run the following.

 qcop QPE/Application/clock 'raise()'

If the clock raises (appears), you are okay.  If it does not, then get information about upgrading your qcop at my qcop page:

http://www.sdjf.esmartdesign.com/ipks/qcop.html

sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

baptista

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Cf Card
« Reply #11 on: May 01, 2007, 04:31:48 pm »
Thankyou very much sdjf for your interest in help me, I have in the card some programs, a lot of books in pdf, gzip and hamcomword. Many musics and some films(clips).
The command about qcop functions, the clock appear!
The first command you send to me answer a lot of things that if I have time enough, i´ll send to you today or tomorrow, I think that some of them make reference to the card but I´m not sure now.
Now we (I..) are very near of a solution.
It happens the same thing with the SD card, that has 256 MB (SD), but it is not so necessary to eject,  because the CF card I need to eject it to put a modem card or a WiFi card.
Regards from
baptista

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cf Card
« Reply #12 on: May 01, 2007, 05:14:51 pm »
You are welcome.  That's what oesf is all about, helping each other.

I think you will find the output of 'ps ax|more' interesting, and it is good to hear that your qcop command functions well.  I piped the output through more because that way the lines of the display will not get cut off and you can see more information.

If you close all programs that use the SD card which show in the list, it should eject without a problem.  But if you have programs installed using the GUI installer, onto the SD card, you can't eject it without uninstalling them!  That is why I install everything to internal memory,  and then move the program binaries to the SD card afterwards.  Then I make symlinks to them from the first directory in my path, /home/QtPalmtop/bin.  But I leave the console in internal memory so I can always use it, no matter what.

Oh, I suggest you post the output here instead of sending it to me personally, so everyone else can help or learn also.

Cheers,
sdjf
« Last Edit: May 01, 2007, 05:17:48 pm by sdjf »
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

baptista

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Cf Card
« Reply #13 on: May 02, 2007, 11:53:22 am »
Hi sdjf, here goes the answer of the console to the command you said:


  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:03 init
    2 ?        SW     0:04 [keventd]
    3 ?        DW     0:00 [swapper]
    4 ?        DW     0:00 [swapper]
    5 ?        SW     0:00 [swapper]
    6 ?        SW    73:42 [kapm-idled]    7 ?        SWN    0:00 [ksoftirqd_CPU0]
    8 ?        SW     5:04 [kswapd]
    9 ?        SW     0:00 [bdflush]
   10 ?        SW     0:25 [kupdated]
   11 ?        DW     0:00 [swapper]
   12 ?        SW     0:29 [mtdblockd]    96 ?        S      0:00 /sbin/sdmgr   130 ?        S      0:06 /sbin/cardmgr
  149 ?        S      0:00 /usr/sbin/inetd
  159 ?        S      0:00 /usr/sbin/rpc.portmap
  169 ?        S      0:00 /home/QtPalmtop/bin/atd /var/spool/at
  206 ?        S      0:48 /usr/local/bin/tssimd
  208 ?        S      0:54 /sbin/shsync  367 ?        SN     0:00 /usr/local/bin/fbvncserver -double -rfbauth /home/zau
  437 ?        S      0:00 /sbin/launch  438 ?        S      0:00 /bin/sh ./qpe.sh
 1188 ?        SN     1:25 qpe -owner zaurus.qpe
 1189 ?        SN     0:00 qeserver zaurus qpe
 1191 ?        SN     0:02 qeserver zaurus qpe
 1220 ?        SN     0:00 addressbook -qcop /tmp/qcop-msg-addressbook
 1221 ?        SN     0:00 todolist -qcop /tmp/qcop-msg-todolist
 1222 ?        SN     0:00 qtmail -qcop /tmp/qcop-msg-qtmail
 1223 ?        SN     1:51 stageone -qcop /tmp/qcop-msg-stageone
 1224 ?        SN     0:55 kopi -qcop /tmp/qcop-msg-kopi
 1225 ?        SN     0:26 kapi -qcop /tmp/qcop-msg-kapi
 1226 ?        SN     0:00 datebook -qcop /tmp/qcop-msg-datebook
 1229 ?        SN     0:50 launcher -qcop /tmp/qcop-msg-launcher
 1230 ?        SN     0:07 qeserver zaurus qpe
 1231 ?        SN     0:06 qeserver zaurus qpe
 1232 ?        SN     0:05 qeserver zaurus qpe
 1233 ?        SN     0:57 qeserver zaurus qpe
 1718 ?        SN     0:02 embeddedkonsole -qcop /tmp/qcop-msg-embeddedkonsole 1719 ttya0    SN     0:00 /bin/bash
 1720 ttya0    RN     0:00 ps ax
 1721 ttya0    SN     0:00 more

When I try to eject the CF card with thw collie on the response is:
(Eject card 0: ATA/IDE FixedDisk) :
CF/PMCIA ejct failed
(Ejecting SD-card):
Failed to eject the card. Please eject the card after you close all applications and turn off the Zaurus.
In fact I have installed KOPI/KAPI in the SD but also in the file browser appear files of it in the /home/zaurus.
Why would not be the samething for ejecting CF card?

Excuse me if i spoke many things wrong.... Well now I wait your evr kind response, and would like to have some explication abou all this, if you have patience.
Greatfully
baptista

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Cf Card
« Reply #14 on: May 02, 2007, 01:51:11 pm »
Let's talk about one card at a time, to keep from getting confused.  Let's focus on the CF card as that is the most urgent.

I want to see the command you entered, not just the output.

Also, are any of these programs ones that are looking at files on the CF card?  Forgive me, I do not know what some of those apps are in your list.  I also do not know if it is a CF data card or a CF modem card that you are trying to eject.  What to do depends on which.

What please, are stageone, kopi, and kapi?
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards