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

2005-08-29 Thread Greg KH
On Tue, Aug 23, 2005 at 06:02:45PM +0200, Karl Hiramoto wrote:
> Hi,  i get this a lot now when doing:  "rmmod  cp2101 io_edgeport "

Why unload both modules?  Which device are you having problems with?

And can you duplicate this on a kernel that does not have a closed
source driver loaded into it?

If so, care to open a bug at bugzilla.kernel.org for this?

thanks,

greg k-h
-
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/


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

2005-08-24 Thread Parag Warudkar
Karl Hiramoto  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:  [#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/