3 things:
- You don’t report check condition on some scsi commands including inquiry.
- Are you correctly forming the check condition? Run a bus analyzer and see if your check condition shows up.
- As windows is automatically flushing the volume and signaling this by going into the allow media removal state then why do anything else other than wait for this graceful state.