Author Topic: Sd Cards >1gb Work In Pdaxrom!  (Read 4485 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« on: August 08, 2006, 06:54:24 am »
Hello,

Good news: The >1GB SD card driver from Cacko/Sharp (package zaurus-sd-driver-update-cxxxx_1.0+tetsu_arm.ipk, downloadable from this thread) works in pdaXrom 1.1.0beta3 too! I just installed it, then had to modify /etc/sdcontrol:

in /etc/sdcontrol change the line

Code: [Select]
SD_MODULE=mmc_pxa
to


Code: [Select]
SD_MODULE=sharp_mmcsd_m

reboot, and voila: My 2GB PNY card is mounted and usable.

I have not made many tests so far, so I cannot say anything about reliability.
I'll use it from now on, and report problems.

Other users have reported this driver to work in beta1 as well.

No guarantee, use it at your own risk!

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #1 on: August 30, 2006, 12:32:49 pm »
As promised, the problem report:

No problems found so far!  

Using it daily and heavily, 2GB SD card continuously in the slot.
I had one problem (Input/Output error when acessing a recently created shell script). fsck.ext2 reported adeleted inode or something like that.
But I think this was doe to USB-storage access to the card via a Windows Laptop connected through USB while I saved that script. Problably nothing to do with the driver.


daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #2 on: August 30, 2006, 12:51:09 pm »
Quote
As promised, the problem report:

No problems found so far!   

Using it daily and heavily, 2GB SD card continuously in the slot.
I had one problem (Input/Output error when acessing a recently created shell script). fsck.ext2 reported adeleted inode or something like that.
But I think this was doe to USB-storage access to the card via a Windows Laptop connected through USB while I saved that script. Problably nothing to do with the driver.

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

Wow, thanks for the good news!  I will buy a new 2GB SD card then (prices are dropping fast these days!). One thing: are you aware of any brand specific issue with this driver? Thanks!

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #3 on: August 30, 2006, 12:59:15 pm »
Quote
Wow, thanks for the good news!  I will buy a new 2GB SD card then (prices are dropping fast these days!). One thing: are you aware of any brand specific issue with this driver? Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140205\"][{POST_SNAPBACK}][/a][/div]

No.
I use a PNY 2GB and a Sandisk 1GB card with this driver under pdaXrom and Cacko. No problems with these cards.

I think in the original thread about the driver (see my first posting) there is a list of tested cards.
Hopefully the driver will not make a difference in supporting cards when running under Cacko or pdaXrom ;-)

Well, one minor issue:
When shutting down the Zaurus via halt or reboot, I get a segmentation fault when the K96sd script is executed.
I haven't investigated further, becasue the FS is unmounted then anyway.
No idea if this is due to the new driver.



daniel
« Last Edit: August 30, 2006, 01:00:38 pm by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Sd Cards >1gb Work In Pdaxrom!
« Reply #4 on: August 30, 2006, 10:19:37 pm »
Quote
Quote
Wow, thanks for the good news!  I will buy a new 2GB SD card then (prices are dropping fast these days!). One thing: are you aware of any brand specific issue with this driver? Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140205\"][{POST_SNAPBACK}][/a][/div]

No.
I use a PNY 2GB and a Sandisk 1GB card with this driver under pdaXrom and Cacko. No problems with these cards.

I think in the original thread about the driver (see my first posting) there is a list of tested cards.
Hopefully the driver will not make a difference in supporting cards when running under Cacko or pdaXrom ;-)

Well, one minor issue:
When shutting down the Zaurus via halt or reboot, I get a segmentation fault when the K96sd script is executed.
I haven't investigated further, becasue the FS is unmounted then anyway.
No idea if this is due to the new driver.



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

I've also been using this driver without noticing any problems.  (BTW, thanks!)  I don't reboot or halt very frequently, but I don't remember seeing the seg fault you report.

So far, I've been using an Ultra 2GB (not SanDisk Ultra).  With beta4, I had issues with my Patriot 4GB card, but I'm not noticing the same problems on beta3 with this driver.  I've been reinstalling and reconfiguring since moving back to beta3, so I'm waiting for things to stabilize before giving the 4GB a good workout.  Got my fingers crossed.
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #5 on: August 31, 2006, 02:16:04 am »
just setup beta3 with my 4 gig patriot.... I've only used it to install the hostap stuff, and as storage over usb to a windows box...so far, so good.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #6 on: August 31, 2006, 03:31:36 am »
So the driver seems really working... I am considering buying an Apacer or BTC SD 2 gb here coz now they cost just USD 50. Hope they will work too.

BTW is there any speed improvement of the IO with the new driver?
« Last Edit: August 31, 2006, 03:32:21 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

JustMatt

  • Newbie
  • *
  • Posts: 18
    • View Profile
Sd Cards >1gb Work In Pdaxrom!
« Reply #7 on: August 31, 2006, 08:05:21 am »
Quote
I am considering buying an Apacer or BTC SD 2 gb here coz now they cost just USD 50. Hope they will work too.

Newegg has 4 gb SD cards for ~60 USD.  Newegg 4gb cards
SL-C1000 (pdaXii13 Akita (Sally) 5.3 Currently)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #8 on: August 31, 2006, 08:35:11 am »
Quote
So the driver seems really working... I am considering buying an Apacer or BTC SD 2 gb here coz now they cost just USD 50. Hope they will work too.

BTW is there any speed improvement of the IO with the new driver?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140279\"][{POST_SNAPBACK}][/a][/div]

I don't know, because I have not done any comparisons. So far performance of my PNY 2GB SD is fully sufficient for what I use it for.
I do not read / write large data streams which are time-critical.
The only things I do which could be faster (but I don't know if the card plays a role here or if the bottlenecks are processing power / USB interface) is compiling software and synchronization with PC using unison.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

pkwong

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #9 on: January 25, 2007, 09:09:04 am »
Quote
Well, one minor issue:
When shutting down the Zaurus via halt or reboot, I get a segmentation fault when the K96sd script is executed.
I haven't investigated further, becasue the FS is unmounted then anyway.
No idea if this is due to the new driver.

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

i also have this issue, the most simple method is not to unload mmc_block
what i did to fix this is
/etc/rc.d/init.d/sd line 38:
/sbin/rmmod sharp_mmcsd_m sdcardmgr 2>/dev/null >/dev/null

i also have another problem that my sd will not mount after reboot, i have to unplug and replug the sd to mount it.
and my fix is replace /etc/rc.d/init.d/sd 's start case with:

start)
    action "Start SD services:" /sbin/modprobe mmc_block
    /sbin/modprobe $SDMGR_MODULE
    sleep 1
    rmmod sharp_mmcsd_m $SDMGR_MODULE
    /sbin/modprobe $SDMGR_MODULE
    touch /var/lock/subsys/sd
    ;;

the method seemed silly, but it WORKS~!

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Sd Cards >1gb Work In Pdaxrom!
« Reply #10 on: January 25, 2007, 10:22:40 am »
Quote
i also have this issue, the most simple method is not to unload mmc_block
what i did to fix this is
/etc/rc.d/init.d/sd line 38:
/sbin/rmmod sharp_mmcsd_m sdcardmgr 2>/dev/null >/dev/null

aha, thanks... will try this!

Quote
i also have another problem that my sd will not mount after reboot, i have to unplug and replug the sd to mount it.
and my fix is replace /etc/rc.d/init.d/sd 's start case with:

start)
    action "Start SD services:" /sbin/modprobe mmc_block
    /sbin/modprobe $SDMGR_MODULE
    sleep 1
    rmmod sharp_mmcsd_m $SDMGR_MODULE
    /sbin/modprobe $SDMGR_MODULE
    touch /var/lock/subsys/sd
    ;;

the method seemed silly, but it WORKS~!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152385\"][{POST_SNAPBACK}][/a][/div]

I remember that I also has this problem. I simply solved it by adding a
Code: [Select]
/etc/sdcontrol changeto the end of my custom rc script in /etc/rc.d/init.d

I also observed that sometimes when I insert the card it is not mounted.
In order to address this problem, I have changed "sdcontrol insert" to "sdcontrol change" in the file /etc/hotplug/mmcsd.agent.

Since I did these modificatoins, I never had any problems with my SD card.
(except the segfault on shutdown, which didn't do any ham so far.)

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Sd Cards >1gb Work In Pdaxrom!
« Reply #11 on: January 25, 2007, 03:31:49 pm »
Quote
Quote
i also have this issue, the most simple method is not to unload mmc_block
what i did to fix this is
/etc/rc.d/init.d/sd line 38:
/sbin/rmmod sharp_mmcsd_m sdcardmgr 2>/dev/null >/dev/null

aha, thanks... will try this!

Quote
i also have another problem that my sd will not mount after reboot, i have to unplug and replug the sd to mount it.
and my fix is replace /etc/rc.d/init.d/sd 's start case with:

start)
    action "Start SD services:" /sbin/modprobe mmc_block
    /sbin/modprobe $SDMGR_MODULE
    sleep 1
    rmmod sharp_mmcsd_m $SDMGR_MODULE
    /sbin/modprobe $SDMGR_MODULE
    touch /var/lock/subsys/sd
    ;;

the method seemed silly, but it WORKS~!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152385\"][{POST_SNAPBACK}][/a][/div]

I remember that I also has this problem. I simply solved it by adding a
Code: [Select]
/etc/sdcontrol changeto the end of my custom rc script in /etc/rc.d/init.d

I also observed that sometimes when I insert the card it is not mounted.
In order to address this problem, I have changed "sdcontrol insert" to "sdcontrol change" in the file /etc/hotplug/mmcsd.agent.

Since I did these modificatoins, I never had any problems with my SD card.
(except the segfault on shutdown, which didn't do any ham so far.)

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

Just install my sdcard package. It will cleanly uninstall the beta3 mmc driver and replace it with the Sharp SD driver. Of course, don't install the package from SD card directly
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