Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2024 21:51:57 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        "Anantharam, Arjun" <arjun.anantharam@intel.com>
Cc:        Andrew Turner <andrew@fubar.geek.nz>, Mark Millard <marklmi@yahoo.com>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD OS installation stuck after selecting Boot installer
Message-ID:  <CANCZdfrPW7Rdan1pDhr1gxfMRyF0WC99zbbebSS%2BRhdyFbvbNA@mail.gmail.com>
In-Reply-To: <MW3PR11MB4761D5BCCC43C6EC4A611DF7808D2@MW3PR11MB4761.namprd11.prod.outlook.com>
References:  <9BE6FB50-27DC-453E-B915-131D45C901CD.ref@yahoo.com> <9BE6FB50-27DC-453E-B915-131D45C901CD@yahoo.com> <MW3PR11MB4761B4889AFA6C18AB31BFDE80C92@MW3PR11MB4761.namprd11.prod.outlook.com> <CANCZdfrWofc-e=9_-wf=ose64w1y2fyg8Y%2BVWAC58JJV3q7vuQ@mail.gmail.com> <MW3PR11MB4761223785D1EFC855D7148280C92@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47614BE548FC663F56011C0F80C92@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB4761A8E40EA013CA1AE9EA4980CB2@MW3PR11MB4761.namprd11.prod.outlook.com> <MN2PR11MB4758E974AFEA6AAB15DD240B80D62@MN2PR11MB4758.namprd11.prod.outlook.com> <CANCZdfoL0A-Aj21g-E_uPcx%2Bf0U-mhM0s35rja7RNHukCOF6Fg@mail.gmail.com> <MW3PR11MB4761CA9388199BC11600D70B80D72@MW3PR11MB4761.namprd11.prod.outlook.com> <1DEED962-C5D8-4B6D-8BC9-870A9BFE1176@fubar.geek.nz> <MW3PR11MB476109F1B8FC134E5BF39CC680D32@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47617F8DD22E17DA3219FC3380D32@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47619F77AE942F17F1762D8A80DD2@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47617D13959F782479FC481280A42@MW3PR11MB4761.namprd11.prod.outlook.com> <084E63D4-8A02-4E7B-8C26-152ED0D0317A@fubar.geek.nz> <MW3PR11MB476199009EFF9650069B752980AD2@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47612887634EE94FC4E7E7DA80BA2@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47617254E9FB1850D38661F180872@MW3PR11MB4761.namprd11.prod.outlook.com> <a808bc2e5b0cfd51e23e913728f6c435@fubar.geek.nz> <MW3PR11MB4761D5BCCC43C6EC4A611DF7808D2@MW3PR11MB4761.namprd11.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <andrew@fubar.geek.nz>
> *Sent:* Tuesday, August 20, 2024 4:04 AM
> *To:* Anantharam, Arjun <arjun.anantharam@intel.com>
> *Cc:* Warner Losh <imp@bsdimp.com>; Mark Millard <marklmi@yahoo.com>;
> freebsd-arm@freebsd.org <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: <mass storage, NVM> at device 1.7 (no
> driver attached)"
>   3. Has nvme and nda drivers "nda0: <INTEL SSDPF21Q032TB L0310600
> PHAL2200001M3P2GGN>"
>   4. Has nvme and nda drivers "nda1: <INTEL SSDPF21Q032TB L0310600
> 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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 20, 2024 at 9:13=E2=80=AF=
AM Anantharam, Arjun &lt;<a href=3D"mailto:arjun.anantharam@intel.com">arju=
n.anantharam@intel.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex"><div class=3D"msg6316168749480317350">




<div dir=3D"ltr">
<div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali=
bri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Hi,</div>
<div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali=
bri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali=
bri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
&quot;nda0&quot; is the one being used. &quot;nda0&quot; and &quot;nda1&quo=
t; are the nvme drives behind pcie..</div>
<div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali=
bri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Will try 15.0 and update here..</div></div></div></blockquote><div><br></di=
v><div>I&#39;ve recently updated the &#39;recovery&#39; code in nvme. If th=
ere&#39;s interrupt problems, it will tell you about it in a better way.</d=
iv><div><br></div><div>nvme0 is likely not attaching an nda because there&#=
39;s no namespace defined for it, or we&#39;re having trouble querying it.<=
/div><div>Yet I didn&#39;t see any obvious errors I&#39;d expect from that.=
</div><div><br></div><div>Warner</div><div>=C2=A0</div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex"><div class=3D"msg6316168749480317350"><div di=
r=3D"ltr">
<div id=3D"m_6316168749480317350appendonsend" style=3D"color:inherit"></div=
>
<div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali=
bri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Thanks,</div>
<div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali=
bri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Arjun</div>
<hr style=3D"display:inline-block;width:98%">
<div id=3D"m_6316168749480317350divRplyFwdMsg" dir=3D"ltr" style=3D"color:i=
nherit"><span style=3D"font-family:Calibri,sans-serif;font-size:11pt;color:=
rgb(0,0,0)"><b>From:</b>=C2=A0Andrew Turner &lt;<a href=3D"mailto:andrew@fu=
bar.geek.nz" target=3D"_blank">andrew@fubar.geek.nz</a>&gt;<br>
<b>Sent:</b>=C2=A0Tuesday, August 20, 2024 4:04 AM<br>
<b>To:</b>=C2=A0Anantharam, Arjun &lt;<a href=3D"mailto:arjun.anantharam@in=
tel.com" target=3D"_blank">arjun.anantharam@intel.com</a>&gt;<br>
<b>Cc:</b>=C2=A0Warner Losh &lt;<a href=3D"mailto:imp@bsdimp.com" target=3D=
"_blank">imp@bsdimp.com</a>&gt;; Mark Millard &lt;<a href=3D"mailto:marklmi=
@yahoo.com" target=3D"_blank">marklmi@yahoo.com</a>&gt;; <a href=3D"mailto:=
freebsd-arm@freebsd.org" target=3D"_blank">freebsd-arm@freebsd.org</a> &lt;=
<a href=3D"mailto:freebsd-arm@freebsd.org" target=3D"_blank">freebsd-arm@fr=
eebsd.org</a>&gt;<br>
<b>Subject:</b>=C2=A0Re: FreeBSD OS installation stuck after selecting Boot=
 installer</span>
<div>=C2=A0</div>
</div>
<div style=3D"font-size:11pt">On 2024-08-15 01:02, Anantharam, Arjun wrote:=
<br>
&gt; Hi Folks,<br>
&gt;<br>
&gt;=C2=A0 Another update and was hoping to get some inputs..<br>
&gt;<br>
&gt;=C2=A0 We have an NVMe disk on PCie bus on which i would like to boot<b=
r>
&gt; FreeBSD and install. So, i followed these instructions and i might be<=
br>
&gt; missing something here. Can you please take a look and provide some<br=
>
&gt; inputs:<br>
<br>
Which NVMe drive are you using? There appear to be 4 devices:<br>
=C2=A0 1. the nvme driver attaches, but not the nda driver<br>
=C2=A0 2. No driver attaches &quot;pci0: &lt;mass storage, NVM&gt; at devic=
e 1.7 (no<br>
driver attached)&quot;<br>
=C2=A0 3. Has nvme and nda drivers &quot;nda0: &lt;INTEL SSDPF21Q032TB L031=
0600<br>
PHAL2200001M3P2GGN&gt;&quot;<br>
=C2=A0 4. Has nvme and nda drivers &quot;nda1: &lt;INTEL SSDPF21Q032TB L031=
0600<br>
PHAL220000123P2GGN&gt;&quot;<br>
<br>
...<br>
<br>
&gt; _[root@ipu-acc tmp]# sudo dd<br>
&gt; if=3DFreeBSD-14.1-RELEASE-arm64-aarch64-memstick.img of=3D/dev/nvme0n1=
<br>
&gt; bs=3D1M status=3Dprogress_<br>
<br>
Can you try with a recent 15.0-CURRENT snapshot? It will have extra<br>
debugging enable. e.g. something from<br>
<a href=3D"https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/" id=3D"m=
_6316168749480317350OWAcd04e85e-514b-6b96-7b0d-3832a6b67e63" target=3D"_bla=
nk">https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/</a><br>;
<br>
Andrew</div>
</div>

</div></blockquote></div></div>

--0000000000000cc428062051b37e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrPW7Rdan1pDhr1gxfMRyF0WC99zbbebSS%2BRhdyFbvbNA>