lkml.org 
[lkml]   [2005]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: kernel BUG at kernel/workqueue.c:104!
Date
Karl Hiramoto <karl <at> hiramoto.org> writes:

>
> Hi, i get this a lot now when doing: "rmmod cp2101 io_edgeport "
>
> I try and do the rmmod, because i loose comunications on the USB to
> RS-232 adapters.
> ------------[ cut here ]------------
> kernel BUG at kernel/workqueue.c:104!
> invalid operand: 0000 [#1]

Thats because the scheduled work became empty before it was executed.

-- BUG_ON(!list_empty(&work->entry)); --

Looks like someone forgot to flush_scheduled_work() before exiting. Can you
try putting flush_scheduled_work() as the first line in cp2101_exit and
whatever is the exit function of io_edgeport?

Just a wild guess. Things might be more complicated than this, but no harm in
trying.

Parag

-
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-08-24 19:15    [W:0.049 / U:2.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site