USB attached disk is sporadically unmounted

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
saucier
Posts: 12
Joined: Sun May 24, 2020 8:45 pm

USB attached disk is sporadically unmounted

Unread post by saucier »

I have a Samsung 860 QVO SSD in a QGeeM USB enclosure formatted as exfat, and when connected to my MiSTer, it will mount, and then a short time later will unmount, and then repeat the process. If I look at the kernel log, I see repeated entries like the following:
[ 852.080563] usb 1-1.2: new high-speed USB device number 34 using dwc2
[ 852.174422] usb 1-1.2: New USB device found, idVendor=2109, idProduct=0715, bcdDevice=f0.00
[ 852.174433] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 852.174440] usb 1-1.2: Product: QGeeM
[ 852.174446] usb 1-1.2: Manufacturer: QGeeM
[ 852.174452] usb 1-1.2: SerialNumber: 000000123B8F
[ 852.175910] usb 1-1.2: The driver for the USB controller dwc2_hsotg does not support scatter-gather which is
[ 852.175921] usb 1-1.2: required by the UAS driver. Please try an other USB controller if you wish to use UAS.
[ 852.176010] usb 1-1.2: The driver for the USB controller dwc2_hsotg does not support scatter-gather which is
[ 852.176017] usb 1-1.2: required by the UAS driver. Please try an other USB controller if you wish to use UAS.
[ 852.176025] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 852.178057] scsi host1: usb-storage 1-1.2:1.0
[ 853.217266] scsi 1:0:0:0: Direct-Access QGeeM QGeeM 2210 PQ: 0 ANSI: 6
[ 853.223721] sd 1:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 853.224209] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 853.225208] sd 1:0:0:0: [sdb] Write Protect is off
[ 853.225219] sd 1:0:0:0: [sdb] Mode Sense: 2f 00 00 00
[ 853.226208] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 853.239495] sdb: sdb1 sdb2
[ 853.246664] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 853.715627] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 858.725148] [EXFAT] trying to mount...
[ 860.143703] [EXFAT] mounted successfully
[ 861.707886] EXT4-fs (loop8): re-mounted. Opts: (null)
[ 901.305054] usb 1-1.2: USB disconnect, device number 34
[ 901.314111] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[ 901.314304] sd 1:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 901.414520] [EXFAT] trying to unmount...
[ 901.415189] [EXFAT] unmounted successfully
Any ideas of what the issue might be, or any other place I could look to diagnose this issue?
bbond007
Top Contributor
Posts: 531
Joined: Tue May 26, 2020 5:06 am
Has thanked: 87 times
Been thanked: 211 times

Re: USB attached disk is sporadically unmounted

Unread post by bbond007 »

saucier wrote: Mon Jun 29, 2020 1:04 am Any ideas of what the issue might be, or any other place I could look to diagnose this issue?
The issue could likely be insufficient power for the enclosure/drive.

You may need a powered USB hub or drive enclosure with external PSU.
saucier
Posts: 12
Joined: Sun May 24, 2020 8:45 pm

Re: USB attached disk is sporadically unmounted

Unread post by saucier »

Thanks for your response. I have it attached to a blisster v2, which I have powered via a 2.4 amp power supply. I've tried connecting the blisster to a separate power supply than the rest of the MiSTer (since there is normally a small cable to connect the MiSTer to the blisster, and it still exhibits this issue.
User avatar
Sorgelig
Site Admin
Posts: 890
Joined: Thu May 21, 2020 9:49 pm
Has thanked: 2 times
Been thanked: 214 times

Re: USB attached disk is sporadically unmounted

Unread post by Sorgelig »

USB Host on DE10-nano has many compatibility problems. It may have problems in specific configs. It may work through one hub but fail through another. Different USB port also may fix problem. Or may not work at all.
It's normal for DE10-nano.
saucier
Posts: 12
Joined: Sun May 24, 2020 8:45 pm

Re: USB attached disk is sporadically unmounted

Unread post by saucier »

Thanks! Glad to hear that it isn't just me. It hasn't been a huge issue, but I'll play around with it to see if I can work out a more stable connection.
Post Reply