Re: [aic7xxx]: Scheduling while atomic on rmmod - 2.6.0-test5,6

From: Andrew Morton
Date: Sun Sep 28 2003 - 17:08:20 EST


"P. Christeas" <p_christ@xxxxxx> wrote:
>
> I (always) get the same 'scheduling while atomic' error whenever I try to
> rmmod the aic7xxx module or try to suspend.

That's because ahc_linux_exit() takes ahc_list_spinlock then calls
ahc_linux_kill_dv_thread(), which downs a semaphore.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/