Re: IBM LC921

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Mon, 19 Feb 2024 16:10:32 UTC
On Sat, 17 Feb 2024 21:47:23 -0500
ben wilber <ben@desync.com> wrote:

> Hi,
> 
> I'm trying to get FreeBSD to run on an IBM LC921.  The wiki mentions
> the LC922, which I think is the same Supermicro P9DSU-C but in 2U, so
> presumably someone had this working at some point.  Anyway, two snags
> so far:
> 
> 1. The latest PNOR from IBM (V2.18-20210329) won't start any version
> of FreeBSD with ISOs currently available.  It just reboots with a
> checkstop.  I installed Linux and built kexec-lite and this does seem
> to work, but it would be nice if FreeBSD booted directly.

I think this is a known issue with older firmwares (found on Talos II
firmware back in 2020 or so), and unfortunately the only workaround I
recall from that was to use kexec-lite.

> 
> 2. When switching over from the intermediate Linux (currently 6.1.0),
> it says:
> 
> [23465.263516] xhci_hcd 0005:01:00.0: Host halt failed, -110
> 
> Then FreeBSD panics with:
> 
> xhci0: <XHCI (generic) USB 3.0 controller> mem
> 0x80000000-0x8000ffff,0x80010000-0x80011fff irq 1030136 at device 0.0
> numa-domain 0 on pci12 xhci0: 64 bytes context size, 64-bit DMA
> xhci0: Controller halt timeout. xhci0: XHCI halt/start/probe failed
> err=18 xhci0: Controller halt timeout.
> 
> fatal kernel trap:
> 
>    exception       = 0x300 (data storage interrupt)
>    (...)
>    curthread       = 0xc0080000b258c840
>           pid = 12, comm = irq39774168: xhci0
> 
> The PNOR kernel doesn't say anything about USB when kexec-ing, so
> maybe this is a bug in the newer/stock Linux I'm hopping through.

Is this from a kernel on an ISO, or a self-built kernel?  We can run
addr2line on the kernel.debug from the ISO (if it's on the ISO, I don't
recall now if the debug symbols are included on the ISO).  What version
of FreeBSD are you testing?

> 
> This is as far as I've gotten.  Any hints would be appreciated.  I'm
> happy to test patches if anyone's interested.
> 
> Thanks!
> 

- Justin