[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.5.8-pre3: kernel BUG at usb.c:849! (preempt_count 1)
On Wed, 2002-04-10 at 11:41, Johannes Erdfelt wrote:

> > <3>error: rmmod[1787] exited with preempt_count 1
> I don't like the looks of that.

That error means a task exited with a nonzero preempt_count, in this
case 1. This means a lock was held after exit (or, a lock was never
unlocked - e.g. it was dynamic and just deleted, but the lock counting
code can't know that).

In this case it may just be because the task oopsed while holding the
lock and then exited. This may point to the lock being the BKL since it
would be trivial to have it reschedule and then die while holding it.

While the main point of that error is to point out code that does rude
things with preemption, in this case we probably just have another
problem and this is another sign of it.

Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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