13.3 14.x panic in qlogic isp vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000
Date: Tue, 16 Jul 2024 22:27:58 UTC
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> </div> <div>13.2 works. 13.3 and 14.x panic.</div> <div> </div> <div>an older system with two qlogic isp cards, isp0 and isp1, nothing attached to them, and it panics on boot with 13.3 and 14.x images.<br/> 13.2 works<br/> </div> <div> <div> <br/> <br/> </div> <div>Autoloading module: ichsmb<br/> ichsmb0: <Intel 631xESB/6321ESB (ESB2) SMBus controller> port 0x300-0x31f irq 22 at device 31.3 on pci0<br/> smbus0: <System Management Bus> on ichsmb0<br/> isp1: <Qlogic ISP 2432 PCI FC-AL Adapter> port 0x9c00-0x9cff mem 0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9<br/> isp1: FLT[DEF]: Invalid length=0xffff(65535)<br/> panic: vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000<br/> cpuid = 6<br/> time = 1721060956<br/> KDB: stack backtrace:<br/> Uptime: 17s<br/> Dumping 936 out of 24532 MB:..2%..11%..21%..31%..42%..52%..62%..71%..81%..91%<br/> ------------------------------------------------------------------------<br/> <br/> <br/> Reading symbols from /usr/lib/debug//boot/kernel/ichsmb.ko.debug...<br/> Reading symbols from /boot/kernel/smbus.ko...<br/> Reading symbols from /usr/lib/debug//boot/kernel/smbus.ko.debug...<br/> __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:53<br/> warning: Source file is more recent than executable.<br/> 53 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,<br/> (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:53<br/> td = <optimized out><br/> #1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:394<br/> error = 0<br/> coredump = <optimized out><br/> #2 0xffffffff80c04c1e in kern_reboot (howto=260)<br/> at /usr/src/sys/kern/kern_shutdown.c:482<br/> once = 0<br/> #3 0xffffffff80c050bf in vpanic (<br/> fmt=0xffffffff811d497c "%s: fault on nofault entry, addr: %#lx",<br/> ap=ap@entry=0xfffffe0127d20400) at /usr/src/sys/kern/kern_shutdown.c:921<br/> buf = "vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000", '\000' <repeats 190 times><br/> other_cpus = {__bits = {191, 0, 0, 0}}<br/> td = 0xfffff8002ed98740<br/> bootopt = <unavailable><br/> newpanic = <optimized out><br/> #4 0xffffffff80c04ef3 in panic (fmt=<unavailable>)<br/> at /usr/src/sys/kern/kern_shutdown.c:845<br/> ap = {{gp_offset = 24, fp_offset = 48,<br/> overflow_arg_area = 0xfffffe0127d20430,<br/> reg_save_area = 0xfffffe0127d203d0}}<br/> #5 0xffffffff80f64dc9 in vm_fault_lookup (fs=0xfffffe0127d20470)<br/> at /usr/src/sys/vm/vm_fault.c:839<br/> result = <optimized out><br/> #6 vm_fault (map=<optimized out>, vaddr=vaddr@entry=18446741879649345536,<br/> fault_type=2 '\002', fault_flags=fault_flags@entry=0,<br/> m_hold=m_hold@entry=0x0) at /usr/src/sys/vm/vm_fault.c:1474<br/> ahead = 0<br/> behind = 0<br/> fs = {vaddr = 18446741879649345536, m_hold = 0x0,<br/> fault_type = 2 '\002', prot = <optimized out>,<br/> fault_flags = <optimized out>, wired = <optimized out>,<br/> oom_start_time = {tv_sec = <optimized out>,<br/> tv_usec = <optimized out>}, oom_started = <optimized out>,<br/> nera = <optimized out>, m_cow = <optimized out>,<br/> object = <optimized out>, pindex = <optimized out>,<br/> m = <optimized out>, first_object = <optimized out>,<br/> first_pindex = <optimized out>, first_m = <optimized out>,<br/> map = 0xffffffff81ec4038 <kernel_map_store>,<br/> entry = 0xfffff800030071e0, map_generation = 447,<br/> lookup_still_valid = false, vp = 0x0}<br/> faultcount = 0<br/> hardfault = false<br/> rv = <optimized out><br/> res = <optimized out><br/> #7 0xffffffff80f63aa0 in vm_fault_trap (map=<optimized out>,<br/> vaddr=vaddr@entry=18446741879649345536, fault_type=<optimized out>,<br/> fault_flags=fault_flags@entry=0, signo=0x0, ucode=0x0)<br/> at /usr/src/sys/vm/vm_fault.c:659<br/> result = <optimized out><br/> #8 0xffffffff810c3261 in trap_pfault (frame=0xfffffe0127d205f0,<br/> usermode=false, signo=<unavailable>, ucode=<unavailable>)<br/> at /usr/src/sys/amd64/amd64/trap.c:844<br/> td = 0xfffff8002ed98740<br/> p = <optimized out><br/> eva = 18446741879649345536<br/> map = <unavailable><br/> ftype = <unavailable><br/> rv = <optimized out><br/> #9 <signal handler called><br/> No locals.<br/> #10 0xffffffff80699362 in isp_rd_2xxx_flash (isp=0xfffff8002ef50800,<br/> addr=<optimized out>, rp=0xfffffe0127d22000)<br/> at /usr/src/sys/dev/isp/isp.c:4595<br/> loops = <optimized out><br/> fcp = <optimized out><br/> base = <optimized out><br/> #11 isp_read_flt_2xxx (isp=0xfffff8002ef50800)<br/> at /usr/src/sys/dev/isp/isp.c:4672<br/> fcp = <optimized out><br/> retval = 0<br/> len = <optimized out><br/> dptr = 0xfffffe0127d22004<br/> __vla_expr0 = <optimized out><br/> addr = 72279<br/> lwrds = 1620<br/> flt_data = <optimized out><br/> #12 0xffffffff8069185c in isp_get_flash_addrs (<br/> isp=isp@entry=0xfffff8002ef50800) at /usr/src/sys/dev/isp/isp.c:181<br/> fcp = <optimized out><br/> r = 0<br/> #13 0xffffffff8068fe86 in isp_reset (isp=isp@entry=0xfffff8002ef50800,<br/> do_load_defaults=do_load_defaults@entry=1)<br/> at /usr/src/sys/dev/isp/isp.c:417<br/> dcrc = "Downloaded RISC Code Checksum Failure"<br/> patterns = {0, 57005, 48879, 65535, 42405, 23130, 32639, 32759, 13345,<br/> 43981, 56506, 65263, 48813, 57022, 8738, 13107, 21845, 26214, 30583,<br/> 43690, 65535, 56797, 39321, 8124, 26214, 26231, 4386, 13311, 0, 1,<br/> 4096, 4112}<br/> mbs = {param = {16384, 57005, 48879, 65535, 42405, 23130, 32639,<br/> 32759, 13345, 43981, 56506, 65263, 48813, 57022, 8738, 13107,<br/> 21845, 26214, 30583, 43690, 65535, 56797, 39321, 8124, 26214,<br/> 26231, 4386, 13311, 0, 1, 4096, 4112}, ibits = 0, obits = 0,<br/> ibitm = 4294967295, obitm = 4294967295, logval = 4294967295,<br/> timeout = 0, lineno = 363, func = 0xffffffff811e2f30 "isp_reset"}<br/> dodnld = 1<br/> btype = 0xffffffff8122099f "2422"<br/> loops = <optimized out><br/> val = <optimized out><br/> i = <optimized out><br/> fcp = 0xfffffe01297f6000<br/> loaded_fw = <optimized out><br/> code_org = <optimized out><br/> fwt = <optimized out><br/> buf = <optimized out><br/> #14 0xffffffff80698c87 in isp_reinit (isp=isp@entry=0xfffff8002ef50800,<br/> do_load_defaults=do_load_defaults@entry=1)<br/> at /usr/src/sys/dev/isp/isp.c:4514<br/> res = 0<br/> i = <optimized out><br/> #15 0xffffffff806a5c65 in isp_pci_attach (dev=0xfffff8000419be00)<br/> at /usr/src/sys/dev/isp/isp_pci.c:627<br/> pcs = 0xfffff8002ef50800<br/> isp = 0xfffff8002ef50800<br/> linesz = 16<br/> psize = <optimized out><br/> xsize = <optimized out><br/> i = <optimized out><br/> cmd = <optimized out><br/> data = <optimized out><br/> #16 0xffffffff80c40895 in DEVICE_ATTACH (dev=0xfffff8000419be00)<br/> at ./device_if.h:195<br/> _m = <optimized out><br/> rc = <optimized out><br/> _desc = <optimized out><br/> _cep = <optimized out><br/> _ce = <optimized out><br/> #17 device_attach (dev=dev@entry=0xfffff8000419be00)<br/> at /usr/src/sys/kern/subr_bus.c:3031<br/> attachentropy = 65535<br/> attachtime = 2012990736<br/> error = <optimized out><br/> #18 0xffffffff80c404c1 in device_probe_and_attach (<br/> dev=dev@entry=0xfffff8000419be00) at /usr/src/sys/kern/subr_bus.c:2988<br/> error = <optimized out><br/> saved_vnet = 0x0<br/> #19 0xffffffff80852232 in pci_driver_added (dev=0xfffff8000419a000,<br/> driver=<optimized out>) at /usr/src/sys/dev/pci/pci.c:4752<br/> numdevs = 1<br/> devlist = 0xfffff8002ab69440<br/> i = 0<br/> child = 0xfffff8000419be00<br/> dinfo = 0xfffff8000417cc00<br/> #20 0xffffffff80c3e019 in BUS_DRIVER_ADDED (_dev=0xfffff8000419a000,<br/> _driver=0xffffffff82d231a8 <ichsmb_pci_driver>) at ./bus_if.h:210<br/> _m = <optimized out><br/> _desc = <optimized out><br/> _ce = <optimized out><br/> _cep = <optimized out><br/> #21 devclass_driver_added (dc=dc@entry=0xfffff80003b95700,<br/> driver=0xffffffff82d231a8 <ichsmb_pci_driver>)<br/> at /usr/src/sys/kern/subr_bus.c:1098<br/> i = 9<br/> parent = <optimized out><br/> #22 0xffffffff80c462db in device_do_deferred_actions ()<br/> at /usr/src/sys/kern/subr_bus.c:5766<br/> dc = 0xfffff80003b95700<br/> dl = 0xfffff8002e754740<br/> #23 0xffffffff80c45f6e in devctl2_ioctl (cdev=<optimized out>,<br/> cmd=<optimized out>, data=0xfffff8002a1d7a00 "", fflag=<optimized out>,<br/> td=<optimized out>) at /usr/src/sys/kern/subr_bus.c:6024<br/> req = 0xfffff8002a1d7a00<br/> error = <optimized out><br/> dev = 0xfffff8002ed98740<br/> old = <optimized out><br/> #24 0xffffffff80a99d6c in devfs_ioctl (ap=0xfffffe0127d30ba8)<br/> at /usr/src/sys/fs/devfs/devfs_vnops.c:942<br/> dev = 0xfffff800031aac00<br/> ref = 0<br/> vp = 0xfffff8002e5c8b70<br/> com = 2157462540<br/> td = 0xfffff8002ed98740<br/> dsw = 0xffffffff<br/> error = <optimized out><br/> fgn = <optimized out><br/> p = <optimized out><br/> i = <optimized out><br/> sess = <optimized out><br/> vpold = <optimized out><br/> #25 0xffffffff80cf7778 in VOP_IOCTL (vp=<optimized out>,<br/> command=<optimized out>, data=<optimized out>, fflag=<optimized out>,<br/> cred=<optimized out>, td=<optimized out>) at ./vnode_if.h:636<br/> a = <optimized out><br/> #26 0xffffffff80cf7778 in vn_ioctl (fp=0xfffff80003f995f0, com=4,<br/> data=0xfffff8002a1d7a00, active_cred=0xfffff8002805e000, td=0x7b7b126c48)<br/> vattr = {va_type = 2176101208, va_mode = 65535, va_padding0 = 65535,<br/> va_uid = 777816944, va_gid = 4294965248, va_nlink = 2157462540,<br/> va_fsid = 18446735278323104256, va_fileid = 1,<br/> va_size = 18446735278288003072, va_blocksize = -8795307014336,<br/> va_atime = {tv_sec = 1, tv_nsec = -2194045341696}, va_mtime = {<br/> tv_sec = 1, tv_nsec = -2194060145260}, va_ctime = {tv_sec = 0,<br/> tv_nsec = 1}, va_birthtime = {tv_sec = -8795307014336,<br/> tv_nsec = -8795307014336}, va_gen = 18446741879649406064,<br/> va_flags = 18446744071574286409, va_rdev = 18446741879675889760,<br/> va_bytes = 18446735277683217904, va_filerev = 18446741879675889792,<br/> va_vaflags = 786007872, va_spare = 0}<br/> vp = 0xfffff8002e5c8b70<br/> error = <optimized out><br/> bmarg = <optimized out><br/> #27 0xffffffff80a9a43e in devfs_ioctl_f (fp=0xfffff8002ef50800, com=4,<br/> data=0xfffff800fcbfc004, cred=0x7b7b12d430, td=0x7b7b126c48)<br/> at /usr/src/sys/fs/devfs/devfs_vnops.c:873<br/> fpop = 0x0<br/> error = <optimized out><br/> #28 0xffffffff80c71fc5 in fo_ioctl (fp=0xfffff80003f995f0, com=2157462540,<br/> data=0xfffff800fcbfc004, active_cred=0x7b7b12d430, td=0xfffff8002ed98740)<br/> at /usr/src/sys/sys/file.h:360<br/> No locals.<br/> #29 kern_ioctl (td=td@entry=0xfffff8002ed98740, fd=<optimized out>,<br/> com=com@entry=2157462540,<br/> data=0xfffff800fcbfc004 <error: Cannot access memory at address 0xfffff800fcbfc004>, data@entry=0xfffff8002a1d7a00 "")<br/> at /usr/src/sys/kern/sys_generic.c:801<br/> tmp = 0<br/> fdp = 0xfffffe0129672860<br/> locked = 0<br/> fp = 0xfffff80003f995f0<br/> error = <optimized out><br/> #30 0xffffffff80c71d04 in sys_ioctl (td=0xfffff8002ed98740,<br/> uap=0xfffff8002ed98b28) at /usr/src/sys/kern/sys_generic.c:709<br/> smalldata = "@\207\331.\000\370\377\377X̴\201\377\377\377\377p\213\\.\000\370\377\377\310\030\271-\357\t\000\000`(g)\001\376\377\377\001\004\000\000\000\000\000\002\000\000\000\000\000\000\000\004@\207\331.\234\377\377\377\000\000\000\000\003\000\000\000\360\225\371\003\000\370\377\377@\017\323'\001\000\000\000@\207\331.\000\370\377\377\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000(\213\331.\000\370\377\377\000\000\000\000\000\000\000"<br/> arg = 786007872<br/> com = 2157462540<br/> size = 152<br/> data = <optimized out><br/> error = <optimized out><br/> #31 0xffffffff810c3940 in syscallenter (td=0xfffff8002ed98740)<br/> at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:188<br/> se = 0xffffffff81abdc00 <sysent+1728><br/> p = 0xfffffe0127928008<br/> sa = <optimized out><br/> error = <optimized out><br/> sy_thr_static = true<br/> traced = <optimized out><br/> _tid = <optimized out><br/> _v = <optimized out><br/> _v = <optimized out><br/> _audit_entered = <optimized out><br/> _tid = <optimized out><br/> _v = <optimized out><br/> _v = <optimized out><br/> _tid = <optimized out><br/> _v = <optimized out><br/> _v = <optimized out><br/> #32 amd64_syscall (td=0xfffff8002ed98740, traced=0)<br/> at /usr/src/sys/amd64/amd64/trap.c:1181<br/> ksi = {ksi_link = {tqe_next = 0xfffffe0127d30f30,<br/> tqe_prev = 0xffffffff810c2b38 <trap+1848>}, ksi_info = {<br/> si_signo = 0, si_errno = 0, si_code = 663912456, si_pid = -511,<br/> si_uid = 133124, si_status = 0, si_addr = 0xffff7f01, si_value = {<br/> sival_int = 786007872, sival_ptr = 0xfffff8002ed98740,<br/> sigval_int = 786007872, sigval_ptr = 0xfffff8002ed98740},<br/> _reason = {_fault = {_trapno = 663912456}, _timer = {<br/> _timerid = 663912456, _overrun = -511}, _mesgq = {<br/> _mqd = 663912456}, _poll = {_band = -2194064375800},<br/> __spare__ = {__spare1__ = -2194064375800, __spare2__ = {<br/> 668143344, -511, -2134838840, -1, 668143424, -511, 70}}}},<br/> ksi_flags = 0, ksi_sigq = 0x3}<br/> #33 <signal handler called><br/> No locals.<br/> #34 0x000009ef2c9949ba in ?? ()<br/> No symbol table info available.<br/> Backtrace stopped: Cannot access memory at address 0x9ef2bf82de8<br/> (kgdb)<br/> </div> </div></div></body></html>