[Bug 270415] ram0 pseudo-driver breaks ARM64 on Hyper-V on CURRENT
Date: Thu, 23 Mar 2023 07:20:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270415
Bug ID: 270415
Summary: ram0 pseudo-driver breaks ARM64 on Hyper-V on CURRENT
Product: Base System
Version: CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: arm
Assignee: freebsd-arm@FreeBSD.org
Reporter: weh@microsoft.com
The patch physmem: add ram0 pseudo-driver (commit
e6cf1a0826c9d7f229e41224ec7b783501636528) causes panic when booting arm64
FreeBSD on Hyper-V. Panic stack looks like
Booting [/boot/kernel/kernel]...
|No valid device tree blob found!
WARNING! Trying to fire up the kernel, but no device tree blob found!
EFI framebuffer information:
addr, size 0x40000000, 0x800000
dimensions 1024 x 768
stride 1024
masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT>>---
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
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 #13 main-n260755-e6cf1a0826c9-dirty: Mon Mar 6 10:21:42
UTC 2023
root@fbsd13-nvme-test:/data/ws/obj/data/ws/main/arm64.aarch64/sys/GENERIC
arm64
FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git
llvmorg-15.0.7-0-g8dfdcc7b7bf6)
WARNING: WITNESS option enabled, expect reduced performance.
SRAT: Ignoring memory at addr 0x1c0000000
SRAT: Ignoring memory at addr 0x1000000000
SRAT: Ignoring memory at addr 0x10000000000
SRAT: Ignoring memory at addr 0x20000000000
SRAT: Ignoring memory at addr 0x40000000000
SRAT: Ignoring memory at addr 0x80000000000
SRAT: Ignoring memory at addr 0x100000000000
SRAT: Ignoring memory at addr 0x200000000000
SRAT: Ignoring memory at addr 0x400000000000
SRAT: Ignoring memory at addr 0x800000000000
VT(efifb): resolution 1024x768
module scmi already present!
module firmware already present!
real memory = 4294799360 (4095 MB)
avail memory = 4155047936 (3962 MB)
Starting CPU 1 (1)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device
because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
random: entropy device external interface
MAP 3ec84000 mode 2 pages 41
MAP 3fd2d000 mode 2 pages 48
MAP 3fd5d000 mode 2 pages 36
MAP effed000 mode 0 pages 1
kbd0 at kbdmux0
acpi0: <VRTUAL MICROSFT>
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
0xffff0000-0x10000ffff,0xeffee000-0xf000dfff,0xf000e000-0xf002dfff on acpi0
generic_timer0: <ARM Generic Timer> irq 4,5,6 on acpi0
Timecounter "ARM MPCore Timecounter" frequency 25000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 25000000 Hz quality 1000
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
panic: ram_attach: resource 7 failed to attach
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+0x13c
panic() at panic+0x44
ram_attach() at ram_attach+0x1ac
device_attach() at device_attach+0x3f8
device_probe_and_attach() at device_probe_and_attach+0x7c
bus_generic_new_pass() at bus_generic_new_pass+0xfc
bus_generic_new_pass() at bus_generic_new_pass+0xac
bus_set_pass() at bus_set_pass+0x4c
mi_startup() at mi_startup+0x1fc
virtdone() at virtdone+0x6c
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at kdb_enter+0x44: undefined f906c27f
db>
--
You are receiving this mail because:
You are the assignee for the bug.