Re: Oops in kernel 2.6.32 when unloading ipw2100 (device_pm_remove+0x16)

Zhu Yi <[email protected]> Tue, 10 Nov 2009 09:12:44 +0800
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <1257815564.5538.1018.camel@debian>
On Tue, 2009-11-10 at 08:08 +0800, Daniele C. wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> reinette chatre ha scritto:
> > On Mon, 2009-11-09 at 01:31 -0800, Daniele C. wrote:
> > 
> >> starting with kernel 2.6.32 I can no more unload the ipw2100 module, I get the attached oops.
> >>
> >> Is this a known bug? Any patch around or possibly in kernel patches queue?
> > 
> > This looks like duplicate of
> > http://thread.gmane.org/gmane.linux.kernel/901971, which is fixed with
> > patch http://thread.gmane.org/gmane.linux.kernel/901971/focus=8445
> > Unfortunately this patch caused a regression, see
> > http://thread.gmane.org/gmane.linux.kernel.wireless.general/42112 and it
> > was reverted.
> > 
> > Perhaps you can try out that patch directly until the issue is resolved?
> > 
> Hi Reinette,
> 
> thanks for your reply. None of those hunks can patch the latest kernel (2.6.32-rc6); after close inspection they all seem to have been merged, except the one for ipw2200.c perhaps (which anyway is not relevant to my ipw2100).
> 
> I would say this is a totally different and separate bug; does anybody knows what is called at device_pm_remove+0x16 ? I cannot guess where the bug is, it vaguely looks like a bad/non-uniform free mechanism.
> 
> I also wonder why nobody else experienced this up to now (maybe this ipw2100 hardware is getting rare nowadays).

Try this one [1], it is for 32-rc6. I only tested it on 2200. But it
should also fix 2100. Revert the previous patch first if it is not (ie.
for pristine kernel).

1. http://thread.gmane.org/gmane.linux.kernel.wireless.general/42112

Thanks,
-yi


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july