* [gentoo-user] auto-mounting external usb disk problem
@ 2024-07-31 9:36 Jacques Montier
2024-07-31 14:48 ` Michael
0 siblings, 1 reply; 9+ messages in thread
From: Jacques Montier @ 2024-07-31 9:36 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
[-- Attachment #1.1: Type: text/plain, Size: 1869 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2484 bytes --]
[-- Attachment #2: disk_error.txt --]
[-- Type: text/plain, Size: 2605 bytes --]
juil. 31 11:20:51 GentooLinux kernel: (udev-worker) (580) used greatest stack depth: 10352 bytes left
juil. 31 11:20:55 GentooLinux kernel: usb 10-2: new SuperSpeed USB device number 2 using xhci_hcd
juil. 31 11:20:55 GentooLinux kernel: usb 10-2: New USB device found, idVendor=1058, idProduct=2621, bcdDevice=10.34
juil. 31 11:20:55 GentooLinux kernel: usb 10-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
juil. 31 11:20:55 GentooLinux kernel: usb 10-2: Product: Elements 2621
juil. 31 11:20:55 GentooLinux kernel: usb 10-2: Manufacturer: Western Digital
juil. 31 11:20:55 GentooLinux kernel: usb 10-2: SerialNumber: 575837324139315041324831
juil. 31 11:20:55 GentooLinux kernel: usb-storage 10-2:1.0: USB Mass Storage device detected
juil. 31 11:20:55 GentooLinux kernel: scsi host14: usb-storage 10-2:1.0
juil. 31 11:20:56 GentooLinux kernel: scsi 14:0:0:0: Direct-Access WD Elements 2621 1034 PQ: 0 ANSI: 6
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: Attached scsi generic sg6 type 0
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] Spinning up disk...
juil. 31 11:21:00 GentooLinux kernel: ....ready
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB)
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] Write Protect is off
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] Mode Sense: 47 00 10 08
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] No Caching mode page found
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] Assuming drive cache: write through
juil. 31 11:21:00 GentooLinux kernel: sde: sde1
juil. 31 11:21:00 GentooLinux kernel: sd 14:0:0:0: [sde] Attached SCSI disk
juil. 31 11:20:57 GentooLinux systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
juil. 31 11:20:58 GentooLinux systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, trigg>
juil. 31 11:20:58 GentooLinux systemd[1]: Mounting Arbitrary Executable File Formats File System...
juil. 31 11:20:58 GentooLinux systemd[1]: Mounted Arbitrary Executable File Formats File System.
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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-07-31 9:36 [gentoo-user] auto-mounting external usb disk problem Jacques Montier
@ 2024-07-31 14:48 ` Michael
2024-07-31 16:37 ` Jacques Montier
0 siblings, 1 reply; 9+ messages in thread
From: Michael @ 2024-07-31 14:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3570 bytes --]
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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-07-31 14:48 ` Michael
@ 2024-07-31 16:37 ` Jacques Montier
2024-07-31 16:45 ` Michael
0 siblings, 1 reply; 9+ messages in thread
From: Jacques Montier @ 2024-07-31 16:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4109 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 5330 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-07-31 16:37 ` Jacques Montier
@ 2024-07-31 16:45 ` Michael
2024-08-01 10:24 ` Jacques Montier
0 siblings, 1 reply; 9+ messages in thread
From: Michael @ 2024-07-31 16:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4714 bytes --]
On Wednesday, 31 July 2024 17:37:17 BST Jacques Montier wrote:
> 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
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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-07-31 16:45 ` Michael
@ 2024-08-01 10:24 ` Jacques Montier
2024-08-01 11:38 ` Michael
0 siblings, 1 reply; 9+ messages in thread
From: Jacques Montier @ 2024-08-01 10:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 5432 bytes --]
Le mer. 31 juil. 2024 à 18:46, Michael <confabulate@kintzios.com> a écrit :
> On Wednesday, 31 July 2024 17:37:17 BST Jacques Montier wrote:
> > 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
>
> 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
[-- Attachment #2: Type: text/html, Size: 7698 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-08-01 10:24 ` Jacques Montier
@ 2024-08-01 11:38 ` Michael
2024-08-01 12:38 ` Jacques Montier
0 siblings, 1 reply; 9+ messages in thread
From: Michael @ 2024-08-01 11:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]
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?
Is it possible the owner/access rights of the ext4 fs has changed between the
time when it worked and now?
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-08-01 11:38 ` Michael
@ 2024-08-01 12:38 ` Jacques Montier
2024-08-01 13:26 ` Michael
0 siblings, 1 reply; 9+ messages in thread
From: Jacques Montier @ 2024-08-01 12:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2918 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 4103 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-08-01 12:38 ` Jacques Montier
@ 2024-08-01 13:26 ` Michael
2024-08-01 15:48 ` Jacques Montier
0 siblings, 1 reply; 9+ messages in thread
From: Michael @ 2024-08-01 13:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3827 bytes --]
On Thursday, 1 August 2024 13:38:33 BST Jacques Montier wrote:
> 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.
The above shows user 'jacques' has no problem mounting the ext4 filesystem on
WD Elements 2621, using udisksctl - this indicates there is no issue with the
core userspace function.
However, Gnome applications (e.g. Nemo) use GIO, which calls GVFS, which then
calls udisksctl to do the mounting/unmounting - not sure if FUSE is also
brought into this mix as if the above stack of virtual fs libraries are not
enough.
In any case, since you have proven udisks works as it should, the problem
ought to lie within the Gnome related stack above that.
> 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
Since udisks works, this is not related to a change in a fs access rights
restriction issue.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] auto-mounting external usb disk problem
2024-08-01 13:26 ` Michael
@ 2024-08-01 15:48 ` Jacques Montier
0 siblings, 0 replies; 9+ messages in thread
From: Jacques Montier @ 2024-08-01 15:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4208 bytes --]
Le jeu. 1 août 2024 à 15:26, Michael <confabulate@kintzios.com> a écrit :
> On Thursday, 1 August 2024 13:38:33 BST Jacques Montier wrote:
> > 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.
>
> The above shows user 'jacques' has no problem mounting the ext4 filesystem
> on
> WD Elements 2621, using udisksctl - this indicates there is no issue with
> the
> core userspace function.
>
> However, Gnome applications (e.g. Nemo) use GIO, which calls GVFS, which
> then
> calls udisksctl to do the mounting/unmounting - not sure if FUSE is also
> brought into this mix as if the above stack of virtual fs libraries are
> not
> enough.
>
> In any case, since you have proven udisks works as it should, the problem
> ought to lie within the Gnome related stack above that.
>
>
> > 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
> >
> > Since udisks works, this is not related to a change in a fs access rights
> > restriction issue.
>
>
> So, everything seems ok.
>
> Thank you so much for helping me.
Cheers,
--
Jacques
[-- Attachment #2: Type: text/html, Size: 5674 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-08-01 15:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 9:36 [gentoo-user] auto-mounting external usb disk problem Jacques Montier
2024-07-31 14:48 ` Michael
2024-07-31 16:37 ` Jacques Montier
2024-07-31 16:45 ` Michael
2024-08-01 10:24 ` Jacques Montier
2024-08-01 11:38 ` Michael
2024-08-01 12:38 ` Jacques Montier
2024-08-01 13:26 ` Michael
2024-08-01 15:48 ` Jacques Montier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox