Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2025 13:05:07 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Current <current@freebsd.org>
Subject:   Changes in cam/nvme causes issues?
Message-ID:  <198170948d34f4dc169e94934da82161@Leidinger.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi Warner,

I try to update a 15-current (as of 2025-11-27-110715) to a recent 16 
(as of 2025-12-13-132815). It fails to import a pool due to a missing 
nvme. I also have a broken HD in this system... to be on the safe side I 
mention it.

This is from 15-current:
---snip---
         NAME                               STATE     READ WRITE CKSUM
         rpool                              DEGRADED     0     0     0
           mirror-0                         DEGRADED     0     0     0
             diskid/DISK-WD-WCC4N4KLEZT7p3  ONLINE       0     0     0
             diskid/DISK-WD-WCC4N1DF9DA2p3  ONLINE       0     0     0
             diskid/DISK-WD-WX52D625R0NTp3  ONLINE       0     0     0
             diskid/DISK-WD-WCC4N1PYJ3F8p3  OFFLINE      0     0     0
         logs
           diskid/DISK-493504058890547p1    ONLINE       0     0     0
         cache
           diskid/DISK-493504058890547p2    ONLINE       0     0     0

         NAME                               STATE     READ WRITE CKSUM
         space                              DEGRADED     0     0     0
           raidz2-0                         DEGRADED     0     0     0
             diskid/DISK-WD-WCC4N4KLEZT7p4  ONLINE       0     0     0
             diskid/DISK-WD-WCC4N1DF9DA2p4  ONLINE       0     0     0
             diskid/DISK-WD-WX52D625R0NTp4  ONLINE       0     0     0
             diskid/DISK-WD-WX52D625R2TPp4  ONLINE       0     0     0
             diskid/DISK-WD-WCC4N1PYJ3F8p4  OFFLINE      0     0     0
         logs
           diskid/DISK-S649NL0T819360Vp2    ONLINE       0     0     0
         cache
           diskid/DISK-S649NL0T819360Vp3    ONLINE       0     0     0
---snip---

The offline marked partitions are on the same HD (the broken one). The 
DISK-S649NL0T819360V device use as log and cache in the second pool 
causes the issue on 16-current.

On 16-current I get "uncorrectable parity/CRC error" messages on boot 
from the broken disk. I used this to get rid of those errors:
---snip---
# grep kern.cam /tmp/be_mount.MhLw/boot/loader.conf
kern.cam.tur_timeout="60"
kern.cam.inquiry_timeout="60"
kern.cam.modesense_timeout="60"
---snip---

But the second pool ("space") fails to get imported. When I import it 
via "zpool import -m space" it shows me that the log and cache devices 
(different partitions on the same hardware) are not available.
This is the device in question as seen from 15-current:
---snip---
nda0: <Samsung SSD 980 1TB 2B4QFXO7 S649NL0T819360V>
nda0: Serial Number S649NL0T819360V
[1] nda0: nvme version 1.4
nda0: 953869MB (1953525168 512 byte sectors)
[1] GEOM: new disk nda0
...
[1] pass6 at nvme0 bus 0 scbus6 target 0 lun 1
pass6: <Samsung SSD 980 1TB 2B4QFXO7 S649NL0T819360V>
pass6: Serial Number S649NL0T819360V
[1] pass6: nvme version 1.4
---snip---

In case you need some info from the 15- or 16-current BE, which info do 
you need?

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmk+qAEACgkQEg2wmwP4
2IbNmA/9FR2Mq+KbKZNX+PsxLttok4Cjv3YjgZ+09fxyDUlDYIcT5eCVdeCZjhVn
CwUQOuwahUg8JbDVAD0n5WKOqVXFSFYSDknFG8oSpgLWVlc72zWOR6kc98lRE7ab
xPH9PBeJZ9+Oyh9/io/tgqBY2/B6+WrXHgZRfG0qhJ3nysUZcsuWQlCiCeFryTQD
Q4Z9V7xEv5NcJUAhoO8iYdOySsCu1hhlRi9NXcW2OE2vXehyg53mU0dwkz1tDcC0
216+QCcgFNFhPnY4ELiiApQZmX1agyX4qhPcJ4qMYUh6FkCrSz3JJyleBrTsBKPb
PJCXkKC3vQqGdV9aLZRMYSMRlYdiKpJll2Gt6Pi9B/sjLzXbWR6eIQIq5KFJCFhY
ZCX3X1F7mVagFR3CAeTNHE3wmbiDlxmVJjFHm54CgL5pCk7QyEO/LHqv90XzwrSp
prM/k6bfg43thCHLZvPTamdDOgNQRflhuxfEwgPmcV/f2cnaUIpgd239R6ZOr2Of
UV7vwXug6/BOxVDoGUdnYQyHXyXqqldkiVNozgO3V6BSdItspGwTdG70PX8RY8AJ
0WMmhRELpDvlh+TZGJ8TMmzGh4t6xkQl1gLxAWd7eYeTtzjDRCeMwcJQ+qwlO0eH
+f/mAaSVzidHJMpk7THcSWxUwIoyn1jb78DX6WlwO326VUeyboE=
=jTta
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?198170948d34f4dc169e94934da82161>