{"push_id":1554518281,"size":4,"distinct_size":1,"ref":"refs/heads/hardened/11-stable/master-libressl","head":"c372eab0de625b3e3b6c0442549ae83282436fea","before":"0fe05acb745b26f9ac16574bc4e79e18f7678f44","commits":[{"sha":"7f640009ffe88e642c712ff3c88a8d57c1d26959","author":{"name":"ae","email":"86fee75ad09420a61287a2f26fac0863ae7ee205@FreeBSD.org"},"message":"MFC r313185:\n  Check that primary GPT header is valid before wiping partitioning.\n\n  This allows safely destroy corrupted GPT when primary header was\n  rewritten by some data, that do not want to destroy.","distinct":false,"url":"https://api.github.com/repos/HardenedBSD/hardenedBSD/commits/7f640009ffe88e642c712ff3c88a8d57c1d26959"},{"sha":"27ded97c65a4e0c3733e0be9e34e3df2fd10d43f","author":{"name":"ken","email":"3200f537deaadd80eacef9cad73e33fd07e4d1af@FreeBSD.org"},"message":"MFC r313568:\n\n  ------------------------------------------------------------------------\n  r313568 | ken | 2017-02-10 15:02:45 -0700 (Fri, 10 Feb 2017) | 68 lines\n\n  Change the isp(4) driver to not adjust the tag type for REQUEST SENSE.\n\n  The isp(4) driver was changing the tag type for REQUEST SENSE\n  commands to Head of Queue, when the CAM CCB flag\n  CAM_TAG_ACTION_VALID was NOT set.  CAM_TAG_ACTION_VALID is set\n  when the tag action in the XPT_SCSI_IO is not CAM_TAG_ACTION_NONE\n  and when the target has tagged queueing turned on.\n\n  In most cases when CAM_TAG_ACTION_VALID is not set, it is because\n  the target is not doing tagged queueing.  In those cases, trying to\n  send a Head of Queue tag may cause problems.  Instead, default to\n  sending a simple tag.\n\n  IBM tape drives claim to support tagged queueing in their standard\n  Inquiry data, but have the DQue bit set in the control mode page\n  (mode page 10).  CAM correctly detects that these drives do not\n  support tagged queueing, and clears the CAM_TAG_ACTION_VALID flag\n  on CCBs sent down to the drives.\n\n  This caused the isp(4) driver to go down the path of setting the\n  tag action to a default value, and for Request Sense commands only,\n  set the tag action to Head of Queue.\n\n  If an IBM tape drive does get a Head of Queue tag, it rejects it with\n  Invalid Message Error (0x49,0x00).  (The Qlogic firmware translates that\n  to a Transport Error, which the driver translates to an Unrecoverable\n  HBA Error, or CAM_UNREC_HBA_ERROR.) So, by default, it wasn't possible\n  to get a good response from a REQUEST SENSE to an FC-attached IBM\n  tape drive with the isp(4) driver.\n\n  IBM tape drives (tested on an LTO-5 with G9N1 firmware and a TS1150\n  with 4470 firmware) also have a bug in that sending a command with a\n  non-simple tag attribute breaks the tape drive's Command Reference\n  Number (CRN) accounting and causes it to ignore all subsequent\n  commands because it and the initiator disagree about the next\n  expected CRN.  The drives do reject the initial command with a head\n  of queue tag with an Invalid Message Error (0x49,0x00), but after that\n  they ignore any subsequent commands.  IBM confirmed that it is a bug,\n  and sent me test firmware that fixes the bug.  However tape drives in\n  the field will still exhibit the bug until they are upgraded.\n\n  Request Sense is not often sent to targets because most errors are\n  reported automatically through autosense in Fibre Channel and other\n  modern transports.  (\"Modern\" meaning post SCSI-2.)  So this is not\n  an error that would crop up frequently.  But Request Sense is useful on\n  tape devices to report status information, aside from error reporting.\n\n  This problem is less serious without FC-Tape features turned on,\n  specifically precise delivery of commands (which enables Command\n  Reference Numbers), enabled on the target and initiator.  Without\n  FC-Tape features turned on, the target would return an error and\n  things would continue on.\n\n  And it also does not cause problems for targets that do tagged\n  queueing, because in those cases the isp(4) driver just uses the\n  tag type that is specified in the CCB, assuming the\n  CAM_TAG_ACTION_VALID flag is set, and defaults to sending a Simple\n  tag action if it isn't an ordered or head of queue tag.\n\n  sys/dev/isp/isp.c:\n  \tIn isp_start(), don't try to send Request Sense commands\n  \twith the Head of Queue tag attribute if the CCB doesn't\n  \thave a valid tag action.  The tag action likely isn't valid\n  \tbecause the target doesn't support tagged queueing.\n\n  Sponsored by:\tSpectra Logic\n\n  ------------------------------------------------------------------------","distinct":false,"url":"https://api.github.com/repos/HardenedBSD/hardenedBSD/commits/27ded97c65a4e0c3733e0be9e34e3df2fd10d43f"},{"sha":"ce3fcd6d63ccd140a23b7fa8e9ac559c9334b06f","author":{"name":"Oliver Pinter +","email":"924fd90530ea0369cfaf1274bf61a797817afd0e@hardenedbsd.org"},"message":"Merge branch 'freebsd/11-stable/master' into hardened/11-stable/master","distinct":false,"url":"https://api.github.com/repos/HardenedBSD/hardenedBSD/commits/ce3fcd6d63ccd140a23b7fa8e9ac559c9334b06f"},{"sha":"c372eab0de625b3e3b6c0442549ae83282436fea","author":{"name":"Oliver Pinter +","email":"924fd90530ea0369cfaf1274bf61a797817afd0e@hardenedbsd.org"},"message":"Merge remote-tracking branch 'origin/hardened/11-stable/master' into hardened/11-stable/master-libressl","distinct":true,"url":"https://api.github.com/repos/HardenedBSD/hardenedBSD/commits/c372eab0de625b3e3b6c0442549ae83282436fea"}]}
{"actor":{"display_login":"opntr-auto"}}