OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: Northguy on May 01, 2020, 10:29:11 AM

Title: Reporter reports swap_pager IO issue after each reboot, but OPNsense runs fine
Post by: Northguy on May 01, 2020, 10:29:11 AM
Hi all,

Just updated to last V20.1.6 version which required a reboot. Last few reboots after firmware updates I notice that the Bug Reporter reports an issue, which I diligently submit through the crash report feature. As this is more or less a black hole, I am wondering if I need to submit this issue as a genuine bug on the Github, or if it is something that is specifically related to my hardware or setup. Don't really know how long this has been going on, but I got the feeling that this has been playing since initial 20.1 update.

Anyone got pointers where to look further?

Hardware / firmware:
* OPNsense 20.1.6-amd64
* APU2D4 bios    v4.11.0.5
* KINGSTON SUV500MS120G mSATA drive


Last few lines of the automated bug report:

Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `bufdaemon' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 3 2 0 0 done
All buffers synced.
swap_pager: I/O error - pagein failed; blkno 2130660,size 4096, error 5
panic: swap_pager_force_pagein: read from swap failed

cpuid = 0
__HardenedBSD_version = 1100056 __FreeBSD_version = 1102000
version = FreeBSD 11.2-RELEASE-p18-HBSD  f08b5f14327(stable/20.1)
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0120af5700
vpanic() at vpanic+0x17c/frame 0xfffffe0120af5760
panic() at panic+0x43/frame 0xfffffe0120af57c0
swapoff_one() at swapoff_one+0x7d5/frame 0xfffffe0120af5850
swapoff_all() at swapoff_all+0x117/frame 0xfffffe0120af5890
bufshutdown() at bufshutdown+0x3d4/frame 0xfffffe0120af58e0
kern_reboot() at kern_reboot+0x198/frame 0xfffffe0120af5930
sys_reboot() at sys_reboot+0x447/frame 0xfffffe0120af5980
amd64_syscall() at amd64_syscall+0xa38/frame 0xfffffe0120af5ab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0120af5ab0
--- syscall (55, FreeBSD ELF64, sys_reboot), rip = 0x40a0b4a11da, rsp = 0x74fde2f7afc8, rbp = 0x74fde2f7b030 ---
KDB: enter: panic
panic.txt0600005613652636352  7154 ustarrootwheelswap_pager_force_pagein: read from swap failedversion.txt0600007013652636352  7543 ustarrootwheelFreeBSD 11.2-RELEASE-p18-HBSD  f08b5f14327(stable/20.1)
Title: Re: Reporter reports swap_pager IO issue after each reboot, but OPNsense runs fine
Post by: franco on May 03, 2020, 04:55:40 PM
Swap is located on the hard disk, might be an issue with this particular piece.

Definitely not something usual or something that suddenly appeared through kernel patches.


Cheers,
Franco