Results 1 to 4 of 4

Thread: Help, problem with USB sticks

  1. #1

    Question Help, problem with USB sticks

    Hi,

    I have a problem with the mounting of a usb stick,
    the sandisk cruser 512Mb and the same with a apacer handy 128Mb.
    I want to test the bluetooth solution. But I am not getting the stick to mount correctly. I also have a compatible hub. But for now I removed the hub and still the mounting is not working.
    I need a mount on /mnt/usbfs/

    Some points which may help:

    -WL500g
    -Firmware: 1.9.2.7-3c
    -everything below is with the sandisk stick connected directly on the wl500g
    -Sticks are FAT32 formated on a windows machine. (I also tried FAT)
    -FTP is on.
    -there are files on the stick.

    Extract from the system log:
    Jan 1 01:00:02 kernel: usb.c: registered new driver hub
    Jan 1 01:00:02 kernel: usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
    Jan 1 01:00:02 kernel: usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
    Jan 1 01:00:02 kernel: usb.c: new USB bus registered, assigned bus number 1
    Jan 1 01:00:03 kernel: hub.c: USB hub found
    Jan 1 01:00:03 kernel: hub.c: 2 ports detected
    Jan 1 01:00:03 kernel: hub.c: new USB device 00:04.0-1, assigned address 2
    Jan 1 01:00:03 kernel: usb.c: USB device 2 (vend/prod 0x781/0x5150) is not claimed by any active driver.
    Jan 1 01:00:04 kernel: usb.c: registered new driver usblp
    Jan 1 01:00:04 kernel: printer.c: v0.13: USB Printer Device Class driver
    Jan 1 01:00:05 kernel: usb.c: registered new driver audio
    Jan 1 01:00:05 kernel: audio.c: v1.0.0:USB Audio Class driver
    Jan 1 01:00:06 kernel: SCSI subsystem driver Revision: 1.00
    Jan 1 01:00:06 kernel: Initializing USB Mass Storage driver...
    Jan 1 01:00:06 kernel: usb.c: registered new driver usb-storage
    Jan 1 01:00:06 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jan 1 01:00:06 kernel: Vendor: SanDisk Model: Cruzer Mini Rev: 0.1
    Jan 1 01:00:06 kernel: Type: Direct-Access ANSI SCSI revision: 02
    Jan 1 01:00:06 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
    Jan 1 01:00:06 kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
    Jan 1 01:00:06 kernel: sda: Write Protect is off
    Jan 1 01:00:06 kernel: Partition check:
    Jan 1 01:00:06 kernel: p1
    Jan 1 01:00:06 kernel: USB Mass Storage support registered.
    Jan 1 01:00:07 kernel: lp driver: get device ID
    Jan 1 01:00:07 kernel: neg fail
    Mar 4 23:08:41 kernel: lp driver: get device ID
    Mar 4 23:08:41 kernel: neg fail
    Mar 4 22:08:41 kernel: neg fail
    Mar 4 22:08:46 kernel: VFS: Can't find ext3 filesystem on dev sd(8,1).
    Mar 4 22:08:46 kernel: MSDOS FS: Using codepage 950
    Mar 4 22:08:46 kernel: MSDOS FS: IO charset cp950
    Mar 4 22:08:46 USB storage: vfat fs mounted to /tmp/harddisk
    Mar 4 23:08:46 FTP server: daemon is started
    Mount:
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/discs/disc0/part1 on /tmp/harddisk type vfat (rw,sync)
    ls -als /mnt:
    Nothing
    ls /mnt/usbfs/:
    ls: /mnt/usbfs/: No such file or directory
    ls /dev/scsi/host0/bus0/target0/lun0/:
    disc
    part1
    ls /dev/scsi/:
    host0
    cat /proc/partitions:
    major minor #blocks name

    8 0 500472 scsi/host0/bus0/target0/lun0/disc
    8 1 499851 scsi/host0/bus0/target0/lun0/part1
    mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usbfs:
    mount: Mounting /dev/scsi/host0/bus0/target0/lun0/part1 on /mnt/usbfs failed: No such file or directory
    ps:
    PID Uid VmSize Stat Command
    1 admin 572 S /sbin/init
    2 admin SW [keventd]
    3 admin SWN [ksoftirqd_CPU0]
    4 admin SW [kswapd]
    5 admin SW [bdflush]
    6 admin SW [kupdated]
    7 admin SW [mtdblockd]
    42 admin 300 S telnetd
    47 admin 440 S httpd
    50 admin 356 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
    52 admin 316 S klogd
    53 admin SW [khubd]
    63 admin 272 S lpd
    65 admin 248 S p9100d -f /dev/usb/lp0 0
    67 admin 248 S p9101d -f /dev/printers/0 1
    70 admin 360 S waveservermain
    74 admin SW [usb-storage-0]
    75 admin SW [scsi_eh_0]
    77 admin 316 S infosvr br0
    78 admin 476 S watchdog
    80 admin 360 S ntp
    108 admin 512 S -sh
    124 admin 428 S sh -c ps > /tmp/syscmd.log 2>&1
    125 admin 372 R ps
    Any clues in what I am doing wrong?
    Because I am going mad on this....
    TIA,
    Zipper



  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    Your stick is mounted to the /tmp/harddisk, not /mnt/usbfs. This is due to firmware differences: firmwares prior 1.8.x.x used /mnt/usbfs, while newer use /tmp/harddisk

  3. #3
    Join Date
    May 2004
    Location
    Moscow, Russia
    Posts
    50
    if I am not mistaken it get mounted in tmp/harddisk (according to the log).

    you may try to switch off ftp in web interface and make all mount job from scripts.

    HTH
    Roofcat

  4. #4
    Thanks for the short but helpfull answer Oleg.

    Than the way around this should be:
    mount -o bind /tmp /mnt
    ln -s /tmp/harddisk /mnt/usbfs
    Looks like this is working.

Similar Threads

  1. [USB] Memory Sticks
    By Antiloop in forum Reported Compatible Hardware
    Replies: 49
    Last Post: 03-04-2010, 20:49
  2. Replies: 0
    Last Post: 22-08-2005, 12:33
  3. 2 usb sticks
    By kamilek in forum WL-500g Q&A
    Replies: 1
    Last Post: 03-08-2005, 09:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •