Re: [REGRESSION] 4.1-rc6 unloading loop OOPS

From: Ming Lei
Date: Thu Jun 04 2015 - 10:43:51 EST


On Thu, Jun 4, 2015 at 10:36 PM, Stefan Seyfried
<stefan.seyfried@xxxxxxxxxxxxxx> wrote:
> Hi Ming,
>
> Am 04.06.2015 um 12:24 schrieb Ming Lei:
>> On Thu, Jun 4, 2015 at 5:11 PM, Stefan Seyfried
>> <stefan.seyfried@xxxxxxxxxxxxxx> wrote:
>
>>> I can reproduce the backtrace after a reboot once (subsequent modprobe/rmmod loop
>>> do not complain anymore), but not the OOPS.
>>
>> One fix[1] was just merged to linus tree, and could you test that to see if your
>> issue can be addressed?
>>
>> [1] http://marc.info/?t=143201518300001&r=1&w=2
>
> I just tried current Linus' master v4.1-rc6-49-g8a7deb3 which contains
> this commit and do no longer get the Warning
>
> Unfortunately, due to this I cannot really test your patch for the OOPS
> (but the OOPS was only happening once for me, so it was not reliably
> triggered).
>
> Thanks, things work well for me, again :-)

Maybe the freed variable is still usable for you, :-)

Actually I can reproduce the issue every time by just runing following
command in VM:

sudo modprobe loop; sleep 1; sudo rmmod loop

Thanks,
Ming

>
> Best regards,
>
> Stefan
> --
> Stefan Seyfried
> Linux Consultant & Developer -- GPG Key: 0x731B665B
>
> B1 Systems GmbH
> OsterfeldstraÃe 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/