Re: [linux-usb-devel] oops on usb storage device disconnect with 2.6.14-rc1

James Bottomley
2005-09-15T21:08:11Z

On Thu, 2005-09-15 at 15:57 -0400, James Bottomley wrote:
> I haven't had time to review the eh changes, but I was going to reply to
> the other one (basically there's a better way to try to close the device
> add/host remove race using the host state model).
>
> Let me complete the SCSI process and I'll take them through the scsi-rc-
> fixes tree.

Well, I think the symptoms are racing scsi_remove_host() calls and the
solution is to enforce the state model on removal (as in if the host is
already in the remove state, don't try to remove it again).

Could you try the patch here:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112613077011571

And see if it will fix the problem?

James