From nobody Thu Mar 23 07:20:26 2023 X-Original-To: freebsd-arm@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 4PhxZL4GgMz40ylj for ; Thu, 23 Mar 2023 07:20:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhxZL22xcz3njt for ; Thu, 23 Mar 2023 07:20:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679556026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SF3UFpR9c6oEKbzor2fDY/UPK3em74O7tZr4Y0fQ820=; b=gnGvjy9hFFCaYld7FHpZnPqMj1Y63/RePkEo1YSGFM0SyQ1kMW2CueDhi7pfVu1csJ5W+w +iMLszg/AKIRKfnEgZogvPHhNe2fbOa/bmm9AYM429wCZNo6pFS3LdnWPZZgL5g2+ZYdtJ ZySoQwNoCzX0ZB8x1xmx8kjssVaSMZHUgxHeClOIs4O58Rs6gMG7xFlXhnXroafKvyHKMe 3Jac4Pu3+IbWRmFzbVnPg4VxQCR8npx9B2KL+D4JE7Wi48D2NPzpdGMOvWDBsr6wdw0a7d VmEalMb9vxMDoudA0CFxY44XPaPvRbxgHO9vU9HuRkIStJsFzCAtoD1buxrbPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679556026; a=rsa-sha256; cv=none; b=fwz5fMtmkS7MVir6wIKukLEGG9yMtKvT7Gc0XV8syd7c3fJex0Qi4AwwQAVh6p43aDmP6b nEz6S96XbGnhczCZmCSlMhzV5uxNgORMI1sHaWA6Dqk9/RKRAqWa2QwtyajKegaiKu6ozV 1c7XS5Nqorm4Ppe34gy7S9q3hRqibof8Tr/NDzgdKLy4UPr5FQUruemxhBpP2gunehpAfc DFbNT9Zhly/fDBgtMG1FUZbH6ZKcDv49Voio9PRJbHCU6+yJ0088/4Ir+CGj8w3Yw+1fai zLKV+VsZHf89obOK38nsDKSzKE8vNDPVtwC+o04t6mt/s8lCQj3mVh64ihBc5A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PhxZL17j3zRZ8 for ; Thu, 23 Mar 2023 07:20:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32N7KQqj044010 for ; Thu, 23 Mar 2023 07:20:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32N7KQJt044009 for freebsd-arm@FreeBSD.org; Thu, 23 Mar 2023 07:20:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 270415] ram0 pseudo-driver breaks ARM64 on Hyper-V on CURRENT Date: Thu, 23 Mar 2023 07:20:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270415 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]...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! EFI framebuffer information: addr, size=C2=A0=C2=A0=C2=A0=C2=A0 0x40000000, 0x800000 dimensions=C2=A0=C2=A0=C2=A0=C2=A0 1024 x 768 stride=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1024 masks=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x00ff0000, 0x0= 000ff00, 0x000000ff, 0xff000000 ---<>--- 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 =C2=A0=C2=A0=C2=A0 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=C2=A0 6 1= 0:21:42 UTC 2023 =C2=A0=C2=A0=C2=A0 root@fbsd13-nvme-test:/data/ws/obj/data/ws/main/arm64.aa= rch64/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=C2=A0 =3D 4294799360 (4095 MB) avail memory =3D 4155047936 (3962 MB) Starting CPU 1 (1) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random devi= ce because it was not yet seeded and the knob 'bypass_before_seeding' was enab= led. 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: acpi0: Could not update all GPEs: AE_NOT_CONFIGURED psci0: on acpi0 gic0: iomem 0xffff0000-0x10000ffff,0xeffee000-0xf000dfff,0xf000e000-0xf002dfff on acpi0 generic_timer0: 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: efirtc0: registered as a time-of-day clock, resolution 1.000000s panic: ram_attach: resource 7 failed to attach cpuid =3D 0 time =3D 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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kdb_enter+0x44: undefined=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 f906c27f db> --=20 You are receiving this mail because: You are the assignee for the bug.=