Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2022 22:18:02 -0800
From:      Christopher Bowman <crb@chrisbowman.com>
To:        hackers@freebsd.org
Subject:   I could use some help
Message-ID:  <ED4D59FC-DE1B-4591-AE51-5AA61B5647A6@chrisbowman.com>

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

--Apple-Mail=_2483E1C2-56D4-4603-A76A-F869C386CB20
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

OK I=E2=80=99m really confused and I could use some help:

13.0 runs fine on my Xilinx Zynq based board (DIgilent Arty Z20).  =
However when I compile 13.1 release it doesn=E2=80=99t boot.  The kernel =
stops during boot as follows:

Using DTB from loaded file '/boot/dtb/zynq-artyz7.dtb'.


Loading DTB overlays: 'artyz7_ssd_overlay.dtb'


/boot/dtb/overlays/artyz7_ssd_overlay.dtb size=3D0x1a1


Kernel entry at 0x17a00200...


Kernel args: (null)


applying DTB overlay '/boot/dtb/overlays/artyz7_ssd_overlay.dtb'


WARNING: Cannot find freebsd,dts-version property, cannot check DTB =
compliance
---<<BOOT>>---
Copyright (c) 1992-2021 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 13.0-STABLE #22 n248064-ce9c3848ff3: Wed Nov  9 22:04:45 PST =
2022
    crb@eclipse.ChrisBowman.com:/usr/obj/usr/src/arm.armv7/sys/ARTYZ7 =
arm
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git =
llvmorg-11.0.1-0-g43ff75f2c3fe)
CPU: ARM Cortex-A9 r3p0 (ECO: 0x00000000)
CPU Features:=20
  Multiprocessing, Thumb2, Security, VMSAv7, Coherent Walk
Optional instructions:=20
  UMULL, SMULL, SIMD(ext)
LoUU:2 LoC:2 LoUIS:2=20
Cache level 1:
 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc
 32KB/32B 4-way instruction cache Read-Alloc
real memory  =3D 536866816 (511 MB)
avail memory =3D 515162112 (491 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
random: unblocking device.
random: entropy device external interface
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
simplebus1: <Flattened device tree simple bus> on ofwbus0
l2cache0: <PL310 L2 cache controller> mem 0xf8f02000-0xf8f02fff irq 8 on =
simplebus1
l2cache0: cannot allocate IRQ, not using interrupt
l2cache0: Part number: 0x3, release: 0x8
l2cache0: L2 Cache enabled: 512KB/32B 8 ways
gic0: <ARM Generic Interrupt Controller> mem =
0xf8f01000-0xf8f01fff,0xf8f00100-0xf8f001ff on simplebus1
gic0: pn 0x39, arch 0x1, rev 0x2, implementer 0x43b irqs 96
mp_tmr0: <ARM MPCore Timers> mem 0xf8f00200-0xf8f0021f irq 29 on =
simplebus1
Timecounter "MPCore" frequency 50000000 Hz quality 800
mp_tmr1: <ARM MPCore Timers> mem 0xf8f00600-0xf8f0061f irq 36 on =
simplebus1
Event timer "MPCore" frequency 50000000 Hz quality 1000
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
uart0: <Cadence UART> mem 0xe0000000-0xe0000fff irq 9 on simplebus1
uart0: console (-1,n,8,1)
zy7_qspi0: <Zynq Quad-SPI Flash Controller> mem 0xe000d000-0xe000dfff =
irq 13 on simplebus1
zy7_qspi0: must have ref-clock property
device_attach: zy7_qspi0 attach returned 6
cgem0: <Cadence CGEM Gigabit Ethernet Interface> mem =
0xe000b000-0xe000bfff irq 15 on simplebus1
miibus0: <MII bus> on cgem0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on =
miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, =
1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on =
miibus0
rgephy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, =
1000baseT-FDX, 1000baseT-FDX-master, auto
cgem0: Ethernet address: 56:99:3e:50:9a:8e
sdhci_fdt0: <Zynq-7000 generic fdt SDHCI controller> mem =
0xe0100000-0xe0100fff irq 17 on simplebus1
sdhci_fdt0: 1 slot(s) allocated
mmc0: <MMC/SD bus> on sdhci_fdt0
zy7_devcfg0: <Zynq devcfg block> mem 0xf8007000-0xf80070ff irq 28 on =
simplebus1
Timecounters tick every 1.000 msec
sdhci_fdt0-slot0: Controller timeout
sdhci_fdt0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER =
DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sdhci_fdt0-slot0: Sys addr: 0x00060000 | Version:  0x00008901
sdhci_fdt0-slot0: Blk size: 0x00005008 | Blk cnt:  0x00000001
sdhci_fdt0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci_fdt0-slot0: Present:  0x01ff0202 | Host ctl: 0x00000001
sdhci_fdt0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_fdt0-slot0: Wake-up:  0x00000000 | Clock:    0x00004007
sdhci_fdt0-slot0: Timeout:  0x00000006 | Int stat: 0x00000001
sdhci_fdt0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fa
sdhci_fdt0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_fdt0-slot0: Caps:     0x69ec0080 | Caps2:    0x00000000
sdhci_fdt0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_fdt0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_fdt0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sdhci_fdt0-slot0: Controller timeout
sdhci_fdt0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER =
DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sdhci_fdt0-slot0: Sys addr: 0x00000000 | Version:  0x00008901
sdhci_fdt0-slot0: Blk size: 0x00005008 | Blk cnt:  0x00000001
sdhci_fdt0-slot0: Argument: 0xaaaa0000 | Trn mode: 0x00000013
sdhci_fdt0-slot0: Present:  0x01ff0000 | Host ctl: 0x00000001
sdhci_fdt0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_fdt0-slot0: Wake-up:  0x00000000 | Clock:    0x00004007
sdhci_fdt0-slot0: Timeout:  0x00000006 | Int stat: 0x00000001
sdhci_fdt0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fa
sdhci_fdt0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_fdt0-slot0: Caps:     0x69ec0080 | Caps2:    0x00000000
sdhci_fdt0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_fdt0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_fdt0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The controller register dumps continue for a while and then I get:

mmc0: CMD7 failed, RESULT: 1
Release APs
Trying to mount root from ufs:/dev/mmcsd0s2a [rw]...
mountroot: waiting for device /dev/mmcsd0s2a...
Mounting from ufs:/dev/mmcsd0s2a failed with error 19.
Trying to mount root from ufs:mmcsd0s2a []...
mountroot: waiting for device mmcsd0s2a...
Mounting from ufs:mmcsd0s2a failed with error 19.

Loader variables:
  vfs.root.mountfrom=3Dufs:/dev/mmcsd0s2a
  vfs.root.mountfrom.options=3Drw

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:zroot/ROOT/default
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot>=20

If I replace the kernel with a 13.0 kernel, it boots just fine.

So I go and do a git bisect between release/13.0.0 and release/13.1.0

and I get the following:

git bisect start '--first-parent'
# status: waiting for both good and bad commits
# good: [ea31abc261ffc01b6ff5671bffb15cf910a07f4b] 13.0: update to =
RELEASE
git bisect good ea31abc261ffc01b6ff5671bffb15cf910a07f4b
# status: waiting for bad commit, 1 good commit known
# bad: [fc952ac2212b121aa6eefc273f5960ec3e0a466d] Update in preparation =
of 13.1-RELEASE
git bisect bad fc952ac2212b121aa6eefc273f5960ec3e0a466d
# skip: [4c44dbde5491516eba8725dc51d39c1dcc817472] MFC jail: Handle a =
parent jail when a child is added to it
git bisect skip 4c44dbde5491516eba8725dc51d39c1dcc817472
# good: [476f87219f408343846254743c7189076be80c04] wpi: Fix a lock leak =
in an error path in wpi_run()
git bisect good 476f87219f408343846254743c7189076be80c04
# bad: [05bf7d68c56830e52dee14dc87c07d6716e8195e] aesni: Fix an =
out-of-bounds read in AES_GCM_decrypt()
git bisect bad 05bf7d68c56830e52dee14dc87c07d6716e8195e
# good: [014ae00ef6edca2687d618e0bda138086a1e1230] date: Capitalize =
seconds string in synopses
git bisect good 014ae00ef6edca2687d618e0bda138086a1e1230
# bad: [08d995ca8f6f1008a10e4bf4d924824c040f842a] swapoff_one(): only =
check free pages count manually turning swap off
git bisect bad 08d995ca8f6f1008a10e4bf4d924824c040f842a
# bad: [81b6dba1a08b031bdf7463c1704d27ae1e0daa0f] ktls: Fix assertion =
for TLS 1.0 CBC when using non-zero starting seqno.
git bisect bad 81b6dba1a08b031bdf7463c1704d27ae1e0daa0f
# bad: [67efa8b29930f12dae2bf237fa7c2ce1dafbd6b1] net80211: add a =
driver-private pointer to struct ieee80211_node
git bisect bad 67efa8b29930f12dae2bf237fa7c2ce1dafbd6b1
# good: [109330155000bfec215ee39148254d2a0b628798] module(9): Document =
that evhand can be NULL
git bisect good 109330155000bfec215ee39148254d2a0b628798
# bad: [4c8e29637456bbbe709425f691f637914658009f] LinuxKPI: add =
module_pci_driver() and pci_alloc_irq_vectors()
git bisect bad 4c8e29637456bbbe709425f691f637914658009f
# bad: [4a03ae8d17ddf3d3b57ca281000fd98e200b92cc] nfscl: Fix use after =
free for forced dismount
git bisect bad 4a03ae8d17ddf3d3b57ca281000fd98e200b92cc
# bad: [de957de097857fabb69a59a9ba36276c5e735de5] bhyve: Fix the =
WITH_BHYVE_SNAPSHOT build
git bisect bad de957de097857fabb69a59a9ba36276c5e735de5
# bad: [5c2e6d9610f1b3f1d7c5d69b925212a7b1fd9391] hwpmc: initialize =
arm64 counter/interrupt state
git bisect bad 5c2e6d9610f1b3f1d7c5d69b925212a7b1fd9391
# bad: [ce9c3848ff369467749f59fd24f8b9f1241e725c] uma: Fix handling of =
reserves in zone_import()
git bisect bad ce9c3848ff369467749f59fd24f8b9f1241e725c
# good: [d5ebaa6f8f850bb6f6273f01386832efcb295827] uma: Improve =
M_USE_RESERVE handling in keg_fetch_slab()
git bisect good d5ebaa6f8f850bb6f6273f01386832efcb295827
# first bad commit: [ce9c3848ff369467749f59fd24f8b9f1241e725c] uma: Fix =
handling of reserves in zone_import()

If I do git log ce9c3848ff369467749f59fd24f8b9f1241e725c it does seem =
that d5ebaa6f8f850bb6f6273f01386832efcb295827 is the previous commit and =
that it works just fine but ce9c3848ff369467749f59fd24f8b9f1241e725c =
doesn=E2=80=99t boot.  It=E2=80=99s literally the same file system and =
DTB, the only difference is the kernel installed.

What=E2=80=99s confusing to me is that looking at =
ce9c3848ff369467749f59fd24f8b9f1241e725c I can=E2=80=99t see how that =
commit would result in my kernel hanging while booting.

I=E2=80=99m clearly not an expert and I=E2=80=99m not sure I used git =
bisect right but I think I did.  Maybe I need to be on stable/13 when I =
bisect?

I don=E2=80=99t know and if anyone could give me some pointers I=E2=80=99m=
 happy to do some leg work but I=E2=80=99ve about come to the end of my =
road trying to figure out what=E2=80=99s blocking me.

Thanks in advance,
Christopher=

--Apple-Mail=_2483E1C2-56D4-4603-A76A-F869C386CB20
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"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">OK =
I=E2=80=99m really confused and I could use some help:<div class=3D""><br =
class=3D""></div><div class=3D"">13.0 runs fine on my Xilinx Zynq based =
board (DIgilent Arty Z20). &nbsp;However when I compile 13.1 release it =
doesn=E2=80=99t boot. &nbsp;The kernel stops during boot as =
follows:</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">Using DTB from loaded file =
'/boot/dtb/zynq-artyz7.dtb'.</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Loading DTB overlays: 'artyz7_ssd_overlay.dtb'</div><div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">/boot/dtb/overlays/artyz7_ssd_overlay.dtb =
size=3D0x1a1</div><div class=3D""><br class=3D""></div><div class=3D""><br=
 class=3D""></div><div class=3D"">Kernel entry at =
0x17a00200...</div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D"">Kernel args: =
(null)</div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">applying DTB overlay =
'/boot/dtb/overlays/artyz7_ssd_overlay.dtb'</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">WARNING: Cannot find freebsd,dts-version property, cannot =
check DTB compliance</div><div =
class=3D"">---&lt;&lt;BOOT&gt;&gt;---</div><div class=3D"">Copyright (c) =
1992-2021 The FreeBSD Project.</div><div class=3D"">Copyright (c) 1979, =
1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994</div><div =
class=3D"">.The Regents of the University of California. All rights =
reserved.</div><div class=3D"">FreeBSD is a registered trademark of The =
FreeBSD Foundation.</div><div class=3D"">FreeBSD 13.0-STABLE #22 =
n248064-ce9c3848ff3: Wed Nov &nbsp;9 22:04:45 PST 2022</div><div =
class=3D"">&nbsp; &nbsp; <a href=3D"mailto:crb@eclipse.ChrisBowman.com" =
class=3D"">crb@eclipse.ChrisBowman.com</a>:/usr/obj/usr/src/arm.armv7/sys/=
ARTYZ7 arm</div><div class=3D"">FreeBSD clang version 11.0.1 (<a =
href=3D"mailto:git@github.com" =
class=3D"">git@github.com</a>:llvm/llvm-project.git =
llvmorg-11.0.1-0-g43ff75f2c3fe)</div><div class=3D"">CPU: ARM Cortex-A9 =
r3p0 (ECO: 0x00000000)</div><div class=3D"">CPU =
Features:&nbsp;</div><div class=3D"">&nbsp; Multiprocessing, Thumb2, =
Security, VMSAv7, Coherent Walk</div><div class=3D"">Optional =
instructions:&nbsp;</div><div class=3D"">&nbsp; UMULL, SMULL, =
SIMD(ext)</div><div class=3D"">LoUU:2 LoC:2 LoUIS:2&nbsp;</div><div =
class=3D"">Cache level 1:</div><div class=3D"">&nbsp;32KB/32B 4-way data =
cache WB Read-Alloc Write-Alloc</div><div class=3D"">&nbsp;32KB/32B =
4-way instruction cache Read-Alloc</div><div class=3D"">real memory =
&nbsp;=3D 536866816 (511 MB)</div><div class=3D"">avail memory =3D =
515162112 (491 MB)</div><div class=3D"">FreeBSD/SMP: Multiprocessor =
System Detected: 2 CPUs</div><div class=3D"">random: unblocking =
device.</div><div class=3D"">random: entropy device external =
interface</div><div class=3D"">ofwbus0: &lt;Open Firmware Device =
Tree&gt;</div><div class=3D"">simplebus0: &lt;Flattened device tree =
simple bus&gt; on ofwbus0</div><div class=3D"">simplebus1: &lt;Flattened =
device tree simple bus&gt; on ofwbus0</div><div class=3D"">l2cache0: =
&lt;PL310 L2 cache controller&gt; mem 0xf8f02000-0xf8f02fff irq 8 on =
simplebus1</div><div class=3D"">l2cache0: cannot allocate IRQ, not using =
interrupt</div><div class=3D"">l2cache0: Part number: 0x3, release: =
0x8</div><div class=3D"">l2cache0: L2 Cache enabled: 512KB/32B 8 =
ways</div><div class=3D"">gic0: &lt;ARM Generic Interrupt Controller&gt; =
mem 0xf8f01000-0xf8f01fff,0xf8f00100-0xf8f001ff on simplebus1</div><div =
class=3D"">gic0: pn 0x39, arch 0x1, rev 0x2, implementer 0x43b irqs =
96</div><div class=3D"">mp_tmr0: &lt;ARM MPCore Timers&gt; mem =
0xf8f00200-0xf8f0021f irq 29 on simplebus1</div><div =
class=3D"">Timecounter "MPCore" frequency 50000000 Hz quality =
800</div><div class=3D"">mp_tmr1: &lt;ARM MPCore Timers&gt; mem =
0xf8f00600-0xf8f0061f irq 36 on simplebus1</div><div class=3D"">Event =
timer "MPCore" frequency 50000000 Hz quality 1000</div><div =
class=3D"">cpulist0: &lt;Open Firmware CPU Group&gt; on =
ofwbus0</div><div class=3D"">cpu0: &lt;Open Firmware CPU&gt; on =
cpulist0</div><div class=3D"">cpu1: &lt;Open Firmware CPU&gt; on =
cpulist0</div><div class=3D"">uart0: &lt;Cadence UART&gt; mem =
0xe0000000-0xe0000fff irq 9 on simplebus1</div><div class=3D"">uart0: =
console (-1,n,8,1)</div><div class=3D"">zy7_qspi0: &lt;Zynq Quad-SPI =
Flash Controller&gt; mem 0xe000d000-0xe000dfff irq 13 on =
simplebus1</div><div class=3D"">zy7_qspi0: must have ref-clock =
property</div><div class=3D"">device_attach: zy7_qspi0 attach returned =
6</div><div class=3D"">cgem0: &lt;Cadence CGEM Gigabit Ethernet =
Interface&gt; mem 0xe000b000-0xe000bfff irq 15 on simplebus1</div><div =
class=3D"">miibus0: &lt;MII bus&gt; on cgem0</div><div class=3D"">rgephy0:=
 &lt;RTL8169S/8110S/8211 1000BASE-T media interface&gt; PHY 0 on =
miibus0</div><div class=3D"">rgephy0: &nbsp;none, 10baseT, 10baseT-FDX, =
100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, =
auto</div><div class=3D"">rgephy1: &lt;RTL8169S/8110S/8211 1000BASE-T =
media interface&gt; PHY 1 on miibus0</div><div class=3D"">rgephy1: =
&nbsp;none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, =
1000baseT-FDX, 1000baseT-FDX-master, auto</div><div class=3D"">cgem0: =
Ethernet address: 56:99:3e:50:9a:8e</div><div class=3D"">sdhci_fdt0: =
&lt;Zynq-7000 generic fdt SDHCI controller&gt; mem 0xe0100000-0xe0100fff =
irq 17 on simplebus1</div><div class=3D"">sdhci_fdt0: 1 slot(s) =
allocated</div><div class=3D"">mmc0: &lt;MMC/SD bus&gt; on =
sdhci_fdt0</div><div class=3D"">zy7_devcfg0: &lt;Zynq devcfg block&gt; =
mem 0xf8007000-0xf80070ff irq 28 on simplebus1</div><div =
class=3D"">Timecounters tick every 1.000 msec</div><div =
class=3D"">sdhci_fdt0-slot0: Controller timeout</div><div =
class=3D"">sdhci_fdt0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
REGISTER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div =
class=3D"">sdhci_fdt0-slot0: Sys addr: 0x00060000 | Version: =
&nbsp;0x00008901</div><div class=3D"">sdhci_fdt0-slot0: Blk size: =
0x00005008 | Blk cnt: &nbsp;0x00000001</div><div =
class=3D"">sdhci_fdt0-slot0: Argument: 0x00000000 | Trn mode: =
0x00000013</div><div class=3D"">sdhci_fdt0-slot0: Present: =
&nbsp;0x01ff0202 | Host ctl: 0x00000001</div><div =
class=3D"">sdhci_fdt0-slot0: Power: &nbsp; &nbsp;0x0000000f | Blk gap: =
&nbsp;0x00000000</div><div class=3D"">sdhci_fdt0-slot0: Wake-up: =
&nbsp;0x00000000 | Clock: &nbsp; &nbsp;0x00004007</div><div =
class=3D"">sdhci_fdt0-slot0: Timeout: &nbsp;0x00000006 | Int stat: =
0x00000001</div><div class=3D"">sdhci_fdt0-slot0: Int enab: 0x01ff00fb | =
Sig enab: 0x01ff00fa</div><div class=3D"">sdhci_fdt0-slot0: AC12 err: =
0x00000000 | Host ctl2:0x00000000</div><div class=3D"">sdhci_fdt0-slot0: =
Caps: &nbsp; &nbsp; 0x69ec0080 | Caps2: &nbsp; =
&nbsp;0x00000000</div><div class=3D"">sdhci_fdt0-slot0: Max curr: =
0x00000001 | ADMA err: 0x00000000</div><div class=3D"">sdhci_fdt0-slot0: =
ADMA addr:0x00000000 | Slot int: 0x00000000</div><div =
class=3D"">sdhci_fdt0-slot0: =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div =
class=3D"">sdhci_fdt0-slot0: Controller timeout</div><div =
class=3D"">sdhci_fdt0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
REGISTER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div =
class=3D"">sdhci_fdt0-slot0: Sys addr: 0x00000000 | Version: =
&nbsp;0x00008901</div><div class=3D"">sdhci_fdt0-slot0: Blk size: =
0x00005008 | Blk cnt: &nbsp;0x00000001</div><div =
class=3D"">sdhci_fdt0-slot0: Argument: 0xaaaa0000 | Trn mode: =
0x00000013</div><div class=3D"">sdhci_fdt0-slot0: Present: =
&nbsp;0x01ff0000 | Host ctl: 0x00000001</div><div =
class=3D"">sdhci_fdt0-slot0: Power: &nbsp; &nbsp;0x0000000f | Blk gap: =
&nbsp;0x00000000</div><div class=3D"">sdhci_fdt0-slot0: Wake-up: =
&nbsp;0x00000000 | Clock: &nbsp; &nbsp;0x00004007</div><div =
class=3D"">sdhci_fdt0-slot0: Timeout: &nbsp;0x00000006 | Int stat: =
0x00000001</div><div class=3D"">sdhci_fdt0-slot0: Int enab: 0x01ff00fb | =
Sig enab: 0x01ff00fa</div><div class=3D"">sdhci_fdt0-slot0: AC12 err: =
0x00000000 | Host ctl2:0x00000000</div><div class=3D"">sdhci_fdt0-slot0: =
Caps: &nbsp; &nbsp; 0x69ec0080 | Caps2: &nbsp; =
&nbsp;0x00000000</div><div class=3D"">sdhci_fdt0-slot0: Max curr: =
0x00000001 | ADMA err: 0x00000000</div><div class=3D"">sdhci_fdt0-slot0: =
ADMA addr:0x00000000 | Slot int: 0x00000000</div><div =
class=3D"">sdhci_fdt0-slot0: =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div =
class=3D""><br class=3D""></div><div class=3D"">The controller register =
dumps continue for a while and then I get:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">mmc0: CMD7 failed, =
RESULT: 1</div><div class=3D"">Release APs</div><div class=3D"">Trying =
to mount root from ufs:/dev/mmcsd0s2a [rw]...</div><div =
class=3D"">mountroot: waiting for device /dev/mmcsd0s2a...</div><div =
class=3D"">Mounting from ufs:/dev/mmcsd0s2a failed with error =
19.</div><div class=3D"">Trying to mount root from ufs:mmcsd0s2a =
[]...</div><div class=3D"">mountroot: waiting for device =
mmcsd0s2a...</div><div class=3D"">Mounting from ufs:mmcsd0s2a failed =
with error 19.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Loader variables:</div><div class=3D"">&nbsp; =
vfs.root.mountfrom=3Dufs:/dev/mmcsd0s2a</div><div class=3D"">&nbsp; =
vfs.root.mountfrom.options=3Drw</div><div class=3D""><br =
class=3D""></div><div class=3D"">Manual root filesystem =
specification:</div><div class=3D"">&nbsp; &lt;fstype&gt;:&lt;device&gt; =
[options]</div><div class=3D"">&nbsp; &nbsp; &nbsp; Mount &lt;device&gt; =
using filesystem &lt;fstype&gt;</div><div class=3D"">&nbsp; &nbsp; =
&nbsp; and with the specified (optional) option list.</div><div =
class=3D""><br class=3D""></div><div class=3D"">&nbsp; &nbsp; eg. =
ufs:/dev/da0s1a</div><div class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
zfs:zroot/ROOT/default</div><div class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
cd9660:/dev/cd0 ro</div><div class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 =
/)</div><div class=3D""><br class=3D""></div><div class=3D"">&nbsp; ? =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List valid disk boot =
devices</div><div class=3D"">&nbsp; . &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; Yield 1 second (for background tasks)</div><div =
class=3D"">&nbsp; &lt;empty line&gt; &nbsp; &nbsp;Abort manual =
input</div><div class=3D""><br class=3D""></div><div =
class=3D"">mountroot&gt;&nbsp;</div></div></div><div class=3D""><br =
class=3D""></div><div class=3D"">If I replace the kernel with a 13.0 =
kernel, it boots just fine.</div><div class=3D""><br class=3D""></div><div=
 class=3D"">So I go and do a git bisect between release/13.0.0 and =
release/13.1.0</div><div class=3D""><br class=3D""></div><div =
class=3D"">and I get the following:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect start =
'--first-parent'</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: &quot;Courier New&quot;; =
color: rgb(29, 255, 29); background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""># status: waiting for both good and bad =
commits</span></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal; font-family: &quot;Courier New&quot;; color: =
rgb(29, 255, 29); background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># good: =
[ea31abc261ffc01b6ff5671bffb15cf910a07f4b] 13.0: update to =
RELEASE</span></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal; font-family: &quot;Courier New&quot;; color: =
rgb(29, 255, 29); background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">git =
bisect good ea31abc261ffc01b6ff5671bffb15cf910a07f4b</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># =
status: waiting for bad commit, 1 good commit known</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># bad: =
[fc952ac2212b121aa6eefc273f5960ec3e0a466d] Update in preparation of =
13.1-RELEASE</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: &quot;Courier New&quot;; =
color: rgb(29, 255, 29); background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">git bisect bad =
fc952ac2212b121aa6eefc273f5960ec3e0a466d</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># skip: =
[4c44dbde5491516eba8725dc51d39c1dcc817472] MFC jail: Handle a parent =
jail when a child is added to it</span></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect skip =
4c44dbde5491516eba8725dc51d39c1dcc817472</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># good: =
[476f87219f408343846254743c7189076be80c04] wpi: Fix a lock leak in an =
error path in wpi_run()</span></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect good =
476f87219f408343846254743c7189076be80c04</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># bad: =
[05bf7d68c56830e52dee14dc87c07d6716e8195e] aesni: Fix an out-of-bounds =
read in AES_GCM_decrypt()</span></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect bad =
05bf7d68c56830e52dee14dc87c07d6716e8195e</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># good: =
[014ae00ef6edca2687d618e0bda138086a1e1230] date: Capitalize seconds =
string in synopses</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: &quot;Courier New&quot;; =
color: rgb(29, 255, 29); background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">git bisect good =
014ae00ef6edca2687d618e0bda138086a1e1230</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># bad: =
[08d995ca8f6f1008a10e4bf4d924824c040f842a] swapoff_one(): only check =
free pages count manually turning swap off</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">git =
bisect bad 08d995ca8f6f1008a10e4bf4d924824c040f842a</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># bad: =
[81b6dba1a08b031bdf7463c1704d27ae1e0daa0f] ktls: Fix assertion for TLS =
1.0 CBC when using non-zero starting seqno.</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">git =
bisect bad 81b6dba1a08b031bdf7463c1704d27ae1e0daa0f</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># bad: =
[67efa8b29930f12dae2bf237fa7c2ce1dafbd6b1] net80211: add a =
driver-private pointer to struct ieee80211_node</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">git =
bisect bad 67efa8b29930f12dae2bf237fa7c2ce1dafbd6b1</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># good: =
[109330155000bfec215ee39148254d2a0b628798] module(9): Document that =
evhand can be NULL</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: &quot;Courier New&quot;; =
color: rgb(29, 255, 29); background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">git bisect good =
109330155000bfec215ee39148254d2a0b628798</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># bad: =
[4c8e29637456bbbe709425f691f637914658009f] LinuxKPI: add =
module_pci_driver() and pci_alloc_irq_vectors()</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">git =
bisect bad 4c8e29637456bbbe709425f691f637914658009f</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: &quot;Courier New&quot;; color: rgb(29, 255, 29); =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># bad: =
[4a03ae8d17ddf3d3b57ca281000fd98e200b92cc] nfscl: Fix use after free for =
forced dismount</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: &quot;Courier New&quot;; =
color: rgb(29, 255, 29); background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">git bisect bad =
4a03ae8d17ddf3d3b57ca281000fd98e200b92cc</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># bad: =
[de957de097857fabb69a59a9ba36276c5e735de5] bhyve: Fix the =
WITH_BHYVE_SNAPSHOT build</span></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect bad =
de957de097857fabb69a59a9ba36276c5e735de5</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># bad: =
[5c2e6d9610f1b3f1d7c5d69b925212a7b1fd9391] hwpmc: initialize arm64 =
counter/interrupt state</span></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect bad =
5c2e6d9610f1b3f1d7c5d69b925212a7b1fd9391</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># bad: =
[ce9c3848ff369467749f59fd24f8b9f1241e725c] uma: Fix handling of reserves =
in zone_import()</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: &quot;Courier New&quot;; =
color: rgb(29, 255, 29); background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">git bisect bad =
ce9c3848ff369467749f59fd24f8b9f1241e725c</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># good: =
[d5ebaa6f8f850bb6f6273f01386832efcb295827] uma: Improve M_USE_RESERVE =
handling in keg_fetch_slab()</span></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: &quot;Courier =
New&quot;; color: rgb(29, 255, 29); background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">git bisect good =
d5ebaa6f8f850bb6f6273f01386832efcb295827</span></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: =
&quot;Courier New&quot;; color: rgb(29, 255, 29); background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""># first bad commit: =
[ce9c3848ff369467749f59fd24f8b9f1241e725c] uma: Fix handling of reserves =
in zone_import()</span></div></div><div class=3D""><br =
class=3D""></div><div class=3D"">If I do git log =
ce9c3848ff369467749f59fd24f8b9f1241e725c it does seem =
that&nbsp;d5ebaa6f8f850bb6f6273f01386832efcb295827 is the previous =
commit and that it works just fine but&nbsp;<font color=3D"#000000" =
class=3D"">ce9c3848ff369467749f59fd24f8b9f1241e725c doesn=E2=80=99t =
boot. &nbsp;It=E2=80=99s literally the same file system and DTB, the =
only difference is the kernel installed.</font></div><div class=3D""><br =
class=3D""></div><div class=3D"">What=E2=80=99s confusing to me is that =
looking at&nbsp;<font color=3D"#000000" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">ce9c3848ff369467749f59fd24f8b9f1241e725c I can=E2=80=99t see =
how that commit would result in my kernel hanging while =
booting.</span></font></div><div class=3D""><font color=3D"#000000" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" class=3D""><br =
class=3D""></span></font></div><div class=3D""><font color=3D"#000000" =
class=3D"">I=E2=80=99m clearly not an&nbsp;expert and I=E2=80=99m not =
sure I used git bisect right but I think I did. &nbsp;Maybe I need to be =
on&nbsp;<span style=3D"caret-color: rgb(0, 0, 0);" class=3D"">stable/13 =
when I bisect?</span></font></div><div class=3D""><font color=3D"#000000" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" class=3D""><br =
class=3D""></span></font></div><div class=3D""><font color=3D"#000000" =
class=3D"">I don=E2=80=99t know and if anyone could give me some =
pointers I=E2=80=99m happy to do some leg work but I=E2=80=99ve about =
come to the end of my road trying to figure out what=E2=80=99s blocking =
me.</font></div><div class=3D""><font color=3D"#000000" class=3D""><br =
class=3D""></font></div><div class=3D""><span style=3D"color: rgb(0, 0, =
0);" class=3D"">Thanks in advance,</span></div><div class=3D""><font =
color=3D"#000000" class=3D"">Christopher</font></div></body></html>=

--Apple-Mail=_2483E1C2-56D4-4603-A76A-F869C386CB20--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED4D59FC-DE1B-4591-AE51-5AA61B5647A6>