From nobody Mon Aug 08 20:59:20 2022 X-Original-To: freebsd-users-jp@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 4M1pW12CXZz4Y7gP for ; Mon, 8 Aug 2022 21:00:13 +0000 (UTC) (envelope-from hrs@allbsd.org) Received: from mail.allbsd.org (mx.allbsd.org [131.112.84.68]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.allbsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M1pVz0tbYz3shk for ; Mon, 8 Aug 2022 21:00:10 +0000 (UTC) (envelope-from hrs@allbsd.org) Received: from mail-d.allbsd.org ([IPv6:2400:4051:a743:3c00:58:65ff:fe00:b0b]) (authenticated bits=56) by mail.allbsd.org (8.16.1/8.16.1) with ESMTPSA id 278KxxJW040318 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK) (Client CN "/CN=mail-d.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=R3"); Tue, 9 Aug 2022 06:00:01 +0900 (JST) (envelope-from hrs@allbsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=allbsd.org; s=20190220; t=1659992401; bh=oLh0iSzBIG8FEcA4Toow8fPvX5cH2oM1Y2pkmCeFlpk=; h=Date:To:Cc:From:In-Reply-To:References; b=MTtbROu2FUjMEXkbDQSQWX6wyk4k8jBnXAWF/pIEhWXShIaVYoXS+bzGTVGNznT2X QN/fdwKABOTeEXuDmnNNn3/RNa1DwiT6Foo7sKDqXuDuGxLOD/idLRTzY+zvxCHV/T Mfc2QbcIIsHaovc9chZEq5l9IEBLY52jebR9hXm0= Received: from alph.d.allbsd.org ([IPv6:2400:4051:a743:3c00:5a9c:fcff:fe10:ffc2]) by mail-d.allbsd.org (8.16.1/8.16.1) with ESMTPS id 278Kxsja024249 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 9 Aug 2022 05:59:54 +0900 (JST) (envelope-from hrs@allbsd.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.16.1/8.16.1) with ESMTPA id 278KxqZP024246; Tue, 9 Aug 2022 05:59:54 +0900 (JST) (envelope-from hrs@allbsd.org) Date: Tue, 09 Aug 2022 05:59:20 +0900 (JST) Message-Id: <20220809.055920.888534649866018568.hrs@FreeBSD.org> To: freebsdusersjp@t11i.jp Cc: freebsd-users-jp@freebsd.org Subject: Re: =?iso-2022-jp?B?GyRCNS9GMDt+JEtGQ0RqJE4lRyVQJSQlOSQsRyc8MSQ1JGwkayReGyhC?= =?iso-2022-jp?B?GyRCJEcbKEJ6cG9vbBskQiROGyhCaW0=?= =?iso-2022-jp?B?cG9ydBskQiRyQlQkREp9SyEbKEI=?= From: Hiroki Sato In-Reply-To: <3ed6f837-258e-86a4-eb0d-34d2d453e49a@t11i.jp> References: <3ed6f837-258e-86a4-eb0d-34d2d453e49a@t11i.jp> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 27.2 List-Id: Discussion relevant to FreeBSD communities in Japan List-Archive: https://lists.freebsd.org/archives/freebsd-users-jp List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-users-jp@freebsd.org X-BeenThere: freebsd-users-jp@freebsd.org Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Tue_Aug__9_05_59_20_2022_368)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (mail.allbsd.org [IPv6:2402:3d00:fb5d:8001:0:0:0:41]); Tue, 09 Aug 2022 06:00:01 +0900 (JST) X-Rspamd-Queue-Id: 4M1pVz0tbYz3shk X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=allbsd.org header.s=20190220 header.b=MTtbROu2; dmarc=none; spf=pass (mx1.freebsd.org: domain of hrs@allbsd.org designates 131.112.84.68 as permitted sender) smtp.mailfrom=hrs@allbsd.org X-Spamd-Result: default: False [-5.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[allbsd.org:s=20190220]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MLMMJ_DEST(0.00)[freebsd-users-jp@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[allbsd.org:+]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; FREEFALL_USER(0.00)[hrs]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[allbsd.org]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:9367, ipnet:131.112.0.0/16, country:JP] X-ThisMailContainsUnwantedMimeParts: N ----Security_Multipart(Tue_Aug__9_05_59_20_2022_368)-- Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit 佐藤です。 freebsdusersjp@t11i.jp wrote in <3ed6f837-258e-86a4-eb0d-34d2d453e49a@t11i.jp>: fr> 13.1-RELEASEにおいて、起動時に特定のディスクデバイスが認識されるまで fr> zpoolのimportを待つ方法を探しています。 ... fr> 試しにこのスクリプトを編集し、/dev/ada3 が認識されるまで fr> sleepするようにしたところ、zpoolのimportに成功しました。 /boot/loader.conf に kern.cam.boot_delay="5000" を書くと変わったりするでしょうか。 これを設定すると、起動中にブロックデバイスを認識する段階で、 設定された数字だけ余計に待つようになります。単位は ms で、デフォルトは 0 です。 また、SCSI バスリセットから機器が応答するまでの待ち時間は 別の設定になっていて、次の変数が対応します。 こちらも単位は同じで、デフォルトは 5000 です。 kern.cam.scsi_delay="5000" 認識に時間がかかる機器がある場合は、この 2 つを調整することが多いです。 -- Hiroki ----Security_Multipart(Tue_Aug__9_05_59_20_2022_368)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMcEABMKAC0WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCYvF5KA8caHJzQGFsbGJz ZC5vcmcACgkQ27B9xm8fc39VMQIIqgYPn0BlOOYvsbPAW9t8ucZpj6cCq40idk72 eFdYN4+JsyKGYi+wfb2xGBDjzsJYU03P8RCLymDw2qbtNr/o2OMCCLQe2uthlsUb eIGa/FWc3g3GMuSjctlnzRflW4YwYbQIlkp7jL7o2nkOuPLVqIUmLDkYSJhnohEi 3rebpZbp6rH3 =gsu8 -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Aug__9_05_59_20_2022_368)----