From nobody Sun Apr 9 21:01:05 2023 X-Original-To: scsi@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PvkzQ5xFRz44GPr for ; Sun, 9 Apr 2023 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PvkzQ1n0nz4PKV for ; Sun, 9 Apr 2023 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681074066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FAP9bDM36KsMKcO9tUt6UGVCNrsjEiu3icHf0IOjptM=; b=nx0UFQOcEsoWl+EgjvYqWhKW8R0xwqj+TH2pZdSHtzh9kTV+15w+/JHmSmGutc0SXW6nE8 42NmnQA6Obo+cTiZfXPrCt547ToSzHUc0UjpiBo6YsVEJxMpqAaqyrjCnIqsPHa238Mvhf Iq0uO19aW3JxuaufDyqs2kUo4MrhO8agSK63Rx5khQmc+m+OttgcflTHrYxL6Lfb/ii+D1 u42MBYDgeXKKENVXxMMHZc5YljPPlZzT6/rlQwFWNpSxCG43By+5MASMN7ie9L8cj1+8X/ a1limLPmaw+cevSuCuNk3JX8yhBHNyBVesD7oV9QdirEvTGLuGzo6MK9EOjKAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681074066; a=rsa-sha256; cv=none; b=tMnYobpzhXUjfjdnBaH2R6Iuk53PLwR9j9TTacEgyy4oHawMJtgGth+loWWa2vsmuGPbc6 X60ZN/ga2bj0ZRlkzOsg8vxxm+rII2R4rK0IRT2KpMVmAgY4fN+ire4wwIFZrggrC4zmIN Dd4vdAYEFALsCA7FTVjSVZOiXVAAy9bm30Z6LkkZnbZvHW2MMUU+081wpv9sR5E69Fgxx3 sgjIORNFA/AM/uYc8ihfl6RqY2cjnvPwZGniY/QWfEWeXxLXdEDADiv3bAz3r8sDGMQbhB 4zUZ8K/FI/yLNwPhDZUQrIq8wMSJCvCxjfZBF+Z5ScdtAnyERFYiwgi0oZ4bxg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PvkzQ0QnQzNWy for ; Sun, 9 Apr 2023 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 339L15HZ084191 for ; Sun, 9 Apr 2023 21:01:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 339L15rK084189 for scsi@FreeBSD.org; Sun, 9 Apr 2023 21:01:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202304092101.339L15rK084189@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: scsi@FreeBSD.org Subject: Problem reports for scsi@FreeBSD.org that need special attention Date: Sun, 9 Apr 2023 21:01:05 +0000 List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16810740658.d746deF.76548" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16810740658.d746deF.76548 Date: Sun, 9 Apr 2023 21:01:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 221952 | cam iosched: Fix trim statistics 1 problems total for which you should take action. --16810740658.d746deF.76548 Date: Sun, 9 Apr 2023 21:01:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    221952 | cam iosched: Fix trim statistics

1 problems total for which you should take action.
--16810740658.d746deF.76548-- From nobody Sun Apr 16 01:48:08 2023 X-Original-To: freebsd-scsi@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PzY466VRGz45W98 for ; Sun, 16 Apr 2023 01:48:22 +0000 (UTC) (envelope-from mark@legios.org) Received: from ipmail03.adl2.internode.on.net (ipmail03.adl2.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4PzY456CdBz4TTJ for ; Sun, 16 Apr 2023 01:48:21 +0000 (UTC) (envelope-from mark@legios.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 150.101.137.141 is neither permitted nor denied by domain of mark@legios.org) smtp.mailfrom=mark@legios.org; dmarc=none X-IPAS-Result: =?us-ascii?q?A2AkAABfUztk/7N+pztaHAEBAQEBAQcBARIBAQQEAQFAC?= =?us-ascii?q?YEyBwEBCwGJTogeiRKBFoMdmSyBfg8BEUQEAQGKQyc0CQ4BAgQBAQEBAwIDA?= =?us-ascii?q?QEBAQEBAwEBBgEBAQEBAQYEgR2FL0aGLRV2AiYCaQMIAQGCeoJdrieBMoEBh?= =?us-ascii?q?HOaaYFngRQtAYxLhTGCDYEVJ4JMhSKDc4JnBIIbjmQniSyBNHaBIA6BPIEEA?= =?us-ascii?q?gkCEWuBEAhqgXlAAg1kCw5vgUmDKgQCFEQOHSUEDgMZKx1AAgELdT81CQsgB?= =?us-ascii?q?lZrAiwREwUDCxUqRwQIOAZPEQIIDxIPLEQMQjczEwaBBgsOEQNOgUcEggpRn?= =?us-ascii?q?i4BLAFFIDcCIQmBO4E4OgOObIM8B451gTSCFp5UhAiBWZ8ZBg8EL4FGlU8Ik?= =?us-ascii?q?iWXd5lWiFyFbYFjghUzGggoCIMjURkPjikDFpNbgSACBwsBAQMJi0UBAQ?= IronPort-Data: A9a23:qVU/sqmIJJKFVAqkeNupgB7o5gz5JkRdPkR7XQ2eYbSJt1+Wr1Gzt xJOUW2CafeINzOgKd8jPti+8UpUsJfVztI3SFNr/iBmEytG9pCYX4vFJUqhZi7MJJCbRhI44 p5AMYDNcstuRC7Sjxr8abKJQVtUjPHQHOCgYALn1oGdYSc+FU/NXDo6w7ZRbrZA2IT/WUXX0 T/Li5W3EEe/3DJpOX4j5auGqRd+1Nz/ozpwUmYWPJingXeH/5UrJMJHTU2OByOQrrl8RoaSW +vFxbelyWLVlz9F5gSNz94X2mVTKlLjFVDmZkh+AsBOsTAezsAG6ZvXAdJHAathZ5RlqPgqo DlFncTYpQ7EpcQgksxFO/VTO3kW0aGrZNYrLFDn2fF/wXEqfFP+5dN/A2IUFLcXoN5nDH1Fy PYpD2k0O0Xra+KemNpXS8F0ntx+fYyyYtxa4ys+iGiGXLA9XZnfQq6M5NlE0S02gcxDW/HYI cwUdVKDbjydMlsWZAhRUchg2r731xETcBUBwL6Rja8++Wv7yAF+0b/2dt3PdbRmQO0PzhbD/ DiaojuR7hcyd4XExxSA0zGX2O73liLEaa85Lr+0+as/6LGU7jxOUkRIPbehmtG3kEOzUclTb lcf4SsGo7I/+UawQp/6RRLQnZKflgYEQ4cBVrRkt0TUkPSRulnIQHMYRyJAY5onstM7Xzot2 lLPmNWvAzFz2FGIdZ6D3qWyiyK9Ggo8F2BYXT8JUQA46ejE+bhm23ojUe1f/L6JYszdQG+gm mzR/XVv293/nuZOjPrrpA2W6964jsGVEl9ruFS/sneNt1sRWWKzW2C/wXHmhRqqBKOUSlOGo WIClqByB8hVVcnV/MBhaNsMF62u/feMWAAwYGKD/LF7r1xBA1b5IehtDMhWfS+E8q8sIFcFm nP7twJL/4N0N3C3d6JxaI/ZI510nfG9RY+5DKGMNYQmjn1NmOmvoXsGiam4gjGFraTQufhvU XtmWZ/3VClBUv8PIMSeHLdGjdfHORzSNUuDGMqikXxLIJKfZXiYVf8BMV6Pcu01hJ5oUy2Lm +uy9qKilX1ibQEJSnWOodRCcwpTfSZT6FKfg5U/S9Nv6zFOQAkJY8I9C5t/E2C5t8y5Ttv1w 0w= IronPort-HdrOrdr: A9a23:UOepfKzXP52z/jBr4mEAKrPwFL1zdoMgy1knxilNoG9uA6+lfq eV7ZImPH7P+VEssR4b9+xoVJPwJE80lqQV3WByB9iftWDd0QPCRu1fBODZslnd8kPFh4xgPO tbE5RWOZnbCFh3itu/yAS0CL8breW6zA== X-Talos-CUID: =?us-ascii?q?9a23=3A3eOqQmoivCfGxK83KVEtRw7mUdIDVGzS71X5GUD?= =?us-ascii?q?iMXZkVLaoQ263oZoxxg=3D=3D?= X-Talos-MUID: 9a23:Ql7bWgVqgdrbeGrq/Hy13z9MMeYr2PqvMEsMrqQrkPOGOSMlbg== X-IronPort-Anti-Spam-Filtered: true Received: from ppp59-167-126-179.static.internode.on.net ([59.167.126.179]) by ipmail03.adl2.internode.on.net with ESMTP; 16 Apr 2023 11:18:11 +0930 Received: from localhost (unknown [192.168.1.41]) by ppp59-167-126-179.static.internode.on.net (Postfix) with ESMTP id 91620FEFAF for ; Sun, 16 Apr 2023 11:48:09 +1000 (AEST) Received: from ppp59-167-126-179.static.internode.on.net ([192.168.1.41]) by localhost (mail.legios.org [192.168.1.41]) (maiad, port 10024) with ESMTP id 98186-10 for ; Sun, 16 Apr 2023 11:48:09 +1000 (AEST) X-Client-Addr: 192.168.20.1 Received: from [192.168.20.1] (unknown [192.168.20.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: mark@legios.org) by ppp59-167-126-179.static.internode.on.net (Postfix) with ESMTPSA id 7944CFF01F for ; Sun, 16 Apr 2023 11:48:09 +1000 (AEST) Message-ID: <2fe7e04a-3c6e-8ec4-a508-2e4ab4eb89e0@legios.org> Date: Sun, 16 Apr 2023 11:48:08 +1000 List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: freebsd-scsi@FreeBSD.org From: Mark Gladman Subject: "LA check failed" with decommissioned 6TB Samsung "Enterprise Capacity" drives Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.62 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; NEURAL_HAM_LONG(-0.89)[-0.894]; NEURAL_HAM_SHORT(-0.81)[-0.805]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[150.101.137.141:from]; RCVD_NO_TLS_LAST(0.10)[]; RWL_MAILSPIKE_GOOD(-0.10)[150.101.137.141:from]; ASN(0.00)[asn:4739, ipnet:150.101.137.0/24, country:AU]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-scsi@freebsd.org]; DMARC_NA(0.00)[legios.org]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_SOFTFAIL(0.00)[~all]; FREEFALL_USER(0.00)[mark]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-scsi@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PzY456CdBz4TTJ X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N Hey all, My first time posting so I hope I've done everything right..! I recently got some 6TB "Enterprise Capacity" Samsung SAS (They're marked 'Enterprise Capacity 2.5 HDD v4') drives pulled from some devices from work that have been decommissioned and I've been trying to set them up on my home server. I have an SAS9211-8i controller with a SATA/SAS backplane that they're connected to. I'm getting these errors (it's the same for all of them but just showing one for brevity): dmesg da3 at mps0 bus 0 scbus0 target 11 lun 0 da3: Fixed Direct Access SPC-3 SCSI device da3: Serial Number Z4D47M960000R630UXCC da3: 600.000MB/s transfers da3: Command Queueing enabled da3: 5723166MB (11721045168 512 byte sectors) (da3:mps0:0:11:0): WRITE(6). CDB: 0a 00 00 00 01 00 (da3:mps0:0:11:0): CAM status: SCSI Status Error (da3:mps0:0:11:0): SCSI status: Check Condition (da3:mps0:0:11:0): SCSI sense: HARDWARE FAILURE asc:81,0 (LA Check Failed) (da3:mps0:0:11:0): Info: 0 (da3:mps0:0:11:0): Command Specific Info: 0 When I attempt to add anything via gpart it throws: gpart: Input/output error and triggers more of the SCSI status errors (identical to what's above) I can see it's connected to the SAS controller properly (it's 5000c500852f6575 below): mpsutil show all Adapter: mps0 Adapter: Board Name: SAS9211-8i Board Assembly: Chip Name: LSISAS2008 Chip Revision: ALL BIOS Revision: 7.39.02.00 Firmware Revision: 20.00.07.00 Integrated RAID: no SATA NCQ: ENABLED PCIe Width/Speed: x8 (5.0 GB/sec) IOC Speed: Full Temperature: Unknown/Unsupported PhyNum CtlrHandle DevHandle Disabled Speed Min Max Device 0 0001 0009 N 6.0 1.5 6.0 SAS Initiator 1 0002 000a N 3.0 1.5 6.0 SAS Initiator 2 N 1.5 6.0 SAS Initiator 3 N 1.5 6.0 SAS Initiator 4 0005 000d N 6.0 1.5 6.0 SAS Initiator 5 0004 000c N 3.0 1.5 6.0 SAS Initiator 6 N 1.5 6.0 SAS Initiator 7 0003 000b N 3.0 1.5 6.0 SAS Initiator Devices: B____T SAS Address Handle Parent Device Speed Enc Slot Wdt 00 04 4433221100000000 0009 0001 SATA Target 6.0 0001 03 1 00 05 4433221101000000 000a 0002 SATA Target 3.0 0001 02 1 00 08 4433221107000000 000b 0003 SATA Target 3.0 0001 04 1 00 10 4433221105000000 000c 0004 SATA Target 3.0 0001 06 1 00 11 5000c500852f6575 000d 0005 SAS Target 6.0 0001 07 1 Enclosures: Slots Logical ID SEPHandle EncHandle Type 08 500605b007f41c80 0001 Direct Attached SGPIO I did some searching and some suggested they might've been set to 520 byte sectors if they came from a NetApp device but I can confirm they're not (or I believe what's reported below is confirming it) diskinfo -v /dev/da3 /dev/da3 512 # sectorsize 6001175126016 # mediasize in bytes (5.5T) 11721045168 # mediasize in sectors 4096 # stripesize 0 # stripeoffset 729601 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. SEAGATE DKS2F-H6R0SS # Disk descr. Z4D47M960000R630UXCC # Disk ident. mps0 # Attachment No # TRIM/UNMAP support 7200 # Rotation rate in RPM Not_Zoned # Zone Mode I've been able to find very little info on the specific error "LA Check Failed". I looked a /usr/src/sys/cam/scsi/scsi_all.c and honestly that doesn't help me at all (I'll admit I'm more 'admin' than 'developer' too) and it appears to be a Seagate specific error but otherwise I'm lost. Any help would be most appreciated! Thank you! Mark From nobody Sun Apr 16 21:01:06 2023 X-Original-To: scsi@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q02fC1zZXz45xSX for ; Sun, 16 Apr 2023 21:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q02fB69JTz47y6 for ; Sun, 16 Apr 2023 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681678866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gluq/St6oDDqxkHT/vUhvuTDJvPgbQGQpC+8nCESUJo=; b=N4hdGzJYOUXjvBIb3g7cZE5svlyFBHX8nDRx0v+tBuljBBWT9PxThwf7sO+gyv1sB7/fs5 4OakE2qt2FP2Pml0gw/Hufqq3NzEtPkQaalpegN010gleRTq6r31XIur2tiK5seVVkYt3s 1/EIt0wCYAU0O1zlU7MOS0QhA589EE4SHYuqmatFPb50Tw35mqcm6xu7ks241jvnAj0X5w JVuTfte1mT0GZaVMBc7PXM8D8p8fAzshkCD3WNdLfDKiRwL9jcNBqlV+lN1QGkQkqwpeS0 nXglGGFxo1mf8QLdL3Ol6Msv2X9eMGGyZQ8t92Ktp74iUpM/EG4LsIID17GwQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681678866; a=rsa-sha256; cv=none; b=Ph2mCV8+rCjFlTVmD6vAcjY8EPkyGH8t5KsZkC58RU6TuDCEvrtDNLFRlURE9N0g2tCGSN TzKxcE5Otqf0TKSfjf1ZbXvAPyEZH6LJzxnuSqU0SU+EWZXq6QNalBw19IuvvVLp15+STY h9JDMD9n/GSy+rN00hGXKbQ3i/nnC9Eusnli7TPNhv1I/lyItlydKLoy+9H2s7yBL6GbNK a4je1k2Gayg3rkIBVnUlkCcZC+b2ufnER7zgRhmejskvRCJTkEpL9ZtQoQ5fWbf08PCTV/ iFL/zJGlKZSdbKxuhQelrS0Rt2LhlqXHmEzKA25JzsWIXDEdA+qrVnU29/EhFw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q02fB510mz12hM for ; Sun, 16 Apr 2023 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33GL16P6097365 for ; Sun, 16 Apr 2023 21:01:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33GL16xU097364 for scsi@FreeBSD.org; Sun, 16 Apr 2023 21:01:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202304162101.33GL16xU097364@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: scsi@FreeBSD.org Subject: Problem reports for scsi@FreeBSD.org that need special attention Date: Sun, 16 Apr 2023 21:01:06 +0000 List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16816788663.Fed070F7.92183" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16816788663.Fed070F7.92183 Date: Sun, 16 Apr 2023 21:01:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 221952 | cam iosched: Fix trim statistics 1 problems total for which you should take action. --16816788663.Fed070F7.92183 Date: Sun, 16 Apr 2023 21:01:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    221952 | cam iosched: Fix trim statistics

1 problems total for which you should take action.
--16816788663.Fed070F7.92183-- From nobody Fri Apr 21 20:49:04 2023 X-Original-To: freebsd-scsi@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q368D0Pk0z46sfH for ; Fri, 21 Apr 2023 20:49:16 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mithlond.kdm.org", Issuer "mithlond.kdm.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q368B4x65z3jR7 for ; Fri, 21 Apr 2023 20:49:14 +0000 (UTC) (envelope-from ken@kdm.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of ken@kdm.org designates 96.89.93.250 as permitted sender) smtp.mailfrom=ken@kdm.org; dmarc=none Received: from mithlond.kdm.org (localhost [127.0.0.1]) by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id 33LKn4rj065978 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Apr 2023 16:49:04 -0400 (EDT) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.15.2/Submit) id 33LKn4kw065977; Fri, 21 Apr 2023 16:49:04 -0400 (EDT) (envelope-from ken) Date: Fri, 21 Apr 2023 16:49:04 -0400 From: "Kenneth D. Merry" To: Mark Gladman Cc: freebsd-scsi@FreeBSD.org Subject: Re: "LA check failed" with decommissioned 6TB Samsung "Enterprise Capacity" drives Message-ID: <20230421204903.GA65834@mithlond.kdm.org> References: <2fe7e04a-3c6e-8ec4-a508-2e4ab4eb89e0@legios.org> List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2fe7e04a-3c6e-8ec4-a508-2e4ab4eb89e0@legios.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mithlond.kdm.org [127.0.0.1]); Fri, 21 Apr 2023 16:49:04 -0400 (EDT) X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org X-Spamd-Result: default: False [1.29 / 15.00]; NEURAL_SPAM_MEDIUM(0.97)[0.974]; NEURAL_SPAM_LONG(0.59)[0.592]; FORGED_SENDER(0.30)[ken@FreeBSD.ORG,ken@kdm.org]; NEURAL_HAM_SHORT(-0.27)[-0.273]; R_SPF_ALLOW(-0.20)[+a:mithlond.kdm.org]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-scsi@FreeBSD.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; FREEFALL_USER(0.00)[ken]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ken@FreeBSD.ORG,ken@kdm.org] X-Rspamd-Queue-Id: 4Q368B4x65z3jR7 X-Spamd-Bar: + X-ThisMailContainsUnwantedMimeParts: N On Sun, Apr 16, 2023 at 11:48:08 +1000, Mark Gladman wrote: > Hey all, > > My first time posting so I hope I've done everything right..! > > I recently got some 6TB "Enterprise Capacity" Samsung SAS (They're > marked 'Enterprise Capacity 2.5 HDD v4') drives pulled from some devices > from work that have been decommissioned and I've been trying to set them > up on my home server. > I have an SAS9211-8i controller with a SATA/SAS backplane that they're > connected to. > > I'm getting these errors (it's the same for all of them but just showing > one for brevity): > > dmesg > da3 at mps0 bus 0 scbus0 target 11 lun 0 > da3: Fixed Direct Access SPC-3 SCSI device > da3: Serial Number Z4D47M960000R630UXCC > da3: 600.000MB/s transfers > da3: Command Queueing enabled > da3: 5723166MB (11721045168 512 byte sectors) > (da3:mps0:0:11:0): WRITE(6). CDB: 0a 00 00 00 01 00 > (da3:mps0:0:11:0): CAM status: SCSI Status Error > (da3:mps0:0:11:0): SCSI status: Check Condition > (da3:mps0:0:11:0): SCSI sense: HARDWARE FAILURE asc:81,0 (LA Check Failed) > (da3:mps0:0:11:0): Info: 0 > (da3:mps0:0:11:0): Command Specific Info: 0 Hmm, not sure what LA Check means, perhaps logical address. > When I attempt to add anything via gpart it throws: > gpart: Input/output error > > and triggers more of the SCSI status errors (identical to what's above) > > I can see it's connected to the SAS controller properly (it's > 5000c500852f6575 below): > > mpsutil show all > Adapter: > mps0 Adapter: > Board Name: SAS9211-8i > Board Assembly: > Chip Name: LSISAS2008 > Chip Revision: ALL > BIOS Revision: 7.39.02.00 > Firmware Revision: 20.00.07.00 > Integrated RAID: no > SATA NCQ: ENABLED > PCIe Width/Speed: x8 (5.0 GB/sec) > IOC Speed: Full > Temperature: Unknown/Unsupported > > PhyNum CtlrHandle DevHandle Disabled Speed Min Max Device > 0 0001 0009 N 6.0 1.5 6.0 SAS Initiator > 1 0002 000a N 3.0 1.5 6.0 SAS Initiator > 2 N 1.5 6.0 SAS Initiator > 3 N 1.5 6.0 SAS Initiator > 4 0005 000d N 6.0 1.5 6.0 SAS Initiator > 5 0004 000c N 3.0 1.5 6.0 SAS Initiator > 6 N 1.5 6.0 SAS Initiator > 7 0003 000b N 3.0 1.5 6.0 SAS Initiator > > Devices: > B____T SAS Address Handle Parent Device Speed Enc > Slot Wdt > 00 04 4433221100000000 0009 0001 SATA Target 6.0 0001 03 > 1 > 00 05 4433221101000000 000a 0002 SATA Target 3.0 0001 02 > 1 > 00 08 4433221107000000 000b 0003 SATA Target 3.0 0001 04 > 1 > 00 10 4433221105000000 000c 0004 SATA Target 3.0 0001 06 > 1 > 00 11 5000c500852f6575 000d 0005 SAS Target 6.0 0001 07 > 1 > > Enclosures: > Slots Logical ID SEPHandle EncHandle Type > 08 500605b007f41c80 0001 Direct Attached SGPIO > > > I did some searching and some suggested they might've been set to 520 > byte sectors if they came from a NetApp device but I can confirm they're > not (or I believe what's reported below is confirming it) > > diskinfo -v /dev/da3 > /dev/da3 > 512 # sectorsize > 6001175126016 # mediasize in bytes (5.5T) > 11721045168 # mediasize in sectors > 4096 # stripesize > 0 # stripeoffset > 729601 # Cylinders according to firmware. > 255 # Heads according to firmware. > 63 # Sectors according to firmware. > SEAGATE DKS2F-H6R0SS # Disk descr. > Z4D47M960000R630UXCC # Disk ident. > mps0 # Attachment > No # TRIM/UNMAP support > 7200 # Rotation rate in RPM > Not_Zoned # Zone Mode Yep, you've got 512 byte sectors, so that isn't the problem. > I've been able to find very little info on the specific error "LA Check > Failed". I looked a /usr/src/sys/cam/scsi/scsi_all.c and honestly that > doesn't help me at all (I'll admit I'm more 'admin' than 'developer' > too) and it appears to be a Seagate specific error but otherwise I'm lost. > > Any help would be most appreciated! Well, one thing to try, since you can't write to it anyway, is formatting it. You can do it with camcontrol format or if you install sg3_utils you can do it with sg_format. If that doesn't work, you can try getting the log pages and smart data off the drive to see if there is anything interesting. If you install sg3_utils, you can do: sg_logs -a /dev/da3 And if you install smartmontools: smartctl -a /dev/da3 Those might give you a hint about what is going on. Ken -- Kenneth Merry ken@FreeBSD.ORG