Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 21 |
Nodes: | 6 (0 / 6) |
Uptime: | 31:30:05 |
Calls: | 139 |
Files: | 91 |
Messages: | 42,722 |
Hello all,
For a few days, my two usb external disks do not automatically mount on /run/media/<user>
Those disks are successfully detected.
- dmesg :
20.711135] usb 10-2: New USB device found, idVendor=1058,
idProduct=2621, bcdDevice=10.34
[ 20.711144] usb 10-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 20.711147] usb 10-2: Product: Elements 2621
[ 20.711150] usb 10-2: Manufacturer: Western Digital
[ 20.711152] usb 10-2: SerialNumber: 575837324139315041324831
[ 20.712935] usb-storage 10-2:1.0: USB Mass Storage device detected
[ 20.713081] scsi host14: usb-storage 10-2:1.0
[ 21.740964] scsi 14:0:0:0: Direct-Access WD Elements 2621
1034 PQ: 0 ANSI: 6
[ 21.741163] sd 14:0:0:0: Attached scsi generic sg6 type 0
[ 21.743671] sd 14:0:0:0: [sde] Spinning up disk...
[ 22.764230] ....ready
[ 25.936769] sd 14:0:0:0: [sde] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 25.937331] sd 14:0:0:0: [sde] Write Protect is off
[ 25.937337] sd 14:0:0:0: [sde] Mode Sense: 47 00 10 08
[ 25.937831] sd 14:0:0:0: [sde] No Caching mode page found
[ 25.937836] sd 14:0:0:0: [sde] Assuming drive cache: write through
[ 25.939868] sde: sde1
- Some errors by journalctl (attached file)
juil. 31 11:21:00 GentooLinux udisksd[1178]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sde': Unexpected>
0000: f0 00 01 00 00 00 00 0a
00 00 00 00 00 1d 00 00 ................
0010: 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 ................
(g-io-error-quark, 0)
- I can manually mount them without any issue.
- USB sticks successfully mount.
- No problem with Linux Mint OS 23.1
Any idea ?
Thanks in advance,
Cheers,
--
Jacques
Le mer. 31 juil. 2024 à 16:49, Michael <confabulate@kintzios.com> a écrit :
On Wednesday, 31 July 2024 10:36:20 BST Jacques Montier wrote:
Hello all,
For a few days, my two usb external disks do not automatically mount on /run/media/<user>
Have you changed your PC, USB port/hub, kernel or your udisks version, before
you noticed this?
If you observed this on a laptop, does it happen when mains power is on?
Those disks are successfully detected.
- dmesg :
20.711135] usb 10-2: New USB device found, idVendor=1058,
idProduct=2621, bcdDevice=10.34
[ 20.711144] usb 10-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 20.711147] usb 10-2: Product: Elements 2621
[ 20.711150] usb 10-2: Manufacturer: Western Digital
[ 20.711152] usb 10-2: SerialNumber: 575837324139315041324831
[ 20.712935] usb-storage 10-2:1.0: USB Mass Storage device detected
[ 20.713081] scsi host14: usb-storage 10-2:1.0
[ 21.740964] scsi 14:0:0:0: Direct-Access WD Elements 2621
1034 PQ: 0 ANSI: 6
[ 21.741163] sd 14:0:0:0: Attached scsi generic sg6 type 0
[ 21.743671] sd 14:0:0:0: [sde] Spinning up disk...
[ 22.764230] ....ready
[ 25.936769] sd 14:0:0:0: [sde] 3906963456 512-byte logical blocks:(2.00
TB/1.82 TiB)
[ 25.937331] sd 14:0:0:0: [sde] Write Protect is off
[ 25.937337] sd 14:0:0:0: [sde] Mode Sense: 47 00 10 08
[ 25.937831] sd 14:0:0:0: [sde] No Caching mode page found
[ 25.937836] sd 14:0:0:0: [sde] Assuming drive cache: write through
[ 25.939868] sde: sde1
- Some errors by journalctl (attached file)
juil. 31 11:21:00 GentooLinux udisksd[1178]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sde': Unexpected>
0000: f0 00 01 00 00 00 00
0a
00 00 00 00 00 1d 00 00 ................
0010: 00 00 00 00 00 00 00
00
00 00 00 00 00 00 00 00 ................
(g-io-error-quark, 0)
- I can manually mount them without any issue.
- USB sticks successfully mount.
- No problem with Linux Mint OS 23.1
Any idea ?
Thanks in advance,
Cheers,
--
Jacques
It often happens external USB drives need enough power to start up fully, before their onboard controller responds to probes from udisksd. If something
(from PSU, to battery power, to kernel/desktop power management options) has
changed, to the point where the power on the USB port becomes marginal, then
such symptoms are possible.
Things you could try:
1. Try a different USB port, ideally USB 3.0 or later version e.g. USB 3.2 Gen2, which can provide more power.
2. Use a powered USB Hub between the PC and the drive, or a Y-shaped USB cable
to feed the drive from two ports.
3. If on a laptop, use mains power (esp. in the summer when the cooling
fan
may be demanding more from the battery).
4. Remove other consumables from USB ports sharing the same bus.
5. Do not set your desktop to auto-mount USBs when you plug in, but only when
you manually click on it in your GUI.
Anecdotal observation: I have a WD Elements drive which I connect through an
external powered hub on a USB 2.0 port on the PC. Even though the hub is powered, I have to power it up first, wait a few seconds for the drive to come
up to speed (the LED flashing slows down), before I boot the PC.
Otherwise
it's a hit or miss affair for the PC to detect it. This got worse after some
months/years, although the drive itself has seen relatively little use.
Thank you Michael,
It's a desktop PC working with cinnamon 6.
I tried KDE Plasma (wayland or X11) and it works !
So, maybe a cinnamon-6.0.4 issue ?
Cheers,
Jacques
Le mer. 31 juil. 2024 à 18:46, Michael <confabulate@kintzios.com> a écrit :
Looks like a possibility, if this started when you ran an update of the desktop, or changed some cinnamon/gnome settings. Play around with the auto-
mount USB drive options, to see if it corrects itself.
Thanks Michael,
I did not understand why an usb stick was automounted and not WD usb drive.
I saw the one was fat32 formatted and WD ext4.
So, i formatted fat32 another empty WD drive and it worked !
Last version of cinnamon could not automount ext4 drive ? That's weird.
Well, it's not so important and in can deal with it.
Cheers,
Jacques
Le jeu. 1 août 2024 à 13:39, Michael <confabulate@kintzios.com> a écrit :
On Thursday, 1 August 2024 11:24:29 BST Jacques Montier wrote:
Le mer. 31 juil. 2024 à 18:46, Michael <confabulate@kintzios.com> a
écrit :
Looks like a possibility, if this started when you ran an update of
the
desktop, or changed some cinnamon/gnome settings. Play around with
the
auto-
mount USB drive options, to see if it corrects itself.
Thanks Michael,
I did not understand why an usb stick was automounted and not WD usb
drive.
I saw the one was fat32 formatted and WD ext4.
So, i formatted fat32 another empty WD drive and it worked !
Last version of cinnamon could not automount ext4 drive ? That's weird.
Well, it's not so important and in can deal with it.
Cheers,
Jacques
Unlike ext4, the FAT filesystem does not support Unix file permissions so accessing the fs via userspace is more restricted than FAT. However, I would
expect a different error, like "wrong filesystem type ...".
What do you get in your logs when your run:
~ $ udisksctl mount -b /dev/sdXx
where Xx are the device and partition numbers?
I get this :
My external usb disk is labelled SAUVEGARDE.
$ udisksctl mount -b /dev/sdf1
Mounted /dev/sdf1 at /run/media/jacques/SAUVEGARDE
$ dmesg
[ 1003.189856] usb 10-2: new SuperSpeed USB device number 5 using xhci_hcd
[ 1003.205671] usb 10-2: New USB device found, idVendor=1058,
idProduct=2621, bcdDevice=10.34
[ 1003.205682] usb 10-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1003.205688] usb 10-2: Product: Elements 2621
[ 1003.205709] usb 10-2: Manufacturer: Western Digital
[ 1003.205714] usb 10-2: SerialNumber: 575837324139315041324831
[ 1003.207086] usb-storage 10-2:1.0: USB Mass Storage device detected
[ 1003.207196] scsi host15: usb-storage 10-2:1.0
[ 1004.268434] scsi 15:0:0:0: Direct-Access WD Elements 2621
1034 PQ: 0 ANSI: 6
[ 1004.268645] sd 15:0:0:0: Attached scsi generic sg7 type 0
[ 1004.271067] sd 15:0:0:0: [sdf] Spinning up disk...
[ 1005.291638] ....ready
[ 1008.461012] sd 15:0:0:0: [sdf] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 1008.461494] sd 15:0:0:0: [sdf] Write Protect is off
[ 1008.461502] sd 15:0:0:0: [sdf] Mode Sense: 47 00 10 08
[ 1008.462001] sd 15:0:0:0: [sdf] No Caching mode page found
[ 1008.462009] sd 15:0:0:0: [sdf] Assuming drive cache: write through
[ 1008.464128] sdf: sdf1
[ 1008.464219] sd 15:0:0:0: [sdf] Attached SCSI disk
[ 1023.783260] EXT4-fs (sdf1): mounted filesystem e26e8fef-8c48-4ad3-8258-10cb8fb47f81 r/w with ordered data mode. Quota
mode: none.
Is it possible the owner/access rights of the ext4 fs has changed between
the time when it worked and now?
Well, i really don't know...
--
Jacques