15407 & Higher USB drive mounting

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4
Author Message
Dark_Shadow
DD-WRT Guru


Joined: 31 Aug 2009
Posts: 2448
Location: Third Rock from the Sun

PostPosted: Thu Oct 14, 2010 17:56    Post subject: Reply with quote
LOM wrote:
Dark_Shadow wrote:
oops he must've changed his message. I will get proper output.


He changed your quoting of it as well, he's a tricky guy ain't he Very Happy
he changed it before I quoted it but after I copied his commands.
_________________
Peacock Thread-FAQ -- dd-wrt Wiki

Testing Multiple Routers -- Bootloader Collection Project -- My Wiki
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7643

PostPosted: Thu Oct 14, 2010 18:08    Post subject: Reply with quote
Dark_Shadow wrote:
LOM wrote:
Dark_Shadow wrote:
oops he must've changed his message. I will get proper output.


He changed your quoting of it as well, he's a tricky guy ain't he Very Happy
he changed it before I quoted it but after I copied his commands.


ok, the output is the same and should be so since it is only 2 different ways of defining the device.

Not that I understand why we can't use the shorter device path and name, maybe has to do with the way sd devices are enumerated ie if sda fails then sdb may become sda ?

_________________
Kernel panic: Aiee, killing interrupt handler!
Dark_Shadow
DD-WRT Guru


Joined: 31 Aug 2009
Posts: 2448
Location: Third Rock from the Sun

PostPosted: Wed Oct 27, 2010 16:16    Post subject: Reply with quote
15508-Mega and big tryed

Enable USB 2.0 support and storage support in GUI

Code:
ApplyTake:submit_button=[USB] service=[usbdrivers] sleep_time=[0] action=[3]
function stop_drivers not found
[USB] checking...
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB20H mdio control register : 0x8000000c
ehci_hcd 0000:00:04.1: EHCI Host Controller
ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.


Plugged in USBHDD

Code:
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access     Century  EX35SW8_SB8-A    0100 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 1666446768 512-byte hardware sectors (853221 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 1666446768 512-byte hardware sectors (853221 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4
sd 0:0:0:0: [sda] Attached SCSI disk


changing automount point from /mnt to /opt

Code:
function stop_drivers not found
[USB] checking...


And it just sits there.

Asus RT-N16 defaults setup, just after reset to defaults and reboot.

Is there any other files or logs I can check to help figure out why my USBHDD is not automounting?

With USBHDD still plugged in, if I insert a USB Thumb Drive the USBHDD automounts but the Thumb Drive doesn't mount.

_________________
Peacock Thread-FAQ -- dd-wrt Wiki

Testing Multiple Routers -- Bootloader Collection Project -- My Wiki
fabriciogcbh
DD-WRT Novice


Joined: 15 Apr 2010
Posts: 5
Location: Brazil

PostPosted: Sun Jul 31, 2011 22:32    Post subject: Reply with quote
Hello, I'm with a similar problem on my ZCOM TG2521, I can not mount drive.
DD-WRT v24-sp2 (14/06/11) std - build 17201 (I've tested with all existing and I could not mount).

Do not set the device in /dev/. I tested with several USB pendrive, don't work.

dmesg without pendrive.
Code:

<5>[    0.000000] Linux version 2.6.34.9-svn17089 (root@dd-wrt) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #6040 Tue Jun 14 11:19:29 CEST 2011
<4>[    0.000000] flash_size passed from bootloader = 8
<6>[    0.000000] bootconsole [early0] enabled
<6>[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
<6>[    0.000000] booting platform Atheros AR9130 rev 1 (0xb4)
<6>[    0.000000] Determined physical RAM map:
<6>[    0.000000]  memory: 02000000 @ 00000000 (usable)
<4>[    0.000000] Zone PFN ranges:
<4>[    0.000000]   Normal   0x00000000 -> 0x00002000
<4>[    0.000000] Movable zone start PFN for each node
<4>[    0.000000] early_node_map[1] active PFN ranges
<4>[    0.000000]     0: 0x00000000 -> 0x00002000
<7>[    0.000000] On node 0 totalpages: 8192
<7>[    0.000000] free_area_init_node: node 0, pgdat 802b19c0, node_mem_map 81000000
<7>[    0.000000]   Normal zone: 64 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
<5>[    0.000000] Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd init=/sbin/init
<6>[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
<6>[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 29284k/32768k available (2196k kernel code, 3484k reserved, 555k data, 148k init, 0k highmem)
<6>[    0.000000] NR_IRQS:128
<0>[    0.000000] irq init done
<4>[    0.000000] plat_time_init: plat time init done
<6>[    0.000000] Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
<4>[    0.240000] Mount-cache hash table entries: 512
<6>[    0.240000] NET: Registered protocol family 16
<4>[    0.260000] bio: create slab <bio-0> at 0
<5>[    0.270000] SCSI subsystem initialized
<6>[    0.270000] usbcore: registered new interface driver usbfs
<6>[    0.280000] usbcore: registered new interface driver hub
<6>[    0.280000] usbcore: registered new device driver usb
<6>[    0.290000] Switching to clocksource MIPS
<6>[    0.290000] NET: Registered protocol family 2
<6>[    0.300000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.300000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
<6>[    0.310000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.310000] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.320000] TCP reno registered
<6>[    0.320000] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.330000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.330000] NET: Registered protocol family 1
<5>[    0.340000] gpio_proc: module loaded and /proc/gpio/ created
<5>[    0.340000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
<4>[    0.350000] AR7100 GPIOC major 0
<5>[    0.350000] init_vdso successfull
<6>[    0.360000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>[    0.360000] msgmni has been set to 57
<6>[    0.370000] io scheduler noop registered
<6>[    0.370000] io scheduler deadline registered (default)
<6>[    0.380000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.390000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 19) is a 16550A
<6>[    0.390000] console [ttyS0] enabled, bootconsole disabled
<0>[    0.410000] guessed flashsize = 8M
<0>[    0.410000] scanning for root partition
<0>[    0.410000] ZCom quirk found
<0>[    0.420000] ZCom quirk kernel offset 6684672
<0>[    0.420000] bootloader size = 50000
<0>[    0.430000]
<0>[    0.430000] found squashfs at 50000
<5>[    0.430000] Creating 8 MTD partitions on "ar7100-nor0":
<5>[    0.440000] 0x000000000000-0x000000050000 : "RedBoot"
<5>[    0.440000] 0x000000050000-0x0000007d0000 : "linux"
<5>[    0.450000] 0x000000050000-0x0000005a0000 : "rootfs"
<5>[    0.450000] mtd: partition "rootfs" set to be root filesystem
<5>[    0.460000] 0x0000005a0000-0x0000007d0000 : "ddwrt"
<5>[    0.470000] 0x0000007e0000-0x0000007f0000 : "nvram"
<5>[    0.470000] 0x0000007f0000-0x000000800000 : "FIS directory"
<5>[    0.480000] 0x0000007f0000-0x000000800000 : "board_config"
<5>[    0.490000] 0x000000000000-0x000000800000 : "fullflash"
<6>[    0.490000] PPP generic driver version 2.4.2
<6>[    0.500000] PPP Deflate Compression module registered
<6>[    0.500000] PPP BSD Compression module registered
<6>[    0.510000] PPP MPPE Compression module registered
<6>[    0.510000] NET: Registered protocol family 24
<6>[    0.520000] PPPoL2TP kernel driver, V1.0
<6>[    0.520000] IMQ driver loaded successfully.
<6>[    0.530000]       Hooking IMQ before NAT on PREROUTING.
<6>[    0.530000]       Hooking IMQ after NAT on POSTROUTING.
<6>[    0.540000] tun: Universal TUN/TAP device driver, 1.6
<6>[    0.540000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    0.950000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>[    0.980000] ar71xx-ehci ar71xx-ehci.0: Atheros AR91xx built-in EHCI controller
<6>[    0.990000] ar71xx-ehci ar71xx-ehci.0: new USB bus registered, assigned bus number 1
<6>[    1.030000] ar71xx-ehci ar71xx-ehci.0: irq 3, io mem 0x1b000000
<6>[    1.050000] ar71xx-ehci ar71xx-ehci.0: USB 2.0 started, EHCI 1.00
<6>[    1.050000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    1.060000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    1.070000] usb usb1: Product: Atheros AR91xx built-in EHCI controller
<6>[    1.070000] usb usb1: Manufacturer: Linux 2.6.34.9-svn17089 ehci_hcd
<6>[    1.080000] usb usb1: SerialNumber: platform
<6>[    1.080000] hub 1-0:1.0: USB hub found
<6>[    1.090000] hub 1-0:1.0: 1 port detected
<6>[    1.090000] usbcore: registered new interface driver usbserial
<6>[    1.100000] USB Serial support registered for generic
<6>[    1.100000] usbcore: registered new interface driver usbserial_generic
<6>[    1.110000] usbserial: USB Serial Driver core
<6>[    1.120000] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
<4>[    1.120000] u32 classifier
<4>[    1.130000]     input device check on
<4>[    1.130000]     Actions configured
<4>[    1.130000] Netfilter messages via NETLINK v0.30.
<4>[    1.140000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
<4>[    1.150000] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[    1.150000] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[    1.160000] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<4>[    1.170000] nf_conntrack_rtsp v0.6.21 loading
<4>[    1.170000] nf_nat_rtsp v0.6.21 loading
<6>[    1.180000] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    1.180000] IPP2P v0.8.2 loading
<6>[    1.180000] TCP westwood registered
<6>[    1.190000] TCP hybla registered
<6>[    1.190000] TCP vegas registered
<6>[    1.190000] NET: Registered protocol family 17
<6>[    1.200000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>[    1.210000] All bugs added by David S. Miller <davem@redhat.com>
<4>[    1.240000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    1.250000] Freeing unused kernel memory: 148k freed
<4>[    4.550000] Writing 4
<4>[    5.560000] Writing 6
<4>[    5.750000] ath_mimo_hal: module license 'Proprietary' taints kernel.
<4>[    5.760000] Disabling lock debugging due to kernel taint
<6>[    5.780000] ath_mimo_hal: 0.9.17.1 (AR5416, REGOPS_FUNC)
<6>[    6.390000] ath_ahb: 0.9.4.5 (Atheros/multi-bss)
<6>[    6.400000] wlan: 0.8.4.2 (Atheros/multi-bss)
<6>[    6.400000] wlan: mac acl policy registered
<6>[    6.410000] ath_rate_atheros: Version 2.0.1
<6>[    6.410000] Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
<4>[    6.420000] IRQ 2/wifi%d: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[    6.650000] ar5416CheckEepromDef: Read Magic = 0x0060
<6>[    6.650000] EEPROM being read from flash @0xbfff1000
<6>[    6.660000] need_swap = False.
<6>[    6.660000] Howl Revision ID 0xb4
<6>[    6.670000] No MBSSID aggregation support
<6>[    6.670000] ar5416InitMacAddr: mac address read failed: ff:ff:ff:ff:ff:ff
<4>[    6.680000] DFS min filter rssiThresh = 18
<4>[    6.690000] DFS max pulse dur = 131 ticks
<4>[    6.690000] 1Mbps 2Mbps 5.5Mbps 11Mbps
<4>[    6.700000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[    6.700000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[    6.710000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[    6.720000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[    6.730000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[    6.730000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[    6.740000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[    6.740000] wifi0: mac 20.0 phy 10.1 radio 15.0
<4>[    6.750000] wifi0: Use hw queue 1 for WME_AC_BE traffic
<4>[    6.750000] wifi0: Use hw queue 0 for WME_AC_BK traffic
<4>[    6.760000] wifi0: Use hw queue 2 for WME_AC_VI traffic
<4>[    6.770000] wifi0: Use hw queue 3 for WME_AC_VO traffic
<4>[    6.770000] wifi0: Use hw queue 8 for CAB traffic
<4>[    6.780000] wifi0: Use hw queue 9 for beacons
<4>[    6.780000] wifi0: Use hw queue 7 for UAPSD
<6>[    6.780000] wifi0: Atheros AR9100 WiSoC: mem=0xb80c0000, irq=2
<6>[    7.110000] Initializing USB Mass Storage driver...
<6>[    7.110000] usbcore: registered new interface driver usb-storage
<6>[    7.120000] USB Mass Storage support registered.
<6>[    7.160000] usbcore: registered new interface driver usblp
<6>[    8.890000] device br0 entered promiscuous mode
<4>[    8.920000] ag7100_ring_free Freeing at 0x818c9000
<4>[    8.920000] ag7100_ring_free Freeing at 0x81a2e000
<4>[    9.940000] Writing 4
<4>[    9.950000] ag7100_ring_free Freeing at 0x81a6b000
<4>[    9.950000] ag7100_ring_free Freeing at 0x81a2e000
<4>[   10.970000] Writing 4
<6>[   10.980000] device eth0 entered promiscuous mode
<6>[   10.990000] br0: port 1(eth0) entering learning state
<6>[   11.000000] device br0 left promiscuous mode
<6>[   11.010000] device br0 entered promiscuous mode
<6>[   11.010000] device br0 left promiscuous mode
<6>[   11.020000] device br0 entered promiscuous mode
<4>[   11.160000]
<4>[   11.160000]  ath_numswbaperbc = 8(1)adj=76800
<6>[   12.000000] br0: port 1(eth0) entering forwarding state
<4>[   12.210000] ic->ic_cwm.cw_width :0, ic->ic_cwm.cw_extoffset: 0
<6>[   15.280000] device ath0 entered promiscuous mode
<6>[   15.280000] br0: port 2(ath0) entering learning state
<6>[   15.550000] bonding: Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
<6>[   15.560000] bonding: MII link monitoring set to 100 ms
<6>[   16.290000] br0: port 2(ath0) entering forwarding state
<6>[   16.620000] device eth1 entered promiscuous mode
<6>[   16.640000] device eth1 left promiscuous mode
<6>[   17.870000] etherip: Ethernet over IPv4 tunneling driver


dmesg with pendrive.
Code:

<3>[  302.280000] hub 1-0:1.0: unable to enumerate USB device on port 1


If I start the router with the USB connected, is the same message. "unable to enumerate USB device on port 1"

I lost two days trying to make it work, trying to start modules manually, without success, I've got no idea

My pendrive ID (from PC)
Code:

usb 1-2: new high speed USB device using ehci_hcd and address 5
usb 1-2: New USB device found, idVendor=0204, idProduct=6025
usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
scsi10 : usb-storage 1-2:1.0
scsi 10:0:0:0: Direct-Access     Kingston DataTraveler 2.0 2.00 PQ: 0 ANSI: 2
sd 10:0:0:0: Attached scsi generic sg2 type 0
sd 10:0:0:0: [sdb] 2068223 512-byte logical blocks: (1.05 GB/1009 MiB)
sd 10:0:0:0: [sdb] Write Protect is off
sd 10:0:0:0: [sdb] Mode Sense: 0b 00 00 08
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2 sdb3 sdb4
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] Attached SCSI removable disk


Partition on my pendrive.
Code:


     Name             Flags          Part Type      FS Type                [Label]             Size (MB)
 ------------------------------------------------------------------------------------------------------------
     sdb1                             Primary       Linux ext3             [opt]                   32.48     
     sdb2                             Primary       Linux swap                                     32.48
     sdb3          Boot            Primary       Linux ext3             [bkp]                  930.23
     sdb4                             Primary       Linux ext3             [jffs]                  62.86


thanks for help.
Goto page Previous  1, 2, 3, 4 Display posts from previous:    Page 4 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum