On 02.07.2024 at 13:25, Heiner Kallweit wrote: > On 23.06.2024 20:47, Krzysztof Olędzki wrote: >> Hi, >> >> After upgrading kernel to Linux 6.6.34 on one of my systems, I noticed "sysfs: cannot create duplicate filename" and i2c registration errors in dmesg, please see below. >> >> This seems to be related to https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=4d5ace787273cb159bfdcf1c523df957938b3e42 - reverting the change fixes the problem. <CUT> > > Could you please test whether the attached two experimental patches fix the issue for you? > They serialize client device instantiation per I2C adapter, and include the client device > name in the check whether a bus address is busy. Sadly, they crash the kernel. I will get serial console attached there next week, so will be able to capture the full crash. For now, I was able to obtain a photo. I'm very sorry for the quality, just wanted to provide something for now. Krzysztof
Attachment:
i2c-bug.png
Description: PNG image