Closed cdsmith69 closed 3 months ago
Sounds like USB Storage Debug is turned on in the kernel. Same issue is described here: https://www.linuxquestions.org/questions/gentoo-87/var-log-messages-has-endless-usb-storage-entries-788995/
Yes, it's turned on https://github.com/bigtreetech/CB1-Kernel/blob/244c0fd1a2a8e7f2748b2a9ae3a84b8670465351/kernel/.config#L4638
With the new CB1 images dated 20230712, version V2.3.3, plugging in a USB flash drive floods the dmesg log with kernel messages about data transfer. There is a large block of messages that appear when the drive is plugged in, then every two seconds from there on another block of messages is added, until the flash drive in removed. The drive seems to work fine, but this reduces the usefulness of the dmesg log when everything gets pushed out by the flood of messages in only a few seconds.
I see the issue with both CB1_Debian11_Klipper_kernel5.16_202300712.img.xz and CB1_Debian11_minimal_kernel5.16_20230712.img.xz, on both a BTT Pi and a Manta M5P with a CB1. I have tried several flash drives from different manufacturers and checked the drives have no file system errors.
Attached is a file where I redirected "dmseg -w" to the file and it saved over 6300 lines in only a few seconds with the flash drive plugged in. dmesglog.txt