trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2017

Re: [trinity-users] External drive gets mounted twice

From: Felix Miata <mrmazda@...>
Date: Mon, 27 Feb 2017 04:39:51 -0500
Thierry de Coulon composed on 2017-02-26 21:52 (UTC+0100):

> I've installed openSUSE 42.2 and so upgraded to TDE 14.0.4 (previously I
> couldn't on my old 13.1, something broke so I stayed at 14.0.0).

> I don't know which of the two is responsible, but now, when I plug in an
> external drive, it gets mounted twice. On my desktop I see the drive itself,
> and the partition. For example, when I plug in my 16GB mac formated usb key,
> I get both "14.8 GB removable device", mounted on /deb/sdg,
> and "macUSBDrive", mounted on /dev/sdg1.

> Of course the former throws an error if I try to open it.

> This is not so bad and I can live with it, but I wonder where this is
> distribution specific, machine specific or if you all see this too.

Better to get two mount attempts than none. :-p

I just tried inserting a "16GB" USB stick on a 42.2/14.0.4 system, host g5eas, 
and got no notification of any kind, though dmesg certainly shows it, and 
scsi_dh_alua module is loaded. But, booted to TW/Plasma, same dmesg, and no 
device notification there either. 42.1/14.0.4 on same host likewise malfunctions.

I tried a different 42.2/14.0.4 host gx745, also with TW/Plasma, with same 
failing result on both. :-(

I tried a third 42.2/14.0.4 host big31, also with TW/KDE3, with same failing 
result on both. Same failure on it too booting Stretch/14.0.5pre. :-(

A 4th host gx780 tried only with 42.2 and KDE3 also fails to notify or mount, 
with dmesg similar to 2nd attachment. Booted to Jessie running bpo 4.8.11 and 
14.0.4 likewise produces no notification, but at least fdisk found it. I updated 
Jessie, including bpo 4.9.2, and there's still no notification, plus dmesg is 
loaded with i915 driver segfaults.

Hosts gx745 and big31 booted to openSUSE 42.1/KDE3 pop up a device notification 
as expected. :-p

All four machines have Intel CPU/chipsets, with video Intel gx745 & gx780 (both 
Dell), Radeon big31 (Biostar) and Geforce g5eas (Gigabyte).
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
[22356.728031] usb 5-3: new high-speed USB device number 3 using ehci-pci
[22356.865516] usb 5-3: New USB device found, idVendor=125f, idProduct=db8a
[22356.865523] usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[22356.865527] usb 5-3: Product: ADATA USB Flash Drive
[22356.865534] usb 5-3: Manufacturer: ADATA
[22356.865538] usb 5-3: SerialNumber: 2680701100010054
[22357.019330] usb-storage 5-3:1.0: USB Mass Storage device detected
[22357.019539] scsi host4: usb-storage 5-3:1.0
[22357.019778] usbcore: registered new interface driver usb-storage
[22357.026291] usbcore: registered new interface driver uas
[22358.190055] scsi 4:0:0:0: Direct-Access     ADATA    USB Flash Drive  1100 PQ: 0 ANSI: 6
[22358.190153] scsi 4:0:0:0: alua: supports implicit and explicit TPGS
[22358.190159] scsi 4:0:0:0: alua: No target port descriptors found
[22358.190163] scsi 4:0:0:0: alua: Attach failed (-22)
[22358.190165] scsi 4:0:0:0: failed to add device handler: -22
[22358.190632] sd 4:0:0:0: Attached scsi generic sg1 type 0
[22358.197053] sd 4:0:0:0: [sdb] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[22358.201442] sd 4:0:0:0: [sdb] Write Protect is off
[22358.201454] sd 4:0:0:0: [sdb] Mode Sense: 43 00 00 00
[22358.203551] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[22358.212139]  sdb: sdb1
[22358.221792] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[22388.952023] usb 5-3: reset high-speed USB device number 3 using ehci-pci
# gx745
[ 2716.232057] usb 6-4: new high-speed USB device number 2 using ehci-pci
[ 2716.373413] usb 6-4: New USB device found, idVendor=125f, idProduct=db8a
[ 2716.373415] usb 6-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2716.373417] usb 6-4: Product: ADATA USB Flash Drive
[ 2716.373418] usb 6-4: Manufacturer: ADATA
[ 2716.373421] usb 6-4: SerialNumber: 2680701100010054
[ 2716.430910] usb-storage 6-4:1.0: USB Mass Storage device detected
[ 2716.431012] scsi host6: usb-storage 6-4:1.0
[ 2716.431106] usbcore: registered new interface driver usb-storage
[ 2716.441263] usbcore: registered new interface driver uas
[ 2717.601967] scsi 6:0:0:0: Direct-Access     ADATA    USB Flash Drive  1100 PQ: 0 ANSI: 6
[ 2717.602024] scsi 6:0:0:0: alua: supports implicit and explicit TPGS
[ 2717.602027] scsi 6:0:0:0: alua: No target port descriptors found
[ 2717.602028] scsi 6:0:0:0: alua: Attach failed (-22)
[ 2717.602030] scsi 6:0:0:0: failed to add device handler: -22
[ 2717.602225] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2717.609257] sd 6:0:0:0: [sdb] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[ 2717.610331] sd 6:0:0:0: [sdb] Write Protect is off
[ 2717.610335] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 2717.612457] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2717.619840]  sdb: sdb1
[ 2717.623959] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 2747.988026] usb 6-4: reset high-speed USB device number 2 using ehci-pci
[ 2753.100035] usb 6-4: device descriptor read/64, error -110
[ 2768.316034] usb 6-4: device descriptor read/64, error -110
[ 2768.532036] usb 6-4: reset high-speed USB device number 2 using ehci-pci
[ 2768.656064] usb 6-4: device descriptor read/64, error -71
[ 2768.884024] usb 6-4: device descriptor read/64, error -71
[ 2769.100033] usb 6-4: reset high-speed USB device number 2 using ehci-pci
[ 2769.512035] usb 6-4: device not accepting address 2, error -71
[ 2769.624046] usb 6-4: reset high-speed USB device number 2 using ehci-pci
[ 2770.032035] usb 6-4: device not accepting address 2, error -71
[ 2770.032094] usb 6-4: USB disconnect, device number 2
[ 2770.040049] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 2770.040059] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 ce 7d 28 00 00 30 00
[ 2770.040063] blk_update_request: I/O error, dev sdb, sector 30309672
[ 2770.040126] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 2770.040131] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 01 ce 7d 60 00 00 50 00
[ 2770.040133] blk_update_request: I/O error, dev sdb, sector 30309728
[ 2770.244018] usb 6-4: new high-speed USB device number 3 using ehci-pci
[ 2770.368022] usb 6-4: device descriptor read/64, error -71
[ 2770.596026] usb 6-4: device descriptor read/64, error -71
[ 2770.812025] usb 6-4: new high-speed USB device number 4 using ehci-pci
[ 2770.936057] usb 6-4: device descriptor read/64, error -71
[ 2771.164073] usb 6-4: device descriptor read/64, error -71
[ 2771.380043] usb 6-4: new high-speed USB device number 5 using ehci-pci
[ 2771.792034] usb 6-4: device not accepting address 5, error -71
[ 2771.904029] usb 6-4: new high-speed USB device number 6 using ehci-pci
[ 2772.320034] usb 6-4: device not accepting address 6, error -71
[ 2772.320058] usb usb6-port4: unable to enumerate USB device
[ 2772.572026] usb 2-2: new full-speed USB device number 2 using uhci_hcd
[ 2772.692024] usb 2-2: device descriptor read/64, error -71
[ 2772.916019] usb 2-2: device descriptor read/64, error -71
[ 2773.132033] usb 2-2: new full-speed USB device number 3 using uhci_hcd
[ 2773.252035] usb 2-2: device descriptor read/64, error -71
[ 2773.476044] usb 2-2: device descriptor read/64, error -71
[ 2773.692095] usb 2-2: new full-speed USB device number 4 using uhci_hcd
[ 2774.100095] usb 2-2: device not accepting address 4, error -71
[ 2774.212074] usb 2-2: new full-speed USB device number 5 using uhci_hcd
[ 2774.620033] usb 2-2: device not accepting address 5, error -71
[ 2774.620054] usb usb2-port2: unable to enumerate USB device