Re: Core scsi layer crashes in 2.6.8.1

From: James Bottomley
Date: Wed Sep 29 2004 - 09:18:50 EST


On Tue, 2004-09-28 at 16:03, Alan Cox wrote:
> Second problem is with the scsi handling logic for errors. If you rmmod
> a scsi driver while it is error handling you get a chain of errors
> starting with
>
> Illegal transition Cancel->Offline
> Badness is scsi_device_set_state
> path:
> scsi_device_set_state
> scsi_unjam_host
> scsi_error_handler
>

These state transition warnings are currently expected in this code
(they're basically verbose warnings).

What was the oops?

I have a theory that we should be taking a device reference before
waking up the error handler, otherwise host removal can race with error
handling.

James


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