Menu

#47 Fix error code handling on some JMicron USB to (S)ATA bridges

Unstable (example)
closed-fixed
nobody
None
5
2018-02-04
2018-02-03
Jan Friesse
No

I've got report from hdparm user that JMicron patch merged during 9.51 made his JMicron based USB-SATA enclosure not work with hdparm (when running hdparm -I).

After we've exchanged few emails, I was able to identify main problem.

It looks like some JMicron chipsets don't have support for gettng full ATA status/errors and when asking them for this information, it returns SG_IO error.

Because having full ATA status is not strictly needed, I've prepared patch which deletes problematic code.

1 Attachments

Discussion

  • Mark Lord

    Mark Lord - 2018-02-03
    • status: open --> closed-fixed
     
  • Jan Friesse

    Jan Friesse - 2018-02-04

    @Mark: Thank you for super quick merging of the patch.

     

Log in to post a comment.