Re: [PATCH] JMicron JM20337 USB-SATA data corruption bugfix - device 152d:2338

From: Thiago Galesi
Date: Tue Sep 02 2008 - 16:16:37 EST


Hello

>
> I can't tell exactly what's happening, but your device is sending back
> a lot of error messages (Not Ready - Medium not present). Maybe it
> doesn't recognize the type of disc you have loaded. Also, there appears to be some program querying the state of your
> device 7 or 8 times every two seconds.

Ok, I suspect what this may be, and I'll disable it, hopefully
producing a cleaner log.

> However what finally caused the failure was a command (0xAC) which I
> don't recognize and apparently your drive doesn't recognize either.

Is this it? dfbb5d80 1845367929 C Bi:6:002:1 0 13 = 55534253 acc90100
00000000 00

Any idea who may be sending this? I mean, can this be send via a
simple IOCTL to /dev/sr0 or it is something else?
Maybe stracing the program would be a good idea.

If I were to place a trace inside a driver, were would it be better?
sr_mod, sd_mod, usb-storage, cdrom? or somewhere else?

Thank you

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