Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2023 10:54:13 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Sha Faisal <sfaisal@juniper.net>
Cc:        "freebsd-arm@FreeBSD.org" <freebsd-arm@FreeBSD.org>, Steve Kiernan <stevek@juniper.net>, Mahesh Vardhamanaiah <maheshmv@juniper.net>
Subject:   Re: Kernel crash before login prompt
Message-ID:  <6537067F-670A-4B52-87FA-FF2DBAD68120@fubar.geek.nz>
In-Reply-To: <BYAPR05MB6677E63414F88873FF17174BB724A@BYAPR05MB6677.namprd05.prod.outlook.com>
References:  <BYAPR05MB66779D6947C5BE371C8EA3B3B724A@BYAPR05MB6677.namprd05.prod.outlook.com> <BYAPR05MB6677A86EDDAEDBE5E0DD6266B724A@BYAPR05MB6677.namprd05.prod.outlook.com> <E03D720A-B18B-45C6-9BD6-7CA6FDA83560@fubar.geek.nz> <BYAPR05MB6677E63414F88873FF17174BB724A@BYAPR05MB6677.namprd05.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_4AFE4AD1-DA71-469C-8382-828AA47F5A47
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

It looks like that exception is due to DPCPU_ID_PTR calculating an =
invalid pointer.

Can you print the contents of the dpcpu_off array, and the addresses of =
__start_set_pcpu and pcpu_entry_tdq.

Andrew

> On 28 Jun 2023, at 19:45, Sha Faisal <sfaisal@juniper.net> wrote:
>=20
> Hello Andrew,
> Attached is the boot log,  also at the end I have pasted the remote =
gdb backtrace
> =20
> Regards
> faisal
> =20
>=20
>=20
> Juniper Business Use Only
>=20
> From: Andrew Turner <andrew@fubar.geek.nz =
<mailto:andrew@fubar.geek.nz>>
> Date: Wednesday, 28 June 2023 at 20:47
> To: Sha Faisal <sfaisal@juniper.net <mailto:sfaisal@juniper.net>>
> Cc: freebsd-arm@FreeBSD.org <mailto:freebsd-arm@FreeBSD.org> =
<freebsd-arm@FreeBSD.org <mailto:freebsd-arm@FreeBSD.org>>, Steve =
Kiernan <stevek@juniper.net <mailto:stevek@juniper.net>>, Mahesh =
Vardhamanaiah <maheshmv@juniper.net <mailto:maheshmv@juniper.net>>
> Subject: Re: Kernel crash before login prompt
>=20
> [External Email. Be cautious of content]
> =20
> =20
> On 28 Jun 2023, at 13:18, Sha Faisal <sfaisal@juniper.net> wrote:
> =20
> =20
> Hello FreeBSD team,
> =20
> We have upgraded our FreeBSD kernel from 12 to main branch and with =
latest main branch one of our boxes with
> Broadcom iProc Northstar2 BCM5871X SoC (Quad-core ARM Cortex-A57 =
64-bit 2GHz ARMv8-A CPU architecture) is crashing at =
mtx_spin_lock_flags(), with data_abort exception.
> Sometimes the exception is raised at DPCPCU_PTR() functions.
> =20
> Has anyone tried to boot freeBSD14 on the above mentioned BCM SoC?=20
> =20
> Please share your inputs and comment
> =20
> I don=E2=80=99t know of any issues with either of these, and don=E2=80=99=
t know of anyone running FreeBSD on this SoC.
> =20
> Can you provide more details on what is failing, e.g. the boot log?
> =20
> Andrew
> =20
=EF=BF=BC

--Apple-Mail=_4AFE4AD1-DA71-469C-8382-828AA47F5A47
Content-Type: multipart/mixed;
	boundary="Apple-Mail=_6E0B10FA-A382-44DA-8A43-DD44CF5E2297"


--Apple-Mail=_6E0B10FA-A382-44DA-8A43-DD44CF5E2297
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;"><div>It looks =
like that exception is due to&nbsp;DPCPU_ID_PTR calculating an invalid =
pointer.</div><div><br></div><div>Can you print the contents of =
the&nbsp;dpcpu_off array, and the addresses of __start_set_pcpu and =
pcpu_entry_tdq.</div><div><br></div><div>Andrew</div><div><br><blockquote =
type=3D"cite"><div>On 28 Jun 2023, at 19:45, Sha Faisal =
&lt;sfaisal@juniper.net&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><div =
class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><div style=3D"margin: 0cm; font-size: 10pt; =
font-family: Calibri, sans-serif;"><span style=3D"font-size: =
11pt;">Hello Andrew,<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;">Attached is the boot log,&nbsp; also at the =
end I have pasted the remote gdb backtrace<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span style=3D"font-size: =
11pt;"><o:p>&nbsp;</o:p></span></div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;">Regards<o:p></o:p></span></div><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span style=3D"font-size: =
11pt;">faisal<o:p></o:p></span></div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;"><o:p>&nbsp;</o:p></span></div><div =
id=3D"mail-editor-reference-message-container"><div><div =
style=3D"border-width: 1pt medium medium; border-style: solid none none; =
border-color: rgb(181, 196, 223) currentcolor currentcolor; =
border-image: none; padding: 3pt 0cm 0cm;"><p class=3D"MsoNormal" =
style=3D"margin: 0cm 0cm 12pt; font-size: 10pt; font-family: Calibri, =
sans-serif;"><b><span style=3D"font-size: =
12pt;"><br></span></b></p><b><p align=3D"Center" style=3D"font-family: =
Calibri; font-size: 7pt; margin: 15pt; font-style: normal; font-weight: =
normal; text-decoration: none;">Juniper Business Use =
Only<br></p>From:<span =
class=3D"Apple-converted-space">&nbsp;</span></b><span style=3D"font-size:=
 12pt;">Andrew Turner &lt;<a =
href=3D"mailto:andrew@fubar.geek.nz">andrew@fubar.geek.nz</a>&gt;<br><b>Da=
te:<span class=3D"Apple-converted-space">&nbsp;</span></b>Wednesday, 28 =
June 2023 at 20:47<br><b>To:<span =
class=3D"Apple-converted-space">&nbsp;</span></b>Sha Faisal &lt;<a =
href=3D"mailto:sfaisal@juniper.net">sfaisal@juniper.net</a>&gt;<br><b>Cc:<=
span class=3D"Apple-converted-space">&nbsp;</span></b><a =
href=3D"mailto:freebsd-arm@FreeBSD.org">freebsd-arm@FreeBSD.org</a><span =
class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"mailto:freebsd-arm@FreeBSD.org">freebsd-arm@FreeBSD.org</a>&gt;, =
Steve Kiernan &lt;<a =
href=3D"mailto:stevek@juniper.net">stevek@juniper.net</a>&gt;, Mahesh =
Vardhamanaiah &lt;<a =
href=3D"mailto:maheshmv@juniper.net">maheshmv@juniper.net</a>&gt;<br><b>Su=
bject:<span class=3D"Apple-converted-space">&nbsp;</span></b>Re: Kernel =
crash before login prompt<o:p></o:p></span><div><br =
class=3D"webkit-block-placeholder"></div></div><div style=3D"margin: =
0cm; font-size: 10pt; font-family: Calibri, sans-serif; line-height: =
12pt; background: rgb(255, 235, 156);"><b><span style=3D"font-size: =
10.5pt; font-family: Lato, sans-serif;">[External Email. Be cautious of =
content]<o:p></o:p></span></b></div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;"><o:p>&nbsp;</o:p></span></div><div><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span style=3D"font-size: =
11pt;"><o:p>&nbsp;</o:p></span></div><div><blockquote style=3D"margin-top:=
 5pt; margin-bottom: 5pt;"><div><div style=3D"margin: 0cm; font-size: =
10pt; font-family: Calibri, sans-serif;"><span style=3D"font-size: =
11pt;">On 28 Jun 2023, at 13:18, Sha Faisal &lt;sfaisal@juniper.net&gt; =
wrote:<o:p></o:p></span></div></div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;"><o:p>&nbsp;</o:p></span></div><div><div><p =
class=3D"MsoNormal" style=3D"margin: 0cm; font-size: 10pt; font-family: =
Calibri, sans-serif;"><span style=3D"font-size: =
11pt;">&nbsp;</span></p></div><div =
id=3D"mail-editor-reference-message-container"><div><div><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US" style=3D"font-size: 11pt;">Hello =
FreeBSD team,</span></div></div><div><p class=3D"MsoNormal" =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US" style=3D"font-size: =
11pt;">&nbsp;</span></p></div><div><div style=3D"margin: 0cm; font-size: =
10pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US" =
style=3D"font-size: 11pt;">We have upgraded our FreeBSD kernel from 12 =
to main branch and with latest main branch one of our boxes =
with</span></div></div><div><div style=3D"margin: 0cm; font-size: 10pt; =
font-family: Calibri, sans-serif;"><b><span lang=3D"EN-US" =
style=3D"font-size: 11pt;">Broadcom iProc Northstar2 BCM5871X =
SoC</span></b><span lang=3D"EN-US" style=3D"font-size: =
11pt;">&nbsp;(Quad-core ARM Cortex-A57 64-bit 2GHz ARMv8-A CPU =
architecture) is crashing at mtx_spin_lock_flags(), with data_abort =
exception.</span></div></div><div><div style=3D"margin: 0cm; font-size: =
10pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US" =
style=3D"font-size: 11pt;">Sometimes the exception is raised at =
DPCPCU_PTR() functions.</span></div></div><div><p class=3D"MsoNormal" =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-US" style=3D"font-size: =
11pt;">&nbsp;</span></p></div><div><div style=3D"margin: 0cm; font-size: =
10pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US" =
style=3D"font-size: 11pt;">Has anyone tried to boot freeBSD14 on the =
above mentioned BCM SoC?&nbsp;</span></div></div><div><p =
class=3D"MsoNormal" style=3D"margin: 0cm; font-size: 10pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-US" style=3D"font-size: =
11pt;">&nbsp;</span></p></div><div><div style=3D"margin: 0cm; font-size: =
10pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US" =
style=3D"font-size: 11pt;">Please share your inputs and =
comment</span></div></div></div></div></div></blockquote><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span style=3D"font-size: =
11pt;"><o:p>&nbsp;</o:p></span></div></div><div><div style=3D"margin: =
0cm; font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;">I don=E2=80=99t know of any issues with =
either of these, and don=E2=80=99t know of anyone running FreeBSD on =
this SoC.<o:p></o:p></span></div></div><div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;"><o:p>&nbsp;</o:p></span></div></div><div><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span style=3D"font-size: 11pt;">Can you provide more =
details on what is failing, e.g. the boot =
log?<o:p></o:p></span></div></div><div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 11pt;"><o:p>&nbsp;</o:p></span></div></div><div><div =
style=3D"margin: 0cm; font-size: 10pt; font-family: Calibri, =
sans-serif;"><span style=3D"font-size: =
11pt;">Andrew<o:p></o:p></span></div></div><div style=3D"margin: 0cm; =
font-size: 10pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: =
11pt;"><o:p>&nbsp;</o:p></span></div></div></div></div></div></div></block=
quote></div></body></html>=

--Apple-Mail=_6E0B10FA-A382-44DA-8A43-DD44CF5E2297
Content-Disposition: attachment;
	filename=main_kernel_crash.rtf
Content-Type: text/rtf;
	x-unix-mode=0644;
	name="main_kernel_crash.rtf"
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\cocoartf2639
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red170\green171\blue37;\red56\green185\blue199;
\red57\green192\blue38;\red86\green32\blue244;}
{\*\expandedcolortbl;;\csgray\c0;\cssrgb\c72331\c71682\c18599;\cssrgb\c25546\c77007\c82023;
\cssrgb\c25706\c77963\c19557;\cssrgb\c41681\c25958\c96648;}
\paperw11900\paperh16840\margl1440\margr1440\vieww34360\viewh18520\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0

\f0\fs38 \cf2 \CocoaLigature0 ---<<BOOT>>---\
GDB: debug ports: uart\
GDB: current port: uart\
KDB: debugger backends: ddb gdb\
KDB: current backend: ddb\
WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance\
Copyright (c) 1998-2023 Juniper Networks, Inc.\
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-CURRENT #16 main-n263130-262bbf684b3-dirty: Wed Jun 28 03:06:01 PDT 2023\
    sfaisal@svl-bsdx-02:/b/sfaisal/stable_main/obj/arm64/juniper/kernels/JNPR-ARM64-WIT/kernel arm64\
Juniper clang version 13.0.1 (git@eng-gitlab.juniper.net:tools-tot/llvm d6c59310ee4d5c1c649e8380bbed4f0ef6a6580b)\
WARNING: WITNESS option enabled, expect reduced performance.\
VT: init without driver.\
module cpld already present!\
module crypto already present!\
link_elf: symbol ipv4_ipsec_support undefined\
KLD file netstack.ko - could not finalize loading\
KLD file iflib.ko - cannot find dependency "netstack"\
KLD file miibus.ko - cannot find dependency "netstack"\
KLD file iproc_mdio_mux.ko - cannot find dependency "miibus"\
KLD file if_gmac.ko - cannot find dependency "netstack"\
real memory  = 4294922240 (4095 MB)\
avail memory = 4124983296 (3933 MB)\
FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs\
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.\
Security policy loaded: MAC/veriexec (mac_veriexec)\
MAC/veriexec fingerprint module loaded: SHA256\
MAC/veriexec fingerprint module loaded: SHA384\
MAC/veriexec fingerprint module loaded: SHA1\
random: entropy device external interface\
MAP fdaf0000 mode 2 pages 1\
MAP fffc7000 mode 2 pages 1\
module_register_init: MOD_LOAD (efirt, 0xffff00000006d554, 0) error 6\
ofwbus0: <Open Firmware Device Tree>\
simplebus0: <Flattened device tree simple bus> on ofwbus0\
clk_fixed0: <Fixed clock> on simplebus0\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
bcmcru0: <Broadcom BCM56XXX cru> mem 0x660e0000-0x660e0fff on simplebus0\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
gic0: <ARM Generic Interrupt Controller> mem 0x65210000-0x65210fff,0x65220000-0x65220fff,0x65240000-0x65241fff,0x65260000-0x65260fff irq 56 on simplebus0\
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 512\
gicv2m0: <ARM Generic Interrupt Controller MSI/MSIX> mem 0-0xfff on gic0\
gicv2m1: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x10000-0x10fff on gic0\
gicv2m2: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x20000-0x20fff on gic0\
gicv2m3: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x30000-0x30fff on gic0\
gicv2m4: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x40000-0x40fff on gic0\
gicv2m5: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x50000-0x50fff on gic0\
gicv2m6: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x60000-0x60fff on gic0\
gicv2m7: <ARM Generic Interrupt Controller MSI/MSIX> mem 0x70000-0x70fff on gic0\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
pl3300: <ARM PrimeCell DMA Controller (PL330)> mem 0x61360000-0x61360fff irq 13,14,15,16,17,18,19,20,21 on simplebus0\
gpio0: <Broadcom BCM56XXX GPIO controller> mem 0x660a0000-0x660a004f irq 63 on simplebus0\
gpiobus0: <GPIO bus> on gpio0\
generic_timer0: <ARMv8 Generic Timer> irq 0,1,2,3 on ofwbus0\
Timecounter "ARM MPCore Timecounter" frequency 25000000 Hz quality 1000\
Event timer "ARM MPCore Eventtimer" frequency 25000000 Hz quality 1000\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
cpulist0: <Open Firmware CPU Group> on ofwbus0\
cpu0: <Open Firmware CPU> on cpulist0\
pmu0: <Performance Monitoring Unit> irq 4,5,6,7 on ofwbus0\
pmu0: Missing value in interrupt affinity property\
device_attach: pmu0 attach returned 6\
pcib0: <Broadcom iProc PCIe RC driver> mem 0x20020000-0x20020fff on ofwbus0\
pci0: <OFW PCI bus> on pcib0\
pcib1: <PCI-PCI bridge> irq 84 at device 0.0 on pci0\
pcib0: failed to reserve resource for pcib1\
pcib1: failed to allocate initial memory window: 0-0xfffff\
pcib0: failed to reserve resource for pcib1\
pcib1: failed to allocate initial prefetch window: 0-0xfffff\
pci1: <PCI bus> on pcib1\
pci1: <memory> at device 0.0 (no driver attached)\
pcib2: <Broadcom iProc PCIe RC driver> mem 0x50020000-0x50020fff on ofwbus0\
pci2: <OFW PCI bus> on pcib2\
pcib3: <PCI-PCI bridge> irq 85 at device 0.0 on pci2\
pcib2: failed to reserve resource for pcib3\
pcib3: failed to allocate initial memory window: 0-0xfffff\
pcib2: failed to reserve resource for pcib3\
pcib3: failed to allocate initial prefetch window: 0-0xfffff\
pci3: <PCI bus> on pcib3\
pcib2: failed to reserve resource for pcib3\
pcib2: failed to reserve resource for pcib3\
pcib2: failed to reserve resource for pcib3\
pcib2: failed to reserve resource for pcib3\
pcib2: failed to reserve resource for pcib3\
pci3: <network, ethernet> at device 0.0 (no driver attached)\
pci3: <network, ethernet> at device 0.1 (no driver attached)\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
clk_fixed1: <Fixed factor clock> on simplebus0\
clk_fixed1: Cannot FDT parameters.\
device_attach: clk_fixed1 attach returned 6\
bcm_ns2_usbphy0: <Broadcom NS2 USB2 PHY> mem 0x66000960-0x66000983,0x67012800-0x67012803,0x6501d148-0x6501d14b,0x664d0700-0x664d0703 disabled on simplebus0\
iichb0: <Broadcom iProc SMBus Controller> mem 0x66080000-0x660800ff irq 61 on simplebus0\
iicbus0: <OFW I2C bus> on iichb0\
iic0: <I2C generic I/O> on iicbus0\
ds13rtc0: <Dallas/Maxim DS1341 RTC> at addr 0xd0 on iicbus0\
gpioc0: <GPIO controller> on gpio0\
iichb1: <Broadcom iProc SMBus Controller> mem 0x660b0000-0x660b00ff irq 64 on simplebus0\
iicbus1: <OFW I2C bus> on iichb1\
iic1: <I2C generic I/O> on iicbus1\
iicbus1: <unknown card> at addr 0xd0\
iicbus1: <unknown card> at addr 0xea\
uart0: <16750 or compatible> mem 0x66110000-0x661100ff irq 66 on simplebus0\
uart0: console (49523,n,8,1)\
uart1: <16750 or compatible> mem 0x66120000-0x661200ff irq 67 on simplebus0\
uart2: <16750 or compatible> mem 0x66130000-0x661300ff irq 68 on simplebus0\
spi0: <PL022 SPI/SSP controller> mem 0x66180000-0x66180fff irq 69 on simplebus0\
spibus0: <OFW SPI bus> on spi0\
cpld0: <Juniper CPLD over spibus for iProc> at cs 6 mode 3 on spibus0\
spibus1: <OFW SPI bus> on cpld0\
ad95230: <Analog Device AD9523> at cs 3 mode 0 on spibus1\
bits0: <BITS ds26503 driver> at cs 2 mode 0 on spibus1\
bpm0: <Juniper BPM access over spibus> at cs 4 mode 0 on spibus1\
spi1: <PL022 SPI/SSP controller> mem 0x66190000-0x66190fff irq 70 on simplebus0\
spibus2: <OFW SPI bus> on spi1\
dpll0: <Juniper dpll over spibus for iProc> at cs 6 mode 3 on spibus2\
bcmrng0: <Broadcom RBG200 RNG> mem 0x66220000-0x66220027 on simplebus0\
random: registering fast source Broadcom RBG200 RNG\
iproc_sdhci0: <Broadcom iProc SDHCI controller> mem 0x66420000-0x664200ff irq 74 on simplebus0\
mmc0: <MMC/SD bus> on iproc_sdhci0\
spi2: <Broadcom BCM56XXX SPI> mem 0x66470000-0x66470fff irq 77 on simplebus0\
spibus3: <OFW SPI bus> on spi2\
mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus3\
mx25l0: device type s25fl512s, size 65536K in 1024 sectors of 64K, erase size 64K\
ehci0: <Generic EHCI Controller> mem 0x664c0000-0x664c00ff irq 82 on simplebus0\
usbus0: EHCI version 1.0\
usbus0 on ehci0\
oamctl0: <OAM Control using CRMU for iProc> mem 0x65024000-0x65024fff on simplebus0\
syscon_generic_dev1: Cannot allocate memory resource\
device_attach: syscon_generic_dev1 attach returned 6\
bcm_idm0: <Broadcom IPROC IDM Bus monitor> on ofwbus0\
idm_monitor0: <IDM Monitor region> mem 0x21004900-0x21004aff irq 88 on bcm_idm0\
idm_monitor1: <IDM Monitor region> mem 0x21005900-0x21005aff irq 89 on bcm_idm0\
idm_monitor2: <IDM Monitor region> mem 0x21006900-0x21006aff irq 90 on bcm_idm0\
idm_monitor3: <IDM Monitor region> mem 0x21007900-0x21007aff irq 91 on bcm_idm0\
idm_monitor4: <IDM Monitor region> mem 0x21008900-0x21008aff irq 92 on bcm_idm0\
idm_monitor5: <IDM Monitor region> mem 0x21009900-0x21009aff irq 93 on bcm_idm0\
idm_monitor6: <IDM Monitor region> mem 0x51004900-0x51004aff irq 94 on bcm_idm0\
idm_monitor7: <IDM Monitor region> mem 0x51005900-0x51005aff irq 95 on bcm_idm0\
idm_monitor8: <IDM Monitor region> mem 0x51006900-0x51006aff irq 96 on bcm_idm0\
idm_monitor9: <IDM Monitor region> mem 0x51007900-0x51007aff irq 97 on bcm_idm0\
idm_monitor10: <IDM Monitor region> mem 0x51008900-0x51008aff irq 98 on bcm_idm0\
idm_monitor11: <IDM Monitor region> mem 0x51009900-0x51009aff irq 99 on bcm_idm0\
idm_monitor12: <IDM Monitor region> mem 0x60e00900-0x60e00aff irq 100 on bcm_idm0\
idm_monitor13: <IDM Monitor region> mem 0x60e01900-0x60e01aff irq 101 on bcm_idm0\
idm_monitor14: <IDM Monitor region> mem 0x60e02900-0x60e02aff irq 102 on bcm_idm0\
idm_monitor15: <IDM Monitor region> mem 0x60e05900-0x60e05aff irq 103 on bcm_idm0\
idm_monitor16: <IDM Monitor region> mem 0x61091900-0x61091aff irq 104 on bcm_idm0\
idm_monitor17: <IDM Monitor region> mem 0x61092900-0x61092aff irq 105 on bcm_idm0\
idm_monitor18: <IDM Monitor region> mem 0x61400900-0x61400aff irq 106 on bcm_idm0\
idm_monitor19: <IDM Monitor region> mem 0x61401900-0x61401aff irq 107 on bcm_idm0\
idm_monitor20: <IDM Monitor region> mem 0x61402900-0x61402aff irq 108 on bcm_idm0\
idm_monitor21: <IDM Monitor region> mem 0x61404900-0x61404aff irq 109 on bcm_idm0\
idm_monitor22: <IDM Monitor region> mem 0x61406900-0x61406aff irq 110 on bcm_idm0\
idm_monitor23: <IDM Monitor region> mem 0x61407900-0x61407aff irq 111 on bcm_idm0\
idm_monitor24: <IDM Monitor region> mem 0x6140c900-0x6140caff irq 112 on bcm_idm0\
idm_monitor25: <IDM Monitor region> mem 0x6140e900-0x6140eaff irq 113 on bcm_idm0\
idm_monitor26: <IDM Monitor region> mem 0x6140f900-0x6140faff irq 114 on bcm_idm0\
idm_monitor27: <IDM Monitor region> mem 0x65371900-0x65371aff irq 115 on bcm_idm0\
idm_monitor28: <IDM Monitor region> mem 0x65372900-0x65372aff irq 116 on bcm_idm0\
idm_monitor29: <IDM Monitor region> mem 0x65373900-0x65373aff irq 117 on bcm_idm0\
idm_monitor30: <IDM Monitor region> mem 0x65374900-0x65374aff irq 118 on bcm_idm0\
idm_monitor31: <IDM Monitor region> mem 0x65375900-0x65375aff irq 119 on bcm_idm0\
idm_monitor32: <IDM Monitor region> mem 0x65376900-0x65376aff irq 120 on bcm_idm0\
idm_monitor33: <IDM Monitor region> mem 0x65377900-0x65377aff irq 121 on bcm_idm0\
idm_monitor34: <IDM Monitor region> mem 0x65378900-0x65378aff irq 122 on bcm_idm0\
idm_monitor35: <IDM Monitor region> mem 0x65379900-0x65379aff irq 123 on bcm_idm0\
idm_monitor36: <IDM Monitor region> mem 0x6537a900-0x6537aaff irq 124 on bcm_idm0\
idm_monitor37: <IDM Monitor region> mem 0x67005900-0x67005aff irq 125 on bcm_idm0\
idm_monitor38: <IDM Monitor region> mem 0x67015900-0x67015aff irq 128 on bcm_idm0\
idm_monitor39: <IDM Monitor region> mem 0x67016900-0x67016aff irq 129 on bcm_idm0\
idm_monitor40: <IDM Monitor region> mem 0x67017900-0x67017aff irq 130 on bcm_idm0\
idm_monitor41: <IDM Monitor region> mem 0x67019900-0x67019aff irq 132 on bcm_idm0\
idm_monitor42: <IDM Monitor region> mem 0x67020900-0x67020aff irq 135 on bcm_idm0\
idm_monitor43: <IDM Monitor region> mem 0x67021900-0x67021aff irq 136 on bcm_idm0\
idm_monitor44: <IDM Monitor region> mem 0x67022900-0x67022aff irq 137 on bcm_idm0\
idm_monitor10: Error detected for device monitor pcie_1_apbt\
idm_monitor14: Error detected for device monitor nic_axi2apb_s\
idm_monitor31: Error detected for device monitor scr_ddr_s\
idm_monitor41: Error detected for device monitor hs_apbs\
Fatal data abort:\
  x0: 1bff00201c681838\
  x1:                0\
  x2: ffff00000049eeb3 (notify.prefix + ac6)\
  x3:              51b\
  x4: ffff000000427698 (cam_status_table + ee90)\
  x5: ffff000002f0cdc8 (_end + 10b3dc8)\
  x6: ffff000002f0c100 (_end + 10b3100)\
  x7:                0\
  x8: ffff00000068fac0 (initstack + 7ac0)\
  x9:                1\
 x10: ffff00000068fac0 (initstack + 7ac0)\
 x11:               10\
 x12:                0\
 x13:                0\
 x14:                0\
 x15:                a\
 x16: ffff00000068f54d (initstack + 754d)\
 x17: ffff00000068f54c (initstack + 754c)\
 x18: ffff00000068f640 (initstack + 7640)\
 x19: ffff000041cbd620 (_end + 3fe64620)\
 x20:                4\
 x21: 1bff00201c681838\
 x22: 1bff00201c681820\
 x23: ffff0000006900b4 (xsoftc + 24)\
 x24: ffff000041ca3280 (_end + 3fe4a280)\
 x25: ffffa0000023b860\
 x26: ffff00000068fac0 (initstack + 7ac0)\
 x27:                1\
 x28:                0\
 x29: ffff00000068f650 (initstack + 7650)\
  sp: ffff00000068f640\
  lr: ffff0000002244e0 (sched_add + 1cc)\
 elr: ffff0000001ca6e0 (__mtx_lock_spin_flags + 20)\
spsr:         200002c5\
 far: 1bff00201c681838\
 esr: 0000000096000004\
panic: vm_fault failed: ffff0000001ca6e0 error 1\
cpuid = 0\
time = 1\
KDB: stack backtrace:\
db_trace_self() at db_trace_self\
db_trace_self_wrapper() at db_trace_self_wrapper+0x30\
vpanic() at vpanic+0x23c\
panic() at panic+0x44\
data_abort() at data_abort+0x33c\
handle_el1h_sync() at handle_el1h_sync+0x10\
--- exception, esr 0xffff00000068f54d\
(null)() at 0\
KDB: enter: panic\
[ thread pid 0 tid 100000 ]\
Stopped at      kdb_enter+0x40: undefined       f904927f\
db> bt\
\
\
\
\'97\'97\'97\'97\'97\'97\'97\'97\'97 Remote GDB \'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\'97\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0

\fs34 (kgdb) bt\
#0  \cf3 kdb_enter\cf2  (\cf4 why\cf2 =<optimized out>, \cf4 msg\cf2 =<optimized out>) at \cf5 /b/sfaisal/stable_main/src/sys/kern/subr_kdb.c\cf2 :549\
#1  \cf6 0xffff0000001f0a18\cf2  in \cf3 vpanic\cf2  (\cf4 fmt\cf2 =0xffff0000004935c8 "vm_fault failed: %lx error %d", \cf4 ap\cf2 =...)\
    at \cf5 /b/sfaisal/stable_main/src/sys/kern/kern_shutdown.c\cf2 :968\
#2  \cf6 0xffff0000001f06cc\cf2  in \cf3 panic\cf2  (\cf4 fmt\cf2 =<unavailable>) at \cf5 /b/sfaisal/stable_main/src/sys/kern/kern_shutdown.c\cf2 :899\
#3  \cf6 0xffff0000003f20fc\cf2  in \cf3 data_abort\cf2  (\cf4 td\cf2 =0xffff00000081a6a0 <thread0_st>, \cf4 frame\cf2 =0xffff00000068f4a0, \cf4 esr\cf2 =2516582404, \cf4 far\cf2 =<optimized out>, \cf4 lower\cf2 =0)\
    at \cf5 /b/sfaisal/stable_main/src/sys/arm64/arm64/trap.c\cf2 :400\
#4  \ul <signal handler called>\ulnone \
#5  \cf6 0xffff0000001ca6e0\cf2  in \cf3 __mtx_lock_spin_flags\cf2  (\cf4 c\cf2 =0x96000004, \cf4 opts\cf2 =476583992, \
    \cf4 file\cf2 =0x1bff00201c681838 <error: Cannot access memory at address 0x1bff00201c681838>, \cf4 line\cf2 =0) at \cf5 /b/sfaisal/stable_main/src/sys/kern/kern_mutex.c\cf2 :331\
Backtrace stopped: Cannot access memory at address 0x9\
(kgdb) frame 5\
#5  \cf6 0xffff0000001ca6e0\cf2  in \cf3 __mtx_lock_spin_flags\cf2  (\cf4 c\cf2 =0x96000004, \cf4 opts\cf2 =476583992, \
    \cf4 file\cf2 =0x1bff00201c681838 <error: Cannot access memory at address 0x1bff00201c681838>, \cf4 line\cf2 =0) at \cf5 /b/sfaisal/stable_main/src/sys/kern/kern_mutex.c\cf2 :331\
331             KASSERT(m->mtx_lock != MTX_DESTROYED,\
(kgdb) frame 3\
#3  \cf6 0xffff0000003f20fc\cf2  in \cf3 data_abort\cf2  (\cf4 td\cf2 =0xffff00000081a6a0 <thread0_st>, \cf4 frame\cf2 =0xffff00000068f4a0, \cf4 esr\cf2 =2516582404, \cf4 far\cf2 =<optimized out>, \cf4 lower\cf2 =0)\
    at \cf5 /b/sfaisal/stable_main/src/sys/arm64/arm64/trap.c\cf2 :400\
400                             panic("vm_fault failed: %lx error %d",\
(kgdb) p /x *frame\
$2 = \{\cf4 tf_sp\cf2  = 0xffff00000068f640, \cf4 tf_lr\cf2  = 0xffff0000002244e0, \cf4 tf_elr\cf2  = 0xffff0000001ca6e0, \cf4 tf_spsr\cf2  = 0x200002c5, \cf4 tf_esr\cf2  = 0x96000004, \
  \cf4 tf_far\cf2  = 0x1bff00201c681838, \cf4 tf_x\cf2  = \{0x1bff00201c681838, 0x0, 0xffff00000049eeb3, 0x51b, 0xffff000000427698, 0xffff000002f0cdc8, 0xffff000002f0c100, \
    0x0, 0xffff00000068fac0, 0x1, 0xffff00000068fac0, 0x10, 0x0, 0x0, 0x0, 0xa, 0xffff00000068f54d, 0xffff00000068f54c, 0xffff00000068f640, \
    0xffff000041cbd620, 0x4, 0x1bff00201c681838, 0x1bff00201c681820, 0xffff0000006900b4, 0xffff000041ca3280, 0xffffa0000023b860, 0xffff00000068fac0, 0x1, \
    0x0, 0xffff00000068f650\}\}\
(kgdb)\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0

\fs38 \
}
--Apple-Mail=_6E0B10FA-A382-44DA-8A43-DD44CF5E2297
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><blockquote type="cite"><div></div></blockquote></div><br></body></html>
--Apple-Mail=_6E0B10FA-A382-44DA-8A43-DD44CF5E2297--

--Apple-Mail=_4AFE4AD1-DA71-469C-8382-828AA47F5A47--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6537067F-670A-4B52-87FA-FF2DBAD68120>