Date: Tue, 12 Jan 2021 16:38:32 +0100 From: Andrea Brancatelli <abrancatelli@schema31.it> To: Dan Kotowski <dan.kotowski@a9development.com> Cc: freebsd-arm@freebsd.org Subject: Re: Updates on 13-STABLE on Apple M1 (Parallel Desktop) Message-ID: <4e9df7d919ec8d9248cb1897680530ee@schema31.it> In-Reply-To: <r3mmXoSdLF6Vtrzkx-GX6KFSNKJBpbugazvs_vSjcFkSVZi9Sy6q-HE_SS6OpqK6JQil-GUkRD3h6YQIp4i-v6KvgyhUosrAERVa_G2e-Ks=@a9development.com> References: <7a7df6f9421d10feafdbc6234ef137a3@schema31.it> <145415ebfd16d9e207b14f624630ff80@schema31.it> <r3mmXoSdLF6Vtrzkx-GX6KFSNKJBpbugazvs_vSjcFkSVZi9Sy6q-HE_SS6OpqK6JQil-GUkRD3h6YQIp4i-v6KvgyhUosrAERVa_G2e-Ks=@a9development.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-01-12 14:29, Dan Kotowski wrote: >> Thanks a lot. > > From the bootloader can you try `fdt ls`? > > And if you can get a shell, can you try `ofwdump -a`? > > There's more info about both here: https://wiki.freebsd.org/FlattenedDeviceTree > > Based on your last dmesg output it looks like Parallels went with a FDT-based approach rather than ACPI. That's fine, although a bit frustrating. My initial guess is that we just don't have the DTS and drivers necessary, but maybe we can get that moving :) Here's the output for ofwdump -a root@f13:~ # ofwdump -a Node 0x38: Node 0xe4: interrupt-controller@48240000 Node 0x198: timer Node 0x200: rtc Node 0x264: aliases Node 0x290: chosen Node 0x2cc: cpus Node 0x2f8: cpu@0 Node 0x340: cpu@1 Node 0x39c: cpu@2 Node 0x3f8: cpu@3 Node 0x454: cpu@4 Node 0x4b0: cpu@5 Node 0x50c: cpu@6 Node 0x568: cpu@7 Node 0x5c8: soc Node 0x5d4: psci Node 0x610: clk24mhz Node 0x688: uart@3ff80000 Node 0x740: ufshc@1da4000 Node 0x7e0: ufs_phy@1da7000 Node 0x904: prlmbox@1da8000 Node 0x954: ehci@1da9000 Node 0x9d0: ahci@1daa000 Node 0xa4c: xhci@1dab000 Node 0xac8: video@1dc0000 Node 0xb54: tgate@1dc4000 Node 0xbf4: pci@2000000 Here's the boot loader output for fdt ls Type '?' for a list of commands, 'help' for more detailed help. OK fdt ls Using DTB provided by EFI at 0x17fff2000. /interrupt-controller@48240000 /timer /rtc /aliases /chosen /cpus /cpus/cpu@0 /cpus/cpu@1 /cpus/cpu@2 /cpus/cpu@3 /cpus/cpu@4 /cpus/cpu@5 /cpus/cpu@6 /cpus/cpu@7 /soc /psci /clk24mhz /uart@3ff80000 /ufshc@1da4000 /ufs_phy@1da7000 /prlmbox@1da8000 /ehci@1da9000 /ahci@1daa000 /xhci@1dab000 /video@1dc0000 /tgate@1dc4000 /pci@2000000 OK --- Andrea Brancatelli From owner-freebsd-arm@freebsd.org Tue Jan 12 23:49:40 2021 Return-Path: <owner-freebsd-arm@freebsd.org> Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 930304EA0D5 for <freebsd-arm@mailman.nyi.freebsd.org>; Tue, 12 Jan 2021 23:49:40 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFnNz2dYnz4rSs for <freebsd-arm@freebsd.org>; Tue, 12 Jan 2021 23:49:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 10CNnZg9079427 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 12 Jan 2021 15:49:35 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 10CNnYHK079426; Tue, 12 Jan 2021 15:49:34 -0800 (PST) (envelope-from fbsd) Date: Tue, 12 Jan 2021 15:49:34 -0800 From: bob prohaska <fbsd@www.zefox.net> To: freebsd-arm@freebsd.org Subject: panic: Too many early devmap mappings Message-ID: <20210112233607.GA79348@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4DFnNz2dYnz4rSs X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [-0.44 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[50.1.20.27:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[50.1.20.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.34)[-0.336]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." <freebsd-arm.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>, <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/> List-Post: <mailto:freebsd-arm@freebsd.org> List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>, <mailto:freebsd-arm-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 12 Jan 2021 23:49:40 -0000 An RPi3 running -current updated on Jan. 10 installed a new world/kernel and when rebooted promptly crashed with ---<<BOOT>>--- panic: Too many early devmap mappings cpuid = 0 time = 1 KDB: stack backtrace: (null)() at 0xffff00000011ad90 pc = 0xffff000000760f70 lr = 0xffff00000011ad90 sp = 0xffff0000011df330 fp = 0xffff0000011df530 (null)() at 0xffff00000045c2d4 pc = 0xffff00000011ad90 lr = 0xffff00000045c2d4 sp = 0xffff0000011df540 fp = 0xffff0000011df5a0 (null)() at 0xffff00000045c07c pc = 0xffff00000045c2d4 lr = 0xffff00000045c07c sp = 0xffff0000011df5b0 fp = 0xffff0000011df660 (null)() at 0xffff0000007d8380 pc = 0xffff00000045c07c lr = 0xffff0000007d8380 sp = 0xffff0000011df670 fp = 0xffff0000011df670 (null)() at 0xffff00000075dc98 pc = 0xffff0000007d8380 lr = 0xffff00000075dc98 sp = 0xffff0000011df680 fp = 0xffff0000011df6a0 (null)() at 0xffff0000007710e4 pc = 0xffff00000075dc98 lr = 0xffff0000007710e4 sp = 0xffff0000011df6b0 fp = 0xffff0000011df6d0 (null)() at 0xffff00000028850c pc = 0xffff0000007710e4 lr = 0xffff00000028850c sp = 0xffff0000011df6e0 fp = 0xffff0000011df7a0 (null)() at 0xffff0000007c8788 pc = 0xffff00000028850c lr = 0xffff0000007c8788 sp = 0xffff0000011df7b0 fp = 0xffff0000011df830 (null)() at 0xffff00000028a64c pc = 0xffff0000007c8788 lr = 0xffff00000028a64c sp = 0xffff0000011df840 fp = 0xffff0000011df850 (null)() at 0xffff00000039b340 pc = 0xffff00000028a64c lr = 0xffff00000039b340 sp = 0xffff0000011df860 fp = 0xffff0000011df870 (null)() at 0xffff0000004a6950 pc = 0xffff00000039b340 lr = 0xffff0000004a6950 sp = 0xffff0000011df880 fp = 0xffff0000011df8b0 (null)() at 0xffff00000076d73c pc = 0xffff0000004a6950 lr = 0xffff00000076d73c sp = 0xffff0000011df8c0 fp = 0xffff0000011dfa00 (null)() at 0xffff00000000089c pc = 0xffff00000076d73c lr = 0xffff00000000089c sp = 0xffff0000011dfa10 fp = 0x0000000000000000 KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at 0xffff0000004a6550 db> reboot cpu_reset failed It had to be power-cycled to restart. It came back up readily with kernel.old, which reports main-c255664-g4d64c7243d26 compiled Jan 9. In particular, how does one recognize which revision fixes this problem, assuming it's a bug and not operator error? Presumably, it'll take at least several days to reach git. Thanks for reading, bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e9df7d919ec8d9248cb1897680530ee>