From nobody Tue Jul 16 22:27:58 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WNtxX5yyqz5QNHY for ; Tue, 16 Jul 2024 22:28:00 +0000 (UTC) (envelope-from cheeky.m@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WNtxX0DFFz4Pns for ; Tue, 16 Jul 2024 22:27:59 +0000 (UTC) (envelope-from cheeky.m@gmx.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.com header.s=s31663417 header.b=lJDurArR; dmarc=pass (policy=quarantine) header.from=gmx.com; spf=pass (mx1.freebsd.org: domain of cheeky.m@gmx.com designates 212.227.15.18 as permitted sender) smtp.mailfrom=cheeky.m@gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1721168879; x=1721773679; i=cheeky.m@gmx.com; bh=Xf3pTT7d8kCSYCP6Iyfs1kd/dDt6wJ6Qh9jPazR4zww=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Subject: Content-Type:Date:cc:content-transfer-encoding:content-type:date: from:message-id:mime-version:reply-to:subject:to; b=lJDurArRnLywkZAfOYl6K5R7B5J2Npqvm0+BVKuwUod+AwYzBeBxcmUCrzUpgH3w Qk65vgNT/ypxjBL/icGUK4xdaHkBz+4qbZwxI5z1YxpOvSmy6anRpq7zNBP637N3x C5WGv8AFWa7MybC7dP8mY+wmD8TPSTtsjUfXoL+u5dSgftIT9/jQ7tRzDo7AR31MP pt4BBLgcMhScmHuVGXGI/RHC3KHhwwbxkz/O48ml7F7AWofhqIOaJV9w9fuE6vhEu jZ1Fh6wv3m2tm8J5WEg2KcOeBEKj7oKpJOCfnBf7xL7WJZEuC08nWfarQh4Xpuws5 //nx/v5j1llf6yrwjg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [73.219.129.86] ([73.219.129.86]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Wed, 17 Jul 2024 00:27:58 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Message-ID: From: Roger Hammerstein To: current@freebsd.org Subject: 13.3 14.x panic in qlogic isp vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000 Content-Type: text/html; charset=UTF-8 Date: Wed, 17 Jul 2024 00:27:58 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:ZZ41OU9dieVn59l7hwL5iXmU+HpwlZmF30k3425LLJkerApZUWyAPH5uc2COgJoBLfP9S T/oxh8H5/Yt+CniKFIRzbSBA9IRtkuLpiOnMdqXcK/RVNabHgwhLg64XMdyouxQWvF1mEol1B60/ ZD/2ZFgk2otQbKHpAT17HFmhcpK3kg9BMr79Il4jUMym0ozrdLY41bV7AzCJ+pnacLO4lZ+OxiAn OH5hk7dUMXrC0wCeGUzSNcC8oyiS46Eh+g+ZLiG1lOVaanvccjFWSs6a8e1znSeK7vALHI4Wgh4R go= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:+2VRUqfgeIo=;M4inmNrfDAcsuiRtntWh0cuqC6G OZAdyVEShGq1+6TGmSzg0PC1cqiobKswzrukYzeHLRFtLZ/EnSyKf1Ec1R9fh/porwUZ+JFEx 7pjHOnrVyTnLPTTQBnTcGS1LQEDNe74s3B1y8b/kppdssz40b4e7o5QUUfBh4CvpzD17NX0HH pkh+YUiNZalrtslNkHGjmGmAX1Th9NpQ1ptQpEB8AmjUN2KU7kvIrqDoiP1nh1vADybBOrWcw W+kCwI/cuYFCDJadyLORwQOw3h3Hbl+KhE/fb1nXRz+W7cj2dDvUkwQNRBMhOIIJS+S6l90ws kd43FcPCsiCEKSIwWYvqvraoXQAEWrBhTkJpAwanv7dfkm4Q0V0s/wEP1CkBBXaRAhKKXgCFN rheuUVN4++iWR6+XDktxkV/kcgC0Ryhk0qKN7dr7B6rQkdoc3r4zxqb2KzmyUwAfT+P1Dja6f x1how5kjwUpzqh7YjUdE/oKdAN056XnAJHgKfbk0rs+Fppcj6gmxpH9vze54iAnl276j5N59E iYf96ENcUV4gRgjVU52QIGjso2YlekF+7limsdvO9hIHP5M/z1Lz95C1eAqfKzZZOzwQdpZSo +6du4LqdCjgzh2a9M6Cu07zQ7+p1eKQAhhksvVkM/HGswiiB+TPWvY+Z5bcJhTvQ9+8Ckl0S+ dNNCtI0bKehl7KIuMnFzz6ThADPs6h1cbW/gKnsljg== X-Spamd-Bar: - X-Spamd-Result: default: False [-1.66 / 15.00]; DWL_DNSWL_LOW(-1.00)[gmx.com:dkim]; NEURAL_HAM_SHORT(-0.94)[-0.942]; NEURAL_SPAM_LONG(0.91)[0.910]; DMARC_POLICY_ALLOW(-0.50)[gmx.com,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_MEDIUM(-0.23)[-0.230]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net:c]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.15.18:from]; MIME_HTML_ONLY(0.20)[]; R_DKIM_ALLOW(-0.20)[gmx.com:s=s31663417]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; HAS_X_PRIO_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:~]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmx.com]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmx.com:+]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.com] X-Rspamd-Queue-Id: 4WNtxX0DFFz4Pns
 
13.2 works.   13.3 and 14.x panic.
 
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.
13.2 works
 
 
 
 
Autoloading module: ichsmb
ichsmb0: <Intel 631xESB/6321ESB (ESB2) SMBus controller> port 0x300-0x31f irq 22 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
isp1: <Qlogic ISP 2432 PCI FC-AL Adapter> port 0x9c00-0x9cff mem 0xfcbfc000-0xfcbfffff irq 18 at device 0.0 on pci9
isp1: FLT[DEF]: Invalid length=0xffff(65535)
panic: vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000
cpuid = 6
time = 1721060956
KDB: stack backtrace:
Uptime: 17s
Dumping 936 out of 24532 MB:..2%..11%..21%..31%..42%..52%..62%..71%..81%..91%
------------------------------------------------------------------------
 
 
Reading symbols from /usr/lib/debug//boot/kernel/ichsmb.ko.debug...
Reading symbols from /boot/kernel/smbus.ko...
Reading symbols from /usr/lib/debug//boot/kernel/smbus.ko.debug...
__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:53
warning: Source file is more recent than executable.
53              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:53
        td = <optimized out>
#1  doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:394
        error = 0
        coredump = <optimized out>
#2  0xffffffff80c04c1e in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:482
        once = 0
#3  0xffffffff80c050bf in vpanic (
    fmt=0xffffffff811d497c "%s: fault on nofault entry, addr: %#lx",
    ap=ap@entry=0xfffffe0127d20400) at /usr/src/sys/kern/kern_shutdown.c:921
        buf = "vm_fault_lookup: fault on nofault entry, addr: 0xfffffe0127d22000", '\000' <repeats 190 times>
        other_cpus = {__bits = {191, 0, 0, 0}}
        td = 0xfffff8002ed98740
        bootopt = <unavailable>
        newpanic = <optimized out>
#4  0xffffffff80c04ef3 in panic (fmt=<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:845
        ap = {{gp_offset = 24, fp_offset = 48,
            overflow_arg_area = 0xfffffe0127d20430,
            reg_save_area = 0xfffffe0127d203d0}}
#5  0xffffffff80f64dc9 in vm_fault_lookup (fs=0xfffffe0127d20470)
    at /usr/src/sys/vm/vm_fault.c:839
        result = <optimized out>
#6  vm_fault (map=<optimized out>, vaddr=vaddr@entry=18446741879649345536,
    fault_type=2 '\002', fault_flags=fault_flags@entry=0,
    m_hold=m_hold@entry=0x0) at /usr/src/sys/vm/vm_fault.c:1474
        ahead = 0
        behind = 0
        fs = {vaddr = 18446741879649345536, m_hold = 0x0,
          fault_type = 2 '\002', prot = <optimized out>,
          fault_flags = <optimized out>, wired = <optimized out>,
          oom_start_time = {tv_sec = <optimized out>,
            tv_usec = <optimized out>}, oom_started = <optimized out>,
          nera = <optimized out>, m_cow = <optimized out>,
          object = <optimized out>, pindex = <optimized out>,
          m = <optimized out>, first_object = <optimized out>,
          first_pindex = <optimized out>, first_m = <optimized out>,
          map = 0xffffffff81ec4038 <kernel_map_store>,
          entry = 0xfffff800030071e0, map_generation = 447,
          lookup_still_valid = false, vp = 0x0}
        faultcount = 0
        hardfault = false
        rv = <optimized out>
        res = <optimized out>
#7  0xffffffff80f63aa0 in vm_fault_trap (map=<optimized out>,
    vaddr=vaddr@entry=18446741879649345536, fault_type=<optimized out>,
    fault_flags=fault_flags@entry=0, signo=0x0, ucode=0x0)
    at /usr/src/sys/vm/vm_fault.c:659
        result = <optimized out>
#8  0xffffffff810c3261 in trap_pfault (frame=0xfffffe0127d205f0,
    usermode=false, signo=<unavailable>, ucode=<unavailable>)
    at /usr/src/sys/amd64/amd64/trap.c:844
        td = 0xfffff8002ed98740
        p = <optimized out>
        eva = 18446741879649345536
        map = <unavailable>
        ftype = <unavailable>
        rv = <optimized out>
#9  <signal handler called>
No locals.
#10 0xffffffff80699362 in isp_rd_2xxx_flash (isp=0xfffff8002ef50800,
    addr=<optimized out>, rp=0xfffffe0127d22000)
    at /usr/src/sys/dev/isp/isp.c:4595
        loops = <optimized out>
        fcp = <optimized out>
        base = <optimized out>
#11 isp_read_flt_2xxx (isp=0xfffff8002ef50800)
    at /usr/src/sys/dev/isp/isp.c:4672
        fcp = <optimized out>
        retval = 0
        len = <optimized out>
        dptr = 0xfffffe0127d22004
        __vla_expr0 = <optimized out>
        addr = 72279
        lwrds = 1620
        flt_data = <optimized out>
#12 0xffffffff8069185c in isp_get_flash_addrs (
    isp=isp@entry=0xfffff8002ef50800) at /usr/src/sys/dev/isp/isp.c:181
        fcp = <optimized out>
        r = 0
#13 0xffffffff8068fe86 in isp_reset (isp=isp@entry=0xfffff8002ef50800,
    do_load_defaults=do_load_defaults@entry=1)
    at /usr/src/sys/dev/isp/isp.c:417
        dcrc = "Downloaded RISC Code Checksum Failure"
        patterns = {0, 57005, 48879, 65535, 42405, 23130, 32639, 32759, 13345,
          43981, 56506, 65263, 48813, 57022, 8738, 13107, 21845, 26214, 30583,
          43690, 65535, 56797, 39321, 8124, 26214, 26231, 4386, 13311, 0, 1,
          4096, 4112}
        mbs = {param = {16384, 57005, 48879, 65535, 42405, 23130, 32639,
            32759, 13345, 43981, 56506, 65263, 48813, 57022, 8738, 13107,
            21845, 26214, 30583, 43690, 65535, 56797, 39321, 8124, 26214,
            26231, 4386, 13311, 0, 1, 4096, 4112}, ibits = 0, obits = 0,
          ibitm = 4294967295, obitm = 4294967295, logval = 4294967295,
          timeout = 0, lineno = 363, func = 0xffffffff811e2f30 "isp_reset"}
        dodnld = 1
        btype = 0xffffffff8122099f "2422"
        loops = <optimized out>
        val = <optimized out>
        i = <optimized out>
        fcp = 0xfffffe01297f6000
        loaded_fw = <optimized out>
        code_org = <optimized out>
        fwt = <optimized out>
        buf = <optimized out>
#14 0xffffffff80698c87 in isp_reinit (isp=isp@entry=0xfffff8002ef50800,
    do_load_defaults=do_load_defaults@entry=1)
    at /usr/src/sys/dev/isp/isp.c:4514
        res = 0
        i = <optimized out>
#15 0xffffffff806a5c65 in isp_pci_attach (dev=0xfffff8000419be00)
    at /usr/src/sys/dev/isp/isp_pci.c:627
        pcs = 0xfffff8002ef50800
        isp = 0xfffff8002ef50800
        linesz = 16
        psize = <optimized out>
        xsize = <optimized out>
        i = <optimized out>
        cmd = <optimized out>
        data = <optimized out>
#16 0xffffffff80c40895 in DEVICE_ATTACH (dev=0xfffff8000419be00)
    at ./device_if.h:195
        _m = <optimized out>
        rc = <optimized out>
        _desc = <optimized out>
        _cep = <optimized out>
        _ce = <optimized out>
#17 device_attach (dev=dev@entry=0xfffff8000419be00)
    at /usr/src/sys/kern/subr_bus.c:3031
        attachentropy = 65535
        attachtime = 2012990736
        error = <optimized out>
#18 0xffffffff80c404c1 in device_probe_and_attach (
    dev=dev@entry=0xfffff8000419be00) at /usr/src/sys/kern/subr_bus.c:2988
        error = <optimized out>
        saved_vnet = 0x0
#19 0xffffffff80852232 in pci_driver_added (dev=0xfffff8000419a000,
    driver=<optimized out>) at /usr/src/sys/dev/pci/pci.c:4752
        numdevs = 1
        devlist = 0xfffff8002ab69440
        i = 0
        child = 0xfffff8000419be00
        dinfo = 0xfffff8000417cc00
#20 0xffffffff80c3e019 in BUS_DRIVER_ADDED (_dev=0xfffff8000419a000,
    _driver=0xffffffff82d231a8 <ichsmb_pci_driver>) at ./bus_if.h:210
        _m = <optimized out>
        _desc = <optimized out>
        _ce = <optimized out>
        _cep = <optimized out>
#21 devclass_driver_added (dc=dc@entry=0xfffff80003b95700,
    driver=0xffffffff82d231a8 <ichsmb_pci_driver>)
    at /usr/src/sys/kern/subr_bus.c:1098
        i = 9
        parent = <optimized out>
#22 0xffffffff80c462db in device_do_deferred_actions ()
    at /usr/src/sys/kern/subr_bus.c:5766
        dc = 0xfffff80003b95700
        dl = 0xfffff8002e754740
#23 0xffffffff80c45f6e in devctl2_ioctl (cdev=<optimized out>,
    cmd=<optimized out>, data=0xfffff8002a1d7a00 "", fflag=<optimized out>,
    td=<optimized out>) at /usr/src/sys/kern/subr_bus.c:6024
        req = 0xfffff8002a1d7a00
        error = <optimized out>
        dev = 0xfffff8002ed98740
        old = <optimized out>
#24 0xffffffff80a99d6c in devfs_ioctl (ap=0xfffffe0127d30ba8)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:942
        dev = 0xfffff800031aac00
        ref = 0
        vp = 0xfffff8002e5c8b70
        com = 2157462540
        td = 0xfffff8002ed98740
        dsw = 0xffffffff
        error = <optimized out>
        fgn = <optimized out>
        p = <optimized out>
        i = <optimized out>
        sess = <optimized out>
        vpold = <optimized out>
#25 0xffffffff80cf7778 in VOP_IOCTL (vp=<optimized out>,
    command=<optimized out>, data=<optimized out>, fflag=<optimized out>,
    cred=<optimized out>, td=<optimized out>) at ./vnode_if.h:636
        a = <optimized out>
#26 0xffffffff80cf7778 in vn_ioctl (fp=0xfffff80003f995f0, com=4,
    data=0xfffff8002a1d7a00, active_cred=0xfffff8002805e000, td=0x7b7b126c48)
        vattr = {va_type = 2176101208, va_mode = 65535, va_padding0 = 65535,
          va_uid = 777816944, va_gid = 4294965248, va_nlink = 2157462540,
          va_fsid = 18446735278323104256, va_fileid = 1,
          va_size = 18446735278288003072, va_blocksize = -8795307014336,
          va_atime = {tv_sec = 1, tv_nsec = -2194045341696}, va_mtime = {
            tv_sec = 1, tv_nsec = -2194060145260}, va_ctime = {tv_sec = 0,
            tv_nsec = 1}, va_birthtime = {tv_sec = -8795307014336,
            tv_nsec = -8795307014336}, va_gen = 18446741879649406064,
          va_flags = 18446744071574286409, va_rdev = 18446741879675889760,
          va_bytes = 18446735277683217904, va_filerev = 18446741879675889792,
          va_vaflags = 786007872, va_spare = 0}
        vp = 0xfffff8002e5c8b70
        error = <optimized out>
        bmarg = <optimized out>
#27 0xffffffff80a9a43e in devfs_ioctl_f (fp=0xfffff8002ef50800, com=4,
    data=0xfffff800fcbfc004, cred=0x7b7b12d430, td=0x7b7b126c48)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:873
        fpop = 0x0
        error = <optimized out>
#28 0xffffffff80c71fc5 in fo_ioctl (fp=0xfffff80003f995f0, com=2157462540,
    data=0xfffff800fcbfc004, active_cred=0x7b7b12d430, td=0xfffff8002ed98740)
    at /usr/src/sys/sys/file.h:360
No locals.
#29 kern_ioctl (td=td@entry=0xfffff8002ed98740, fd=<optimized out>,
    com=com@entry=2157462540,
    data=0xfffff800fcbfc004 <error: Cannot access memory at address 0xfffff800fcbfc004>, data@entry=0xfffff8002a1d7a00 "")
    at /usr/src/sys/kern/sys_generic.c:801
        tmp = 0
        fdp = 0xfffffe0129672860
        locked = 0
        fp = 0xfffff80003f995f0
        error = <optimized out>
#30 0xffffffff80c71d04 in sys_ioctl (td=0xfffff8002ed98740,
    uap=0xfffff8002ed98b28) at /usr/src/sys/kern/sys_generic.c:709
        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"
        arg = 786007872
        com = 2157462540
        size = 152
        data = <optimized out>
        error = <optimized out>
#31 0xffffffff810c3940 in syscallenter (td=0xfffff8002ed98740)
    at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:188
        se = 0xffffffff81abdc00 <sysent+1728>
        p = 0xfffffe0127928008
        sa = <optimized out>
        error = <optimized out>
        sy_thr_static = true
        traced = <optimized out>
        _tid = <optimized out>
        _v = <optimized out>
        _v = <optimized out>
        _audit_entered = <optimized out>
        _tid = <optimized out>
        _v = <optimized out>
        _v = <optimized out>
        _tid = <optimized out>
        _v = <optimized out>
        _v = <optimized out>
#32 amd64_syscall (td=0xfffff8002ed98740, traced=0)
    at /usr/src/sys/amd64/amd64/trap.c:1181
        ksi = {ksi_link = {tqe_next = 0xfffffe0127d30f30,
            tqe_prev = 0xffffffff810c2b38 <trap+1848>}, ksi_info = {
            si_signo = 0, si_errno = 0, si_code = 663912456, si_pid = -511,
            si_uid = 133124, si_status = 0, si_addr = 0xffff7f01, si_value = {
              sival_int = 786007872, sival_ptr = 0xfffff8002ed98740,
              sigval_int = 786007872, sigval_ptr = 0xfffff8002ed98740},
            _reason = {_fault = {_trapno = 663912456}, _timer = {
                _timerid = 663912456, _overrun = -511}, _mesgq = {
                _mqd = 663912456}, _poll = {_band = -2194064375800},
              __spare__ = {__spare1__ = -2194064375800, __spare2__ = {
                  668143344, -511, -2134838840, -1, 668143424, -511, 70}}}},
          ksi_flags = 0, ksi_sigq = 0x3}
#33 <signal handler called>
No locals.
#34 0x000009ef2c9949ba in ?? ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x9ef2bf82de8
(kgdb)