Re: [PATCH] firmware_loader: Use init_utsname()->release

From: John Garry
Date: Wed Feb 28 2024 - 07:32:20 EST


On 27/02/2024 13:50, Luis Chamberlain wrote:
On Tue, Feb 27, 2024 at 01:02:26PM +0000, John Garry wrote:
On 27/02/2024 12:59, Luis Chamberlain wrote:
What kernel are you seeing this issue on?
I was testing v6.8-rc5 last week
I cannot reproduce a hung task there either on that kernel.

I see this:

sysfs: cannot create duplicate filename '/devices/virtual/misc/test_firmware/nope-test-firmware.bin'

But these are expected as the selftests tries silly things to ensure
they are not allowed.

If you can reproduce it there, it would be appreciated if you look underneath
the hood a bit, or share anything glaring and obvious which may help
reproduce this.

Update: commenting-out /lib/udev/rules.d/50-firmware.rules seems to make the test reliably pass for v6.8-rc5, but not with my patch on top - I still get a hang there. I'll investigate that hang with my patch.

Thanks,
John