• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Gelöst Fehlermeldung USB

egweber1

Hacker
Beim Hochfahren taucht immer mal wieder eine Fehlermeldung auf:

Code:
 [    4.826270][ usb 3-1.2: device descriptor read/64, error -32

Ohne Fehlermeldung:
Code:
weber@linux:~> sudo journalctl -b 0 -p 3
[sudo] Passwort für root:
Jan 06 19:12:32 localhost kernel: gspca_vc032x: reg_r err -32
Jan 06 19:12:35 localhost bluetoothd[1098]: src/plugin.c:plugin_init() Failed to init vcp plugin
Jan 06 19:12:35 localhost bluetoothd[1098]: src/plugin.c:plugin_init() Failed to init mcp plugin
Jan 06 19:12:35 localhost bluetoothd[1098]: src/plugin.c:plugin_init() Failed to init bap plugin
Jan 06 19:12:39 localhost.localdomain smartd[1119]: Device: /dev/nvme1, number of Error Log entries increased from 142 to 143
Jan 06 19:17:35 linux.fritz.box systemd[2016]: /run/user/1000/systemd/generator.late/app-turboprint\x2dstartmonitor@autostart.service:18: WorkingDirectory= path is not absolute, ignoring:
Jan 06 19:18:20 linux.fritz.box kernel: ntfs3: Unknown parameter 'windows_names'
Jan 06 19:18:37 linux.fritz.box konsole[2773]: kf.xmlgui: Shortcut for action  "" "Schnellbefehle anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:18:37 linux.fritz.box konsole[2773]: kf.xmlgui: Shortcut for action  "" "SSH-Verwaltung anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:33:44 linux.fritz.box konsole[7425]: kf.xmlgui: Shortcut for action  "" "Schnellbefehle anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:33:44 linux.fritz.box konsole[7425]: kf.xmlgui: Shortcut for action  "" "SSH-Verwaltung anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:34:23 linux.fritz.box konsole[7471]: kf.xmlgui: Shortcut for action  "" "Schnellbefehle anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:34:23 linux.fritz.box konsole[7471]: kf.xmlgui: Shortcut for action  "" "SSH-Verwaltung anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:38:18 linux.fritz.box konsole[7795]: kf.xmlgui: Shortcut for action  "" "Schnellbefehle anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:38:18 linux.fritz.box konsole[7795]: kf.xmlgui: Shortcut for action  "" "SSH-Verwaltung anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Mit Fehler:
Code:
localhost:~ # journalctl -b 0 -p 3
Jan 06 20:55:58 localhost kernel: usb 3-1.2: device descriptor read/64, error -32
Jan 06 20:55:58 localhost kernel: usb 3-1.2: device descriptor read/64, error -32
Jan 06 20:55:58 localhost kernel: usb 3-1.2: device descriptor read/64, error -32
Jan 06 20:55:58 localhost kernel: usb 3-1.2: device descriptor read/64, error -32
Jan 06 19:55:59 localhost kernel: usb 3-1.2: device not accepting address 8, error -71
Jan 06 19:56:00 localhost kernel: gspca_vc032x: reg_r err -32
Jan 06 19:56:00 localhost kernel: usb 3-1.2: device not accepting address 9, error -71
Jan 06 19:56:00 localhost kernel: usb 3-1-port2: unable to enumerate USB device
Jan 06 19:56:03 localhost bluetoothd[1133]: src/plugin.c:plugin_init() Failed to init vcp plugin
Jan 06 19:56:03 localhost bluetoothd[1133]: src/plugin.c:plugin_init() Failed to init mcp plugin
Jan 06 19:56:03 localhost bluetoothd[1133]: src/plugin.c:plugin_init() Failed to init bap plugin
Jan 06 19:56:06 localhost.localdomain smartd[1145]: Device: /dev/nvme1, number of Error Log entries increased from 143 to 144
Jan 06 19:56:16 localhost.localdomain systemd[1645]: /run/user/1000/systemd/generator.late/app-turboprint\x2dstartmonitor@autostart.service:18: WorkingDirectory= path is not absolute, ignoring:
Jan 06 19:56:23 localhost.localdomain konsole[2863]: kf.xmlgui: Shortcut for action  "" "Schnellbefehle anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:56:23 localhost.localdomain konsole[2863]: kf.xmlgui: Shortcut for action  "" "SSH-Verwaltung anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:58:26 localhost.localdomain konsole[3240]: kf.xmlgui: Shortcut for action  "" "Schnellbefehle anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 06 19:58:26 localhost.localdomain konsole[3240]: kf.xmlgui: Shortcut for action  "" "SSH-Verwaltung anzeigen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
 
Zuletzt bearbeitet:

susejunky

Moderator
Teammitglied
Hallo egweber1,

Beim Hochfahren taucht immer mal wieder eine Fehlermeldung auf:

Code:
 [    4.826270][ usb 3-1.2: device descriptor read/64, error -32

Meines Wissens bedeutet dieser Fehlercode, dass es Probleme bei der Initialisierung eines USB-Geräts gab (was aber nach meiner Erfahrung nicht zwingend auch zu Fehlfunktionen führt).

Um heraus zu finden, um welches Gerät es sich handelt, kannst Du Dir (wenn der Fehler auftritt!) mit
Code:
lsusb
Deine USB-Geräte anzeigen lassen.

Viele Grüße

susejunky
 
OP
egweber1

egweber1

Hacker
weber@localhost:~> lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 057c:8503 AVM GmbH FRITZ!WLAN AC 860
Bus 003 Device 003: ID 06f3:0309
Bus 003 Device 010: ID 1267:0201 Logic3 / SpectraVideo plc Mouse
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 2516:0051 Cooler Master Co., Ltd. AMD SR4 lamplight Control
Bus 001 Device 004: ID 05e3:0745 Genesys Logic, Inc. Logilink CR0012
Bus 001 Device 003: ID 04a9:1912 Canon, Inc. LiDE 400
Bus 001 Device 002: ID 046d:0892 Logitech, Inc. C920 HD Pro Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
weber@localhost:~>
 

josef-wien

Ultimate Guru
Jan 06 19:56:00 localhost kernel: usb 3-1-port2: unable to enumerate USB device
Um zur zugehörigen Zeile von lsusb zu finden:
Code:
grep DEVNAME /sys/bus/usb/devices/3-1/uevent
Code:
cat /sys/bus/usb/devices/3-1/product
_______

So nebenbei:
Jan 06 19:56:06 localhost.localdomain smartd[1145]: Device: /dev/nvme1, number of Error Log entries increased from 143 to 144
Du solltst Dich als root mit
Code:
smartctl -a /dev/nvme1
beschäftigen.
 
OP
egweber1

egweber1

Hacker
Code:
weber@localhost:~> grep DEVNAME /sys/bus/usb/devices/3-1/uevent
DEVNAME=bus/usb/003/002
weber@localhost:~> cat /sys/bus/usb/devices/3-1/product
USB2.0 Hub
weber@localhost:~>
Wobei ich die nvme1n1 Lexar NM520 M.2 2242 PCIe mit 256GB bei der Neuinstallation gegen eine Crucial CT500P3SSD8 mit 500 GB ausgetauscht habe. Seitdem ist diese Fehlermeldung
Code:
nvme nvme1: failed to set APST feature (2)
auch nie mehr gekommen. Lag es vielleicht an der Festplatte?
Code:
weber@localhost:~> sudo smartctl -a /dev/nvme1
[sudo] Passwort für root:
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.2-1-default] (SUSE RPM)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       CT500P3SSD8
Serial Number:                      2238E66989C2
Firmware Version:                   P9CR30A
PCI Vendor/Subsystem ID:            0xc0a9
IEEE OUI Identifier:                0x00a075
Controller ID:                      1
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          500.107.862.016 [500 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            6479a7 6b50000173
Local Time is:                      Sat Jan  7 17:50:19 2023 CET
Firmware Updates (0x12):            1 Slot, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005e):     Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x06):         Cmd_Eff_Lg Ext_Get_Lg
Maximum Data Transfer Size:         64 Pages
Warning  Comp. Temp. Threshold:     85 Celsius
Critical Comp. Temp. Threshold:     95 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     6.00W  0.0000W       -    0  0  0  0        0       0
 1 +     3.00W  0.0000W       -    0  0  0  0        0       0
 2 +     1.50W  0.0000W       -    0  0  0  0        0       0
 3 -   0.0250W  0.0000W       -    3  3  3  3     5000    1900
 4 -   0.0030W       -        -    4  4  4  4    13000  100000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         1
 1 -    4096       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        23 Celsius
Available Spare:                    100%
Available Spare Threshold:          5%
Percentage Used:                    0%
Data Units Read:                    219.255 [112 GB]
Data Units Written:                 696.464 [356 GB]
Host Read Commands:                 1.676.743
Host Write Commands:                3.864.926
Controller Busy Time:               14
Power Cycles:                       20
Power On Hours:                     46
Unsafe Shutdowns:                   3
Media and Data Integrity Errors:    0
Error Information Log Entries:      151
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               23 Celsius
Temperature Sensor 2:               27 Celsius
Temperature Sensor 8:               23 Celsius

Error Information (NVMe Log 0x01, 16 of 16 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0        151     0  0x0000  0x4005  0x028            0     0     -

weber@localhost:~>
 

josef-wien

Ultimate Guru
1. Wenn "Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub" extern oder intern mittels Kabel angeschlossen ist, könntest Du diese überprüfen. Bleiben die Fehlermeldungen, würde ich den Hub nur für unkritische Dinge nutzen (falls er überhaupt funktioniert).

2. Die Fehlermeldung bei der mittlerweile ersetzten Lexar-SSD zeigt, daß ein bestimmter "Power State" nicht unterstützt wird (wobei ich ein Firmware-Problem vermute). Das mag sich auf den Stromverbrauch auswirken, aber nicht auf die Nutzbarkeit der SSD.

3. Nachdem die S.M.A.R.T.-Auswertung einer NVMe-SSD ganz anders aussieht, muß ich mich mangels NVMe-Erfahrungen zurückhalten (aber bei 155 Fehlern in dieser kurzen Zeitspanne hätte ich ein schlechtes Gefühl).

P. S. Wieso ist das Thema "gelöst"?
 
OP
egweber1

egweber1

Hacker
Weil das Einfrieren von Maus und Tastatur mit der neuen Platte nicht mehr stattfindet. Auch die Fehlermeldung kommt nicht mehr.
Siehe Beitrag 5 der neuen NVMe-SSD.
 
Zuletzt bearbeitet:

susejunky

Moderator
Teammitglied
3. Nachdem die S.M.A.R.T.-Auswertung einer NVMe-SSD ganz anders aussieht, muß ich mich mangels NVMe-Erfahrungen zurückhalten (aber bei 155 Fehlern in dieser kurzen Zeitspanne hätte ich ein schlechtes Gefühl).
Mit
Code:
nvme error-log /dev/nvme1
kann man den error log einer NVMe im Detail einsehen.

Code:
nvme --help
liefert noch eine ganze Reihe weiterer Optionen. Allerdings habe ich den Eindruck, dass manche NVMes nicht alle Optionen unterstützen.

Auch bin ich mir nicht sicher, ob die Anzahl der Error-Log-Entries tatsächlich eine kritische Größe darstellt. Bei meiner 3,5 Jahre alten NVMe liegt der Wert aktuell bei 3503.

Führe ich den Befehl
Code:
nvme lba-status-log /dev/nvme0
(lba-status-log ... Retrieve LBA Status Information Log, show it) aus, erhalte ich die Fehlermeldung
Code:
NVMe status: Invalid Log Page: The log page indicated is invalid(0x2109)
und der Error-Log-Zähler erhöht sich um 1; d.h. jeder Befehl, der zu einem Fehler führt, erhöht den Error-Log-Zähler.

Ich habe jedoch so meine Zweifel, dass der obige Fehler zwingend auf ein, für den Betrieb der NVMe kritisches Problem hinweist.

Viele Grüße

susejunky
 

Ganymed

Guru
Auch bin ich mir nicht sicher, ob die Anzahl der Error-Log-Entries tatsächlich eine kritische Größe darstellt.
Code:
tx4:~ # nvme error-log /dev/nvme0
Error Log Entries for device:nvme0 entries:63
(Schnipp)
Entry[62]   
.................
error_count     : 0
sqid            : 0
cmdid           : 0
status_field    : 0(Successful Completion: The command completed without error)
phase_tag       : 0
parm_err_loc    : 0
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
[/QUOTE]
(Schnapp)

Diese Linuxbox ist seit etwa drei Monaten in Betrieb.
Entry[xyz] steigt mit jedem Neustart um eins.
 
OP
egweber1

egweber1

Hacker
Code:
linux:/home/weber # nvme error-log /dev/nvme1
Error Log Entries for device:nvme1 entries:16
.................
 Entry[ 0]   
.................
error_count     : 169
sqid            : 0
cmdid           : 0x400f
status_field    : 0x2002(Invalid Field in Command: A reserved coded value or an unsupported value in a defined field)
phase_tag       : 0x1
parm_err_loc    : 0x28
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
.................
 Entry[ 1]   
.................
error_count     : 0
sqid            : 0
cmdid           : 0
status_field    : 0(Successful Completion: The command completed without error)
phase_tag       : 0
parm_err_loc    : 0
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
.................
Wobei sich Entry 1 noch 15 mal wiederholt.
 

susejunky

Moderator
Teammitglied
@Ganymed schrieb:
Code:
tx4:~ # nvme error-log /dev/nvme0
Error Log Entries for device:nvme0 entries:63
(Schnipp)
Entry[62]  
.................
error_count     : 0
sqid            : 0
cmdid           : 0
status_field    : 0(Successful Completion: The command completed without error)
phase_tag       : 0
parm_err_loc    : 0
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0

(Schnapp)
Diese Linuxbox ist seit etwa drei Monaten in Betrieb.
Entry[xyz] steigt mit jedem Neustart um eins.

Jede NVMe stellte eine begrenzte Anzahl von Speicherplätzen für Fehlermeldungen bereit. Die Speicherplätze werden von 0 beginnend, aufsteigend nummeriert und ihre max. Anzahl ist gerätespezifisch.

Code:
nvme error-log /dev/nvme0 -e n
Zeigt den Inhalt des individuellen Speicherplatzes n.

Ohne die Angabe von -e n werden die ersten 64 Einträge (0 ... 63) des Error-Logs angezeigt (siehe hier).

Viele Grüße

susejunky
 

susejunky

Moderator
Teammitglied
Hallo egweber1,

Code:
linux:/home/weber # nvme error-log /dev/nvme1
Error Log Entries for device:nvme1 entries:16
.................
 Entry[ 0]
.................
error_count     : 169
sqid            : 0
cmdid           : 0x400f
status_field    : 0x2002(Invalid Field in Command: A reserved coded value or an unsupported value in a defined field)
phase_tag       : 0x1
parm_err_loc    : 0x28
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
.................
 Entry[ 1]
.................
error_count     : 0
sqid            : 0
cmdid           : 0
status_field    : 0(Successful Completion: The command completed without error)
phase_tag       : 0
parm_err_loc    : 0
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
.................
Wobei sich Entry 1 noch 15 mal wiederholt.

Ich persönlich habe mich momentan dieser Meinung angeschlossen.

Aber vielleicht gelangst Du anhand der folgenden Informationen

How SSDs fail, NVMe Base specification, NVMe Command set specification, NVMe Tutorial, NVMe-Support in smartmontools

zu gegenteiligen/weiterführenden Erkenntnissen. In diesem Fall wäre ich sehr interessiert.

Viele Grüße

susejunky
 
OP
egweber1

egweber1

Hacker
Da die Fehlermeldung nur folgendes mehrmals anzeigt:
Code:
 Entry[ 1]   
.................
error_count     : 0
sqid            : 0
cmdid           : 0
status_field    : 0(Successful Completion: The command completed without error)
phase_tag       : 0
parm_err_loc    : 0
lba             : 0
nsid            : 0
vs              : 0
trtype          : The transport type is not indicated or the error is not transport related.
cs              : 0
trtype_spec_info: 0
.................
habe ich mich auch deiner Meinung angeschlossen. Wird kaum relevant sein.
Trotzdem Danke für die Hilfe.
 
Oben