From nobody Thu Feb 2 16:49:17 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 4P74WX520jz3kLQ3 for ; Thu, 2 Feb 2023 16:49:28 +0000 (UTC) (envelope-from bT.togk9cad30=c03lcaljnogt=dhbrebyt51@em790814.fubar.geek.nz) Received: from e2i580.smtp2go.com (e2i580.smtp2go.com [103.2.142.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4P74WX3GFRz3pxW for ; Thu, 2 Feb 2023 16:49:27 +0000 (UTC) (envelope-from bT.togk9cad30=c03lcaljnogt=dhbrebyt51@em790814.fubar.geek.nz) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpservice.net; s=mgy720.a1-4.dyn; x=1675357467; h=Feedback-ID: X-Smtpcorp-Track:To:Message-Id:Date:From:Subject:Reply-To:Sender: List-Unsubscribe; bh=GcZ+d0xGLUFnOPSa3m4gx0vyglHCnrAl13/GlCDIbFo=; b=F4Ew54qj t+HIywv/0mJ/eps4Gak/Tk8j7dQ4Iy5zB5NsF2B6jy7qvt0euRQc7ZTpyemeKqIE9+vYffipPRvWs SrFhRp8Qg/scdWpuJA/l0rVrxyfDVlJ/Q5flwm2gr/HdO8IO1ImNmKlGwAEwki0kX50bSMupomJsk 4GN1U7MHQr5m4od+YFjCVFAMNnH1Tlv5swUKK8JVvRvoBC2Ha3CxAf1S4xayUN6J9I2v2hOcPaKQM iLHJI+O59lvMTlmKFreGr6uk159p1BtNClTXRzDeEziZ+2srMPKy1ru2xS1mHxh8bzQGh/ACqGZ6a LBFGFZBlidi+2NseNOVbtU82ow==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fubar.geek.nz; i=@fubar.geek.nz; q=dns/txt; s=s790814; t=1675356567; h=from : subject : to : message-id : date; bh=GcZ+d0xGLUFnOPSa3m4gx0vyglHCnrAl13/GlCDIbFo=; b=lRDaDBEvQiX9ggDlZOxvO0chg0ANmOUlb5qxXTAjTLK09lCZdNv5aaQFERjPj/iHKatWN Dd0PijqKY7V5jRRu/XvQmGODWR3BG/SaqWNucBaNWJkZc0seSQ6StEKckebAMWrIsuzOQKB +wM5vN7uhuX9S3U+BjugQLio8g1tpOEnSbtRxfsDG/7l9YxX98x8z4sXQLqsgwKA0UMzwaF u6MT5fa05/Pny4wLew7IEpSbaYyLzeAlVx14lyV58FpJ1r7Eh+YYyyK6ixxkpwO0OodHmhf zn6ssqB/i0Y70PCBAA+LvmdZSkjb109FTS2OFHzA8lU1s/h91gd4fOmyvOdQ== Received: from [10.139.162.187] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1pNcm2-qt4EUc-5J; Thu, 02 Feb 2023 16:49:22 +0000 Received: from [10.162.55.164] (helo=morbo.fubar.geek.nz) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96-S2G) (envelope-from ) id 1pNcm1-4Xn1Xt-37; Thu, 02 Feb 2023 16:49:21 +0000 Received: from smtpclient.apple (cpc91210-cmbg18-2-0-cust37.5-4.cable.virginm.net [81.102.44.38]) by morbo.fubar.geek.nz (Postfix) with ESMTPSA id 8D298D738; Thu, 2 Feb 2023 16:49:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: My ARM64 boot just broke (undefined instruction) From: Andrew Turner In-Reply-To: Date: Thu, 2 Feb 2023 16:49:17 +0000 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <634C1494-2DD1-4D3B-9621-006A10F93855@fubar.geek.nz> References: To: Martin Cracauer X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Smtpcorp-Track: 1pNcX14bn1bt37.2zXT1BieHKe74 Feedback-ID: 790814m:790814amQcrys:790814sn_OYx4FT6 X-Report-Abuse: Please forward a copy of this message, including all headers, to X-Rspamd-Queue-Id: 4P74WX3GFRz3pxW X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:23352, ipnet:103.2.140.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N This should be fixed in 22e4897422a055b7a15be5984fbc4bb97f432e79. Andrew > On 2 Feb 2023, at 10:13, Martin Cracauer wrote: >=20 > I am getting a new boot panic on 14-current. >=20 > Platform: > - Apple Mac M1 mini > - QEMU 7.2.0 to arm64 > - Last working kernel: Jan 25 main-n260242-f5924ad8fde4 > - kern config GENERIC-NODEBUG >=20 > [...] > 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 =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 > 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>=20 >=20 > --=20 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > Martin Cracauer http://www.cons.org/cracauer/ >=20