On 2020/02/25 16:08, Andreas Kusalananda Kähäri wrote: > On Tue, Feb 25, 2020 at 03:35:32PM +0100, Kusalananda Kähäri wrote: > > With the "6.6 GENERIC.MP#5 amd64" snapshot this morning (and also "#6"), > > my Lenovo X1 Carbon is unable to mount the root filesystem. If I try > > to update from bsd.rd, I don't see any sd0 device files, even though > > /dev/sd0a is supposedly mounted on /mnt (trying to access or unmount > > /mnt results in an input/output error). > > > > Upgrading from a previous ("#4") bsd.rd works, but results in a system > > that won't boot due to a panic ("panic: cannot find root vnode"). > > > > Screenshot at panic: > > https://www.dropbox.com/s/wsh114a8ckxdtmd/IMG_20200225_152527.jpg?dl=0 > > > > I don't know how to get a dmesg out of the machine for the failing > > kernel other than as a series of photos. I'll do that if neccessary. > > > > Regards, > > sd0a lives on an NVMe disk, which may be possibly be related: > > https://www.dropbox.com/s/hzf6y3xx1q8wtl1/IMG_20200225_153239.jpg?dl=0 > > > -- > Andreas (Kusalananda) Kähäri > SciLifeLab, NBIS, ICM > Uppsala University, Sweden > > . >
There is an nvme diff in snaps, I have problems with it too. I'll write-up my bits on this thread too to keep it together. In my case I have / on sata, /tmp and some other dirs on nvme - sysupgrade sees no disks (sd0 and sd1 attach ok) - if I boot the new kernel directly it passes fsck ("file system is clean; not checking"), mounting a filesystem from it succeeds, attempting to access data on that fs results in "Input/output error". sc->sc_mdts is 8192 dumpregs: nvme0: cap 0x00f000203c033fff nvme0: mpsmax 27 (134217728) nvme0: mpsmin 12 (4096) nvme0: css 1 nvme0: nssrs 0 nvme0: dstrd 4 nvme0: to 30000 msec nvme0: ams 1 nvme0: cqr 65536 nvme0: mqes 16384 nvme0: vs 0x10200 nvme0: cc 0x460001 nvme0: iocqes 4 nvme0: iosqes 6 nvme0: shn 0 nvme0: ams 0 nvme0: mps 12 nvme0: css 0 nvme0: en 1 nvme0: csts 0x00000001 nvme0: aqa 0x007f007f nvme0: asq 0x00000000d2fac000 nvme0: acq 0x00000000d7ed4000 5:0:0: Samsung SM961/PM961 NVMe 0x0000: Vendor ID: 144d, Product ID: a804 0x0004: Command: 0006, Status: 0010 0x0008: Class: 01 Mass Storage, Subclass: 08 NVM, Interface: 02, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 10 0x0010: BAR mem 64bit addr: 0x00000000f7c00000/0x00004000 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 144d Product ID: a801 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00 0x0040: Capability 0x01: Power Management State: D0 0x0050: Capability 0x05: Message Signalled Interrupts (MSI) Enabled: no 0x0070: Capability 0x10: PCI Express Link Speed: 5.0 / 8.0 GT/s, Link Width: x4 / x4 0x0100: Enhanced Capability 0x01: Advanced Error Reporting 0x0148: Enhanced Capability 0x03: Device Serial Number Serial Number: 0000000000000000 0x0158: Enhanced Capability 0x04: Power Budgeting 0x0168: Enhanced Capability 0x19: Secondary PCIe Capability 0x0188: Enhanced Capability 0x18: Latency Tolerance Reporting 0x0190: Enhanced Capability 0x1e: L1 PM 0x00b0: Capability 0x11: Extended Message Signalled Interrupts (MSI-X) Enabled: yes; table size 33 (BAR 0:12288) 0x0000: a804144d 00100006 01080200 00000010 0x0010: f7c00004 00000000 00000000 00000000 0x0020: 00000000 00000000 00000000 a801144d 0x0030: 00000000 00000040 00000000 0000010b 0x0040: 00035001 00000008 00000000 00000000 0x0050: 008a7005 00000000 00000000 00000000 0x0060: 00000000 00000000 00000000 00000000 0x0070: 0002b010 17e88fc1 00192800 00477843 0x0080: 10420042 00000000 00000000 00000000 0x0090: 00000000 0000081f 00000400 0000000e 0x00a0: 00000003 00000000 00000000 00000000 0x00b0: 80200011 00003000 00002000 00000000 0x00c0: 00000000 00000000 00000000 00000000 0x00d0: 00000003 00000000 00000000 00000000 0x00e0: 00000000 00000000 00000000 00000000 0x00f0: 00000000 00000000 00000000 00000000 OpenBSD 6.6-current (GENERIC.MP) #12: Tue Feb 25 14:49:38 GMT 2020 r...@symphytum.spacehopper.org:/sys/arch/amd64/compile/GENERIC.MP real mem = 17067200512 (16276MB) avail mem = 16537362432 (15771MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec400 (92 entries) bios0: vendor Dell Inc. version "A12" date 05/11/2017 bios0: Dell Inc. PowerEdge T20 acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC FPDT SLIC LPIT SSDT SSDT SSDT HPET SSDT MCFG SSDT ASF! DMAR acpi0: wakeup devices UAR1(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) PXSX(S4) RP05(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S4) HDEF(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz, 3392.63 MHz, 06-3c-03 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz, 3392.16 MHz, 06-3c-03 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz, 3392.15 MHz, 06-3c-03 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz, 3392.15 MHz, 06-3c-03 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 acpimcfg0: addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP02) acpiprt3 at acpi0: bus 5 (RP05) acpiprt4 at acpi0: bus 1 (PEG0) acpiprt5 at acpi0: bus -1 (PEG1) acpiprt6 at acpi0: bus -1 (PEG2) acpiec0 at acpi0: not present acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 105 degC acpitz1 at acpi0: critical temperature is 105 degC acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 acpicmos0 at acpi0 acpibtn0 at acpi0: PWRB "PNP0C14" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: using VERW MDS workaround (except on vmm entry) cpu0: Enhanced SpeedStep 3392 MHz: speeds: 3201, 3200, 3000, 2900, 2700, 2500, 2300, 2200, 2000, 1800, 1700, 1500, 1300, 1100, 1000, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Xeon E3-1200 v3 Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi pci1 at ppb0 bus 1 em0 at pci1 dev 0 function 0 "Intel 82572EI" rev 0x06: apic 8 int 16, address 00:15:17:8e:79:85 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics P4600" rev 0x06 drm0 at inteldrm0 inteldrm0: msi xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured puc0 at pci0 dev 22 function 3 "Intel 8 Series KT" rev 0x04: ports: 16 com com4 at puc0 port 0 apic 8 int 19: ns16550a, 16 byte fifo com4: probed fifo depth: 0 bytes em1 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x04: msi, address f8:b1:56:ac:32:76 ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x04: apic 8 int 16 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia0: codecs: Realtek/0x0280 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd4 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 8 Series PCIE" rev 0xd4: msi pci3 at ppb2 bus 3 ppb3 at pci3 dev 0 function 0 "TI XIO2001 PCIE-PCI" rev 0x00 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xd4: msi pci5 at ppb4 bus 5 nvme0 at pci5 dev 0 function 0 "Samsung SM961/PM961 NVMe" rev 0x00: msix, NVMe 1.2 nvme0: SAMSUNG MZVLW256HEHP-000L7, firmware 4L7QCXB7, serial S35ENX0J765205 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <NVMe, SAMSUNG MZVLW256, 4L7Q> sd0: 244198MB, 512 bytes/sector, 500118192 sectors ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 8 int 23 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel C226 LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 6.0Gb/s scsibus2 at ahci0: 32 targets sd1 at scsibus2 targ 0 lun 0: <ATA, Samsung SSD 860, RVT0> naa.5002538e9984204d sd1: 476940MB, 512 bytes/sector, 976773168 sectors, thin ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 8 int 18 iic0 at ichiic0 sdtemp0 at iic0 addr 0x18: se97 sdtemp1 at iic0 addr 0x19: mcp98243 sdtemp2 at iic0 addr 0x1a: se97 sdtemp3 at iic0 addr 0x1b: mcp98243 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM ECC PC3-12800 with thermal sensor spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM ECC PC3-12800 with thermal sensor spdmem2 at iic0 addr 0x52: 4GB DDR3 SDRAM ECC PC3-12800 with thermal sensor spdmem3 at iic0 addr 0x53: 4GB DDR3 SDRAM ECC PC3-12800 with thermal sensor isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 wbsio0 at isa0 port 0x2e/2 rev 0x00 vmm0 at mainbus0: VMX/EPT uhub3 at uhub0 port 3 configuration 1 interface 0 "GenesysLogic USB2.0 Hub" rev 2.00/92.24 addr 2 uhidev0 at uhub3 port 4 configuration 1 interface 0 "Yubico Yubico Yubikey II" rev 2.00/2.12 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhub4 at uhub0 port 4 configuration 1 interface 0 "Texas Instruments product 0x8142" rev 2.10/1.00 addr 4 uhub5 at uhub4 port 4 configuration 1 interface 0 "Texas Instruments product 0x8142" rev 2.10/1.00 addr 5 uhub6 at uhub0 port 9 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/77.64 addr 6 uhub7 at uhub6 port 4 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/77.64 addr 7 uhidev1 at uhub0 port 10 configuration 1 interface 0 "Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint" rev 1.10/1.27 addr 8 uhidev1: iclass 3/1 ukbd1 at uhidev1: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 uhidev2 at uhub0 port 10 configuration 1 interface 1 "Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint" rev 1.10/1.27 addr 8 uhidev2: iclass 3/0, 4 report ids ums0 at uhidev2 reportid 1: 3 buttons wsmouse0 at ums0 mux 0 uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0 uhid1 at uhidev2 reportid 3: input=3, output=1, feature=0 uhid2 at uhidev2 reportid 4: input=0, output=0, feature=4 umodem0 at uhub0 port 12 configuration 1 interface 0 "SoftIron, Inc. OverDrive 1000" rev 2.00/1.02 addr 9 umodem0: data interface 1, has no CM over data, has break umodem0: status change notification available ucom0 at umodem0 ugen0 at uhub0 port 12 configuration 1 "SoftIron, Inc. OverDrive 1000" rev 2.00/1.02 addr 9 uhub8 at uhub0 port 21 configuration 1 interface 0 "Texas Instruments product 0x8140" rev 3.00/1.00 addr 10 uhub9 at uhub8 port 4 configuration 1 interface 0 "Texas Instruments product 0x8140" rev 3.00/1.00 addr 11 uhub10 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 uhub11 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd1a (2b4432fd9000a5b7.a) swap on sd1b dump on sd1b inteldrm0: 1920x1200, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) wskbd1: disconnecting from wsdisplay0 wskbd1 detached ukbd0 detached uhidev0 detached arp_rtrequest: bad gateway value: vlan5 uhidev0 at uhub3 port 4 configuration 1 interface 0 "Yubico Yubico Yubikey II" rev 2.00/2.12 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0: console keyboard, using wsdisplay0