From owner-freebsd-stable@freebsd.org Sun Apr 12 16:30:30 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 20F872C2011 for ; Sun, 12 Apr 2020 16:30:30 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490cg90WQjz4Kn2 for ; Sun, 12 Apr 2020 16:30:28 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id A68DC2089D5; Sun, 12 Apr 2020 16:30:27 +0000 (UTC) From: Stefan Bethke Message-Id: <822985BC-3EB3-4B38-84B1-9F248A76D94E@lassitu.de> Content-Type: multipart/signed; boundary="Apple-Mail=_1E55B1B7-5A90-4C8C-B09F-EF49520714A2"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: make kernel ignore broken SATA disk Date: Sun, 12 Apr 2020 18:30:27 +0200 In-Reply-To: Cc: freebsd-stable To: Eugene Grosbein References: <14aeff4a-9241-20ef-2827-5a5282d08a94@grosbein.net> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 490cg90WQjz4Kn2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of stb@lassitu.de designates 212.12.50.234 as permitted sender) smtp.mailfrom=stb@lassitu.de X-Spamd-Result: default: False [-4.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; DMARC_NA(0.00)[lassitu.de]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[234.50.12.212.list.dnswl.org : 127.0.10.0]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:13135, ipnet:212.12.48.0/21, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.31)[asn: 13135(-1.52), country: DE(-0.02)] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 16:30:30 -0000 --Apple-Mail=_1E55B1B7-5A90-4C8C-B09F-EF49520714A2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 12.04.2020 um 18:29 schrieb Eugene Grosbein : >=20 > 12.04.2020 21:57, Stefan Bethke wrote: >=20 >>>> Is there a way, ideally in the loader, to tell the kernel to ignore = ada1 and/or ahcich5? Or can I force ZFS some other way to ignore the = disk? I do have a spare disk I can use to replace the failed one, but I = can't get the machine into a state where I could even issue the zpool = replace command. >>>=20 >>> It depends on the HDD controller the disk is attached to. What = controller and driver does it have? >>=20 >> This is from an identlical machine without disk issues: >>=20 >> # camcontrol devlist >> at scbus4 target 0 lun 0 = (ada0,pass0) >> at scbus5 target 0 lun 0 = (ada1,pass1) >> at scbus6 target 0 lun 0 = (ada2,pass2) >> at scbus8 target 0 lun 0 (pass3) >> # pciconf -lv >> ... >> ahci0@pci0:0:23:0:class=3D0x010601 card=3D0x088415d9 chip=3D0xa1028086 = rev=3D0x31 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA = Controller [AHCI Mode]' >> class =3D mass storage >> subclass =3D SATA >=20 > And your FreeBSD version? FreeBSD 12.1-STABLE r358833 amd64 Stefan -- Stefan Bethke Fon +49 151 14070811 --Apple-Mail=_1E55B1B7-5A90-4C8C-B09F-EF49520714A2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAl6TQiMACgkQD885WK4W 4sHEwAf8DG0deE1qd5m2D5owxkQpQfauU9IU8RoIBpNMdHPAjmOvVfi103J/w7nk WoFXx+mQqtLRbWy1KhHNgROA2gYBdu0I/zXbAkJyqVtZCmwxYth7jqXgHXUnH+O/ ADwmj1LX03pBH09onePWwXhaHA8kHk1PIcnQFVV9dhdVE8/oZ7iSMqxUYYWjGr5h 9JXaWpp2H8gZBwYL+ehT2lwi1QN8rLvNe7yjowCNLELVmJwga5tKnd47Tco/uJpN 0vbL7ywYxbHvzwS1errqinjwHQuuB5Bc1mHUMwP8VFFAv4xNf3xuzeEptgCqCJ5t 10X72CDSBUkNEhAd7DBE/huwF6rrOw== =6A+R -----END PGP SIGNATURE----- --Apple-Mail=_1E55B1B7-5A90-4C8C-B09F-EF49520714A2--