Date: Tue, 23 Dec 2025 12:06:53 -0700 From: Warner Losh <imp@bsdimp.com> To: Alexander Leidinger <Alexander@leidinger.net> Cc: Current <current@freebsd.org> Subject: Re: Changes in cam/nvme causes issues? Message-ID: <CANCZdfr4r2LzXMnS0t%2Bfr9wb5W3%2Bey0_d5JvvRMXWsNJBs9ygQ@mail.gmail.com> In-Reply-To: <d6950a429db0fca63dc44700406c413b@Leidinger.net> References: <198170948d34f4dc169e94934da82161@Leidinger.net> <CANCZdfpRA%2B7YNV6Qm8M=wkKs1Kx_uez%2BEzAN_8W%2BAs_Amp5fAA@mail.gmail.com> <89a92e0a926239e2c192dc0ff9c80d6e@Leidinger.net> <CANCZdfobDeZ6eZ7AgcDS7FFMzVhOU0KUFPYxwK6=s41nA=GB2Q@mail.gmail.com> <ed5a50dd17003c16cbd57704822f1578@Leidinger.net> <d6950a429db0fca63dc44700406c413b@Leidinger.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Dec 23, 2025 at 7:19 AM Alexander Leidinger <Alexander@leidinger.net> wrote: > Am 2025-12-23 10:31, schrieb Alexander Leidinger: > > Am 2025-12-22 17:58, schrieb Warner Losh: > > > > On Sun, Dec 21, 2025 at 8:37 AM Alexander Leidinger < > Alexander@leidinger.net> wrote: > > Am 2025-12-14 14:05, schrieb Warner Losh: > > Let's do one issue at a time. There's too much missing info. Top posting > since there's not a lot of context to this request > > > The disk died now completely, so the CRC errors are out of reach now. > > > First, let's start with pciconf -l of the nvme drive. I have a strong > idea, but need some data. > > > While already provided privately with some other data, here for the public > so that people are aware that currently there is an issue with such drives: > nvme0@pci0:5:0:0: class=0x010802 rev=0x00 hdr=0x00 vendor=0x144d > device=0xa809 subvendor=0x144d subdevice=0xa801 > Samsung SSD 980 1TB 2B4QFXO7 S649NL0T819360V > > > Yea, so far this is the only report I've received, and there's not enough > data in it to reproduce it with any of the dozen NVMe drives that I have, > or to spot a difference with what I know I check in the code. So if it's > compiled into the kernel with cam also compiled into the kernel, I know it > works. > > > CAM is in the kerne, nvme is loaded as a module (from 15-current): > ---snip--- > # kldstat | egrep '(nvm|cam)' > 2 1 0xffffffff811e3000 20db8 nvme.ko > ---snip--- > > I will do a clean rebuild with the most recent 16-current and provide a > full dmesg if this still doesn't work. > > > As a module it fails: > [1] link_elf_obj: symbol nvme_handle_aen_desc undefined > [1] KLD file nvme.ko - could not finalize loading > The kld problem has been fixed. Warner > Bye, > Alexander. > > F > > > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Dec 23, 2025 at 7:19 AM Alexander Leidinger <<a href="mailto:Alexander@leidinger.net">Alexander@leidinger.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p id="m_-7822573336695926646reply-intro">Am 2025-12-23 10:31, schrieb Alexander Leidinger:</p> <blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px"> <div id="m_-7822573336695926646replybody1" style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p id="m_-7822573336695926646v1reply-intro">Am 2025-12-22 17:58, schrieb Warner Losh:</p> <blockquote style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px"> <div id="m_-7822573336695926646v1replybody1"> <div dir="ltr"> <div dir="ltr"> </div> <br> <div> <div dir="ltr">On Sun, Dec 21, 2025 at 8:37 AM Alexander Leidinger <<a href="mailto:Alexander@leidinger.net" rel="noreferrer" target="_blank">Alexander@leidinger.net</a>> wrote:</div> <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p id="m_-7822573336695926646v1v1m_-6883825662093253788reply-intro">Am 2025-12-14 14:05, schrieb Warner Losh:</p> <blockquote style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px"> <div id="m_-7822573336695926646v1v1m_-6883825662093253788replybody1"> <div dir="auto">Let's do one issue at a time. There's too much missing info. Top posting since there's not a lot of context to this request </div> </div> </blockquote> <div id="m_-7822573336695926646v1v1m_-6883825662093253788replybody1"> <div dir="auto"> <div dir="auto"> </div> <div dir="auto">The disk died now completely, so the CRC errors are out of reach now.</div> <div dir="auto"> </div> </div> </div> <blockquote style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px"> <div id="m_-7822573336695926646v1v1m_-6883825662093253788replybody1"> <div dir="auto"> <div dir="auto">First, let's start with pciconf -l of the nvme drive. I have a strong idea, but need some data.</div> </div> </div> </blockquote> <div id="m_-7822573336695926646v1v1m_-6883825662093253788replybody1"> <div dir="auto"> <div dir="auto"> </div> <div dir="auto">While already provided privately with some other data, here for the public so that people are aware that currently there is an issue with such drives:</div> <div dir="auto">nvme0@pci0:5:0:0: class=0x010802 rev=0x00 hdr=0x00 vendor=0x144d device=0xa809 subvendor=0x144d subdevice=0xa801</div> <div dir="auto">Samsung SSD 980 1TB 2B4QFXO7 S649NL0T819360V</div> </div> </div> </div> </blockquote> <div> </div> <div>Yea, so far this is the only report I've received, and there's not enough data in it to reproduce it with any of the dozen NVMe drives that I have, or to spot a difference with what I know I check in the code. So if it's compiled into the kernel with cam also compiled into the kernel, I know it works.</div> </div> </div> </div> </blockquote> <div id="m_-7822573336695926646v1replybody1"> <div dir="ltr"> <div> <div> </div> <div>CAM is in the kerne, nvme is loaded as a module (from 15-current):</div> <div>---snip---</div> <div># kldstat | egrep '(nvm|cam)'<br> 2 1 0xffffffff811e3000 20db8 nvme.ko</div> <div>---snip---</div> <div> </div> <div>I will do a clean rebuild with the most recent 16-current and provide a full dmesg if this still doesn't work.</div> </div> </div> </div> </div> </blockquote> <div id="m_-7822573336695926646replybody1" style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <div id="m_-7822573336695926646v1replybody1"> <div dir="ltr"> <div> <div> </div> <div>As a module it fails:</div> <div>[1] link_elf_obj: symbol nvme_handle_aen_desc undefined<br>[1] KLD file nvme.ko - could not finalize loading</div></div></div></div></div></div></blockquote><div><br></div><div>The kld problem has been fixed.</div><div><br></div><div>Warner</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><div id="m_-7822573336695926646replybody1" style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><div id="m_-7822573336695926646v1replybody1"><div dir="ltr"><div> <div>Bye,</div> <div>Alexander.</div> </div> </div> </div> </div> <blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px"> <div id="m_-7822573336695926646replybody1" style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <div id="m_-7822573336695926646v1signature"> <div style="margin:0px;padding:0px;font-family:monospace">F</div> </div> </div> </blockquote> <p><br></p> <div id="m_-7822573336695926646signature">-- <br> <div style="margin:0px;padding:0px;font-family:monospace"><a href="http://www.Leidinger.net" rel="noopener noreferrer" target="_blank">http://www.Leidinger.net</a> <a href="mailto:Alexander@Leidinger.net:" target="_blank">Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br><a href="http://www.FreeBSD.org" rel="noopener noreferrer" target="_blank">http://www.FreeBSD.org</a> <a href="mailto:netchild@FreeBSD.org" target="_blank">netchild@FreeBSD.org</a> : PGP 0x8F31830F9F2772BF</div> </div> </div> </blockquote></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr4r2LzXMnS0t%2Bfr9wb5W3%2Bey0_d5JvvRMXWsNJBs9ygQ>
