I've been trying to figure out why i cannot mount a USB stick for about a week now.
I've searched high and low, installed different dependencies, tried different partition formats. I cannot figure out why i cannot get this to work. I want to save my logs on the USB so i can reference them against Comcast's "data usage." They say we are using data we are not and I don't want to give them any more money than i have to.
I'm using OpenWrt SNAPSHOT r9534-7fa9794 / LuCI Master (git-19.069.61084-db98461) on a Linksys EA6350v3
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/sbin$ ls -l /dev/sd*
ls: /dev/sd*: No such file or directory
/sbin$ block info
/dev/mtdblock11: UUID="618743302" VERSION="1" TYPE="ubi"
/dev/mtdblock13: UUID="330285468" VERSION="1" TYPE="ubi"
/dev/mtdblock15: UUID="741947496" VERSION="1" TYPE="ubi"
/dev/ubiblock0_0: UUID="6350c18e-88bbef1f-cb9568e6-c0696868" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/ubi0_1: UUID="6615ea99-795c-407c-a9cd-92c4c0b13962" VERSION="w4r0" MOUNT="/overlay" TYPE="ubifs"
It shows that it detects my sandisk cruzer, but that's as far as i can get. current partition format is ext4.
Have you installed the kernel modules for USB storage and ext4 filesystems?
From a similar device I have configured
this is what opkg list-installed | grep usb returns
opkg list-installed | grep usb
kmod-usb-core - 4.14.104-1
kmod-usb-dwc3 - 4.14.104-1
kmod-usb-dwc3-of-simple - 4.14.104-1
kmod-usb-ehci - 4.14.105-1
kmod-usb-ohci - 4.14.105-1
kmod-usb-storage - 4.14.105-1
kmod-usb-storage-uas - 4.14.105-1
kmod-usb-uhci - 4.14.105-1
kmod-usb2 - 4.14.105-1
kmod-usb3 - 4.14.104-1
libusb-1.0-0 - 1.0.22-2
usbutils - 007-9
i also have kmod-fs-ext4 installed
Any clues in
dmesg? Mine looks like this (a different IPQ4019 device on Linux 4.19, so things may be a little different)
[ 4.525982] usbcore: registered new interface driver usb-storage
[ 4.530105] usbcore: registered new interface driver uas
[ 4.535341] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.554585] init: - preinit -
[ 4.784343] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 4.971417] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 4.972071] scsi host0: usb-storage 1-1:1.0
[ 6.089118] scsi 0:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 4
[ 6.922815] sd 0:0:0:0: [sda] 7579008 512-byte logical blocks: (3.88 GB/3.61 GiB)
[ 6.925349] sd 0:0:0:0: [sda] Write Protect is off
[ 6.929558] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 6.932229] sd 0:0:0:0: [sda] No Caching mode page found
[ 6.935061] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 6.986871] sda: sda1
[ 6.988918] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 9.071450] mount_root: loading kmods from internal overlay
[ 9.088824] kmodloader: loading kernel modules from //etc/modules-boot.d/*
The only two lines i get when connecting the USB are:
[ 2492.863062] usb 1-1: USB disconnect, device number 2
[ 2499.373976] usb 1-1: new high-speed USB device number 3 using xhci-hcd
also during boot
[ 10.325708] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 10.873855] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 10.873922] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 10.878465] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[ 10.885895] xhci-hcd xhci-hcd.0.auto: irq 94, io mem 0x08a00000
[ 10.896051] hub 1-0:1.0: USB hub found
[ 10.901166] hub 1-0:1.0: 1 port detected
[ 10.905305] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 10.909002] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 10.914338] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 10.922011] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 10.929137] hub 2-0:1.0: USB hub found
[ 10.936923] hub 2-0:1.0: 1 port detected
[ 10.940766] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 10.944407] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 10.949937] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000000002010010
[ 10.957342] xhci-hcd xhci-hcd.1.auto: irq 95, io mem 0x06000000
[ 10.967232] hub 3-0:1.0: USB hub found
[ 10.972574] hub 3-0:1.0: 1 port detected
[ 10.976636] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 10.980460] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 10.985725] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 10.993419] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 11.000604] hub 4-0:1.0: USB hub found
[ 11.008255] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 11.013936] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 11.030598] init: - preinit -
[ 11.280361] usb 1-1: new high-speed USB device number 2 using xhci-hcd
@EFoG Please use "Preformatted text </>" for logs, scripts, configs and general console output.
Please edit your posting accordingly.
That's the button I used for the block quote I don't understand what you mean?
The button you used was the one to the left of the marked one.
My bad. I will fix it when I get home. It wont let me on mobile.
I just noticed that I don't see any USB-core lines in my boot? Could that be the issue?