Messages in this thread | | | Date | Wed, 18 Feb 2004 03:49:25 +0000 | From | Dave Jones <> | Subject | Re: 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/
| |