From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1434E159C9B for ; Wed, 31 Jul 2024 16:45:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17A7E2BC092; Wed, 31 Jul 2024 16:45:51 +0000 (UTC) Received: from tiger.tulip.relay.mailchannels.net (tiger.tulip.relay.mailchannels.net [23.83.218.248]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E32C2BC050 for ; Wed, 31 Jul 2024 16:45:50 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6D44F806D15 for ; Wed, 31 Jul 2024 16:45:49 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1722444348; a=rsa-sha256; cv=none; b=e9v7Zlfi8ubtvZP7GhvWHyKJVkAPE722mGtw4tSijAo5Op8s5HwfVEpdZfwy71lnQvoGIO 2DfWVlol/KCJDdAgIQqsta5hIf8JoZa9hBXpnI9fAGKOHjeStn+TtpEK99o87iE/hXO6NN O7VUkZT2VHzzzbHk1hyZZLCax+5sPymbVjNyofx00P1LCKrv/MgoO/at8wx7IlArNQIqL0 L4FkrLF7CuEOGVWK2trHsu2FUQujviZQa3w8Id9a7eX/FGj4Lkht0uRyXyB50ST9sAc3tL ATrQot/JsDPzeVGNLhT6u0a7pmKJHaCxI81gH8SbBhwPw/Q53kogTlkwoPXCMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1722444348; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=la+WIbBnb/kTOFM4ycUQdPBJdkpmR0BcuonXXwwB9iM=; b=lqlycsvOokvsA006th0pZrhzaHP5kEwQ2+85vedwM/AQuxa0iPCXbSYt1Npv9Jk7hTpZg4 cl4/J9E4lMbgr6atXIjmK0p49MZB22LxpCh+Y8H2dz+UX9Bvt0ygySHZZSGbmy2/4lPZzj RGx1EzgJ027UASD1syJ0MlmP8TkIwz+791nHQ6DT5PrZ4WzD/vJSd8HQL9mOrCdkZAkuBh N91VVo/QbT5WgQjRApg5qNHOh9/wAgGT6lxDS52anj0K73ocr+Ur5CBdQqnP9sSGaWsM1W vv46CvbXydsmGwkPmMRiw0yuPC7vkpmS3/c20LjmCrIxyTNVl2v5hkX/0AjNdg== ARC-Authentication-Results: i=1; rspamd-7f77fccf7d-pqpbh; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Occur-Stop: 28a7d8c816c3ab28_1722444348947_3804234411 X-MC-Loop-Signature: 1722444348947:4071258891 X-MC-Ingress-Time: 1722444348947 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.104.137.8 (trex/7.0.2); Wed, 31 Jul 2024 16:45:48 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 567D71E0005 for ; Wed, 31 Jul 2024 17:45:46 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] auto-mounting external usb disk problem Date: Wed, 31 Jul 2024 17:45:45 +0100 Message-ID: <23600569.6Emhk5qWAg@rogueboard> In-Reply-To: References: <2277785.iZASKD2KPV@rogueboard> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2619165.Lt9SDvczpP"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172244434550.3437931.8228302107415904756@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 567D71E0005 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.998]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: b25f911b-a94e-4a9a-b580-982629ab1cca X-Archives-Hash: 739e29bba779c8c596e9a32ed45e5ae6 --nextPart2619165.Lt9SDvczpP Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] auto-mounting external usb disk problem Date: Wed, 31 Jul 2024 17:45:45 +0100 Message-ID: <23600569.6Emhk5qWAg@rogueboard> MIME-Version: 1.0 On Wednesday, 31 July 2024 17:37:17 BST Jacques Montier wrote: > Le mer. 31 juil. 2024 =C3=A0 16:49, Michael a = =C3=A9crit : > > On Wednesday, 31 July 2024 10:36:20 BST Jacques Montier wrote: > > > Hello all, > > >=20 > > > For a few days, my two usb external disks do not automatically mount = on > > > /run/media/ > >=20 > > Have you changed your PC, USB port/hub, kernel or your udisks version, > > before > > you noticed this? > >=20 > > If you observed this on a laptop, does it happen when mains power is on? > >=20 > > > Those disks are successfully detected. > > >=20 > > > - dmesg : > > > 20.711135] usb 10-2: New USB device found, idVendor=3D1058, > > >=20 > > > idProduct=3D2621, bcdDevice=3D10.34 > > > [ 20.711144] usb 10-2: New USB device strings: Mfr=3D1, Product=3D2, > > > SerialNumber=3D3 > > > [ 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 > > >=20 > > > 1034 PQ: 0 ANSI: 6 > > >=20 > > > [ 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 > >=20 > > > [ 25.936769] sd 14:0:0:0: [sde] 3906963456 512-byte logical blocks: > > (2.00 > >=20 > > > 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 > > >=20 > > > - Some errors by journalctl (attached file) > > >=20 > > > juil. 31 11:21:00 GentooLinux udisksd[1178]: Error probing device: Er= ror > > > sending ATA command IDENTIFY DEVICE to '/dev/sde': Unexpected> > > >=20 > > > 0000: f0 00 01 00 00 00= 00 > >=20 > > 0a > >=20 > > > 00 00 00 00 00 1d 00 00 ................ > > > =20 > > > 0010: 00 00 00 00 00 00= 00 > >=20 > > 00 > >=20 > > > 00 00 00 00 00 00 00 00 ................ > > > =20 > > > (g-io-error-quark, 0) > > >=20 > > > - I can manually mount them without any issue. > > >=20 > > > - USB sticks successfully mount. > > >=20 > > > - No problem with Linux Mint OS 23.1 > > >=20 > > > Any idea ? > > >=20 > > > Thanks in advance, > > >=20 > > > Cheers, > > >=20 > > > -- > > > Jacques > >=20 > > It often happens external USB drives need enough power to start up full= y, > > 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. > >=20 > > Things you could try: > >=20 > > 1. Try a different USB port, ideally USB 3.0 or later version e.g. USB = 3.2 > > Gen2, which can provide more power. > >=20 > > 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. > >=20 > > 3. If on a laptop, use mains power (esp. in the summer when the cooling > > fan > > may be demanding more from the battery). > >=20 > > 4. Remove other consumables from USB ports sharing the same bus. > >=20 > > 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. > >=20 > >=20 > > Anecdotal observation: I have a WD Elements drive which I connect thro= ugh > > 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. >=20 > Thank you Michael, >=20 > 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 ? >=20 > Cheers, >=20 > Jacques Looks like a possibility, if this started when you ran an update of the=20 desktop, or changed some cinnamon/gnome settings. Play around with the aut= o- mount USB drive options, to see if it corrects itself. --nextPart2619165.Lt9SDvczpP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaqajkACgkQseqq9sKV ZxkaWhAAjLyqtVuv6BVSdONBZ6GxX1ASOCWZIqeXFj7yv06hS6ro+KaJNCgfkJRr jeevcy3J78O3egDUbkp0EHk79aSAI/RkR85m9Zpe5IeuCr168N83Vz1tt3ENiv72 YTKGJxhQ8LDNxz2H74iWae4jjQH5UHqNxqmS/Rt6U8kzfqtfip9GW7cpaVXyQosF LiDFIlhwsHsVMEOyURMiE9wnTCDndbwFsTZ773iRsjtd9H2za4kjDkh48CNb/3WG IIswVktSAxqTs3ucGqt2XCesUnvC7Iki74XWhZ4xMrAFjN+un7aLvVVMVijDapI2 DPiJJ8EMoA+oWheHLS/1ojpnwWEV2bXyTa0oOC5+vjT8n7GLi/GLCy8JocT3ofl7 AY/uZiejBmDJ3Kt6boGSqrgcljRRNutXQ474dQr5h9m1IkbW7UeBhzPpQTr4M1Nj 2NRJ/UdNT1KdXGRreqrdSkA1YsqJq9febRi8YdSuqmSUcRmF22XvmV4DvndO8WjY va6ZkByLGw+1qaXfWiVYObXxZ2+Lodld90+py7CCqmIBxlfFdwouKItVnLtiGyh6 BCz9CVkgt5Ep1XBIcki1pdUsmxvOsZ4FhmNRiTJ4JwTSewIgenoxceHJVC3u6h1S D4KKHWHrc+54E+CA+H9gusjvMdSf5tmupoEjTysMrs7z/SGT8qM= =kILH -----END PGP SIGNATURE----- --nextPart2619165.Lt9SDvczpP--