Help - Search - Members - Calendar
Full Version: Mounting A Usb Drive
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
MrStaypuft
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
What does dmesg say?
MrStaypuft
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 smile.gif
the_oak
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.
case
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
Hi,

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

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

Let me know....
MrStaypuft
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
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.
case
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
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
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.
case
Ok...

I understand. wink.gif Can you mount cf and sd cards?
MrStaypuft
just tried the "sudo modprobe ohci-hcd" and got an error saying "can't locate module ochi-hcd".
MrStaypuft
QUOTE(case @ Jun 20 2008, 11:11 AM) *
Ok...

I understand. wink.gif 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
QUOTE(MrStaypuft @ Jun 19 2008, 08:17 PM) *
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.
MrStaypuft
QUOTE(Capn_Fish @ Jun 20 2008, 01:25 PM) *
QUOTE(MrStaypuft @ Jun 19 2008, 08:17 PM) *
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.



I installed the ipk and I still get the same error when I run sudo modprobe ohci-hcd.

Even better now when I plug in a USB drive my system locks!

I think I will uninstall the IPK smile.gif
MrStaypuft
OK I think i worked out what my problem is - see this thread (http://www.oesf.org/forum/index.php?showtopic=23984&st=75&gopid=178010&#entry178010)

It says in there that the kernel developed for Quasar media player causes issues with USB HDD however someone else also says that these changes have been rolled into Tetsu's kernel (which presumably would work fine with external USB HDD's)

Also I just double checked and it said sharprom/cacko so I guess I'm still running sharprom with this kernel so any references to cacko are my mistake - i am not running cacko - just sharprom with this special kernel.

Sooooo......

I guess the answer is to install Tetsu's kernel - of course as I can't read his website (I don't speak japanese)

so I downloaded what I think is the right kernel (18j C3200) and also kernel-modules_v18j_arm.ipk and updater.sh. However in some of the english translated stuff I could see that 18j was talking about dual booting into PDAXROM which I don't want to do but I can't see the earlier Kernel on his website to download. Oh well I guess it supports it but hopefully doesn't require it?

So I think what I need to do is
- Install the new kernel
- Install the IPK with the modules

Test again - can someone else make sense of this and see if my approach makes sense?

Thanks!
Capn_Fish
Why not just use Cacko? Does it not run on the C3000 (I think that's what you said you have)? If not, you're approach makes prefect sense (I just thought that the Cacko kernel WAS Tetsu's kernel).
Jon_J
QUOTE(MrStaypuft @ Jun 20 2008, 12:54 AM) *
OK I think i worked out what my problem is - see this thread (http://www.oesf.org/forum/index.php?showtopic=23984&st=75&gopid=178010&#entry178010)

It says in there that the kernel developed for Quasar media player causes issues with USB HDD however someone else also says that these changes have been rolled into Tetsu's kernel (which presumably would work fine with external USB HDD's)

Also I just double checked and it said sharprom/cacko so I guess I'm still running sharprom with this kernel so any references to cacko are my mistake - i am not running cacko - just sharprom with this special kernel.

Sooooo......

I guess the answer is to install Tetsu's kernel - of course as I can't read his website (I don't speak japanese)

so I downloaded what I think is the right kernel (18j C3200) and also kernel-modules_v18j_arm.ipk and updater.sh. However in some of the english translated stuff I could see that 18j was talking about dual booting into PDAXROM which I don't want to do but I can't see the earlier Kernel on his website to download. Oh well I guess it supports it but hopefully doesn't require it?

So I think what I need to do is
- Install the new kernel
- Install the IPK with the modules

Test again - can someone else make sense of this and see if my approach makes sense?

Thanks!

I have copies of Tetsu kernels for both the SL-C3100 and SL-C3200
I have these two versions: (v-18h) and (v-18i)
I'll attach them in 2 zip files. I'll also attach a zip file with instructions (English) in "html" and a short text instruction.
Also attached is a screenshot of the file contents of both zip files with Tetsu's kernels.

Jon
MrStaypuft
In answer to an earlier question - I have a C3200 and don't really want to do a full OS reinstall.

Thanks Jon_J for those instructions and packages - I installed the latest kernel (V18j) just to see if it had any dual booting stuff that would effect me and it didn't - it just booted straight up and runs fine. Your packages were a great help in that I felt I had somewhere to go if V18j didn't work so thanks! My external USB storage is working again - I've tried all the devices and they are all fine.

I feel like such a fool - I installed a kernel and should have remembered to go back to that thread and read through it and I would have seen Meanie diagnosing that it didn't work properly with external USB drives....

Thanks everyone for your help!
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.