Help - Search - Members - Calendar
Full Version: I Mounted A 2 Gig Sd Card!
OESF Forums > General Forums > General Support and Discussion > General Discussion
Pages: 1, 2, 3
Dromede
no, you're not right. :-) there is a driver to support sd cards =>1gb on pdaxrom.
xamindar
QUOTE(Dromede @ Jul 18 2007, 02:36 PM)
no, you're not right. :-) there is a driver to support sd cards =>1gb on pdaxrom.
*


I thought pdaxrom uses a more up to date kernel. I highly doubt I can just take the module from the pdaxrom kernel and use it on my c3100 sharp rom. Sense this is not the pdaxrom forum I assume you are talking about pulling the module from that kernel. laugh.gif
Dromede
yeah, sorry about that. my bad...
Meanie
QUOTE(xamindar @ Jul 19 2007, 09:03 AM)
QUOTE(Dromede @ Jul 18 2007, 02:36 PM)
no, you're not right. :-) there is a driver to support sd cards =>1gb on pdaxrom.
*


I thought pdaxrom uses a more up to date kernel. I highly doubt I can just take the module from the pdaxrom kernel and use it on my c3100 sharp rom. Sense this is not the pdaxrom forum I assume you are talking about pulling the module from that kernel. laugh.gif
*


http://zaurus.daemons.gr/menaie/mirror/stu..._2.4.20_arm.zip
xamindar
I love you meanie.
pelrun
If I recall correctly the pdaXrom module is just the official sharp module from the 3200, which luckily works just fine on the 3100 and 1000 biggrin.gif

SharpROM/pdaXrom beta3/pdaXii13 are all on 2.4.20 kernels for those models, so the module is compatible.
pgas
QUOTE(pelrun @ Jul 19 2007, 02:57 AM)
If I recall correctly the pdaXrom module is just the official sharp module from the 3200, which luckily works just fine on the 3100 and 1000 biggrin.gif

SharpROM/pdaXrom beta3/pdaXii13 are all on 2.4.20 kernels for those models, so the module is compatible.
*


IIRC at some point sashz had ported a driver from somewhere module to the 2.4 kernel, and had upgraded the 2.4.18 kernel to 2.4.20 for the 760 and co (circa beta 3)

So there was another driver....and unfortunately quite buggy, at least on 760 ..and not working so well for card >1G IIRC.
tux
QUOTE(xamindar @ Jul 18 2007, 09:42 PM)
I'm way late in trying this out.  But I glanced through this thread and am I right in thinking that there is no 2gb+ driver for my c3100?  Too bad sad.gif
*


cool.gif

Xamindar,

there is a file for use on the 3100 and 3000. I have attached it to this post.

To any 3200 users who, like me, use Cacko 1.23: you need to use this too! wink.gif


It is now possible to break the 1GB limit on the 5500, the cxxxs, and the cxxxxs! I don't know about the 5600. sad.gif

By the way, the attachment is a zip file containing the ipk. The gz is just the workaround we have to use because they still haven't fixed the attachment problems. rolleyes.gif
pelrun
Tux, the module in the ipk you posted is identical to the one meanie posted biggrin.gif But there are installer script differences, which I guess make meanie's better for pdaXrom and yours better for sharp/cacko.

I avoided the whole distro problem and just uploaded the bare modules... smile.gif
cybersphinx
Short report: The C760 driver loads and seems to work (finds my 2gb card). More extensive tests when I've filled the card with stuff.
ogrefish
Thank you.

2gig sandisk standard works great on the 760

1983360 kb out of 2gig with fat
1952499 kb using ext2 before running a full card including debian chrooted.

Thats so great.thanks again.
Zeke
Hey Guys:

I guess the poodle is the only dog not in this luv' fest! Right?? ph34r.gif

Zeke
pelrun
If the 5600 needs a different module to the 5500, send the original 5600 module my way and I'll see what I can do.
enclose789
I am using SL-6000L, but I cannot make the file which under /lib/modules(&modules.com)/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o to be replaced via Tree!Explorer QT by copy & Paste. It is always showing that "Cannot write '/lib/modules/2.4.18-rmk7-pxa3-embedix/********/sharp_mmcsd_m.o'. You do not have the permission or the file may be in use", so that I could not replace it. Could you please tell me how to change this file to the fixed one?? Many Thanks!
Cyril92
QUOTE(enclose789 @ Oct 26 2007, 03:25 PM) *
I am using SL-6000L, but I cannot make the file which under /lib/modules(&modules.com)/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o to be replaced via Tree!Explorer QT by copy & Paste. It is always showing that "Cannot write '/lib/modules/2.4.18-rmk7-pxa3-embedix/********/sharp_mmcsd_m.o'. You do not have the permission or the file may be in use", so that I could not replace it. Could you please tell me how to change this file to the fixed one?? Many Thanks!

Probably you should be root to have rights to change such this file.
enclose789
QUOTE(Cyril92 @ Oct 26 2007, 06:05 AM) *
Probably you should be root to have rights to change such this file.


Thanks for this info. I had changed the Tree!Explorer to root when I revised this file, and it didn't work. Anything I missed? Please help me to use the 2GB SD Card on my 6000L. Thanks in advance!
xamindar
QUOTE(enclose789 @ Oct 26 2007, 07:16 AM) *
QUOTE(Cyril92 @ Oct 26 2007, 06:05 AM) *
Probably you should be root to have rights to change such this file.


Thanks for this info. I had changed the Tree!Explorer to root when I revised this file, and it didn't work. Anything I missed? Please help me to use the 2GB SD Card on my 6000L. Thanks in advance!


You might have to do it at the console. Do you have the konsole program installed?
Just use "su" to become root and copy it. Make sure you make a backup of the original file first in case the new one doesn't work. "cp original_file original_file.bak"

If you are not comfortable using the konsole just ask here and we can help you out.
enclose789
Thaks for your kindly answers, I am so happy that all you would like to help me to mount the 2 GB SD card. biggrin.gif

QUOTE(xamindar @ Oct 26 2007, 05:05 PM) *
You might have to do it at the console. Do you have the konsole program installed?

Do you mean "Terminal"? Yes, I had installed it, and I had installed the konsole, too. But I don't know how to use them correctly wacko.gif .

QUOTE(xamindar @ Oct 26 2007, 05:05 PM) *
Just use "su" to become root and copy it. Make sure you make a backup of the original file first in case the new one doesn't work. "cp original_file original_file.bak"
If you are not comfortable using the konsole just ask here and we can help you out.


I found that there are "Two" sharp_mmcsd_m.o files that under two different directories listed below:
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o, <--- this one (sharp_mmcsd_m.o) looks like linked to the other one listed below.

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

Please tell me which one should be replaced??

I have tried to backup the two original files (sharp_mmcsd_m.o) via Terminal, but failed due to I am not comfortable using the Terminal. I use the description below tried to enter the /lib/xxxxxxxxxx/block/ directory first:
su
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/

when I pressed enter at that time, I got "No such file or directory" message, and I have no idea what to do then.

Please help me to mount the 2 GB SD card, thanks again.


cybersphinx
QUOTE(enclose789 @ Oct 27 2007, 03:17 PM) *
I found that there are "Two" sharp_mmcsd_m.o files that under two different directories listed below:
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o, <--- this one (sharp_mmcsd_m.o) looks like linked to the other one listed below.

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

Please tell me which one should be replaced??

The /lib/modules.rom/ directory is not writeable, you have to use /lib/modules/.

QUOTE
I have tried to backup the two original files (sharp_mmcsd_m.o) via Terminal, but failed due to I am not comfortable using the Terminal. I use the description below tried to enter the /lib/xxxxxxxxxx/block/ directory first:
su
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/

when I pressed enter at that time, I got "No such file or directory" message, and I have no idea what to do then.

After the cd, use Tab to complete the directory name (once if there is no other possible completion, twice to see all alternatives) to be sure you don't have a typo in there, then it should work.


By the way, the module for the C760 works flawlessly. Thanks again to pelrun for making it, 1GB was getting a bit small.
enclose789
Thanks Cyril92, Xamindar, and Cybersphinx for helping me, thanks again!!

QUOTE(cybersphinx @ Oct 27 2007, 05:32 AM) *
QUOTE(enclose789 @ Oct 27 2007, 03:17 PM) *
I found that there are "Two" sharp_mmcsd_m.o files that under two different directories listed below:
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o, <--- this one (sharp_mmcsd_m.o) looks like linked to the other one listed below.
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
Please tell me which one should be replaced??

The /lib/modules.rom/ directory is not writeable, you have to use /lib/modules/.


Thanks for your reply, it works!!! I have backup the original files!!

However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??

I guess that I may replace the original file by the following methods, please tell me which one is correct:

1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??

2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??

3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??

Please help me again. Thank you.


cybersphinx
QUOTE(enclose789 @ Oct 27 2007, 04:13 PM) *
However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??

I guess that I may replace the original file by the following methods, please tell me which one is correct:

1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??

2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??

3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??

On the command line, something like the following should work:
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/
mv sharp_mmcsd_m.o sharp_mmcsd_m.o.old [to make a backup, if you don't have one yet]
cp /mnt/card/new_module.o sharp_mmcsd_m.o [/mnt/card is the SD-Card, adjust to the path of the new module]

TreeExplorer probably also works. Linking is not necessary (things in /directory.rom/ are linked into /directory/, but not the other way around). Rebooting also isn't necessary, you can do "depmod -a; rmmod sharp_mmcsd_m; modprobe sharp_mmcsd_m" as root on the console.
xamindar
QUOTE(enclose789 @ Oct 27 2007, 07:13 AM) *
Thanks for your reply, it works!!! I have backup the original files!!

However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??

Do you mean "put the original sharp rom module back in case this new one doesn't work?" All you need to do is re-link the one from the /lib/modiles.rom folders.

QUOTE
I guess that I may replace the original file by the following methods, please tell me which one is correct:

1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??

That will work just fine. There is a way to get it working without rebooting but the simplest way is to just reboot.


QUOTE
2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??

cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block
--if the new module is on your sd card:
cp /mnt/card/sharp_mmcsd_m.o .
--if the module is on your cf card:
cp /mnt/cf/sharp_mmcsd_m.o .
--Of course, if you have the new module anywhere else just find out where (zaurus documents directory: /home/zaurus/Documents) and like cybersphinx said, just press the TAB key to see available folders or to autocomplete the name of a file or directory.
Then type "reboot" to restart the zaurus.

QUOTE
3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??

No relink needed. Think of all the .rom directories as "installation files". They are basically the whole original factory OS. If you are installing an updated or modified version of a file linked from these directories you don't need the original .rom version any more and can just ignore it.

If you were to totally screw up your zaurus to the point it is unusable or if you just wanted to restore it to its factory defaults, you would just run the format command in the zaurus' secret maintenance menu which would relink all those .rom files so you have a fresh insatall.

qx773
You can make the root folder writable by using:

su
mount / -o rw,remount


After you are done copying the new module into its proper location, you can make the root folder read-only again by typing:

mount / -o ro,remount
enclose789
Thanks again to Cyril92, Cybersphinx, Xamindar, and QX773, now my 6000L can recognize the 2GB SD card, and so far it works flawlessly!!

Thank you for teaching me how to use Console!!

Further thanks to pelrun for making it!! It's really amazing!!





thanhnam2k
QUOTE(DrWowe @ Jan 18 2006, 09:02 AM) *
Anyway, if you want to repeat my experiment, just download and install this ipk, and reboot the Zaurus:

http://c-guys.net/cgi-bin/download/passche...m.ipk&key=1


Could you please attached this file here?
I cannot connect to c-guys site.

Thanks so much
speculatrix
QUOTE(thanhnam2k @ Mar 28 2008, 12:48 AM) *
QUOTE(DrWowe @ Jan 18 2006, 09:02 AM) *
Anyway, if you want to repeat my experiment, just download and install this ipk, and reboot the Zaurus:

http://c-guys.net/cgi-bin/download/passche...m.ipk&key=1


Could you please attached this file here?
I cannot connect to c-guys site.

Thanks so much


just uploaded it for you - look on my website in downloads, in sharp directory, called sd-link11b_us_jpn_arm.ipk
thanhnam2k
QUOTE(speculatrix @ Mar 28 2008, 07:11 PM) *
just uploaded it for you - look on my website in downloads, in sharp directory, called sd-link11b_us_jpn_arm.ipk


You're so nice happy.gif
I'm gonna to test it.

Thank you very very much
xamindar
Did anyone ever stick with this driver? I finally bought some 2gig cards and have been testing this driver. Looks like it will eventually lock up the zaurus until the SD card is removed if you attempt to do long file copies. And this is not just with 2 gig cards, it will do it with any of my SD cards. I guess it is ok if you don't just copy things straight from it for long periods of time. Looking through this thread many people said they will report back on their results but not many did. Did you guys stop using it? Is this just maybe an issue with the c3100 and this driver? But I'm using an eviljazz kernel so maybe something with that?
cybersphinx
QUOTE(xamindar @ Oct 24 2008, 09:22 AM) *
Did anyone ever stick with this driver? I finally bought some 2gig cards and have been testing this driver. Looks like it will eventually lock up the zaurus until the SD card is removed if you attempt to do long file copies. And this is not just with 2 gig cards, it will do it with any of my SD cards. I guess it is ok if you don't just copy things straight from it for long periods of time. Looking through this thread many people said they will report back on their results but not many did. Did you guys stop using it? Is this just maybe an issue with the c3100 and this driver? But I'm using an eviljazz kernel so maybe something with that?

You mean pelrun's driver? I've been using it on my c760 since then, and didn't notice any problems I could attribute to the driver. But then I'm doing all my copying in a card reader and not on the Zaurus itself.
speculatrix
I had problems doing big file copies to the zaurus with cacko even before I put the new sd driver in place; I always assumed it was the usb networking as it was very inconsistent how long it'd last.

I guess to prove it one should copy files from host /dev/null, and on the zaurus to "dd if='/dev/urandom of=/mnt/card/junk bs=1024 count="1000000" etc, and then cat that random file back to /dev/null to force reading it.
pelrun
The c3100 uses the official c3200 sharp driver, not my hacked one smile.gif

I too have had issues transferring large files directly to the SD card over usb networking; using scp to copy didn't help things as it increases the cpu load significantly. But I've never had any trouble transferring files of any size to or from the card to hd or nand.
koan
Hi

I have a 2 GB Sandisk SD card in my 750 and it works fine using these scripts,
except that when going to standby the card is unmounted and mounted
again at power on.

I want to use applications that have open files on the SD card, or
leave a shell in a working directory on the card when I go to standby.
If I leave open files then the card cannot be remounted and the
apps that had the file locks fail in various ways.

So I want to change it so that the card is not unmounted when going to
standby. Has anyone got that functionality working ?

My investigation using the logfile shows that
- suspend/power on cycle calls sdiomgr with "attach"
- manually inserting the card calls sdiomgr with "attach"
- selecting eject from SD icon does not call sdiomgr
- manually ejecting the card calls sdiomgr with "detach"

The modified sdiomgr script runs sdcontrol with "compeject" then "insert"
for "attach". I tried changing "compeject" to "eject" because it doesn't unmount
if there are open file locks however it didn't work - the card appears as
if it is mounted but I can't access anything on it.

If I try to simulate this sequence by change directory to card, su, run eject
and then insert the card remains mounted and visible. I'm guessing the
kernel driver resets open file locks when going to standby, but I am no expert.

By the way, the card is VFAT and I am using Sharp ROM.

Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.