Re: FreeBSD OS installation stuck after selecting Boot installer

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 23 Aug 2024 03:51:57 UTC
On Tue, Aug 20, 2024 at 9:13 AM Anantharam, Arjun <
arjun.anantharam@intel.com> wrote:

> Hi,
>
> "nda0" is the one being used. "nda0" and "nda1" are the nvme drives behind
> 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=FreeBSD-14.1-RELEASE-arm64-aarch64-memstick.img of=/dev/nvme0n1
> > bs=1M status=progress_
>
> 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
>