-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Kernel Oops when communicating with an USB device #6413
Comments
It looks as though something is corrupting kernel memory - some memory locations that are being interpreted as addresses actually seem to hold text strings. User space code should not be able to write to kernel memory in this way, so I suspect you have a bad driver. When you say CDC Port, are you referring to using the dwc2 driver to bring up the USB interface on the power port as a device running a virtual serial interface? |
For more useful diagnostic output, can you boot with |
Hi @P33M
The output with
|
Hi @pelwell
The raspberrypi is in Host mode, as the other device is providing a device (using a g_serial). |
This device serves as a USB interface that interprets serial commands, with the Raspberry Pi operating in host mode to manage the target device utilizing the While we are facing some challenges in pinpointing the cause of the issue, the positive aspect is that we can easily reproduce the problem. We welcome any suggestions for debugging tests that could help us identify and resolve the issue effectively. |
Describe the bug
We have a device that uses CDC Port for communicating and when we send data to the device, we receive this set of kernel Oops.
Steps to reproduce the behaviour
Any communication with this specific device, triggers the Oops.
Device (s)
Raspberry Pi 3 Mod. B+, Raspberry Pi 4 Mod. B
System
Raspberry Pi reference 2024-07-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 0b115f302a8f1e5bd3523614d7f45b9d447434c7, stage4
Oct 10 2024 18:27:31
Copyright (c) 2012 Broadcom
version 0e63dd5ec215290186b4f3a41496b4425155878e (clean) (release) (start)
Linux raspberrypi 6.6.56-v7+ #1804 SMP Thu Oct 10 18:20:27 BST 2024 armv7l GNU/Linux
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: