Hi! I have a problem with resuming, after one more upgrade to newer sources.
System version:
After resuming system seems fine, but immediately becomes unresponsible with these messages:
Disk works like a charm before suspending
dmesg:
I thought that it's the problem only with STABLE, so I upgraded to 14-RC3, but the problem remains.
Any ideas? Thank you!
System version:
Code:
FreeBSD bsdlap 14.0-STABLE FreeBSD 14.0-STABLE #0 stable/14-n265656-4671836d7ba3: Sat Oct 28 13:44:15 CEST 2023 root@bsdlap:/usr/obj/usr/src/amd64.amd64/sys/MINI amd64
After resuming system seems fine, but immediately becomes unresponsible with these messages:
Code:
nvme0: READ sqid:1 cid:127 nsid:1 lba:450913344 len:8
nvme0: INVALID OPCODE (00/01) crd:0 m:0 dnr:0 p:1 sqid:1 cid:127 cdw0:0
(nda0:nvme0:0:0:1): READ. NCB: opc=2 fuse=0 nsid=1 prp1=0 prp2=0 cdw=1ae06440 0 7 0 0 0
(nda0:nvme0:0:0:1): CAM status: Unknown (0x420)
(nda0:nvme0:0:0:1): Error 5, Retries exhausted
GEOM_ELI: g_eli_read_done() failed (error=5) nda0p4.eli[READ(offset=226298986496, length=4096)]
nvme0: READ sqid:1 cid:127 nsid:1 lba:8923664 len:16
nvme0: INVALID OPCODE (00/01) crd:0 m:0 dnr:0 p:1 sqid:1 cid:127 cdw0:0
(nda0:nvme0:0:0:1): READ. NCB: opc=2 fuse=0 nsid=1 prp1=0 prp2=0 cdw=882a10 0 f 0 0 0
(nda0:nvme0:0:0:1): CAM status: Unknown (0x420)
(nda0:nvme0:0:0:1): Error 5, Retries exhausted
GEOM_ELI: g_eli_read_done() failed (error=5) nda0p4.eli[READ(offset=270336, length=8192)]
nvme0: READ sqid:1 cid:124 nsid:1 lba:500115984 len:16
nvme0: INVALID OPCODE (00/01) crd:0 m:0 dnr:0 p:1 sqid:1 cid:124 cdw0:0
(nda0:nvme0:0:0:1): READ. NCB: opc=2 fuse=0 nsid=1 prp1=0 prp2=0 cdw=1dcf2a10 0 f 0 0 0
(nda0:nvme0:0:0:1): CAM status: Unknown (0x420)
(nda0:nvme0:0:0:1): Error 5, Retries exhausted
GEOM_ELI: g_eli_read_done() failed (error=5) nda0p4.eli[READ(offset=251490738176, length=8192)]
...
...
Solaris: WARNING: Pool 'zroot' has encountered an uncorrectable I/O failure and has been suspended.
Solaris: WARNING: Pool 'zroot' has encountered an uncorrectable I/O failure and has been suspended.
Disk works like a charm before suspending
Code:
$ zpool status zroot
pool: zroot
state: ONLINE
scan: scrub repaired 0B in 00:01:52 with 0 errors on Sat Oct 28 16:37:32 2023
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
nda0p4.eli ONLINE 0 0 0
errors: No known data errors
Code:
$ zpool upgrade zroot
This system supports ZFS pool feature flags.
Pool 'zroot' already has all supported and requested features enabled.
Code:
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.0-STABLE #0 stable/14-n265656-4671836d7ba3: Sat Oct 28 13:44:15 CEST 2023
root@bsdlap:/usr/obj/usr/src/amd64.amd64/sys/MINI amd64
FreeBSD clang version 16.0.6 ([URL]https://github.com/llvm/llvm-project.git[/URL] llvmorg-16.0.6-0-g7cbf1a259152)
VT(efifb): resolution 1920x1080
module hwpstate_intel already present!
CPU: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (2500.00-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x406e3 Family=0x6 Model=0x4e Stepping=3
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
AMD Features2=0x121<LAHF,ABM,Prefetch>
Structured Extended Features=0x29c6fbf<FSGSBASE,TSCADJ,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
Structured Extended Features3=0x9c002e00<MCUOPT,MD_CLEAR,TSXFA,IBPB,STIBP,L1DFL,SSBD>
XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
TSC: P-state invariant, performance statistics
real memory = 17179869184 (16384 MB)
avail memory = 16500068352 (15735 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <LENOVO TP-R0I >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-119
Launching APs: 1 2 3
random: entropy device external interface
kbd1 at kbdmux0
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
smbios0: <System Management BIOS> at iomem 0xca2ac000-0xca2ac01e
smbios0: Version: 3.0, BCD Revision: 3.0
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS>
acpi0: <LENOVO TP-R0I>
acpi_ec0: <Embedded Controller: GPE 0x16, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 24000000 Hz quality 950
Event timer "HPET" frequency 24000000 Hz quality 550
Event timer "HPET1" frequency 24000000 Hz quality 440
Event timer "HPET2" frequency 24000000 Hz quality 440
Event timer "HPET3" frequency 24000000 Hz quality 440
Event timer "HPET4" frequency 24000000 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xe000-0xe03f mem 0xe0000000-0xe0ffffff,0xd0000000-0xdfffffff at device 2.0 on pci0
acpi_video0: <ACPI video extension> on vgapci0
vgapci0: Boot video device
xhci0: <Intel Sunrise Point-LP USB 3.0 controller> mem 0xe1200000-0xe120ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <simple comms> at device 22.0 (no driver attached)
pci0: <simple comms, UART> at device 22.3 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
nvme0: <Generic NVMe Device> mem 0xe1000000-0xe1003fff at device 0.0 on pci3
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory> at device 31.2 (no driver attached)
hdac0: <Intel Sunrise Point-LP HDA Controller> mem 0xe1220000-0xe1223fff,0xe1210000-0xe121ffff at device 31.3 on pci0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0.
psm0: model Synaptics Touchpad, device ID 0
acpi_ibm0: <ThinkPad ACPI Extras> on acpi0
acpi_ibm0: Firmware version is 0x200
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
hwpstate_intel0: <Intel Speed Shift> on cpu0
hwpstate_intel1: <Intel Speed Shift> on cpu1
hwpstate_intel2: <Intel Speed Shift> on cpu2
hwpstate_intel3: <Intel Speed Shift> on cpu3
Timecounter "TSC-low" frequency 1248000017 Hz quality 1000
Timecounters tick every 1.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ugen0.1: <Intel XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
hdacc0: <Realtek ALC298 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC298 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC298 (Analog 2.0+HP/2.0)> at nid 20,33 and 24 on hdaa0
pcm1: <Realtek ALC298 (Internal Analog Mic)> at nid 18 on hdaa0
hdacc1: <Intel Skylake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Skylake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Skylake (HDMI/DP 8ch)> at nid 3 on hdaa1
nda0 at nvme0 bus 0 scbus0 target 0 lun 1
nda0: <SAMSUNG MZVLB256HAHQ-000L7 1L2QEXD7 S41GNX0M890810>
nda0: Serial Number S41GNX0M890810
nda0: nvme version 1.2
nda0: 244198MB (500118192 512 byte sectors)
Trying to mount root from zfs:zroot/ROOT/STABLE []...
GEOM_ELI: Device nda0p4.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI: Crypto: accelerated software
uhub0: 18 ports with 18 removable, self powered
Root mount waiting for: usbus0
ugen0.2: <Logitech USB Receiver> at usbus0
ukbd0 on uhub0
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/44.01, addr 1> on usbus0
kbd2 at ukbd0
ugen0.3: <SunplusIT Inc Integrated Camera> at usbus0
GEOM_ELI: Device nda0p2.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: accelerated software
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
[drm] Got stolen memory base 0xcd800000, size 0x2000000
lkpi_iic0: <LinuxKPI I2C> on drmn0
iicbus0: <Philips I2C bus> on lkpi_iic0
iic0: <I2C generic I/O> on iicbus0
lkpi_iic1: <LinuxKPI I2C> on drmn0
iicbus1: <Philips I2C bus> on lkpi_iic1
iic1: <I2C generic I/O> on iicbus1
lkpi_iic2: <LinuxKPI I2C> on drmn0
iicbus2: <Philips I2C bus> on lkpi_iic2
iic2: <I2C generic I/O> on iicbus2
drmn0: successfully loaded firmware image 'i915/skl_dmc_ver1_27.bin'
drmn0: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
drmn0: [drm] Panel is missing HDR static metadata. Possible support for Intel HDR backlight interface is not used. If your backlight controls don't work try booting with i915.enable_dpcd_backlight=3. needs this, please file a _new_ bug report on drm/i915, see [URL]https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs[/URL] for details.
sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
lkpi_iic3: <LinuxKPI I2C> on drm1
iicbus3: <Philips I2C bus> on lkpi_iic3
iic3: <I2C generic I/O> on iicbus3
lkpi_iic4: <LinuxKPI I2C> on drm2
iicbus4: <Philips I2C bus> on lkpi_iic4
iic4: <I2C generic I/O> on iicbus4
lkpi_iic5: <LinuxKPI I2C> on drm4
iicbus5: <Philips I2C bus> on lkpi_iic5
iic5: <I2C generic I/O> on iicbus5
[drm] Initialized i915 1.6.0 20201103 for drmn0 on minor 0
VT: Replacing driver "efifb" with new "fb".
start FB_INFO:
type=11 height=1080 width=1920 depth=32
pbase=0xd0000000 vbase=0xfffff800d0000000
name=drmn0 flags=0x0 stride=7680 bpp=32
end FB_INFO
Intel(R) Wireless WiFi based driver for FreeBSD
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi1: <ACPI-WMI mapping> on acpi0
acpi_wmi1: Embedded MOF found
ACPI: \134_SB.WMI1.WQBA: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
acpi_wmi2: <ACPI-WMI mapping> on acpi0
acpi_wmi2: Embedded MOF found
ACPI: \134_SB.WMI2.WQBB: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
acpi_wmi3: <ACPI-WMI mapping> on acpi0
acpi_wmi3: Embedded MOF found
ACPI: \134_SB.WMI3.WQBC: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
pchtherm0: <Skylake PCH Thermal Subsystem> mem 0xe1228000-0xe1228fff at device 20.2 on pci0
ig4iic0: <Intel Sunrise Point-LP I2C Controller-0> mem 0xe1229000-0xe1229fff at device 21.0 on pci0
ig4iic0: Using MSI
iicbus6: <Philips I2C bus (ACPI-hinted)> on ig4iic0
iic6: <I2C generic I/O> on iicbus6
ig4iic1: <Intel Sunrise Point-LP I2C Controller-1> mem 0xe122a000-0xe122afff at device 21.1 on pci0
ig4iic1: Using MSI
iicbus7: <Philips I2C bus (ACPI-hinted)> on ig4iic1
iicbus7: <unknown card> at addr 0x38
iic7: <I2C generic I/O> on iicbus7
ichsmb0: <Intel Sunrise Point-LP SMBus controller> port 0xefa0-0xefbf mem 0xe122c000-0xe122c0ff at device 31.4 on pci0
smbus0: <System Management Bus> on ichsmb0
iwm0: <Intel(R) Dual Band Wireless AC 8260> mem 0xe1100000-0xe1101fff at device 0.0 on pci2
iwm0: hw rev 0x200, fw ver 22.361476.0, address 50:e0:85:17:7c:b2
wlan0: Ethernet address: 50:e0:85:17:7c:b2
lo0: link state changed to UP
Cuse v0.1.37 @ /dev/cuse
ums0 on uhub0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/44.01, addr 1> on usbus0
ums0: 16 buttons and [XYZT] coordinates ID=2
uhid0 on uhub0
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/44.01, addr 1> on usbus0
wlan0: link state changed to UP
bridge0: Ethernet address: 58:9c:fc:10:ff:d6
bridge0: changing name to 'vm-public'
sonewconn: pcb 0xfffff8006858ad00 (local:/tmp/.X11-unix/X0): Listen queue overflow: 2 already in queue awaiting acceptance (1 occurrences), euid 1001, rgid 1001, jail 0
battery0: battery initialization failed, giving up
Limiting closed port RST response from 332 to 189 packets/sec
Limiting closed port RST response from 413 to 197 packets/sec
Limiting closed port RST response from 513 to 198 packets/sec
I thought that it's the problem only with STABLE, so I upgraded to 14-RC3, but the problem remains.
Any ideas? Thank you!
Last edited by a moderator: