[Intel-wired-lan] [REGRESSION] Deadlock since commit 6faee3d4ee8b ("igb: Add lock to avoid data race")

Lin Ma linma at zju.edu.cn
Tue Mar 7 10:36:13 UTC 2023


Hello there

Yeah I am looking at it. Could you please offer the crash log or locking debug message if accessible? Thanks in advance.

Regards
Lin

>[Add Corinna back to Cc:, who was removed by Mozilla Thunderbird because 
>Reply-To header was set for some reason in the original report.]
>
>Am 07.03.23 um 11:12 schrieb Paul Menzel:
>> [Adding regressions at lists.linux.dev]
>> 
>> #regzbot ^introduced: 6faee3d4ee8b
>> 
>> Am 07.03.23 um 10:54 schrieb Corinna Vinschen:
>>> Hi,
>>>
>>>
>>> After patch 6faee3d4ee8b ("igb: Add lock to avoid data race"), we see
>>> a deadlock scenario when trying to unload the igb module.
>>>
>>> The reproducer is pretty simple:
>>>
>>>    # echo 2 > /sys/class/net/ens5f2/device/sriov_numvfs
>>>    # modprobe -r igb
>>>
>>> The hang is quite thorough, I assume it's suffering a deadlock between
>>> the rtnl_lock and the spinlock introduced by 6faee3d4ee8b.
>>>
>>> Any chance you could have a look?
>>>
>>>
>>> Thanks,
>>> Corinna


More information about the Intel-wired-lan mailing list