Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Various errors in the syslog (Cannot enable. Maybe the USB cable is bad?)
#1
Bug 
Hello together,

today I accidentally found various errors in the syslog. Apparently the error has been with me since the first installation. I reinstalled the image as a test, but exactly the same problem after the first boot.

Quote:Nov  7 19:05:25 kernel: [34878.342065] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:29 kernel: [34882.882139] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:33 kernel: [34887.222199] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:33 kernel: [34887.222568] usb usb2-port1: attempt power cycle
Nov  7 19:05:38 kernel: [34891.902277] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:42 kernel: [34896.242410] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:42 kernel: [34896.242781] usb usb2-port1: unable to enumerate USB device
Nov  7 19:05:47 kernel: [34900.562401] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:51 kernel: [34905.102474] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:56 kernel: [34909.442542] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:05:56 kernel: [34909.442914] usb usb2-port1: attempt power cycle
Nov  7 19:06:00 kernel: [34914.122549] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:05 kernel: [34918.462679] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:05 kernel: [34918.463047] usb usb2-port1: unable to enumerate USB device
Nov  7 19:06:09 kernel: [34922.782749] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:13 kernel: [34927.322811] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:18 kernel: [34931.662886] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:18 kernel: [34931.663248] usb usb2-port1: attempt power cycle
Nov  7 19:06:23 kernel: [34936.352953] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:27 kernel: [34940.693018] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:27 kernel: [34940.693389] usb usb2-port1: unable to enumerate USB device
Nov  7 19:06:31 kernel: [34945.013092] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:36 kernel: [34949.553149] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:40 kernel: [34953.903242] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:40 kernel: [34953.903615] usb usb2-port1: attempt power cycle
Nov  7 19:06:45 kernel: [34958.583276] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:49 kernel: [34962.943369] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
Nov  7 19:06:49 kernel: [34962.943567] usb usb2-port1: unable to enumerate USB device

Apparently the kernel cannot activate a USB port. I didn't notice, because I don't currently have a USB device connected to the Raspberry.
The messages appear every second throughout the day since first installation.

Raspi: Version 4 Rev. 1.1
Kernel: Linux 5.4.51-v7l+ armv7l
Moode Release: Last Release 6.7.1


lsusb output:

Quote:/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
   |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M

Does any of you have the same problem, or can you look in your syslog?
On the Internet I often find the recommendation to switch to a more recent kernel version. Sometimes the integrated USB hub was also defective.


Thanks for your help.
Best regards
Patrick
Reply
#2
Hello Patrick, have you tried another USB stick?
Do you have the mistakes since today?
Have you made any changes?
What is shown under dmesg?
If you have a USB stick connected, just take it out, look at the logs and put it back in. Look at log again ...
It looks like the USB is not working properly.
Reply
#3
(11-07-2020, 07:32 PM)Cardone Wrote: Hello Patrick, have you tried another USB stick?
Do you have the mistakes since today?
Have you made any changes?
What is shown under dmesg?
If you have a USB stick connected, just take it out, look at the logs and put it back in. Look at log again ...
It looks like the USB is not working properly.
This is how it looks for me .....


I haven't plugged in a USB stick. I haven't tried a USB stick either because, as I said, I don't use any USB sticks on this Raspberry.
If you had read my text, you would have seen I have had the error since the beginning and I have not changed anything.

Could someone please have a look at his syslog and tell me whether he has these errors too? If not, my Raspberry will probably be defective.

I want to rule out a bug in the kernel or in the Moode Audio Release.
Reply
#4
(11-07-2020, 07:37 PM)PatiTati Wrote:
(11-07-2020, 07:32 PM)Cardone Wrote: Hello Patrick, have you tried another USB stick?
Do you have the mistakes since today?
Have you made any changes?
What is shown under dmesg?
If you have a USB stick connected, just take it out, look at the logs and put it back in. Look at log again ...
It looks like the USB is not working properly.
This is how it looks for me .....


I haven't plugged in a USB stick. I haven't tried a USB stick either because, as I said, I don't use any USB sticks on this Raspberry.
If you had read my text, you would have seen I have had the error since the beginning and I have not changed anything.

Could someone please have a look at his syslog and tell me whether he has these errors too? If not, my Raspberry will probably be defective.

I want to rule out a bug in the kernel or in the Moode Audio Release.

Okay had several windows open.
Excuse me .......
I also have version 6.7.1 and my log looks like this .....

Nov 7 20:06:13 moode dhcpcd[520]: eth0: Router Advertisement from fe80::3681:c4ff:fe3d:774b
Nov 7 20:16:02 moode dhcpcd[520]: eth0: Router Advertisement from fe80::3681:c4ff:fe3d:774b
Nov 7 20:21:13 moode dhcpcd[520]: eth0: Router Advertisement from fe80::3681:c4ff:fe3d:774b
Nov 7 20:21:14 moode systemd[1]: Created slice User Slice of UID 1000.
Nov 7 20:21:14 moode systemd[1]: Starting User Runtime Directory /run/user/1000...
Nov 7 20:21:14 moode systemd[1]: Started User Runtime Directory /run/user/1000.
Nov 7 20:21:14 moode systemd[1]: Starting User Manager for UID 1000...
Nov 7 20:21:15 moode systemd[10064]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 7 20:21:15 moode systemd[10064]: Listening on GnuPG network certificate management daemon.
Nov 7 20:21:15 moode systemd[10064]: Reached target Paths.
Nov 7 20:21:15 moode systemd[10064]: Reached target Timers.
Nov 7 20:21:15 moode systemd[10064]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 7 20:21:15 moode systemd[10064]: Starting D-Bus User Message Bus Socket.
Nov 7 20:21:15 moode systemd[10064]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 7 20:21:15 moode systemd[10064]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 7 20:21:15 moode systemd[10064]: Listening on D-Bus User Message Bus Socket.
Nov 7 20:21:15 moode systemd[10064]: Reached target Sockets.
Nov 7 20:21:15 moode systemd[10064]: Reached target Basic System.
Nov 7 20:21:15 moode systemd[10064]: Reached target Default.
Nov 7 20:21:15 moode systemd[10064]: Startup finished in 571ms.
Nov 7 20:21:15 moode systemd[1]: Started User Manager for UID 1000.
Nov 7 20:21:15 moode systemd[1]: Started Session 1 of user pi.

-> Maybe you should reload the image ...
Reply
#5
Okay danke für deine schnelle Rückmeldung. Dann wird vermutlich mein Raspi integrierter USB-Hub defekt sein. Kacke... Sad
Ich teste mal ob er überhaupt USB-Sticks erkennt und einbindet. Hatte ich bislang noch nie getestet, weil ich den Raspi aktuell nur als Webradio nutze.

Okay, thank you for the information. Then my Raspi integrated USB hub will probably be defective.
I'll test whether it recognizes and integrates USB sticks at all. I had never tested it before because I currently only use the Raspi as a web radio.
Reply
#6
(11-07-2020, 07:49 PM)PatiTati Wrote: Okay danke für deine schnelle Rückmeldung. Dann wird vermutlich mein Raspi integrierter USB-Hub defekt sein. Kacke... Sad
Ich teste mal ob er überhaupt USB-Sticks erkennt und einbindet. Hatte ich bislang noch nie getestet, weil ich den Raspi aktuell nur als Webradio nutze.

Okay, thank you for the information. Then my Raspi integrated USB hub will probably be defective.
I'll test whether it recognizes and integrates USB sticks at all. I had never tested it before because I currently only use the Raspi as a web radio.

Ich würde die SD formatieren und das image wieder draufspielen.....

Verwende auch kein USB da nur als Web Radio...SmileSmile


Ciao
Reply
#7
Ja das Image hab ich bereits neu aufgespielt und eben der selbe Fehler. Da der Fehler bei dir nicht ist, wird mein USB Hub defekt sein.
Welchen Raspi hast du? 3, 4? Rev.?
Reply
#8
(11-07-2020, 07:58 PM)PatiTati Wrote: Ja das Image hab ich bereits neu aufgespielt und eben der selbe Fehler. Da der Fehler bei dir nicht ist, wird mein USB Hub defekt sein.
Welchen Raspi hast du? 3, 4? Rev.?

Habe auch die Version 4 Rev. 1.1 mit 4GB....
Reply
#9
Post in English so all of us can understand.

If you continue to post in other languages your accounts will be purged for violating the Forum rules.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#10
(11-08-2020, 02:32 AM)Tim Curtis Wrote: Post in English so all of us can understand.

If you continue to post in other languages your accounts will be purged for violating the Forum rules.

There was no intention to violate the forum rule.

Have a nice Sunday
Reply


Forum Jump: