On Fri, Apr 10, 2009 at 07:42:47PM +0200, Borislav Petkov wrote: > (moving discussion to mail and adding Bart to CC) > > (In reply to comment #24) > > (In reply to comment #20) > > > Hmm, seems like the buffer is quite botched or the drive replies with some mode > > > parameter headers I cannot correlate. > > > > If you mean this line: > > > > [ 42.272638] caps: 70 0 6 0 0 0 0 a 0 0 0 0 29 0 0 0 0 0 0 0 0 0 0 0 > > > > > > this is the extended sense data with its characteristic 1st byte of 0x70, > > 8-byte header with sense key UNIT ATTENTION, 10 bytes of additinal length and > > ASC of 0x29 meaning "reset hs occured". > > Haa, thanks for catching that, although the QIC157d document I'm staring > at here states that the drive might return sense data instead of the > requested page, it seems that we don't get any CHECK CONDITION status > otherwise ide_pc_intr would've caught it (stat & ATA_ERR) and retried > the command. > > Now, without having tested it since I don't have the hardware, would > something in the lines below be a sensible kludge for now? I guess we > should have similar error handling for the other MODE SENSE call sites > and propagate some error status from idetape_get_mode_sense_results() > upwards to idetape_setup()? Yeah, I know, the driver needs a lot of > massaging in order even to start looking ok... :) This time with the dmesg attached. -- Regards, Mark de Wever