Date: Tue, 18 Aug 2015 10:36:29 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 191717] [isci] smartctl -H gives "ATA output registers missing" for a disk using the isci driver Message-ID: <bug-191717-5312-VAjcgTqWVt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191717-5312@https.bugs.freebsd.org/bugzilla/> References: <bug-191717-5312@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191717 martin@lispworks.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #154205|0 |1 is obsolete| | --- Comment #7 from martin@lispworks.com --- Created attachment 159976 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159976&action=edit Patch to set byte 7 (ADDITIONAL SENSE LENGTH) of fixed format sense data Here is a new patch that fixes the kernel to work with smartctl. It also allows camcontrol to report the correct error when trying to eject the fixed disk with camcontrol eject 0:0:0 -v. This patch does two things: 1) Sets the correct value for byte 7 (ADDITIONAL SENSE LENGTH) of the fixed format sense data in sati_scsi_fixed_sense_data_construct and sati_scsi_common_fixed_sense_construct. 2) Sets the lba fields correctly for the ATA PASS-THROUGH response in sati_passthrough_construct_sense (the bytes were in the wrong order). This is needed for smartctl. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191717-5312-VAjcgTqWVt>