Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an initialized object, something is seriously wrong.

From: Jens Axboe
Date: Tue Sep 09 2008 - 09:21:56 EST


On Tue, Sep 09 2008, Mariusz Kozlowski wrote:
> > > On the other hand on newer kernels (post 2.6.26 - these which did not blow up) right
> > > after boot I have to run rmmod ide-cd_mod exactly three times to have ide-cd_mod
> > > unloaded. If I modprobe and rmmod again it works as expected. Why is this?
> > >
> > > laptop mako # modprobe ide-cd_mod
> > > laptop mako # rmmod ide-cd_mod
> > > laptop mako # rmmod ide-cd_mod
> > > laptop mako # rmmod ide-cd_mod
> > > laptop mako # rmmod ide-cd_mod
> > > ERROR: Module ide_cd_mod does not exist in /proc/modules
> > > laptop mako # modprobe ide-cd_mod
> > > laptop mako # rmmod ide-cd_mod
> > > laptop mako # rmmod ide-cd_mod
> > > ERROR: Module ide_cd_mod does not exist in /proc/modules
> >
> > Can you try the below patch from Elias?
>
> Sure. It applied fine to clean current mainline. It looks ok now. No oopses and no BUGs.
> But still after a fresh boot I see
>
> # modprobe ide-cd_mod
> # rmmod ide-cd_mod
> # rmmod ide-cd_mod
> # rmmod ide-cd_mod
> ERROR: Module ide_cd_mod does not exist in /proc/modules
> # modprobe ide-cd_mod
> # rmmod ide-cd_mod
> # rmmod ide-cd_mod
> ERROR: Module ide_cd_mod does not exist in /proc/modules
>
> You need to rmmod ide-cd_mod twice to get it unloaded. After another
> modprobe/rmmod it works as expected.

Looks like something for Bart to look into.

--
Jens Axboe

--
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/