You are not logged in.

#1 2018-08-10 13:07:37

Stencon281
Member
Registered: 2016-09-21
Posts: 36

unmounted usb drives suddenly mounting

journalctrl output

dmlive output

I have a USB hub plugged into a USB 3.0 port, the hub currently has 3 usb drives plugged into it. Only 1 of them are mounted, the other 2 remain non-ejected (i don't know the proper term). While I was at my computer several file manager window  popped up (1 for each drive) and I see the drives were mounted...

This freaked me out a little bit and left me scratching my head as to what could be doing this.

It's only been happening for the past 2 days, but before that I only had 2 USB drives plugged into the hub, the 3rd USB I added recently.... however why would that cause the USB drives that I left unmounted to mount themselves? What could be causing this strange behavior?

Also, I'm using udiskie2 as well as thunar with mount removable drives when hot-plugged, inserted, browser removable media, and auto-open files on new drives and media selected.

Offline

#2 2018-08-10 15:46:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,225

Re: unmounted usb drives suddenly mounting

What time did this happen so we can correlate it to your log?   I wonder if you had an event that caused your USB hub to restart.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2018-08-13 01:07:34

Stencon281
Member
Registered: 2016-09-21
Posts: 36

Re: unmounted usb drives suddenly mounting

ewaller wrote:

What time did this happen so we can correlate it to your log?   I wonder if you had an event that caused your USB hub to restart.

Sorry for the late response, here's a less cluttered journal log from today.

It occurs at 17:57 to 18:03

http://termbin.com/n6kr

Offline

#4 2018-08-13 03:50:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,225

Re: unmounted usb drives suddenly mounting

Aug 12 17:57:34 archlinux udisksd[2250]: Cleaning up mount point /run/media/jon/USB20FD (device 8:17 no longer exists)
Aug 12 17:57:34 archlinux kernel: usb 3-10: USB disconnect, device number 19
Aug 12 17:57:34 archlinux kernel: usb 3-10.1: USB disconnect, device number 20
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.1/3-10.1:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.1
Aug 12 17:57:34 archlinux kernel: usb 3-10.2: USB disconnect, device number 21
Aug 12 17:57:34 archlinux kernel: usb 3-10.4: USB disconnect, device number 22
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.2/3-10.2:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.2
Aug 12 17:57:34 archlinux udisksd[2250]: Cleaning up mount point /run/media/jon/BACKUP-USB (device 8:33 no longer exists)
Aug 12 17:57:34 archlinux kernel: blk_partition_remap: fail for partition 1
Aug 12 17:57:34 archlinux kernel: Buffer I/O error on dev sdc1, logical block 1606558, lost sync page write
Aug 12 17:57:34 archlinux kernel: JBD2: Error -5 detected when updating journal superblock for sdc1-8.
Aug 12 17:57:34 archlinux kernel: Aborting journal on device sdc1-8.
Aug 12 17:57:34 archlinux kernel: blk_partition_remap: fail for partition 1
Aug 12 17:57:34 archlinux kernel: Buffer I/O error on dev sdc1, logical block 1606558, lost sync page write
Aug 12 17:57:34 archlinux kernel: JBD2: Error -5 detected when updating journal superblock for sdc1-8.
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.4/3-10.4:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.4
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10
Aug 12 17:57:34 archlinux udisksd[2250]: Cleaning up mount point /run/media/jon/INTEL (device 8:49 no longer exists)
Aug 12 17:57:34 archlinux kernel: usb 3-10: new high-speed USB device number 23 using xhci_hcd
Aug 12 17:57:35 archlinux kernel: hub 3-10:1.0: USB hub found
Aug 12 17:57:35 archlinux kernel: hub 3-10:1.0: 4 ports detected

I think my hunch was correct.  You had a USB hub disconnect and you lost communication with everything attached to it at 17:57:34.  At the end of second 34, and at the beginning of second 35, the hub reestablished communication, then the downstream devices all re-enumerated.  Then, as the USB negotiation progresses, sdb, sdc, and sdc all reappear.  Presumably, this is the trigger that causes your file manager to 'mount' them.

Is this an internal hub, or is it an external hub?   Is it a powered hub, or is it an unpowered hub?
I saw no reason for the disconnect -- generally an event such as an overcurrent condition will generate a log entry.
How about cables?  If this is an external hub, I would look at the cable betwixt the computer and the hub.

Last edited by ewaller (2018-08-13 04:31:05)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#5 2018-11-10 10:05:27

Stencon281
Member
Registered: 2016-09-21
Posts: 36

Re: unmounted usb drives suddenly mounting

ewaller wrote:
Aug 12 17:57:34 archlinux udisksd[2250]: Cleaning up mount point /run/media/jon/USB20FD (device 8:17 no longer exists)
Aug 12 17:57:34 archlinux kernel: usb 3-10: USB disconnect, device number 19
Aug 12 17:57:34 archlinux kernel: usb 3-10.1: USB disconnect, device number 20
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.1/3-10.1:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.1
Aug 12 17:57:34 archlinux kernel: usb 3-10.2: USB disconnect, device number 21
Aug 12 17:57:34 archlinux kernel: usb 3-10.4: USB disconnect, device number 22
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.2/3-10.2:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.2
Aug 12 17:57:34 archlinux udisksd[2250]: Cleaning up mount point /run/media/jon/BACKUP-USB (device 8:33 no longer exists)
Aug 12 17:57:34 archlinux kernel: blk_partition_remap: fail for partition 1
Aug 12 17:57:34 archlinux kernel: Buffer I/O error on dev sdc1, logical block 1606558, lost sync page write
Aug 12 17:57:34 archlinux kernel: JBD2: Error -5 detected when updating journal superblock for sdc1-8.
Aug 12 17:57:34 archlinux kernel: Aborting journal on device sdc1-8.
Aug 12 17:57:34 archlinux kernel: blk_partition_remap: fail for partition 1
Aug 12 17:57:34 archlinux kernel: Buffer I/O error on dev sdc1, logical block 1606558, lost sync page write
Aug 12 17:57:34 archlinux kernel: JBD2: Error -5 detected when updating journal superblock for sdc1-8.
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.4/3-10.4:1.0
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.4
Aug 12 17:57:34 archlinux upowerd[721]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10
Aug 12 17:57:34 archlinux udisksd[2250]: Cleaning up mount point /run/media/jon/INTEL (device 8:49 no longer exists)
Aug 12 17:57:34 archlinux kernel: usb 3-10: new high-speed USB device number 23 using xhci_hcd
Aug 12 17:57:35 archlinux kernel: hub 3-10:1.0: USB hub found
Aug 12 17:57:35 archlinux kernel: hub 3-10:1.0: 4 ports detected

I think my hunch was correct.  You had a USB hub disconnect and you lost communication with everything attached to it at 17:57:34.  At the end of second 34, and at the beginning of second 35, the hub reestablished communication, then the downstream devices all re-enumerated.  Then, as the USB negotiation progresses, sdb, sdc, and sdc all reappear.  Presumably, this is the trigger that causes your file manager to 'mount' them.

Is this an internal hub, or is it an external hub?   Is it a powered hub, or is it an unpowered hub?
I saw no reason for the disconnect -- generally an event such as an overcurrent condition will generate a log entry.
How about cables?  If this is an external hub, I would look at the cable betwixt the computer and the hub.

sorry for the delayed response, the problem seems to have gone away by itself

Offline

Board footer

Powered by FluxBB