Author Topic: I Mounted A 2 Gig Sd Card!  (Read 215202 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
I Mounted A 2 Gig Sd Card!
« Reply #45 on: February 08, 2007, 06:44:21 pm »
Quote
Quote
Another question:  how can people who using sharp rom adapt grog's appraoch, whcih seems to work fine with ext2.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153458\"][{POST_SNAPBACK}][/a][/div]
Does the card show up the first time after you've restarted/rebooted? Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?

Depending on your results of the above tests, the fact that you can't set the apm scripts as I've lined out is probably the crux of the matter. The card needs to be ejected before you suspend. I would've thought that since Cacko is a Sharp-based ROM it would've used the same apm scheme. Obviously not.

If I can make some time (a very short commodity these days) I can flash back to Sharp & see if I can figure it out. In the mean time, if somebody else can shed some light for shelandy, that'd be great.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153486\"][{POST_SNAPBACK}][/a][/div]

one of the difference between Sharp and Cacko is that Cacko has apm.d scripts whereas Sharp does not. check the scripts inside /etc/sdcard, they control how the card is inserted/ejected/mounted/unmounted
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
I Mounted A 2 Gig Sd Card!
« Reply #46 on: February 08, 2007, 09:10:08 pm »
Quote
one of the difference between Sharp and Cacko is that Cacko has apm.d scripts whereas Sharp does not. check the scripts inside /etc/sdcard, they control how the card is inserted/ejected/mounted/unmounted[div align=\"right\"][a href=\"index.php?act=findpost&pid=153536\"][{POST_SNAPBACK}][/a][/div]
Does the Sharp ROM use /etc/sdcontrol at all, or is it all under /etc/sdcard?
GROG!

shelandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #47 on: February 09, 2007, 08:29:25 am »
Quote
one of the difference between Sharp and Cacko is that Cacko has apm.d scripts whereas Sharp does not. check the scripts inside /etc/sdcard, they control how the card is inserted/ejected/mounted/unmounted
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

there is no /etc/sdcard in my sharp rom

(ps.  I have updated officeal 1.40 ROm and installed special kernel 1.4i [a href=\"http://tetsu.homelinux.org/zaurus/kernel/v18h/zImage-v14i-C860.bin)]http://tetsu.homelinux.org/zaurus/kernel/v...-v14i-C860.bin)[/url]

shelandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #48 on: February 09, 2007, 08:43:11 am »
Quote
Quote
Another question:  how can people who using sharp rom adapt grog's appraoch, whcih seems to work fine with ext2.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153458\"][{POST_SNAPBACK}][/a][/div]
Does the card show up the first time after you've restarted/rebooted? Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?

Depending on your results of the above tests, the fact that you can't set the apm scripts as I've lined out is probably the crux of the matter. The card needs to be ejected before you suspend. I would've thought that since Cacko is a Sharp-based ROM it would've used the same apm scheme. Obviously not.

If I can make some time (a very short commodity these days) I can flash back to Sharp & see if I can figure it out. In the mean time, if somebody else can shed some light for shelandy, that'd be great.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153486\"][{POST_SNAPBACK}][/a][/div]

thanks for your answer.  I have some thing to share with everyone:

the SD did not show up after the 1st time reboot.   However, after I manually
# mount /mnt/card
it came up.  
The problem was:  I though it worked, so I started to install lots of packages into SD.
then pressed the on/off button to turn it off.
The next time I turned it on, the SD won't be mounted automatically, and I had no way to manually mount it because I installed the terminal package under SD  
So I installed another different terminal in the internal flash, manually mount the SD.
then every thing is back.  

However, since that, no matter how I turn on/off my Z, the SD is still mounted.  This is counter-intuitive.  I do not know why.  

however, I still keep the terminal program installed in the internal flash, in case the SD can not be mounted automatically again during power/off.

I can not answer this, because it works for me in different way.
Quote
Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
« Last Edit: February 09, 2007, 08:47:10 am by shelandy »

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
I Mounted A 2 Gig Sd Card!
« Reply #49 on: February 09, 2007, 11:08:17 am »
Quote
However, since that, no matter how I turn on/off my Z, the SD is still mounted.  This is counter-intuitive.  I do not know why.
Strange, but good news, I guess  

Quote
however, I still keep the terminal program installed in the internal flash, in case the SD can not be mounted automatically again during power/off.

I can not answer this, because it works for me in different way.
Quote
Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153601\"][{POST_SNAPBACK}][/a][/div]
If you open the terminal, unmount the card (umount /mnt/card), suspend then resume, is the card mounted or do you have to manually remount it?
GROG!

shelandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #50 on: February 09, 2007, 07:56:34 pm »
Quote
If you open the terminal, unmount the card (umount /mnt/card), suspend then resume, is the card mounted or do you have to manually remount it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153611\"][{POST_SNAPBACK}][/a][/div]

If I manaully umount the card, waiting for it be suspended, then resume by pressing "home" key, the SD won't be automactally mount.
« Last Edit: February 09, 2007, 07:58:26 pm by shelandy »

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
I Mounted A 2 Gig Sd Card!
« Reply #51 on: February 10, 2007, 08:04:59 am »
Quote
Quote
If you open the terminal, unmount the card (umount /mnt/card), suspend then resume, is the card mounted or do you have to manually remount it?[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
If I manaully umount the card, waiting for it be suspended, then resume by pressing "home" key, the SD won't be automactally mount.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153673\"][{POST_SNAPBACK}][/a][/div]
Then whatever process is used to mount the sd card isn't following the /etc/fstab settings & erroring out, which is the same situation with Cacko. that I had made my work-around for.

The only thing I can suggest at this point is to do a [a href=\"https://www.oesf.org/index.php?title=NAND_Flash_Backup]NAND backup[/url] (then you can a NAND restore later if it doesn't work out) & flash to the latest Cacko ROM. It's a lot better than Sharp & fully compatible too . You'd get a lot more people that could help with problems as well.  

HTH
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
I Mounted A 2 Gig Sd Card!
« Reply #52 on: February 10, 2007, 08:22:42 am »
Quote
The only thing I can suggest at this point is to do a NAND backup (then you can a NAND restore later if it doesn't work out) & flash to the latest Cacko ROM. It's a lot better than Sharp & fully compatible too . You'd get a lot more people that could help with problems as well.  [div align=\"right\"][{POST_SNAPBACK}][/a][/div]
OOPS! Of course I forgot that the download links are currently dead (oesf problem). Since you have an C860, and I don't seem to have a copy of the ROM files anywhere, then I'll offer you my own base install image [a href=\"http://grogsworld.dyndns.org/zaurus/cacko-1.23-c860-base-install-ghosting-fixed.zip]HERE[/url] that you can install using the flash restore procedure. HTH
GROG!

shelandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #53 on: February 10, 2007, 07:06:11 pm »
Quote
Quote
The only thing I can suggest at this point is to do a NAND backup (then you can a NAND restore later if it doesn't work out) & flash to the latest Cacko ROM. It's a lot better than Sharp & fully compatible too . You'd get a lot more people that could help with problems as well.  [div align=\"right\"][{POST_SNAPBACK}][/a][/div]
OOPS! Of course I forgot that the download links are currently dead (oesf problem). Since you have an C860, and I don't seem to have a copy of the ROM files anywhere, then I'll offer you my own base install image [a href=\"http://grogsworld.dyndns.org/zaurus/cacko-1.23-c860-base-install-ghosting-fixed.zip]HERE[/url] that you can install using the flash restore procedure. HTH
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
I have not been able to make all my prepherals work under my Z.  So I have to try flash to other ROM later.  Onr thing might be related:

Do we need add the SD card info to /etc/pcmcia/config ?
[a href=\"https://www.oesf.org/index.php?title=Updating_the_Zaurus_to_accept_new_CF_cards]https://www.oesf.org/index.php?title=Updati...pt_new_CF_cards[/url]
I was wondering if this is the key issue to let hot-plug/suspend,... works
if I type
#cardctl ident
Socket 0 will show the info of my microdrive, but no my PQI 2G SD

Socket 1:
  no product info available

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
I Mounted A 2 Gig Sd Card!
« Reply #54 on: February 11, 2007, 09:18:23 am »
Quote
Do we need add the SD card info to /etc/pcmcia/config ?
https://www.oesf.org/index.php?title=Updati...pt_new_CF_cards
I was wondering if this is the key issue to let hot-plug/suspend,... works
if I type
#cardctl ident
Socket 0 will show the info of my microdrive, but no my PQI 2G SD

Socket 1:
  no product info available[div align=\"right\"][a href=\"index.php?act=findpost&pid=153750\"][{POST_SNAPBACK}][/a][/div]
You're on the wrong track, I'm afraid. The cardctl utility & the pcmcia settings only apply to CF, not to SD. Different slot, different drivers, etc.
GROG!

Kaze

  • Newbie
  • *
  • Posts: 18
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #55 on: March 05, 2007, 02:27:54 pm »
hello there
i have a sl c750 running cacko 1.23
added sdlink drivers got the 4gb sd to mount
mke2fs -b 1024 /dev/mmcda1
mount /dev/mmcda1 /mnt/card
SD card mounts ok

i used the custom sdiomgr & cudtom sdcontrol
Still the card will never mount automatically on insert
but mount with no trouble when manually mounted
somebody can help me?

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #56 on: March 05, 2007, 04:44:20 pm »
Quote
i used the custom sdiomgr & cudtom sdcontrol
Still the card will never mount automatically on insert
but mount with no trouble when manually mounted
somebody can help me?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155441\"][{POST_SNAPBACK}][/a][/div]


just a thought, have you tried rebooting just in case the manager process has locked up? check the ownership of the mount points too

also check you've got nothing strange in your /etc/fstab?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #57 on: July 08, 2007, 04:42:41 am »
Both sdiomgr and sdcontrol are shell scripts that might need to be made executable with:

su
chmod 755 /usr/sbin/sdiomgr
chmod 755 /etc/sdcontrol
exit


if they are not already executable.  From a casual review of the sdcontrol script, it appears to write to a log file named, "/tmp/sd", if anything goes wrong with the mounting, so you can try typing:

cat /tmp/sd

to see if any error messages are there.  If the, "/tmp/sd", file is non-existent, then you can create a blank file:

touch /tmp/sd

Then suspend and resume your Zaurus and see if there are any error messages in the, "/tmp/sd", file.  There should at least be some text in the file.

The C-Guys drivers do not work for me with my current MMC card.  I am guessing that my 1GB ATP +Plus MMC card is incompatible.  Perhaps the card has to be an SD card instead of an MMC card to work with the C-Guys driver.

I have a Zaurus SL-C760.  Would someone please post the original

/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o

in a zip file so that I can restore mine, which I accidentally deleted, until I can try out an SD card?

I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock.  Are they still in business?
« Last Edit: July 08, 2007, 10:59:15 am by qx773 »

Cyril92

  • Full Member
  • ***
  • Posts: 122
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #58 on: July 10, 2007, 10:07:01 am »
Quote
Both sdiomgr and sdcontrol are shell scripts that might need to be made executable with:

su
chmod 755 /usr/sbin/sdiomgr
chmod 755 /etc/sdcontrol
exit


if they are not already executable.  From a casual review of the sdcontrol script, it appears to write to a log file named, "/tmp/sd", if anything goes wrong with the mounting, so you can try typing:

cat /tmp/sd

to see if any error messages are there.  If the, "/tmp/sd", file is non-existent, then you can create a blank file:

touch /tmp/sd


Then suspend and resume your Zaurus and see if there are any error messages in the, "/tmp/sd", file.  There should at least be some text in the file.

The C-Guys drivers do not work for me with my current MMC card.  I am guessing that my 1GB ATP +Plus MMC card is incompatible.  Perhaps the card has to be an SD card instead of an MMC card to work with the C-Guys driver.

I have a Zaurus SL-C760.  Would someone please post the original

/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o

in a zip file so that I can restore mine, which I accidentally deleted, until I can try out an SD card?

I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock.  Are they still in business?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164517\"][{POST_SNAPBACK}][/a][/div]


You ll find attched my mmc_sd file from my c760 (running cacko)
Could someone help me to find the c-guys ipk in order to update my sd driver , as it seems that c-guys website is out of order.
thanx.
Cyril.
SL-C760 (Cacko ROM), 256Mb CF,512Mb SD
Pentopia stylus 3in1,CF wifi , CE-RH1
looking for : SL5500
Previous : C3000,C860 & 6000L.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
I Mounted A 2 Gig Sd Card!
« Reply #59 on: July 10, 2007, 01:29:16 pm »
Quote
I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock.  Are they still in business?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164517\"][{POST_SNAPBACK}][/a][/div]

the c-guys driver is on my website in the downloads section, in 860 sub dir
« Last Edit: July 10, 2007, 01:29:26 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.