Author Topic: Mounting A Usb Drive  (Read 11947 times)

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Mounting A Usb Drive
« on: June 06, 2008, 01:42:51 am »
Hi Everyone,

I know threads like this are everywhere but trust me I have searched and tried MANY commands and I can't get this memory stick to work.

I am running Sharprom with an updated Kernel and meanies automounter-c3000_0.5.0_arm.ipk

I have mounted USB hard drives many times in the past but after trying a few different drives (formatted as FAT16 and FAT32) i keep getting a similar error.

If I look in system info under device-USB-* USB MASS STORAGE

I get vendor, product, class and ID information however under Driver I get
"Driver: (none)".

Obviously the drive is not showing up anywhere - i can't do fdisks on sda, sda1, sdb, sdb1, etc as they aren't there.

I know I have probably missed something which makes me look stupid but what is it?

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Mounting A Usb Drive
« Reply #1 on: June 06, 2008, 10:28:32 am »
What does dmesg say?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Mounting A Usb Drive
« Reply #2 on: June 09, 2008, 01:15:42 am »
dmesg says this:

NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
monitor_hotplug: agent: usbd interface: monitor action: suspend
udc_disable: ep0_urb already NULL
udc_disable: ep0_urb already NULL
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 exiting
monitor_pm_event: suspend finished (rc=0)
usbh: monitor_hotplug: agent: usbh interface: monitor action: suspend
usbh: monitor_pm_event: suspend finished (rc=0)
pxa_sd_wait_response: responce time out (cmd=07 MMC_STAT=0x2142)
pxa_pcmcia_suspend(0)
pxa_pcmcia_suspend(1)
sharp_sl_nand_suspend
jack=0
resume virtual_wakeup_factor=00000001 (src=9801a003)
resume logical_wakeup_factor=00000000 (src=ae000019)
return to suspend ....
jack=0
AC state changed (1)
resume virtual_wakeup_factor=00008001 (src=9801a003)
resume logical_wakeup_factor=00000000 (src=ae000019)
return to suspend ....
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
AC state changed (0)
resume virtual_wakeup_factor=00008001 (src=9801a003)
resume logical_wakeup_factor=00000000 (src=ae000019)
return to suspend ....
jack=0
resume virtual_wakeup_factor=00000001 (src=9801a003)
resume logical_wakeup_factor=00000000 (src=ae000019)
return to suspend ....
jack=0
AC state changed (1)
resume virtual_wakeup_factor=00008001 (src=9801a003)
resume logical_wakeup_factor=00000000 (src=ae000019)
return to suspend ....
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000000 (src=9801a003)
jack=0
resume virtual_wakeup_factor=00000001 (src=9801a003)
resume logical_wakeup_factor=00000001 (src=ae000019)
FCS : CCCR = 2000210
sharp_sl_nand_resume
pxa_pcmcia_init(0)
pxa_pcmcia_init(1)
new hp status=0
pxa_sd_wait_response: responce time out (cmd=52 MMC_STAT=0x2142)
pxa_sd_wait_response: responce time out (cmd=05 MMC_STAT=0x2142)
[SD]-clustsize = 10000
usbh: hotplug_schedule_bh: schedule bh
hotplug_schedule_bh: schedule bh
usbh: hotplug_bh:
usbh: udc_connected: ACTIVE_LOW: 0<7>usbh: monitor_connected: 0
usbh: monitor_restore: RESTORE_UNLOADED
usbh: monitor_hotplug: agent: usbh interface: monitor action: restore-unloaded
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa27x_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
udc_connect: usb-device is not active.
usbd_send_urb: !USBD_OK
netproto_start_xmit: comm failure, send failed: -70 c370be00

usbh: monitor_int_hndlr:
usbh: monitor_bh:
usbh: udc_connected: ACTIVE_LOW: 1<7>usbh: monitor_connected: 1
usbh: monitor_load: 4
usbh: monitor_hotplug: agent: usbh interface: monitor action: load
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xfe000000, IRQ 3
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c3f6da40, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: fe000000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 8ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c3f6da40
usb.c: kusbd: /sbin/hotplug add 1
NETDEV WATCHDOG: usbd0: transmit timed out
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 103, change 10, 12 Mb/s
hub.c: USB new device connect on bus1, assigned device number 2
usb.c: kmalloc IF c3f6d2a0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 2 default language ID 0x409
Manufacturer: SMI Corporation
Product: USB DISK
SerialNumber: AA04012700008802
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x90c/0x1000) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 2.00
  Vendor:Product      = 090c:1000
  MaxPacketSize0      = 64
  NumConfigurations   = 1
  Device version      = 11.00
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0020
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  100mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   08:06:50
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   ff
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   02 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   ff
usb.c: kusbd: /sbin/hotplug add 2
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out
NETDEV WATCHDOG: usbd0: transmit timed out

Hope it makes sense to someone out there!!

Poor little unclaimed USB device  

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
Mounting A Usb Drive
« Reply #3 on: June 10, 2008, 05:16:20 pm »
You have probably already tried this, but in case you haven't, how about the trusty reset button? I had a problem with a usb thumbdrive, and after reset, it worked fine.
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook

case

  • Newbie
  • *
  • Posts: 35
    • View Profile
Mounting A Usb Drive
« Reply #4 on: June 18, 2008, 05:59:36 pm »
Hi,

I had a similiar problem with an SD card mounting.  

You could do a search to find my post.  But what worked
was formatting a small section up front as blank, then the main portion
formatted as fat16.

case

  • Newbie
  • *
  • Posts: 35
    • View Profile
Mounting A Usb Drive
« Reply #5 on: June 18, 2008, 06:05:36 pm »
Hi,

My post is still there....here is link you can try...

https://www.oesf.org/forum/index.php?showto...19640&st=15

Let me know....

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Mounting A Usb Drive
« Reply #6 on: June 18, 2008, 07:00:39 pm »
Thanks for the info, unfortunately none of these things are the issue.  I have tried all those steps with no success and if I look at the partitions on other machines they look fine.

I have also tried rebooting.

One important point though - I have put the cacko kernel onto this Z since I last used external storage through USB host.

After applying the Cacko kernel do I need to make any changes to get external USB storage working again?

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mounting A Usb Drive
« Reply #7 on: June 18, 2008, 07:18:07 pm »
I would first try an external USB hard drive. (One that has it's own power supply, like a full size drive plugged into an AC adapter and to a wall outlet) to see if USB Storage works, then read below...

I don't know if this will help, and Cacko Full already has this included, but maybe, somehow this module got corrupted.
I'm attaching "usb-storage-modules-2.4.20_1.23--lite-1_arm.ipk"
This was designed for Cacko Lite, since "Lite" was missing various modules, etc.
Notice the word "Lite" in the package name.
If you install this to a Zaurus with Cacko Full, you must not uninstall it, as this may remove some of the original files contained in Cacko Full.
It is not recommended to install these kind of modules on top of Cacko Full, because it takes additional space in your NAND area, since Cacko Full already includes these kind of modules.

I'm only saying, as a last resort, and you don't mind the extra 130kb of space taken, install this package, reboot, then try your USB Storage device.

EDIT
I just noticed you are running the Sharp ROM, as mentioned in your first post.
You could try the attached package, if it doesn't work, uninstall it.

2nd EDIT
If you do download the attachment, make sure to rename it to:
usb-storage-modules-2.4.20_1.23--lite-1_arm.ipk
The forum replaces dashes with underscores.
« Last Edit: June 18, 2008, 09:03:51 pm 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

case

  • Newbie
  • *
  • Posts: 35
    • View Profile
Mounting A Usb Drive
« Reply #8 on: June 18, 2008, 08:05:01 pm »
Hi,

I just wanted to point out that I
had similiar issues when looking
at the SD card in all other machines
I tried.  I could read it with Windows XP,
Linux, and even a Pocket PC.  I was able to
read and write to it on all operating systems.

The key for me was a small hidden partition at
the beginning and end of the card.

How exactly is the USB drive partitioned?  I think the
Zaurus is rom is very particular about what is it
looking for.....

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Mounting A Usb Drive
« Reply #9 on: June 19, 2008, 06:47:09 pm »
Hi everyone - firstly thanks for all your help.

Case: I understand where you are coming from - I have had the issue myself!  I ended up formatting the card in a camera and then all was fine.  However I don't think that issue is my issue as I have used all these drives on the zaurus many times before (including a USB hard drive) and they have not been reformatted (in one case they haven't even been accessed!) since.  I have now tried an external USB HDD and i get the same result - under system info, device, usb an "External HDD" shows but it still says "Driver: (None)" so I think we can eliminate the partitioning issue.

To explain my system fully I started with a full sharp system - installed a bunch of stuff off meanies page, etc.  Then when I wanted to use Quasar media player I installed an updated kernel (using a ZImage file, and updater.sh BUT NO tools.rar) I did NOT however install any new packages, etc on the machine - I just flashed the kernel.  Was this the wrong thing to do?  I don't seem to be having issues with anything else - just automounting USB drives.

I have tried installing the usb modules (thanks Jon_J) and it didn't help.

I'm trying to understand where the problem is - if the driver is not recognised what is that normally a symptom of?

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Mounting A Usb Drive
« Reply #10 on: June 19, 2008, 08:31:29 pm »
Did you do a "modprobe ohci-hcd" (may have to do "sudo modprobe ohci-hcd") before inserting it? It kind of looks like the module was already loaded, but it's worth a shot.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

case

  • Newbie
  • *
  • Posts: 35
    • View Profile
Mounting A Usb Drive
« Reply #11 on: June 19, 2008, 09:11:15 pm »
Ok...

I understand.        Can you mount cf and sd cards?

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Mounting A Usb Drive
« Reply #12 on: June 19, 2008, 09:17:13 pm »
just tried the "sudo modprobe ohci-hcd" and got an error saying "can't locate module ochi-hcd".
« Last Edit: June 19, 2008, 09:27:25 pm by MrStaypuft »

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Mounting A Usb Drive
« Reply #13 on: June 19, 2008, 09:18:53 pm »
Quote from: case
Ok...

I understand.        Can you mount cf and sd cards?

Yep sure can - my SD and CF cards are working fine - just not USB storage devices (I have tried hard disks, memory sticks and CF and SD cards through a USB reader!)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Mounting A Usb Drive
« Reply #14 on: June 19, 2008, 11:25:32 pm »
Quote from: MrStaypuft
just tried the "sudo modprobe ohci-hcd" and got an error saying "can't locate module ochi-hcd".
That's likely your issue, then. That module allows for USB host mode, IIRC. Did you try Jon_J's IPK?

EDIT: At least, it does on 2.6.x kernels. The IPK has promising modules in it, though.
« Last Edit: June 19, 2008, 11:30:51 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo