Skip to content

Instantly share code, notes, and snippets.

@yarshure
Created February 2, 2021 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yarshure/1cc3350b4cbd86d7514514b57987b9d7 to your computer and use it in GitHub Desktop.
Save yarshure/1cc3350b4cbd86d7514514b57987b9d7 to your computer and use it in GitHub Desktop.
dmesg_FreeBSD_13
root@FreeBSDUFS:~ # dmesg
---<<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-ALPHA3 #2 stable/13-n244411-f19a4e97d3b0: Tue Feb 2 14:01:54 HKT 2021
root@M1:/usr/obj/usr/freebsd-src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
VT: init without driver.
module firmware already present!
real memory = 68106555392 (64951 MB)
avail memory = 66387021824 (63311 MB)
Starting CPU 1 (1)
Starting CPU 2 (100)
Starting CPU 3 (101)
Starting CPU 4 (200)
Starting CPU 5 (201)
Starting CPU 6 (300)
Starting CPU 7 (301)
Starting CPU 8 (400)
Starting CPU 9 (401)
Starting CPU 10 (500)
Starting CPU 11 (501)
Starting CPU 12 (600)
Starting CPU 13 (601)
Starting CPU 14 (700)
Starting CPU 15 (701)
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
random: unblocking device.
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
ACPI: IORT: Dropping unhandled type 1
random: entropy device external interface
MAP ebd90000 mode 2 pages 144
MAP ec3d0000 mode 2 pages 192
MAP ec490000 mode 2 pages 160
MAP ec530000 mode 2 pages 80
MAP ee660000 mode 2 pages 80
MAP ee6b0000 mode 2 pages 80
MAP ee700000 mode 2 pages 80
MAP ee750000 mode 2 pages 80
MAP ee7a0000 mode 2 pages 80
MAP ee7f0000 mode 2 pages 80
MAP ee8c0000 mode 2 pages 80
MAP ee910000 mode 2 pages 80
MAP ee960000 mode 2 pages 80
MAP ee9b0000 mode 2 pages 80
MAP eea00000 mode 2 pages 80
MAP eea50000 mode 2 pages 80
MAP faaf0000 mode 2 pages 80
MAP 2040000 mode 0 pages 16
MAP 20c0000 mode 0 pages 16
MAP 20500000 mode 0 pages 64
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
kbd0 at kbdmux0
acpi0: <NXP LX2160>
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi0: Could not update all GPEs: AE_NOT_CONFIGURED
psci0: <ARM Power State Co-ordination Interface Driver> on acpi0
gic0: <ARM Generic Interrupt Controller v3.0> iomem 0x6000000-0x601ffff,0x6200000-0x63fffff on acpi0
its0: <ARM GIC Interrupt Translation Service> on gic0
generic_timer0: <ARM Generic Timer> irq 27,28,29 on acpi0
Timecounter "ARM MPCore Timecounter" frequency 25000050 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 25000050 Hz quality 1000
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
uart0: <PrimeCell UART (PL011)> iomem 0x21c0000-0x21cffff irq 0 on acpi0
uart0: console (115200,n,8,1)
uart1: <PrimeCell UART (PL011)> iomem 0x21d0000-0x21dffff irq 1 on acpi0
pcib0: <Generic PCI host controller> on acpi0
pci0: <PCI bus> on pcib0
nvme0: <Generic NVMe Device> mem 0x46000000-0x46003fff at device 0.0 on pci0
pcib1: <Generic PCI host controller> on acpi0
pci1: <PCI bus> on pcib1
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver> port 0x20-0x3f mem 0xa400080000-0xa4000fffff,0xa400504000-0xa400507fff at device 0.0 on pci1
ix0: Using 2048 TX descriptors and 2048 RX descriptors
ix0: Using 16 RX queues 16 TX queues
ix0: Using MSI-X interrupts with 17 vectors
ix0: allocated for 16 queues
ix0: allocated for 16 rx queues
ix0: Ethernet address: 90:1b:0e:44:36:0f
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix1: <Intel(R) PRO/10GbE PCI-Express Network Driver> mem 0xa400000000-0xa40007ffff,0xa400300000-0xa400303fff at device 0.1 on pci1
ix1: Using 2048 TX descriptors and 2048 RX descriptors
ix1: Using 16 RX queues 16 TX queues
ix1: Using MSI-X interrupts with 17 vectors
ix1: allocated for 16 queues
ix1: allocated for 16 rx queues
ix1: Ethernet address: 90:1b:0e:44:36:10
ix1: PCI Express Bus: Speed 5.0GT/s Width x8
acpi_button0: <Power Button> on acpi0
ahci0: <AHCI SATA controller> iomem 0x3200000-0x320ffff,0x700100520-0x700100523 irq 10,11,12 on acpi0
ahci0: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported with FBS
ahci0: quirks=0x2<NOPMP>
ahcich0: <AHCI channel> at channel 0 on ahci0
ahci1: <AHCI SATA controller> iomem 0x3210000-0x321ffff irq 13,14,15 on acpi0
ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported with FBS
ahci1: quirks=0x2<NOPMP>
ahcich1: <AHCI channel> at channel 0 on ahci1
ahci2: <AHCI SATA controller> iomem 0x3220000-0x322ffff irq 16,17,18 on acpi0
ahci2: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported with FBS
ahci2: quirks=0x2<NOPMP>
ahcich2: <AHCI channel> at channel 0 on ahci2
ahci3: <AHCI SATA controller> iomem 0x3230000-0x323ffff irq 19,20,21 on acpi0
ahci3: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported with FBS
ahci3: quirks=0x2<NOPMP>
ahcich3: <AHCI channel> at channel 0 on ahci3
xhci0: <Generic USB 3.0 controller> iomem 0x3100000-0x310ffff irq 25 on acpi0
xhci0: 64 bytes context size, 32-bit DMA
usbus0 on xhci0
xhci1: <Generic USB 3.0 controller> iomem 0x3110000-0x311ffff irq 26 on acpi0
xhci1: 64 bytes context size, 32-bit DMA
usbus1 on xhci1
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_tz3: <Thermal Zone> on acpi0
acpi_tz4: <Thermal Zone> on acpi0
acpi_tz5: <Thermal Zone> on acpi0
acpi_tz6: <Thermal Zone> on acpi0
acpi_tz7: <Thermal Zone> on acpi0
acpi_tz8: <Thermal Zone> on acpi0
cpu0: <ACPI CPU> on acpi0
cryptosoft0: <software crypto>
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
device_attach: acpi_perf0 attach returned 6
device_attach: acpi_perf1 attach returned 6
device_attach: acpi_perf2 attach returned 6
device_attach: acpi_perf3 attach returned 6
device_attach: acpi_perf4 attach returned 6
device_attach: acpi_perf5 attach returned 6
device_attach: acpi_perf6 attach returned 6
device_attach: acpi_perf7 attach returned 6
device_attach: acpi_perf8 attach returned 6
device_attach: acpi_perf9 attach returned 6
device_attach: acpi_perf10 attach returned 6
device_attach: acpi_perf11 attach returned 6
device_attach: acpi_perf12 attach returned 6
device_attach: acpi_perf13 attach returned 6
device_attach: acpi_perf14 attach returned 6
device_attach: acpi_perf15 attach returned 6
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
device_attach: acpi_perf0 attach returned 6
device_attach: acpi_perf1 attach returned 6
device_attach: acpi_perf2 attach returned 6
device_attach: acpi_perf3 attach returned 6
device_attach: acpi_perf4 attach returned 6
device_attach: acpi_perf5 attach returned 6
device_attach: acpi_perf6 attach returned 6
device_attach: acpi_perf7 attach returned 6
device_attach: acpi_perf8 attach returned 6
device_attach: acpi_perf9 attach returned 6
device_attach: acpi_perf10 attach returned 6
device_attach: acpi_perf11 attach returned 6
device_attach: acpi_perf12 attach returned 6
device_attach: acpi_perf13 attach returned 6
device_attach: acpi_perf14 attach returned 6
device_attach: acpi_perf15 attach returned 6
Timecounters tick every 1.000 msec
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 5.0Gbps Super Speed USB v3.0
acpi_tz0: failed to set new freq, disabling passive cooling
ugen1.1: <Generic XHCI root HUB> at usbus1
uhub0 on usbus1
uhub0: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen0.1: <Generic XHCI root HUB> at usbus0
uhub1 on usbus0
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
Release APs...Trying to mount root from ufs:/dev/nda0p2 [rw]...
done
Root mount waiting for: CAMCPU 0: ARM Cortex-A72 r0p3 affinity: 0 0
usbus0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
usbus1 Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
Instruction Set Attributes 1 = <>
Processor Features 0 = <GIC,AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
Processor Features 1 = <>
Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
Memory Model Features 1 = <8bit VMID>
Memory Model Features 2 = <32bit CCIDX,48bit VA>
Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
Debug Features 1 = <>
Auxiliary Features 0 = <>
Auxiliary Features 1 = <>
CPU 1: ARM Cortex-A72 r0p3 affinity: 0 1
ada0 at ahcich1 bus 0 scbus1 target 0 lun 0
ada0: <APPLE SSD TS128C CJAA0201> ATA8-ACS SATA 2.x device
ada0: Serial Number 22BB50JIK6KK
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada0: 115712MB (236978176 512 byte sectors)
CPU 2: ARM Cortex-A72 r0p3 affinity: 1 0
nda0 at nvme0 bus 0 scbus4 target 0 lun 1
CPU 3: ARM Cortex-A72 r0p3 affinity: 1 1
nda0: <THNSN5256GPU7 TOSHIBA 57GA4103 97TS10HQTUFV>
nda0: Serial Number 97TS10HQTUFV
CPU 4: ARM Cortex-A72 r0p3 affinity: 2 0
CPU 5: ARM Cortex-A72 r0p3 affinity: 2 1
CPU 6: ARM Cortex-A72 r0p3 affinity: 3 0
nda0: nvme version 1.1 x4 (max x4) lanes PCIe Gen3 (max Gen3) link
CPU 7: ARM Cortex-A72 r0p3 affinity: 3 1
nda0: 244198MB (500118192 512 byte sectors)
CPU 8: ARM Cortex-A72 r0p3 affinity: 4 0
CPU 9: ARM Cortex-A72 r0p3 affinity: 4 1
CPU 10: ARM Cortex-A72 r0p3 affinity: 5 0
CPU 11: ARM Cortex-A72 r0p3 affinity: 5 1
CPU 12: ARM Cortex-A72 r0p3 affinity: 6 0
CPU 13: ARM Cortex-A72 r0p3 affinity: 6 1
CPU 14: ARM Cortex-A72 r0p3 affinity: 7 0
CPU 15: ARM Cortex-A72 r0p3 affinity: 7 1
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
ugen1.2: <vendor 0x04b4 product 0x6502> at usbus1
uhub2 on uhub0
uhub2: <vendor 0x04b4 product 0x6502, class 9/0, rev 2.10/50.10, addr 1> on usbus1
uhub2: MTT enabled
Root mount waiting for: usbus1
uhub2: 4 ports with 4 removable, self powered
ugen1.3: <vendor 0x0424 product 0x2514> at usbus1
uhub3 on uhub2
uhub3: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/b.b3, addr 2> on usbus1
uhub3: MTT enabled
Root mount waiting for: usbus1
uhub3: 4 ports with 3 removable, self powered
Root mount waiting for: usbus1
ugen1.4: <vendor 0x04b4 product 0x6500> at usbus1
uhub4 on uhub0
uhub4: <vendor 0x04b4 product 0x6500, class 9/0, rev 3.00/50.10, addr 3> on usbus1
uhub4: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
mountroot: waiting for device /dev/nda0p2...
WARNING: / was not properly dismounted
WARNING: /: mount pending error: blocks 222448 files 1824
lo0: link state changed to UP
ix0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
root@FreeBSDUFS:~ #
@yarshure
Copy link
Author

yarshure commented Feb 2, 2021

make buildkernel crash

  
  x0: ffff0000433f3d98
  x1: ffffa00028f2f580
  x2:           100000
  x3:                0
  x4:               60
  x5:                0
  x6:                0
  x7:                0
  x8:                1
  x9:                1
 x10: ffffa00028f2f580
 x11:                0
 x12:                0
 x13:                9
 x14:                3
 x15:                0
 x16:                0
 x17:               18
 x18: ffff0001938186f0
 x19: ffffa00026197000
 x20: ffffa00028f2f580
 x21:                0
 x22: ffffa0000008dc00
 x23: ffffa0000008dc28
 x24:                0
 x25: ffff000000b7b000
 x26: ffff000000b7b000
 x27:           232000
 x28:           232000
 x29: ffff0001938186f0
  sp: ffff0001938186f0
  lr: ffff0000004caabc
 elr: ffff0000004caa20
spsr:         60000145
 far:         402c4829
panic: Unknown kernel exception 0 esr_el1 2000000

cpuid = 1
time = 1612259959
KDB: stack backtrace:
#0 0xffff000000506834 at kdb_backtrace+0x60
#1 0xffff0000004b0a94 at vpanic+0x184
#2 0xffff0000004b090c at panic+0x44
#3 0xffff00000081bc28 at do_el1h_sync+0x140
#4 0xffff0000007fd878 at handle_el1h_sync+0x78
#5 0xffff0000004caab8 at tidhash_remove+0x174
#6 0xffff000000459100 at exit1+0x94c
#7 0xffff0000004587b0 at sys_sys_exit+0x10
#8 0xffff00000081c1b8 at do_el0_sync+0x448
#9 0xffff0000007fda24 at handle_el0_sync+0x90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment