lkml.org 
[lkml]   [2004]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.3rc4 ali1535 i2c driver rmmod oops.
On Tue, Feb 17, 2004 at 07:47:01PM -0800, Linus Torvalds wrote:
>
>
> On Wed, 18 Feb 2004, Dave Jones wrote:
> >
> > Erk, whats going on here ?
>
> Normally this would mean that somebody is trying to "kfree" a pointer that
> wasn't allocated with "kmalloc()". That seems unlikely in this case, so it
> might be a double free or some other internal corruption..
>
> That "sys_delete_module()" thing seems like some stale kernel stack
> contents, so it's possible that that is the thing that messed up and left
> something in an inconsistent state.
>
> Do you know what module it was?

I felt masochistic, so decided to 'see what would happen' when I ran this..

for i in `find /lib/modules/2.6.2-prep/ -name *.ko`
do
MOD=`basename $i | sed s/.ko//`
echo module: $i
echo inserting
/sbin/modprobe $MOD
sync
echo removing
/sbin/rmmod $MOD
echo
sync
#sleep 1
done

.. And then sat back and watched the carnage.

After the ali1535 i2c module blew up and took the box with it,
I rebooted, and did a modprobe / rmmod of that module alone.
Exactly the same result. Reproducable every time.

Dave

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

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:2.299 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site