Messages in this thread | | | Subject | Re: [PATCH] AHA152x driver hangs on PCMCIA card eject, kernel 2.4.22-pre6 | From | Alan Cox <> | Date | 16 Jul 2003 14:16:10 +0100 |
| |
On Maw, 2003-07-15 at 22:56, Bhavesh P. Davda wrote: > 2. A change to the aha152x_cs stub driver to not use the SCSI error-handling > thread code. The aha152x_cs driver calls scsi_unregister_module() as a > queued timer task when it gets a CS_EVENT_CARD_REMOVAL event, which causes > scsi_unregister_host() to do a down() on a semaphore, calling schedule(), > when executing the timer_bh for the timer.
Right - scsi_unregister should not be called on a timer event, instead it needs to kick off a task queue
- 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/
| |