Re: [PATCH] AHA152x driver hangs on PCMCIA card eject, kernel 2.4.22-pre6

From: Alan Cox (
Date: Wed Jul 16 2003 - 08:16:10 EST

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:24 EST