From nobody Fri Aug 23 03:51:57 2024 X-Original-To: freebsd-arm@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 4WqmNW01H8z5VBwB for ; Fri, 23 Aug 2024 03:52:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqmNV0LBZz3xdQ for ; Fri, 23 Aug 2024 03:52:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=nUfDA9SK; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1031) smtp.mailfrom=wlosh@bsdimp.com Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2d3e44b4613so1167568a91.3 for ; Thu, 22 Aug 2024 20:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1724385129; x=1724989929; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wwnPXk2aPtKLguySamOgRSlUAJFvdQ+WwzLVwpy1ir0=; b=nUfDA9SKFQ+F6T3q3Snm5GcSovs+0t6gYBfD+FPBtmeiIqnLx8TJa5mvcgfgyzEncI Q/18bR34QeUA2W0YD3JYK6uiteDlfJ25CRR+p0Db57179pmcM/cABH3zIdCN6wlaiKWn 5gP/mCMyy5VoBe7ubu8oXOeinbWUCNXIjhsRekecguxJP4Cu2r3kFJzfosVBHxs+4NKf CYu8y3TvdNlPZ+rjaAZDeL0bbkOz1yq9lCLNa25v6PCIyJWc71R+qw+ruFdt032DBgnc mKvzCbSrhIIeMDhEdl9aoGXx5LYTtVCcxXxmm9HLMS2GoN078OdySa9ZXljfEYc+H/Pb 5hjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724385129; x=1724989929; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wwnPXk2aPtKLguySamOgRSlUAJFvdQ+WwzLVwpy1ir0=; b=J7f9aWqDWC6ozKMKO7ssq3DlSmhLba/EccOb8zKzzhTLvzFH5FE/LSHNI8uxWa/SR+ YKInZjTuHHtJxxAW9TF+ZZ9bIPKW//41e5rGlQIf8/tbhgxeKeG5SMs7sP42uvgPC91P sD/zMVddQzrxKnhUJRPZvH6AHkL2Urw8LSI8HYPJk+ydZxE8CcQq8b0OVOCqKY9wxjXC 9ebSXMV5dA7J1Q6rgtO/7LbuU0skwcXCEIHyjCQX5WV4UrUyVE9I/Ef1nA6rYWFmXINJ g70GX593A1vVaRs8rEDTAiPcwAzOZgAXsNqzIoUjwOumxtMoppHu6xnXZrqp136JzkLF y3ng== X-Forwarded-Encrypted: i=1; AJvYcCWYkH1hB9qIF+h392+BCsrFarK1IrmN1cHOX3A+0p16hRF8uAP2I5/JIGBef5Otm7ArowpeQhctc0RCaA==@freebsd.org X-Gm-Message-State: AOJu0YzA0rV3BWkxfe0YDlpIVBIqxoegfHX6u1I2sVgCQWV+LyHQBaEs 9oDHklQpljX4OuUFBinqrXxporlkUl1+/NudTOOp5UjsKn8QHLdPL1EIyRkQGFgwmxJLrkM2dyu TRCfSdHHlaL1sXBRRv1HdUYIwAtOVRgjFQgM+rg== X-Google-Smtp-Source: AGHT+IFaRX3jdu56UzB0LzDv2P73HbV5tFAuHC4egljUeEOz3Zal8oWiY6t1B1I/qm8H5lnYEceSCV+azlAXdpe+OfA= X-Received: by 2002:a17:90b:1d06:b0:2d3:de40:d767 with SMTP id 98e67ed59e1d1-2d646bf6527mr921346a91.24.1724385128654; Thu, 22 Aug 2024 20:52:08 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <9BE6FB50-27DC-453E-B915-131D45C901CD.ref@yahoo.com> <9BE6FB50-27DC-453E-B915-131D45C901CD@yahoo.com> <1DEED962-C5D8-4B6D-8BC9-870A9BFE1176@fubar.geek.nz> <084E63D4-8A02-4E7B-8C26-152ED0D0317A@fubar.geek.nz> In-Reply-To: From: Warner Losh Date: Thu, 22 Aug 2024 21:51:57 -0600 Message-ID: Subject: Re: FreeBSD OS installation stuck after selecting Boot installer To: "Anantharam, Arjun" Cc: Andrew Turner , Mark Millard , "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="0000000000000cc428062051b37e" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[fubar.geek.nz,yahoo.com,freebsd.org]; RCPT_COUNT_THREE(0.00)[4]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4WqmNV0LBZz3xdQ --0000000000000cc428062051b37e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 20, 2024 at 9:13=E2=80=AFAM Anantharam, Arjun < arjun.anantharam@intel.com> wrote: > Hi, > > "nda0" is the one being used. "nda0" and "nda1" are the nvme drives behin= d > pcie.. > Will try 15.0 and update here.. > I've recently updated the 'recovery' code in nvme. If there's interrupt problems, it will tell you about it in a better way. nvme0 is likely not attaching an nda because there's no namespace defined for it, or we're having trouble querying it. Yet I didn't see any obvious errors I'd expect from that. Warner > Thanks, > Arjun > ------------------------------ > *From:* Andrew Turner > *Sent:* Tuesday, August 20, 2024 4:04 AM > *To:* Anantharam, Arjun > *Cc:* Warner Losh ; Mark Millard ; > freebsd-arm@freebsd.org > *Subject:* Re: FreeBSD OS installation stuck after selecting Boot > installer > > On 2024-08-15 01:02, Anantharam, Arjun wrote: > > Hi Folks, > > > > Another update and was hoping to get some inputs.. > > > > We have an NVMe disk on PCie bus on which i would like to boot > > FreeBSD and install. So, i followed these instructions and i might be > > missing something here. Can you please take a look and provide some > > inputs: > > Which NVMe drive are you using? There appear to be 4 devices: > 1. the nvme driver attaches, but not the nda driver > 2. No driver attaches "pci0: at device 1.7 (no > driver attached)" > 3. Has nvme and nda drivers "nda0: PHAL2200001M3P2GGN>" > 4. Has nvme and nda drivers "nda1: PHAL220000123P2GGN>" > > ... > > > _[root@ipu-acc tmp]# sudo dd > > if=3DFreeBSD-14.1-RELEASE-arm64-aarch64-memstick.img of=3D/dev/nvme0n1 > > bs=3D1M status=3Dprogress_ > > Can you try with a recent 15.0-CURRENT snapshot? It will have extra > debugging enable. e.g. something from > https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/ > > Andrew > --0000000000000cc428062051b37e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Aug 20, 2024 at 9:13=E2=80=AF= AM Anantharam, Arjun <arju= n.anantharam@intel.com> wrote:
Hi,

"nda0" is the one being used. "nda0" and "nda1&quo= t; are the nvme drives behind pcie..
Will try 15.0 and update here..

I've recently updated the 'recovery' code in nvme. If th= ere's interrupt problems, it will tell you about it in a better way.

nvme0 is likely not attaching an nda because there&#= 39;s no namespace defined for it, or we're having trouble querying it.<= /div>
Yet I didn't see any obvious errors I'd expect from that.=

Warner
=C2=A0
Thanks,
Arjun

From:=C2=A0Andrew Turner <andrew@fubar.geek.nz>
Sent:=C2=A0Tuesday, August 20, 2024 4:04 AM
To:=C2=A0Anantharam, Arjun <arjun.anantharam@intel.com>
Cc:=C2=A0Warner Losh <imp@bsdimp.com>; Mark Millard <marklmi@yahoo.com>; freebsd-arm@freebsd.org <= freebsd-arm@fr= eebsd.org>
Subject:=C2=A0Re: FreeBSD OS installation stuck after selecting Boot= installer
=C2=A0
On 2024-08-15 01:02, Anantharam, Arjun wrote:=
> Hi Folks,
>
>=C2=A0 Another update and was hoping to get some inputs..
>
>=C2=A0 We have an NVMe disk on PCie bus on which i would like to boot > FreeBSD and install. So, i followed these instructions and i might be<= br> > missing something here. Can you please take a look and provide some > inputs:

Which NVMe drive are you using? There appear to be 4 devices:
=C2=A0 1. the nvme driver attaches, but not the nda driver
=C2=A0 2. No driver attaches "pci0: <mass storage, NVM> at devic= e 1.7 (no
driver attached)"
=C2=A0 3. Has nvme and nda drivers "nda0: <INTEL SSDPF21Q032TB L031= 0600
PHAL2200001M3P2GGN>"
=C2=A0 4. Has nvme and nda drivers "nda1: <INTEL SSDPF21Q032TB L031= 0600
PHAL220000123P2GGN>"

...

> _[root@ipu-acc tmp]# sudo dd
> if=3DFreeBSD-14.1-RELEASE-arm64-aarch64-memstick.img of=3D/dev/nvme0n1=
> bs=3D1M status=3Dprogress_

Can you try with a recent 15.0-CURRENT snapshot? It will have extra
debugging enable. e.g. something from
https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/

Andrew
--0000000000000cc428062051b37e--