Re: [ppdev] sysfs warning on qemu boot

From: Joe Lawrence
Date: Fri Nov 11 2016 - 17:16:14 EST


On 11/11/2016 04:14 PM, Sudip Mukherjee wrote:
> Hi Joe,
>
> On Wednesday 09 November 2016 06:41 PM, Joe Lawrence wrote:
>> On 11/09/2016 12:04 PM, Sudip Mukherjee wrote:
>>> Hi Joe,
>>>
>>> On 09/11/16 16:00, Joe Lawrence wrote:
>>>> Hi Sudip,
>>>>
>>>> I hit a sysfs_warn_dup inside QEMU running 4.9.0-rc4 (I suspect earlier
>>>> versions as well, but this is the first upstream I've run in a while).
>>>> This warning looks like something the kernel test robot ran into a few
>>>> months ago:
>>>
>>> Yes, 0day reported, but I was unable to reproduce it with the config
>>> file that was given. Can you please send me your .config file and I will
>>> try to reproduce this on my setup, and if I am not able to then i will
>>> have to disturb you for debugging and testing.
>
> Can you please test the attached patch and try to reproduce the error...
> Sorry I could not test it as i could not build using your .config, I
> guess its time for me to upgrade gcc.

FWIW, my versino of gcc:

gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)

I gave the patch a quick test and it loaded without any warnings on
boot. I also gave it a few rmmod / modprobe cycles and didn't see any
further warnings.

Thanks!

Tested-by: Joe Lawrence <joe.lawrence@xxxxxxxxxx>

-- Joe