Author Topic: Usb-sticks Vs. Harddrives On Pdaxii13  (Read 2878 times)

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Usb-sticks Vs. Harddrives On Pdaxii13
« on: February 21, 2007, 02:21:34 am »
Hello all,

currently I'm wondering why USB-Sticks are not properly recognized by my C3100 running pdaxii13. dmesg only shows "READ CAPACITY FAILED" and "unable to read partiton table" in combination with I/O-Errors. Strange enough, self-powered USB harddisks work fine and the tested USB-Sticks (tested several) work fine in my Linux box.

Could it be a power issue? However, I remember USB-Sticks working on my Z when I had OZ installed.
YT,
Tron

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Usb-sticks Vs. Harddrives On Pdaxii13
« Reply #1 on: February 21, 2007, 10:09:10 am »
I'm using pdaXii13 Akita and the one USB stick I tried on a earlier version of pdaXii13 didn't work because of USB module problems. I was able to copy over the USB modules from Beta 3 and get it working that way. Since using the latest pdaXii13 it seems to work out of the box.
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

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Usb-sticks Vs. Harddrives On Pdaxii13
« Reply #2 on: February 21, 2007, 11:09:32 am »
I have an Iogear USB stick. It is the one that holds SD cards.
On my C3200, it mounts fine in pdaxii13-akita5.3, but if I use the unmount icon, I get a message: "USB storage eject failed!"
I'm using the modified mb-applet-cards that daniel3000 included in this post.
https://www.oesf.org/forums/index.php?showt...ndpost&p=153951

Otherwise, I can just unplug it, after waiting awhile.
« Last Edit: February 21, 2007, 11:42:21 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Usb-sticks Vs. Harddrives On Pdaxii13
« Reply #3 on: February 21, 2007, 12:49:35 pm »
Quote
pdaxii13. dmesg only shows "READ CAPACITY FAILED" and "unable to read partiton table" in combination with I/O-Errors. Strange enough, self-powered USB harddisks work fine and the
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154857\"][{POST_SNAPBACK}][/a][/div]

do you get a /dev/sdc type device assigned (in dmesg)... if so, what does "fdisk /dev/sdc" say?

are you sure the device has a partition table? this is a classic linux problem, in that windows will format a drive with no partition table, but the resulting memory device won't automount (would have to "mount -f vfat /dev/sdc /mnt/usbmem" and not "mount /dev/sdc1 /mnt/usbmem").
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Usb-sticks Vs. Harddrives On Pdaxii13
« Reply #4 on: February 21, 2007, 02:52:37 pm »
Ok, I guess I was somewhat too trusty toward the automount feature.  The partition table is valid and I can mount the stick manually even withouth the "-t vfat" option. Just the automounter does not seem to register the device properly, probably due to the fact that I still get the "partition table" error.

Wiping the stick and writing a completely new partition table using my linux box did not help.

Hmm...
YT,
Tron

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Usb-sticks Vs. Harddrives On Pdaxii13
« Reply #5 on: February 22, 2007, 06:28:01 am »
Quote
Ok, I guess I was somewhat too trusty toward the automount feature.  The partition table is valid and I can mount the stick manually even withouth the "-t vfat" option. Just the automounter does not seem to register the device properly, probably due to the fact that I still get the "partition table" error.

Wiping the stick and writing a completely new partition table using my linux box did not help.

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

try unmounting the stick and blatting over the partition table with "dd if=/dev/zero of=/dev/sdc bs=512 count=8" (be very careful to choose the right device)

then eject, reinsert, use fdisk again and the old partition will be gone!

the other possibility is that the stick is quite memory hungry and is taking longer than usual to be ready for access; perhaps adding a "sleep 1" to the automounter scripts will allow it to stabilise before trying to mount it?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Usb-sticks Vs. Harddrives On Pdaxii13
« Reply #6 on: February 22, 2007, 08:18:28 am »
In order to sort out a power issue, you could simply connect the USB stick in question to a powered USB hub and see if the problems remain.

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