Author Topic: Prob Mounting Sd Card  (Read 8750 times)

thyrc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Prob Mounting Sd Card
« on: October 18, 2005, 04:21:56 am »
Hi,

I`m quite new to the Linux and Zaurus community, so be gentle...

I`ve problems installing an SD card on my OZ 3.5.3 Opie. In the FAQ it is said that SD card are mounted automatically. Well, in my case they aren`t.
And since my SD is my only connection the the outer world (I haven`t figured out how to connect to the local VPN or any other network with the Zaurus yet)...
When I try to mount the SD by 'mount /media/card' I get:

Mounting /dev/mmcda1 on /media/card failed: No such device or address

I already tried the 3.5.2 (opie) version of OZ, and the 3.5.3 (gpe). No problem there.

My specs:
Zaurus SL-C860 with OZ 3.5.3 Opie
SanDisk 512MB SD card
Planex GW-CF11X CF WiFi card

Openzaurus 3.5.3
opie-image-c7x0-20050411221036.rootfs.img
zImage-c7x0-20050411221036.bin

anybody help?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Prob Mounting Sd Card
« Reply #1 on: October 18, 2005, 05:39:16 am »
Quote
/dev/mmcda1 on /media/card

You're running a 2.6.x kernel on your Z I assume (Opie image). What does 'uname -r' say?

You may need to edit /etc/fstab. Inside there are two lines which try to mount  onto /media/card. Remove the one which says /dev/mmcda1 and keep the one which says /dev/mmcdblk1 (spelling?).

This is a hack as the scripts should be able to handle both entries, but they can't (at least they can't in the 3.5.3 image, there have been updates since).

After that, eject the card and re-insert it and then wait a few secs and see if it's mounted.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

thyrc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Prob Mounting Sd Card
« Reply #2 on: October 18, 2005, 09:38:54 pm »
Yup, running Kernel 2.6.11

I edited the /etc/fstab but it still doesn`t work. Mounting /media/card now gives me:

mount: Mounting /dev/mmcblk0p1 on /media/card failed: No such file or directory

In /dev there are no mmc devices but mmcda, mmcda1 and mmcda2.
btw, I don`t find 'sdmgr' on my Zaurus. That should be responsible for the automounting SD stuff, I think.

Any Idea?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Prob Mounting Sd Card
« Reply #3 on: October 19, 2005, 04:30:49 am »
The /dev devices are created dynamically so that's not an issue (re-insert the card to make sure it detects it).

What does dmesg/logread say when you insert the card?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

thyrc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Prob Mounting Sd Card
« Reply #4 on: October 20, 2005, 12:09:30 am »
Thanks for your help,

but I switched back to the original Sharp ROM this morning... less trouble with SD and WiFi card and right now the Japanese Input Method is a great help... yeah, I know, I`m lazy.

I will come back to OZ when my work here is done (and I really have the time to play around with my Zaurus). So again, thanks a lot, and greetings to the OZ devel team and community - you`re doing a great job there.

Bye

markpmc

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://
Prob Mounting Sd Card
« Reply #5 on: November 10, 2005, 09:45:42 am »
Quote
The /dev devices are created dynamically so that's not an issue (re-insert the card to make sure it detects it).

What does dmesg/logread say when you insert the card?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99968\"][{POST_SNAPBACK}][/a][/div]

The trick appears to reinsert the card everytime you wake up the Z. Inserting the card when the Z is suspended and then turning it on seems to result in the "unable to mount card" issue for me. But if I start my Z, then insert the card it's detected fine.

Markpmc
SL-C3000 - replaced drive w/ 8GB Seagate PhotoDrive
cacko 1.23b with custom tetsu kernel
----

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Prob Mounting Sd Card
« Reply #6 on: November 10, 2005, 12:29:01 pm »
Yes, this was a bug which I thought had been removed.

Assuming this is still afflicting the RC builds could you add it to the bug tracker please.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

markpmc

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://
Prob Mounting Sd Card
« Reply #7 on: November 11, 2005, 01:20:38 am »
Quote
Yes, this was a bug which I thought had been removed.

Assuming this is still afflicting the RC builds could you add it to the bug tracker please.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103147\"][{POST_SNAPBACK}][/a][/div]


Done #1798. It does happen w/ my 3.54RC build.
« Last Edit: November 11, 2005, 01:20:59 am by markpmc »
SL-C3000 - replaced drive w/ 8GB Seagate PhotoDrive
cacko 1.23b with custom tetsu kernel
----

champagnierle

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://www.champagnierle.de
Prob Mounting Sd Card
« Reply #8 on: November 11, 2005, 05:03:37 am »
Quote
Quote
Yes, this was a bug which I thought had been removed.

Assuming this is still afflicting the RC builds could you add it to the bug tracker please.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103147\"][{POST_SNAPBACK}][/a][/div]


Done #1798. It does happen w/ my 3.54RC build.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103249\"][{POST_SNAPBACK}][/a][/div]

ACK. I'm having trouble with my SD and my CF-card.
dmesg starts with
wrong magic
mmcda: mmcda1
FAT: unable to read boot sector
mmcda: mmcda1
isofs_read_super: bread failed, dev:3c:04, iso_blknum=16,block=32
mmcda: mmcda1
...
.

Kernel: 2.4.20 cause no networking yet just the OZ OPIE 3.54RC

cardctl tells me:
Socket0 there is a 3.3V 16-bit PC Card
Socket1 : no card.

But both cards are mounted and accessible.
SD is a Kinston 1GB Elite Pro (50x)
CF is a Trancend 1GB CF card (45x).

When removing/reentering the CF the applet in the taskbar interacts, with the SD card it doesn't. But it is the SD card that is working properly. I always flash from SD.

Strange

Marc
--
SL-C1000 (trisoft), OZ RC3.5.4,
Transcend CF 1GB (45x), Kingston SD Elite Pro (50x) 1GB

Desktop Debian Sarge, 2.6.14.2

Windrose

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Prob Mounting Sd Card
« Reply #9 on: November 17, 2005, 09:39:52 am »
Quote
cardctl tells me:
Socket0 there is a 3.3V 16-bit PC Card
Socket1 : no card.

But both cards are mounted and accessible.
SD is a Kinston 1GB Elite Pro (50x)
CF is a Trancend 1GB CF card (45x).

When removing/reentering the CF the applet in the taskbar interacts, with the SD card it doesn't. But it is the SD card that is working properly. I always flash from SD.

Strange

Marc
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103270\"][{POST_SNAPBACK}][/a][/div]

I'm having the same problem Marc is having on my SL5600 (PXA250). The toolbar app for mounting and unmounting cards (sorry, I'm weak on vocabulary) refuses to recognize the SD card in its slot, or to start it up. It reports the socket empty no matter what you do. Oddly, the system info app reports it correctly, the file manager can read it and find files, usw.

Also the media player plays mp3 files back at too high a speed and there's some bit of flakiness about the cancel button suspend/resume. But not as much flakiness as 3.5.3. I'd be more specific but I'm still poking at it trying to figure out what happens.
================================
Die Welt ist alles, was der Fall ist.
...
Wovon man nicht sprechen kann, darüber muß man schweigen.
================================

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Prob Mounting Sd Card
« Reply #10 on: November 17, 2005, 10:03:47 am »
Quote
Also the media player plays mp3 files back at too high a speed

Do a search for 'opiexine'.

Quote
there's some bit of flakiness about the cancel button suspend/resume

Upgrade to the latest kernel - see pinned thread or posts on openzaurus.org

I've no idea about the SD issue on 2.4.xx.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Prob Mounting Sd Card
« Reply #11 on: November 17, 2005, 10:39:43 am »
Card applet in 3.5.4-rc is for CF cards only.

Kernel 2.4.xx on Zaurus report two CF slots on each machine - nevermind does it has one CF (5000, 5500, 5600, c7x0, c1000) or two (c3000, c3100).
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

champagnierle

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://www.champagnierle.de
Prob Mounting Sd Card
« Reply #12 on: November 17, 2005, 01:13:56 pm »
Quote
Card applet in 3.5.4-rc is for CF cards only.

Kernel 2.4.xx on Zaurus report two CF slots on each machine - nevermind does it has one CF (5000, 5500, 5600, c7x0, c1000) or two (c3000, c3100).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104047\"][{POST_SNAPBACK}][/a][/div]
Okay. That explains the SD problem. Do you have any clue where to look for the settings regarding the CF? With the commandline tools the SD card works properly, the CF card fools around... Sometimes I can, sometimes I cannot save stuff on the CF card. But not everything and not everytime...

And thx for the information regarding the card applet.

Best regards

Marc
--
SL-C1000 (trisoft), OZ RC3.5.4,
Transcend CF 1GB (45x), Kingston SD Elite Pro (50x) 1GB

Desktop Debian Sarge, 2.6.14.2

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Prob Mounting Sd Card
« Reply #13 on: November 17, 2005, 02:18:19 pm »
Quote
the CF card fools around... Sometimes I can, sometimes I cannot save stuff on the CF card. But not everything and not everytime...
Could you give more detail on your problem... because I'm using the new card applet to eject the CF-card and I'm not having any problems like that. It works fine on my collie and poodle... no data loss or file corruption.

I am however curios if we will get the SD-card applet back in the final release?

Greg

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Prob Mounting Sd Card
« Reply #14 on: November 17, 2005, 03:03:33 pm »
greg2: currently no plans to support SD in pcmciaapplet for 2.4 kernel machines. User can remove pcmciaapplet and install old cardmon applet to get sd/cf in taskbar.

Personally I don't install that applet on my Zauruses.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.