From nobody Thu Feb 02 10:13:55 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 4P6vlB2WJjz3cnhJ for ; Thu, 2 Feb 2023 10:13:58 +0000 (UTC) (envelope-from cracauer@cons.org) Received: from koef.zs64.net (koef.zs64.net [IPv6:2a00:14b0:4200:32e0::1e6]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4P6vl9495qz40J1 for ; Thu, 2 Feb 2023 10:13:57 +0000 (UTC) (envelope-from cracauer@cons.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of cracauer@cons.org designates 2a00:14b0:4200:32e0::1e6 as permitted sender) smtp.mailfrom=cracauer@cons.org; dmarc=none Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by 0ons.org (8.16.1/8.15.2) with ESMTP id 312ADtSE039975 for ; Thu, 2 Feb 2023 10:13:56 GMT (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.16.1/8.15.2/Submit) id 312ADtM8039974 for freebsd-arm@freebsd.org; Thu, 2 Feb 2023 05:13:55 -0500 (EST) (envelope-from cracauer) Date: Thu, 2 Feb 2023 05:13:55 -0500 From: Martin Cracauer To: freebsd-arm@freebsd.org Subject: My ARM64 boot just broke (undefined instruction) Message-ID: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2a00:14b0:4200:32e0::1e6:c]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; BLOCKLISTDE_FAIL(0.00)[212.12.50.230:server fail,2a00:14b0:4200:32e0::1e6:server fail]; ASN(0.00)[asn:13135, ipnet:2a00:14b0::/32, country:DE]; DMARC_NA(0.00)[cons.org]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[cracauer]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4P6vl9495qz40J1 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N I am getting a new boot panic on 14-current. Platform: - Apple Mac M1 mini - QEMU 7.2.0 to arm64 - Last working kernel: Jan 25 main-n260242-f5924ad8fde4 - kern config GENERIC-NODEBUG [...] generic_timer0: irq 34,35,36 on acpi0 Undefined instruction: d53be228 x0: 0 x1: ffff000000ed3cc0 (thread0_st + 0) x2: 100 x3: 8000000 x4: ffff000000802dd8 (generic_bs_w_4 + 0) x5: 50 x6: ffff00000050ef38 (kvprintf + 470) x7: d5 x8: ffffa00000778900 x9: ffff000000ed3cc0 (thread0_st + 0) x10: ffff000000f6c0f0 (isrc_table_lock + 18) x11: 1 x12: 3 x13: ff0f010000000300 x14: 0 x15: 0 x16: 0 x17: 0 x18: ffff000000fe3870 (initstack + 3870) x19: ffffa00000781400 x20: ffffa00000781500 x21: ffffa00000781438 x22: ffff0000007fd8c0 (arm_tmr_intr + 0) x23: 0 x24: ffff0000009a7b99 (digits + 3b17) x25: ffff0000009d4bf9 (console_pausestr + e595) x26: ffff000000963970 (cam_status_table + 27d68) x27: ffffa00000784280 x28: ffff000000d0dc90 (__set_sysinit_set_sym_mrmlbus_pcibmodule_sys_init + 0) x29: ffff000000fe3870 (initstack + 3870) sp: ffff000000fe3870 lr: ffff0000007fd780 (arm_tmr_attach + 190) elr: ffff0000007fd7b8 (arm_tmr_attach + 1c8) spsr: 604000c5 far: 0 panic: Unknown kernel exception 0 esr_el1 2000000 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 do_el1h_sync() at do_el1h_sync+0x194 handle_el1h_sync() at handle_el1h_sync+0x10 --- exception, esr 0x2000000 arm_tmr_attach() at arm_tmr_attach+0x1c8 device_attach() at device_attach+0x3f8 bus_generic_new_pass() at bus_generic_new_pass+0x120 bus_generic_new_pass() at bus_generic_new_pass+0xb0 bus_generic_new_pass() at bus_generic_new_pass+0xb0 root_bus_configure() at root_bus_configure+0x40 mi_startup() at mi_startup+0x200 virtdone() at virtdone+0x6c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x44: undefined f900027f db> -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/