Re: illegal context for sleeping ... rmmod ide-cd + ide-scsi

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon May 05 2003 - 06:23:53 EST


On Llu, 2003-05-05 at 12:51, Douglas Gilbert wrote:
> > ide_unregister_subdriver() does spin_lock_irqsave(&ide_lock), then
> > calls auto_remove_settings(), which does down(&ide_setting_sem);
> >
> > A simple fix might be:
>
> Andrew,
> Thanks. That patch clears the reported problem.

This is already fixed in 2.4.x btw. Just hadn't got pushed into 2.5 yet

The 2.5.x code has another problem as well there is a basically unfixable
deadlock in the proc and config stuff when flipping a device in and out of
scsi mode

-
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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:21 EST