On 22 June 2016 at 14:24, MJ Ray mjr@phonecoop.coop wrote:
On 16 June 2016 13:16:32 GMT+01:00, Mark Rogers mark@more-solutions.co.uk wrote:
But I'd still like to understand what the messages in syslog mean.
What do you mean what does it mean? ;)
Well at the macro level, is the uSD card rubbish, or is the adapter or USB interface the problem, or are these problems down to something else?
But at the micro level, I am interested to know what part of the system is saying what and which parts of the error are meaningful, in as much as if I see a broadly similar error message in a Google search result, which bits have to match for it to be relevant, etc.
It's trying to read from the SCSI device and getting an error code in reply. More detail than that probably needs me to read the SCSI protocol descriptions and driver source code.
OK, so which bits mean that?
In particular, what does Sense Key mean? ... except that I've just established for myself that this is the SCSI error code (in this case "Hardware Error", right?). Supposition on my part: Add = Additional, where additional info might be included with the error code (sense key) but isn't here? With the next couple of lines indicating where on the device the error occurred?
But then I am thrown by the Buffer I/O error - to me a buffer error implies it's not the media that's at fault but something in the interface between it and the O/S, suggesting that the problem is in the PC hardware (or USB card reader) not the card itself - but now I'm just guessing....
Jun 16 11:43:45 mark-pc kernel: [92204.212656] sd 11:0:0:2: [sdf] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE Jun 16 11:43:45 mark-pc kernel: [92204.212669] sd 11:0:0:2: [sdf] tag#0 Sense Key : Hardware Error [current] Jun 16 11:43:45 mark-pc kernel: [92204.212675] sd 11:0:0:2: [sdf] tag#0 Add. Sense: No additional sense information Jun 16 11:43:45 mark-pc kernel: [92204.212683] sd 11:0:0:2: [sdf] tag#0 CDB: Read(10) 28 00 06 87 47 30 00 00 08 00 Jun 16 11:43:45 mark-pc kernel: [92204.212688] blk_update_request: I/O error, dev sdf, sector 109528880 Jun 16 11:43:45 mark-pc kernel: [92204.212696] Buffer I/O error on dev sdf1, logical block 13690854, async page read