AC680+ Merlin .43 USB Drive Remount Failure after reboot
note: following applies to a RT-AC680 running latest Merlin FW
Good Evening,
I did a fresh FAT32 reformat of my new USB 3 64Gb drive using windows so that it could have no name for the partition/volume. I Put the files back on. Plugged it back in and the router recognized it and then I hit reboot with the webUI and now after four reboots it still is not automounting the USB drive. LED is dark and status in webUI is empty.
SSH in "mount" command after USB failed to remount after a reboot:
I rebooted with USB drive pulled, then re-inserted it, and it lit up and recognized it in the WEBUI and on the front LED. Now SSH and mount command shows what I thought was an error in that last line but some threads on Unix forums say it is just telling you that if there was an error it would remount in read-only in the last line:
That being said I saw some other useful commands in other posts on this forum and decided to get them to help troubleshoot.
System Log shows this after inserting the drive:
fdisk -l shows something intriguing with the mtdblock but that isn't the USB, I think it is the JFFS partition.
df -kh command shows this before a reboot:
note: following applies to a RT-AC680 running latest Merlin FW
Good Evening,
I did a fresh FAT32 reformat of my new USB 3 64Gb drive using windows so that it could have no name for the partition/volume. I Put the files back on. Plugged it back in and the router recognized it and then I hit reboot with the webUI and now after four reboots it still is not automounting the USB drive. LED is dark and status in webUI is empty.
SSH in "mount" command after USB failed to remount after a reboot:
Code:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=127720k,nr_inodes=31930,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock5 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
I rebooted with USB drive pulled, then re-inserted it, and it lit up and recognized it in the WEBUI and on the front LED. Now SSH and mount command shows what I thought was an error in that last line but some threads on Unix forums say it is just telling you that if there was an error it would remount in read-only in the last line:
Code:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=127720k,nr_inodes=31930,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock5 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/mnt/sda1 type vfat (rw,nodev,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=winnt,flush,errors=remount-ro)
That being said I saw some other useful commands in other posts on this forum and decided to get them to help troubleshoot.
System Log shows this after inserting the drive:
Code:
Dec 31 19:00:41 kernel: usb 1-1: new SuperSpeed USB device using xhci_hcd and address 2
Dec 31 19:00:41 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
Dec 31 19:00:41 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
Dec 31 19:00:41 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
Dec 31 19:00:41 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
Dec 31 19:00:41 kernel: force burst = 0.
Dec 31 19:00:41 kernel: xhci_hcd 0000:00:0c.0: WARN no SS endpoint bMaxBurst
Dec 31 19:00:41 kernel: scsi0 : usb-storage 1-1:1.0
Dec 31 19:00:42 kernel: scsi 0:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 6
Dec 31 19:00:42 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Dec 31 19:00:42 kernel: sd 0:0:0:0: [sda] 123535360 512-byte logical blocks: (63.2 GB/58.9 GiB)
Dec 31 19:00:42 kernel: sd 0:0:0:0: [sda] Write Protect is off
Dec 31 19:00:42 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Dec 31 19:00:42 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Dec 31 19:00:42 kernel: sda: sda1
Dec 31 19:00:42 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Dec 31 19:00:42 kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Dec 31 19:00:42 rc_service: asus_sd 629:notify_rc restart_xhcimode 2
Dec 31 19:00:44 iTunes: daemon is stopped
Dec 31 19:00:44 FTP Server: daemon is stopped
Dec 31 19:00:44 Samba Server: smb daemon is stopped
Dec 31 19:00:44 kernel: gro disabled
Dec 31 19:00:44 Timemachine: daemon is stopped
Dec 31 19:00:44 kernel: xhci_hcd 0000:00:0c.0: remove, state 1
Dec 31 19:00:44 kernel: usb usb1: USB disconnect, address 1
Dec 31 19:00:44 kernel: usb 1-1: USB disconnect, address 2
Dec 31 19:00:44 kernel: xhci_hcd 0000:00:0c.0: USB bus 1 deregistered
Dec 31 19:00:44 kernel: ehci_hcd 0000:00:0b.1: remove, state 1
Dec 31 19:00:44 kernel: usb usb2: USB disconnect, address 1
Dec 31 19:00:44 kernel: ehci_hcd 0000:00:0b.1: USB bus 2 deregistered
Dec 31 19:00:44 kernel: ohci_hcd 0000:00:0b.0: remove, state 1
Dec 31 19:00:44 kernel: usb usb3: USB disconnect, address 1
Dec 31 19:00:44 kernel: ohci_hcd 0000:00:0b.0: USB bus 3 deregistered
Dec 31 19:00:44 rc_service: hotplug 651:notify_rc restart_nasapps
Dec 31 19:00:44 rc_service: waitting "restart_xhcimode 2" via ...
Dec 31 19:00:45 kernel: xhci_hcd 0000:00:0c.0: xHCI Host Controller
Dec 31 19:00:45 kernel: xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 1
Dec 31 19:00:45 kernel: xhci_hcd 0000:00:0c.0: irq 112, io mem 0x18023000
Dec 31 19:00:45 kernel: xhci_hcd 0000:00:0c.0: Failed to enable MSI-X
Dec 31 19:00:45 kernel: xhci_hcd 0000:00:0c.0: failed to allocate MSI entry
Dec 31 19:00:45 kernel: usb usb1: No SuperSpeed endpoint companion for config 1 interface 0 altsetting 0 ep 129: using minimum values
Dec 31 19:00:45 kernel: hub 1-0:1.0: USB hub found
Dec 31 19:00:45 kernel: hub 1-0:1.0: 1 port detected
Dec 31 19:00:45 kernel: [xhci-hub] usb2mode:[2]
Dec 31 19:00:45 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Dec 31 19:00:45 kernel: ehci_hcd 0000:00:0b.1: EHCI Host Controller
Dec 31 19:00:45 kernel: ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
Dec 31 19:00:45 kernel: ehci_hcd 0000:00:0b.1: irq 111, io mem 0x18021000
Dec 31 19:00:45 kernel: ehci_hcd 0000:00:0b.1: USB 0.0 started, EHCI 1.00
Dec 31 19:00:45 kernel: hub 2-0:1.0: USB hub found
Dec 31 19:00:45 kernel: hub 2-0:1.0: 2 ports detected
Dec 31 19:00:45 kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Dec 31 19:00:45 kernel: ohci_hcd 0000:00:0b.0: OHCI Host Controller
Dec 31 19:00:45 kernel: ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 3
Dec 31 19:00:45 kernel: ohci_hcd 0000:00:0b.0: irq 111, io mem 0x18022000
Dec 31 19:00:46 kernel: hub 3-0:1.0: USB hub found
Dec 31 19:00:46 kernel: hub 3-0:1.0: 2 ports detected
Dec 31 19:00:46 kernel: usb 2-1: new high speed USB device using ehci_hcd and address 2
Dec 31 19:00:46 kernel: scsi1 : usb-storage 2-1:1.0
Dec 31 19:00:46 iTunes: daemon is stopped
Dec 31 19:00:46 FTP Server: daemon is stopped
Dec 31 19:00:46 Samba Server: smb daemon is stopped
Dec 31 19:00:46 kernel: gro disabled
Dec 31 19:00:47 Timemachine: daemon is stopped
Dec 31 19:00:47 kernel: scsi 1:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 6
Dec 31 19:00:47 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Dec 31 19:00:47 kernel: sd 1:0:0:0: [sda] 123535360 512-byte logical blocks: (63.2 GB/58.9 GiB)
Dec 31 19:00:47 kernel: sd 1:0:0:0: [sda] Write Protect is off
Dec 31 19:00:47 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Dec 31 19:00:47 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Dec 31 19:00:47 kernel: sda: sda1
Dec 31 19:00:47 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Dec 31 19:00:47 kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Dec 31 19:00:49 kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Dec 31 19:00:49 hotplug[740]: USB vfat fs at /dev/sda1 mounted on /tmp/mnt/sda1
Dec 31 19:00:53 rc_service: hotplug 740:notify_rc restart_nasapps
Dec 31 19:00:53 iTunes: daemon is stopped
Dec 31 19:00:53 FTP Server: daemon is stopped
Dec 31 19:00:53 Samba Server: smb daemon is stopped
Dec 31 19:00:53 kernel: gro disabled
Dec 31 19:00:53 Timemachine: daemon is stopped
Dec 31 19:00:53 kernel: gro enabled with interval 2
Dec 31 19:00:55 Samba Server: daemon is started
fdisk -l shows something intriguing with the mtdblock but that isn't the USB, I think it is the JFFS partition.
Code:
Disk /dev/mtdblock0: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock0 doesn't contain a valid partition table
Disk /dev/mtdblock1: 1 MB, 1572864 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock1 doesn't contain a valid partition table
Disk /dev/mtdblock2: 31 MB, 31457280 bytes
255 heads, 63 sectors/track, 3 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock2 doesn't contain a valid partition table
Disk /dev/mtdblock3: 29 MB, 29726720 bytes
255 heads, 63 sectors/track, 3 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock3 doesn't contain a valid partition table
Disk /dev/mtdblock4: 100 MB, 100663296 bytes
255 heads, 63 sectors/track, 12 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock4 doesn't contain a valid partition table
Disk /dev/mtdblock5: 33 MB, 33554432 bytes
255 heads, 63 sectors/track, 4 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock5 doesn't contain a valid partition table
Disk /dev/sda: 63.2 GB, 63250104320 bytes
255 heads, 63 sectors/track, 7689 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7690 61766656 c Win95 FAT32 (LBA)
df -kh command shows this before a reboot:
Code:
Filesystem Size Used Available Use% Mounted on
/dev/root 27.0M 27.0M 0 100% /
devtmpfs 124.7M 0 124.7M 0% /dev
tmpfs 124.8M 4.5M 120.4M 4% /tmp
/dev/mtdblock5 32.0M 1.1M 30.9M 4% /jffs
/dev/sda1 58.9G 46.7G 12.2G 79% /tmp/mnt/sda1
Last edited: