-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[USB VL805 RPI4] Unexpected crash for all USB devices with no way to detect new USB devices #5926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How much RAM does this 4B have? |
4GB RAM, but I don't think it was related to memory, because it was happened with 2 tabs on chromium-browser and about 2GB free |
just catch the same issue:
it happens when I opened chromium-browser with one tab and lightweight page (bulleten forum).
The issue happens when I started chromium-browser, just after open window. It seems that this issue was added with one of the latest apt update last week, before that I never had such issues. Looks like some bug in the driver for RPI4 onboard USB controller (VIA). |
Catch it again with the same symptoms. It happens when rpi stayed in idle state, running sdrpp in minimized state (it receives 20 Mbps continuous stream from RTLSDR dongle) and firefox with empty tabs. This time I switched to rpi-update next before it happened, to check if more fresh kernel can fix this issue, but it still exists.
connected usb devices
logs:
|
It's just possible that the DRM issue is triggering issues in the USB subsystem, but you haven't mentioned it being in previous logs. |
The log is full of these errors about allocate DLIST entry, it happens a bunch of time everyday. There are also thousands of records with DLIST error before quoted log records, for example there are a bunch of these errors about one-two hours before I leave the computer, but all worked ok. I will try to update to latest rpi-6.6.y and check if it happens again. |
it happens again, now on latest rpi-6.6.y:
logs:
|
just happens again:
Note, these issues start to happens with last apt upgrade last week. Previously it never failed under the same conditions. |
it happens again:
|
Probably this issue: https://forums.raspberrypi.com/viewtopic.php?t=365719 is also related to this critical issue of USB ports on RPI4 with VL805. Something is going wrong with VL805 firmware and it leads to unexpected stop for all USB ports on RPI4. And there is no way to reload it when it happens, only system reboot can help. |
just catch this issue again (all USB ports are failed and going into non-recoverable state) it happens in firefox when I wrote bug report for issue #5980: connected USB devices during issue (keyboard, mouse, CX31993 sound DAC, RTLSDRv3):
the log:
|
it happens again, now with some new records:
I tried to disconnect all USB devices and reconnect again, but it don't help. The only way to fix it is to reboot the system from ssh or with power off button (because keyboard and mouse is not available after this issue) |
It seems that the user has the same issue on RPI4: https://forums.raspberrypi.com/viewtopic.php?t=363593 Exactly the same symptoms, the system stops to respond on mouse and keyboard and don't see any USB device after that even if you reconnect it. You can still connect with SSH, but all USB devices don't respond until system reboot. It happens every 2-3 days. Old bookworm versions don't had such issue and worked stable more long time with no need to reboot to restore access to USB devices. |
just to clarify, PSU is ok (15W genuine RPI4 PSU), peak current consumption is 1.2 Amps, average power consumption 0.9-1.0 Amps. There is no undervoltage event, the power is strongly ok. |
it happens again. I notice this issue with failure of all USB devices happens after long kernel up-time - about 1-2 days. I tried to remove external USB hub to check if this issue can be related with it. |
Preliminary this issue is related to USB hub driver. I tried disconnect USB hub and connect all devices directly to RPI. Now it works flawlessly for 2 days. I still monitoring it, but at a glance it looks that this issue don't appears without USB hub. I'm using this USB hub (variant USB Gray-B with USB-A connector): https://www.aliexpress.com/item/1005005802405660.html Any chance to fix driver for this USB hub? |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
It happens during web surfing in chromium-browser. Mouse and keyboard just stopped but browser still shows animation on the page. I was able to connect with SSH. Tried to force kill chromium-browser, then I tried to disconnect all USB devices and reconnect it again. Nothing helps. Mouse and keyboard still not worked. After reboot all works ok.
Steps to reproduce the behaviour
it unexpectedly happens during web browsing in chromium-browser.
In background there was two apps: VLC player hidden in tray and playing web radio and sdrpp (opengl app) in minimized state.
it happens on Raspberry Pi 4B with VIA USB chip (2109:3431 VIA Labs, Inc. Hub).
Device (s)
Raspberry Pi 4 Mod. B
System
$ cat /etc/rpi-issue
Raspberry Pi reference 2023-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 40f37458ae7cadea1aec913ae10b5e7008ebce0a, stage4
$ vcgencmd version
Oct 17 2023 15:39:16
Copyright (c) 2012 Broadcom
version 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 (clean) (release) (start)
$ uname -a
Linux raspi 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
$ lsusb
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 3302:3352 Synaptics CX31993 384Khz HIFI AUDIO
Bus 001 Device 006: ID 1c4f:0026 SiGma Micro Keyboard
Bus 001 Device 005: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 003: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Logs
log when it happened:
After reconnecting USB devices:
Additional context
probably it may be related to raspberrypi/bookworm-feedback#83
The text was updated successfully, but these errors were encountered: