From nobody Thu Jan 4 02:05:02 2024 X-Original-To: freebsd-amd64@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 4T590N0tvMz55Gxh for ; Thu, 4 Jan 2024 02:05:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T590L5c9dz463G for ; Thu, 4 Jan 2024 02:05:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=TVLO0noo; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704333919; bh=BISAsfD2m55kHs/hEIAqamUrpm8s/FFbXagYDPg3h70=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=TVLO0noo8F+JxSplw3+kQNPIWb6Ux7vYWjK7Teva/XhhH2zQyzOb6WAt+uscHPITuYmJuUQM73Q6d41fpzLhXcJCpJN44VTrxZPhV5Iw2UOzL73VDOmIeqVyemhw1MB3puNEAwbQuL/qwrWxa4PpFJfPCIAe9JDP4DxSLNtYAojL/KELHjzLFKMIB/hZUDaiT0Bxia326odBfJHtEWMv4nrrk48rfbQg6aaEgr2fZmFvJ3zyl+X6RU6ngdaqcq5f3I/ej99xjlT4VYEIJYD5XcxpfTELSDs+Agy0jhEikM36Ab1ffwxKle17CCPJg44A7cBUFRZQFA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cSub6FKo4qCZgS1ug.3A7L_f_osJHkiWgK QhnhNkTwzHgsbO6_eg12RpyLP1JNO7TRoueKd7.E8iytrA.r38C9WmXSbRyPYmAo_zL2uzR14Q5R 9RThybtvtAjoLjaOe4tdKB8fjy_SAhBD_gGCXY2.JE7q2U.X1B8kZY5qSvEsLFEjlL1RN4PIIisu WBTPWESQW8kVvylGGcx95DcZbBtQefVKnQRXUqMtIrfCD97t7G_d4YFOk.WIhjl9eILhphgaOP1O V.Ts2eZW_wAamun70n1K00xYYQjK85Djjmb4_8YuZuw3Aws8Qo5IbmqGB_34V21PP3RPCYfjjq2I PeqE8Ux1V9qWKayQRYbV3vxv7ROF6xAj3tSxQdN99Itpf48B7h9HX656mg6pZbCl.uQpgi81zXST WxembcQmNGSf.smSZA_.WFmgnjgv9.UdYx0ATK2twsrixjus5qUrFl82nARyYMk95WfINlUSWy6y YnKG9hD0tZriinqrSPQxaQjJqh8sxSulSAbouslT1dLV4GminNvAZ89Wqm93l3ucblqxiHgSQQZ8 krN.gOZrkSezqMhK_I4uvSGwCElT_K9paq6UzZh.Qt1Dl0eJjERud3P6cjpKHnteFB1KrpuBKnEb LidEb_KDoeVAZ6H.BhvTHRn1_c4_Vh1msrmRI7AnC X-Sonic-MF: X-Sonic-ID: b14b60c4-ec8e-4c3b-82e3-ada5b0f60142 Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 4 Jan 2024 02:05:19 +0000 Received: by hermes--production-gq1-6949d6d8f9-dpfkp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 15e7fa132a89dd27e61d0fe697893595; Thu, 04 Jan 2024 02:05:14 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: main [so: 15] on Ryzen 9 7950X3D [so: amd64]: panic: Unknown caching mode 31 [pmap_cache_bits at sys/amd64/amd64/pmap.c:2697] Message-Id: Date: Wed, 3 Jan 2024 18:05:02 -0800 To: "freebsd-amd64@FreeBSD.org" X-Mailer: Apple Mail (2.3774.300.61.1.2) References: X-Spamd-Bar: / X-Spamd-Result: default: False [-0.43 / 15.00]; NEURAL_SPAM_MEDIUM(0.89)[0.888]; NEURAL_HAM_SHORT(-0.82)[-0.817]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; MLMMJ_DEST(0.00)[freebsd-amd64@FreeBSD.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.206:from]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4T590L5c9dz463G I've had a couple of 7950X3D crashes when I've not been around to observe, not frequent. I was finally had one happen while I was present. I do not know a way to force a failure on demand. [Note: I currently only have internet access via a limited use cell phone for some number of days. So my report is just the prefix of /var/crash/core.txt.3 .] The system was not running a debug build. Also, it is my personal build. For this I'm unlikely to manage to set up a reproduction via an official build. # more /var/crash/core.txt.3 7950X3D-ZFS dumped core - see /var/crash/vmcore.3 Wed Jan 3 15:07:58 PST 2024 FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #134 = main-n266876-e183039f0882-dirty: Fri Dec 8 14:22:35 PST 2023 = root@7950X3D-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64= .amd64/sys/GENERIC-NODBG amd64 panic: Unknown caching mode 31 GNU gdb (GDB) 13.2 [GDB v13.2 for FreeBSD] Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later = This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd15.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: panic: Unknown caching mode 31 cpuid =3D 8 time =3D 1704322675 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe04293f39e0 vpanic() at vpanic+0x131/frame 0xfffffe04293f3b10 panic() at panic+0x43/frame 0xfffffe04293f3b70 pmap_enter() at pmap_enter+0x104b/frame 0xfffffe04293f3c40 vm_fault() at vm_fault+0x1340/frame 0xfffffe04293f3d60 vm_fault_trap() at vm_fault_trap+0x6b/frame 0xfffffe04293f3db0 trap_pfault() at trap_pfault+0x1d6/frame 0xfffffe04293f3e10 trap() at trap+0x45d/frame 0xfffffe04293f3f30 calltrap() at calltrap+0x8/frame 0xfffffe04293f3f30 --- trap 0xc, rip =3D 0x8268267a5, rsp =3D 0x8279aced8, rbp =3D = 0x8279acf10 --- KDB: enter: panic __curthread () at /usr/main-src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" = (offsetof(struct pcpu, (kgdb) #0 __curthread () at = /usr/main-src/sys/amd64/include/pcpu_aux.h:57 td =3D #1 doadump (textdump=3Dtextdump@entry=3D0) at /usr/main-src/sys/kern/kern_shutdown.c:403 error =3D 0 coredump =3D #2 0xffffffff804a476a in db_dump (dummy=3D, = dummy2=3D, dummy3=3D, dummy4=3D) at /usr/main-src/sys/ddb/db_command.c:590 error =3D #3 0xffffffff804a4570 in db_command (last_cmdp=3D, = cmd_table=3D, dopager=3Dtrue) at /usr/main-src/sys/ddb/db_command.c:503 modif =3D = "\000\000\000\000\000\000\000\000$p\033\202\377\377\377\377x\222\227\001\0= 01\370\377\377\000\000\000\000\000\000\000\000\b\000\000\0000\000\000\000\= 2605?)\004\376\377\377P5?)\004\376\377\377$p\033\202\377\377\377\377\3605?= )\004\376\377\377\biJ\200\377\377\377\377\320\302\001\202\377\377\377\377%= L'\201\377\377\377\377 = p\033\202\377\377\377\377\000\000\000\000\000\000\000\000\320\302\001\202\= 377\377\377\377" addr =3D -2135186029 count =3D -1 cmd =3D 0xffffffff8201b768 have_addr =3D t =3D result =3D #4 0xffffffff804a422d in db_command_loop () at /usr/main-src/sys/ddb/db_command.c:550 No locals. #5 0xffffffff804a7bc6 in db_trap (type=3D, = code=3D) at /usr/main-src/sys/ddb/db_main.c:267 jb =3D {{_jb =3D {0, -2181151377896, -2181151377760, = -2113813808, 0, -2181151377888, -8782373759168, = -2142602412, -2181151377792, -2137341649, -2110266400, = 3}}} bkpt =3D false watchpt =3D false prev_jb =3D 0x0 why =3D #6 0xffffffff80bbaff7 in kdb_trap (type=3Dtype@entry=3D3, = code=3Dcode@entry=3D0, tf=3Dtf@entry=3D0xfffffe04293f3920) at = /usr/main-src/sys/kern/subr_kdb.c:790 __pc =3D __pc =3D other_cpus =3D {__bits =3D {5914799713661383268, 0, = -2181151377264, 0, -2135156224, -2128969052, = -2181151377280, -2135161210, 35024195344, 0, 43641681928, = -2128969053, -2128649111, 5, 692009152, -4294967296}} be =3D 0xffffffff8201c2d0 intr =3D 70 did_stop_cpus =3D handled =3D #7 0xffffffff81051cdd in trap (frame=3D0xfffffe04293f3920) at /usr/main-src/sys/amd64/amd64/trap.c:606 __pc =3D __pc =3D __pc =3D ksi =3D {ksi_link =3D {tqe_next =3D 0xffffffff804a7d5c = , tqe_prev =3D 0xfffffe04293f3858}, ksi_info = =3D {si_signo =3D 692009128, si_errno =3D -508, si_code =3D = 0, si_pid =3D 0, si_uid =3D 692009112, si_status =3D -508, = si_addr =3D 0x521597006a5e7264, si_value =3D { sival_int =3D 1016, sival_ptr =3D 0x3f8, sigval_int =3D = 1016, sigval_ptr =3D 0x3f8}, _reason =3D {_fault =3D = {_trapno =3D 692010816}, _timer =3D {_timerid =3D = 692010816, _overrun =3D -508}, _mesgq =3D { _mqd =3D 692010816}, _poll =3D {_band =3D = -2181151375552}, _capsicum =3D {_syscall =3D 692010816}, = __spare__ =3D { __spare1__ =3D -2181151375552, __spare2__ =3D = {664456920, 8, 1784574564, 1377146624, 256, 0, = -1}}}}, ksi_flags =3D -866898064, ksi_sigq =3D = 0xffffffff8126824c} signo =3D 692009312 ucode =3D -508 td =3D p =3D 0xfffffe041d0cfae0 dr6 =3D 0 type =3D 3 addr =3D pf =3D i =3D #8 No locals. #9 kdb_enter (why=3D, msg=3D) at /usr/main-src/sys/kern/subr_kdb.c:556 No locals. #10 0xffffffff80b6b582 in vpanic ( fmt=3D0xffffffff8126824c "Unknown caching mode %d\n", = ap=3Dap@entry=3D0xfffffe04293f3b50) at /usr/main-src/sys/kern/kern_shutdown.c:953 buf =3D "Unknown caching mode 31\n", '\000' __pc =3D __pc =3D __pc =3D other_cpus =3D {__bits =3D {4294967039, 0 }} td =3D 0xfffff80331bb5740 bootopt =3D newpanic =3D #11 0xffffffff80b6b413 in panic ( fmt=3D0xffffffff820aa2a8 "3\370 = \201\377\377\377\377") at /usr/main-src/sys/kern/kern_shutdown.c:889 ap =3D {{gp_offset =3D 16, fp_offset =3D 48, = overflow_arg_area =3D 0xfffffe04293f3b80, reg_save_area =3D = 0xfffffe04293f3b20}} #12 0xffffffff8103d8db in pmap_cache_bits (pmap=3D0xfffff80389ca8ad0, = mode=3D64, is_pde=3D) at = /usr/main-src/sys/amd64/amd64/pmap.c:2697 pat_idx =3D cache_bits =3D pat_flag =3D #13 pmap_enter (pmap=3D0xfffff80389ca8ad0, va=3D, = va@entry=3D8189072760832, m=3D0xfffffe00cc5c2fb0, prot=3D, flags=3D2, psind=3Dpsind@entry=3D0 '\000') at /usr/main-src/sys/amd64/amd64/pmap.c:7196 lock =3D 0x0 PG_A =3D PG_G =3D PG_M =3D PG_V =3D PG_RW =3D 0 pa =3D 18446741878114365296 newpte =3D rv =3D mpte =3D pde =3D nosleep =3D pte =3D origpte =3D pv =3D opa =3D om =3D #14 0xffffffff80ef3d80 in vm_fault (map=3Dmap@entry=3D0xfffff80389ca89a0,=20= vaddr=3Dvaddr@entry=3D8189072760832, fault_type=3Dfault_type@entry=3D2= '\002', fault_flags=3Dfault_flags@entry=3D0, = m_hold=3Dm_hold@entry=3D0x0) at /usr/main-src/sys/vm/vm_fault.c:1756 ahead =3D 692010240 behind =3D -1 fs =3D faultcount =3D 1 hardfault =3D false rv =3D res =3D res_next =3D #15 0xffffffff80ef292b in vm_fault_trap (map=3D0xfffff80389ca89a0, = vaddr=3Dvaddr@entry=3D8189072760832, fault_type=3D, = fault_flags=3Dfault_flags@entry=3D0, signo=3D0xfffffe04293f3f00, = ucode=3D0xfffffe04293f3f04) at /usr/main-src/sys/vm/vm_fault.c:710 result =3D #16 0xffffffff81052956 in trap_pfault = (frame=3Dframe@entry=3D0xfffffe04293f3f40, usermode=3Dtrue, = signo=3D0x0, signo@entry=3D0xfffffe04293f3f00, = ucode=3D0xfffffe04293f3620, ucode@entry=3D0xfffffe04293f3f04) at /usr/main-src/sys/amd64/amd64/trap.c:843 __pc =3D __pc =3D __pc =3D td =3D 0xfffff80331bb5740 p =3D eva =3D 8189072760832 map =3D 0xffffffff820aa2a8 ftype =3D 18 '\022' rv =3D #17 0xffffffff81051eed in trap (frame=3D0xfffffe04293f3f40) at /usr/main-src/sys/amd64/amd64/trap.c:382 __pc =3D __pc =3D __pc =3D ksi =3D {ksi_link =3D {tqe_next =3D 0xfffff80331bb5740, = tqe_prev =3D 0x69d4aff}, ksi_info =3D {si_signo =3D 1, si_errno =3D = 0, si_code =3D 0, si_pid =3D 0, si_uid =3D 2812281728, = si_status =3D 1906, si_addr =3D 0xfffffe04293f3e70, = si_value =3D { sival_int =3D -2129519781, sival_ptr =3D = 0xffffffff81121b5b , sigval_int =3D= -2129519781, sigval_ptr =3D 0xffffffff81121b5b = }, _reason =3D {_fault =3D {_trapno = =3D 664456992}, _timer =3D { _timerid =3D 664456992, _overrun =3D 8}, _mesgq =3D { _mqd =3D 664456992}, _poll =3D {_band =3D 35024195360}, = _capsicum =3D {_syscall =3D 664456992}, __spare__ =3D { __spare1__ =3D 35024195360, __spare2__ =3D {12330184, 0, = 664456976, 8, -2130533455, -1, -1446252544}}}}, = ksi_flags =3D 0, ksi_sigq =3D 0x34ea5840} signo =3D 0 ucode =3D 0 td =3D 0xfffff80331bb5740 p =3D 0xfffffe041d0cfae0 dr6 =3D 0 type =3D 12 addr =3D 35005818789 pf =3D i =3D #18 No locals. #19 0x00000008268267a5 in ?? () No symbol table info available. Backtrace stopped: Cannot access memory at address 0x8279aced8 (kgdb)=20 . . . FYI: /* * Determine the appropriate bits to set in a PTE or PDE for a specified * caching mode. */ int pmap_cache_bits(pmap_t pmap, int mode, boolean_t is_pde) { int cache_bits, pat_flag, pat_idx; if (!pmap_is_valid_memattr(pmap, mode)) panic("Unknown caching mode %d\n", mode); That is all for now. =3D=3D=3D Mark Millard marklmi at yahoo.com