Unable to mount usb thumb drive

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
ninjackn
DD-WRT Novice


Joined: 12 Aug 2012
Posts: 4

PostPosted: Tue Jul 17, 2018 7:59    Post subject: Unable to mount usb thumb drive Reply with quote
Going insane trying to get this to work. Can anyone offer some insight?

Running dd-wrt.v24-35244_NEWD-2_K3.x_mega-e3000.bin on a Linksys e3000

I'm following the instructions on this page (which I think is a little dated since it seems focused on Kernel 24/26): https://wiki.dd-wrt.com/wiki/index.php/How_to_-_Format_and_Partition_External_Storage_Device

Plug in the drive into the USB port on my router and go to Service->USB and select the following: Core USB Support, USB Storage Support and Automatic Drive Mount. Hit Apply and i'm greeted with this:

Code:
--- /dev/sda
Block device, size 14.43 GiB (15489564672 bytes)
DOS/MBR partition map
Partition 1: 1.999 GiB (2146765824 bytes, 4192902 sectors from 63)
Type 0x83 (Linux)
Ext4 file system
Volume name "opt"
UUID 3B1597FA-0F67-40A5-9093-F595888BE93D (DCE, v4)
Volume size 1.999 GiB (2146762752 bytes, 524112 blocks of 4 KiB)
Partition 2: 509.9 MiB (534643200 bytes, 1044225 sectors from 4192965)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 509.9 MiB (534634496 bytes, 130526 pages of 4 KiB)
Partition 3: 1.999 GiB (2146798080 bytes, 4192965 sectors from 5237190)
Type 0x83 (Linux)
Ext4 file system
Volume name "jffs"
UUID D1B41072-1808-4B4D-B2B5-C627D0344BD4 (DCE, v4)
Volume size 1.999 GiB (2146795520 bytes, 524120 blocks of 4 KiB)
Partition 4: 9.928 GiB (10659962880 bytes, 20820240 sectors from 9430155)
Type 0x83 (Linux)
Ext4 file system
Volume name "data"
UUID E0713918-671C-4978-828B-AEEE573797DE (DCE, v4)
Volume size 9.928 GiB (10659962880 bytes, 2602530 blocks of 4 KiB)
Status: Not mounted - Unsupported file system or disk not formated


dmesg output looks to be about right
Code:
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi1 : usb-storage 1-1:1.0
scsi 1:0:0:0: Direct-Access     Generic  USB  SD Reader   1.00 PQ: 0 ANSI: 0 CCS
sd 1:0:0:0: [sda] 30253056 512-byte logical blocks: (15.4 GB/14.4 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 4b 00 00 08
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2 sda3 sda4
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI removable disk


I've tried mounting it with the mount command after ssh but it seems to have no effect.[/quote]
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12882
Location: Netherlands

PostPosted: Tue Jul 17, 2018 10:24    Post subject: Reply with quote
Things you can try:
Not all builds support ext4, especially for thumb drives ext4 is not recommended (journalling file systems wears out the usb drive)
So use ext2 as file system.
Sometimes using a swap drive can also be problematic so do not use one.
As a last thing use a more recent build.

Attached my notes for using USB maybe they are helpfull



DDWRT USB storage support Public.doc
 Description:

Download
 Filename:  DDWRT USB storage support Public.doc
 Filesize:  406.5 KB
 Downloaded:  132 Time(s)


_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
ninjackn
DD-WRT Novice


Joined: 12 Aug 2012
Posts: 4

PostPosted: Wed Jul 18, 2018 6:32    Post subject: Reply with quote
Thanks for the notes! For some reason whenever I format in ext2 in gparted it shows up at ext4 in dd-wrt.

It doesn't seem to be automounting /opt and /jffs and my options look different from most of what I find. Is the "Mount this Partition to /jffs" option something specific to kong builds?



Code:
--- /dev/sda
Block device, size 14.43 GiB (15489564672 bytes)
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1)
Type 0xEE (EFI GPT Protective)
GPT partition map, block size 512 bytes, 128 entries
Disk size 14.43 GiB (15489564672 bytes, 30253056 blocks of 512 bytes)
Disk GUID B4357F26-64D6-024B-965D-A0D0F74E6408
Partition 1: 1.999 GiB (2146435072 bytes, 4192256 blocks of 512 bytes from 2048)
Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
Partition Name "Basic data partition"
Partition GUID F5C00000-40F0-B86E-5E1E-D401EA810100
Ext2 file system
Volume name "opt"
UUID F5F0B86E-5E1E-D401-40F0-B86E5E1ED401 (NCS)
Volume size 1.999 GiB (2146435072 bytes, 2096128 blocks of 1 KiB)
Partition 2: 2 GiB (2147483648 bytes, 4194304 blocks of 512 bytes from 4194304)
Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
Partition Name "Basic data partition"
Partition GUID F030F176-5E1E-D401-7898-583B2F0FEA00
Ext2 file system
Volume name "jffs"
UUID F0F5B176-5E1E-D401-F030-B1765E1ED401 (Reserved)
Volume size 2 GiB (2147483648 bytes, 2097152 blocks of 1 KiB)
Partition 3: 8 GiB (8589934592 bytes, 16777216 blocks of 512 bytes from 8388608)
Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
Partition Name "Basic data partition"
Partition GUID 69260100-80F3-337E-5E1E-D401D24C0200
Ext2 file system
Volume name "data"
UUID E9F7337E-5E1E-D401-80F3-337E5E1ED401 (DCE, v13)
Volume size 8 GiB (8589934592 bytes, 8388608 blocks of 1 KiB)
Partition 4: unused
Status: Not mounted
--- /dev/sda3
Block device, size 8 GiB (8589934592 bytes)
Ext2 file system
Volume name "data"
UUID E9F7337E-5E1E-D401-80F3-337E5E1ED401 (DCE, v13)
Volume size 8 GiB (8589934592 bytes, 8388608 blocks of 1 KiB)
ninjackn
DD-WRT Novice


Joined: 12 Aug 2012
Posts: 4

PostPosted: Sat Jul 21, 2018 3:04    Post subject: Reply with quote
So as it turns out, there's no ext2/3/4 file system support, the kernel modules aren't in in the K3.X build I have installed.

ext4.ko doesn't exist:
Code:
ls /lib/modules/`uname -r`/


and not ext file system is listed under
Code:
cat /proc/filesystems


Formatting one of the partitions on my USB stick to FAT32 allowed it to be automatically mounted but my ultimate goal is to get opt/entware installed.
Display posts from previous:    Page 1 of 1
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