Re: kernel BUG at kernel/workqueue.c:104!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux