From nobody Fri Dec 8 00:07:39 2023 X-Original-To: freebsd-current@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 4SmWgF423Zz53rFM for ; Fri, 8 Dec 2023 00:07:53 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SmWgD4fPTz4BCD for ; Fri, 8 Dec 2023 00:07:52 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1d04c097e34so12588495ad.0 for ; Thu, 07 Dec 2023 16:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1701994071; x=1702598871; darn=freebsd.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=m930/4sQ4Ccoomm8xO5S6vefcZGatith/TVLHR1dHgQ=; b=crHXtvwG4Qxargs8PxEpH8ikwTYotEo8cjVgd9qXV2XogJZXm9OyK+s3/UWTjfNgU9 WFym+1zwbt5d0T0auHne7rpwgNFaVAYSmUqT5gNkZcJI7mkwNgIHUeTfbPXh6KvUjRTU PZWazKzqVtgarsNiYh8SONcblsXi0g2NLXfSRnzb6t6TeR9hGnyxRUmAZLDpIaPvTe3K MGOEx9mY4BlJAX93RjS4Nuui8MRwSSj2L8W6otVIFQ1bUYa04qPT+oQSQa0uUQjvV7Py TnPZzTOZHXBbJvZ9gMtMgVhYSBXB26kjvg+Y0n9mkcjg5E2hJVb0R7WQRML20uijxjd4 /90Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701994071; x=1702598871; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m930/4sQ4Ccoomm8xO5S6vefcZGatith/TVLHR1dHgQ=; b=Jv6f1bNowRmklOrwFWz4rZFKTMaxcCWjdS0QDoAnbjGXtWGe1JlKCJ0xwvKmfnCivv JoIbRWAx+pUNEfczhCf5YDDrMUJLyb6uCGdoohg0506sC+wvweku9nKi4bsE5Vbcnp1r FzTpmzE93rZzJSzWhRhPoyX1IPiNfFmX1KQfQcbT1kng/tBVCXPrVa5ipK99cv/hiUVb KZf/RmqPho14EtMTJlB0BMA8Fr8p/3mWk03AJcORCGKmCpSpzqN/p1xPTwV+6H+nGkH1 wYiMlmQKHfIIOUNL9WBuhUhTnY6rZLfXUCRlgICtSHe7lmH8kCrCmOxsZNSlpGJnaEVU VZvA== X-Gm-Message-State: AOJu0Yy7G/C5pv+laZxK7F0FVvQGotFAaLxyfZIvRAaSJ5IZNWnppNt3 ygtO7+6uYSfOlM5mniEcQO4AxQ== X-Google-Smtp-Source: AGHT+IET6aOwL/y7EuYhun6rSdBzQksBIohAlV86KmK9/P96T0vp+SXz6ibs3ZK/zttkvtS4ujR5CQ== X-Received: by 2002:a17:902:d342:b0:1cf:fc91:e4d0 with SMTP id l2-20020a170902d34200b001cffc91e4d0mr68769plk.16.1701994071005; Thu, 07 Dec 2023 16:07:51 -0800 (PST) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id q19-20020a170902bd9300b001cc2ebd2c2csm384426pls.256.2023.12.07.16.07.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2023 16:07:50 -0800 (PST) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: nvme timeout issues with hardware and bhyve vm's From: Bakul Shah In-Reply-To: Date: Thu, 7 Dec 2023 16:07:39 -0800 Cc: Tomoaki AOKI , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <10FD2FC6-1F39-4F7D-8BA8-976ADC0AE37A@iitbombay.org> References: <90d3e532-8ea7-4eea-8e31-8c363285a156@nomadlogic.org> <0ad493d5-1c1e-4370-977a-118f46ebd677@nomadlogic.org> <0c4f8149-89dd-4635-a5ed-4766fffd2553@nomadlogic.org> <20231208080929.cfd9fca421fea81d89d2380b@dec.sakura.ne.jp> To: Warner Losh X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SmWgD4fPTz4BCD On Dec 7, 2023, at 3:59=E2=80=AFPM, Warner Losh wrote: >=20 >=20 > *Overheating caused hang of NVMe controller or PCI bridge on SSD, or >=20 > Yes. Most drive's firmware when it overheats resets. There might be = something > that the pci code can do when this happens to retrain the link, = reprogram the > config registers, etc. How quickly can the device heat up? Can it be queried frequently enough act before it overheats by throttling io?