logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 17-09-2023 23:29:08

kevind
Membre
Distrib. : Debian Testing
Noyau : Linux 6.4.0-4-amd64
(G)UI : KDE
Inscription : 17-09-2023

[Résolu] Freeze au branchement d'une clef USB

Bonjour,

Sur mon Lenovo Thinkpad X260, avec une installation tout fraîche de debian testing sous KDE, j'ai systématiquement un freeze (plus rien ne répond du tout) pendant environ 20 secondes lorsque je branche ma clef usb Kingston de 32 go. Ceci quel que soit le port usb utilisé parmi les 3 existants. Après les 20 secondes, la clef est reconnue et tout se débloque.

Cette clef est reconnue immédiatement et ne pose pas ce problème sur d'autres ordinateurs (testé sous Windows).

Sur mon pc, lorsque je branche un disque dur en usb, il est reconnu immédiatement et ne pose pas non plus ce problème.

J'ignore si cela peut avoir un lien, mais je suis obligé de lancer le système avec les options «noapic» et «nolapic».

Sans être gravissime, c'est un peu gênant et j'aimerais bien régler ce souci. Merci par avance pour votre aide !

Dernière modification par kevind (18-09-2023 09:55:25)

Hors ligne

#2 17-09-2023 23:31:12

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : [Résolu] Freeze au branchement d'une clef USB

*J'ouvrirai un terminal

dmesg -W



*Puis insérerai la clé posant problème.

*Après que la situation se soit débloqué, je regarderai ce qui a été écrit ! (et l'enverrai sur le forum où je pose la question ~)

Dernière modification par otyugh (17-09-2023 23:31:56)


virtue_signaling.pngpalestine.png
~1821942.svg

Hors ligne

#3 17-09-2023 23:55:00

kevind
Membre
Distrib. : Debian Testing
Noyau : Linux 6.4.0-4-amd64
(G)UI : KDE
Inscription : 17-09-2023

Re : [Résolu] Freeze au branchement d'une clef USB

Merci pour tes indications !

Voilà le retour de la commande :

dmesg -W


[ 3817.187097] usb 2-3: new SuperSpeed USB device number 4 using xhci_hcd
[ 3817.211476] usb 2-3: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10
[ 3817.211492] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3817.211500] usb 2-3: Product: DataTraveler 3.0
[ 3817.211506] usb 2-3: Manufacturer: Kingston
[ 3817.211511] usb 2-3: SerialNumber: 408D5C163224E44129078856
[ 3817.217112] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 3817.225603] scsi host2: usb-storage 2-3:1.0
[ 3818.235970] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[ 3818.236580] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 3818.237916] sd 2:0:0:0: [sdb] 60555264 512-byte logical blocks: (31.0 GB/28.9 GiB)
[ 3818.238985] sd 2:0:0:0: [sdb] Write Protect is off
[ 3818.238988] sd 2:0:0:0: [sdb] Mode Sense: 45 00 00 00
[ 3818.240083] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 3818.277675]  sdb: sdb1
[ 3818.277781] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 3841.958552] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[ 3841.958892] sd 1:0:0:0: [sda] Stopping disk
[ 3841.988844] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.989336] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.989666] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.990024] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.990363] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.990694] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.991893] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.992243] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.992574] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.992987] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.993324] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.993647] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.993998] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.994831] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.995172] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.997217] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.997673] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.998003] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.998700] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.999487] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3841.999819] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.000186] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.000940] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.001266] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.001600] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.001925] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.002249] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.002582] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.002980] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.003313] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.003628] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.003970] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.004320] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.004643] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.004981] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.005307] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.005633] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.006056] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.006422] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.006747] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.007503] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.007836] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.008162] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.008497] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.008823] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.009181] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.009580] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.009918] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.010244] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.010934] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.011755] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.012088] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.013155] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.013522] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.017509] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.020794] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.021165] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.022339] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.022726] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.023146] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.024419] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.025147] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.025473] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.025816] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.026142] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.026520] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.026956] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.027265] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.027604] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.027930] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.028263] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.028588] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.028914] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.029282] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.029715] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.030041] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.030376] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.030700] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.031393] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.031749] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.032074] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.032400] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.032734] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.033099] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.033425] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.033809] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.034748] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.035166] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.035969] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.037476] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.039049] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.042604] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.043702] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.044055] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.044357] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.044730] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.045046] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.045359] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.045660] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.047680] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.054136] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.055191] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.055539] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.056816] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.057772] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.061481] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.064331] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.064676] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.065675] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.070749] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.071558] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.071871] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.073176] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.073513] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.074636] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.075810] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.079478] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.082539] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.083043] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.083413] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.087390] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.088706] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.090927] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.091279] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.091636] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.092309] ata2: illegal qc_active transition (00000000->ffffffff)
[ 3842.415605] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3842.419146] ata2.00: ACPI cmd f5/00:00:00:00:00:a0(SECURITY FREEZE LOCK) filtered out
[ 3842.419152] ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
[ 3842.422571] ata2.00: ACPI cmd f5/00:00:00:00:00:a0(SECURITY FREEZE LOCK) filtered out
[ 3842.422576] ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
[ 3842.424754] ata2.00: configured for UDMA/100
[ 3842.435195] sd 1:0:0:0: [sda] Starting disk
 



J'ai fait une rapide recherche sur internet mais je ne comprends pas ce que tout ça veut dire.

Hors ligne

#4 18-09-2023 09:00:47

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : [Résolu] Freeze au branchement d'une clef USB

C'est curieux, tu peux voir dans les logs qu'il reconnaît ta clé et la monte sur /dev/sdb en secondes.
Par contre il se mets à trépigner ensuite sur sda et à balancer plein d'erreur ata2.

Norme ATA : norme encadrant les protocoles de l'interface IDE (en parallèle, d'où le terme fréquent de PATA)
https://fr.wikipedia.org/wiki/Disque_dur



Du coup. C'est quoi le truc branché en /dev/sda ? Un disque dur IDE sur lequel est le système ou autre chose ?
Tu peux essayer de donner plus d'infos avec

lsblk



Petit trucs que je tenterai :
- est-ce que taper "sync" dans un terminal cause les mêmes symptômes ?
- tu as essayé de brancher sur un autre port usb de ta machine ?


virtue_signaling.pngpalestine.png
~1821942.svg

Hors ligne

#5 18-09-2023 09:51:31

kevind
Membre
Distrib. : Debian Testing
Noyau : Linux 6.4.0-4-amd64
(G)UI : KDE
Inscription : 17-09-2023

Re : [Résolu] Freeze au branchement d'une clef USB

Sur sda, c'est le SSD sur lequel est mon installation.

J'ai essayé de taper «sync» une fois la clef montée. Je n'observe rien de spécial. La console me rend la main immédiatement.

Finalement, en changeant de port usb, j'ai eu un message différent : la console m'a demandé de faire une vérification fsck. Ce que j'ai fait. Et fsck a repéré des erreurs mais pas moyen de les corriger.

J'ai donc tout repris à 0 : formatage de la clef. Avec une partition toute neuve, plus de problème, la clef est reconnue immédiatement et je n'ai plus aucun ralentissement.

Un grand merci.gif pour ton aide !

Hors ligne

#6 18-09-2023 10:02:43

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : [Résolu] Freeze au branchement d'une clef USB

De rien, on dirait que j'étais à côté de la plaque dans mes suppositions.
Peut-être une subtilité de système de fichier ? >_>

virtue_signaling.pngpalestine.png
~1821942.svg

Hors ligne

#7 20-09-2023 09:48:30

UserDeb
Membre
Inscription : 07-06-2023

Re : [Résolu] Freeze au branchement d'une clef USB

Bonjour,

J'ai le même problème avec un Sandisk 32Go noir, je vais la formater en espérant que cela fonctionnera aussi
Merci kevind pour le tuyau

Hors ligne

#8 20-09-2023 16:18:58

ptitjoz
Membre
Lieu : France
Distrib. : Debian 12.2
Noyau : Linux 6.1.0-13-amd64
(G)UI : Xfce
Inscription : 20-09-2017
Site Web

Re : [Résolu] Freeze au branchement d'une clef USB

mon avis perso, quand je commence à avoir des soucis sur des clés USB ou des cartes mémoire, je me méfie de les "réparer" pour un usage pérenne (photos / carte pour smartphone / musique / données / etc.)
C'est toujours prendre un risque qu'elles lâchent définitivement, donc je m'en sers que pour "bidouiller" ou des trucs sans importance.

------------------------------------
Un peu poète, un peu geek

Hors ligne

Pied de page des forums