Re: BUG: CD driver sends command during host removal

Mike Anderson
2004-09-29T17:10:25Z

Alan Stern [stern@rowland.harvard.edu] wrote:
> On Wed, 29 Sep 2004, Luben Tuikov wrote:
>
> > > Next usb-storage called scsi_remove_host(). Apparently this caused some
> > > component of the CD driver to queue a command:
>
> This sounds like a bug, by the way. Commands shouldn't be queued because
> of a call to scsi_remove_host!
>

There was a reordering in the scsi_remove_host by me that may be causing
your problem. Ths change was to allow devices to receive there
SYNCRHONIZE_CACHE commands on rmmod.

You can see part of the thread here.

http://marc.theaimsgroup.com/?t=108701426000002&r=1&w=2

-andmike
--
Michael Anderson
andmike@us.ibm.com