From nobody Fri Jun 11 13:55:29 2021 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 2A4F65D7C08 for ; Fri, 11 Jun 2021 13:55:29 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx2.shrew.net (mx2.shrew.net [38.97.5.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G1j683pwXz3Hq7 for ; Fri, 11 Jun 2021 13:55:28 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx2.shrew.net (8.15.2/8.15.2) with ESMTP id 15BDtRsT027672 for ; Fri, 11 Jun 2021 08:55:27 -0500 (CDT) (envelope-from mgrooms@shrew.net) Received: from [10.22.200.30] (unknown [136.49.68.36]) by mail.shrew.net (Postfix) with ESMTPSA id 7609019A78D for ; Fri, 11 Jun 2021 08:55:22 -0500 (CDT) Subject: Re: Easily reproducible stable/13 kernel crash To: freebsd-arm@freebsd.org References: <63c37775-f1f6-def7-1ca2-4ac0460c46e2@shrew.net> <87y2bhuehz.wl-herbert@gojira.at> <87wnr0vq79.wl-herbert@gojira.at> <6d268f28-373e-fd84-9fe8-9e39831760e5@selasky.org> <87tum48ror.wl-herbert@gojira.at> From: Matthew Grooms Message-ID: Date: Fri, 11 Jun 2021 08:55:29 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 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 In-Reply-To: <87tum48ror.wl-herbert@gojira.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx2.shrew.net [10.24.10.11]); Fri, 11 Jun 2021 08:55:27 -0500 (CDT) X-Rspamd-Queue-Id: 4G1j683pwXz3Hq7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.132 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.132:from]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.132:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[shrew.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RECEIVED_SPAMHAUS_PBL(0.00)[136.49.68.36:received] X-ThisMailContainsUnwantedMimeParts: N On 6/11/2021 8:19 AM, Herbert J. Skuhra wrote: > On Fri, 11 Jun 2021 09:18:32 +0200, Hans Petter Selasky wrote: >> >> Do you have the kernel backtrace of the resulting panic? > #0 get_curthread () at /usr/src/sys/arm64/include/pcpu.h:68 > #1 doadump (textdump=) at /usr/src/sys/kern/kern_shutdown.c:399 > #2 0xffff0000004b8c5c in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:486 > #3 0xffff0000004b91f0 in vpanic (fmt=, ap=...) at /usr/src/sys/kern/kern_shutdown.c:919 > #4 0xffff0000004b8fdc in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:843 > #5 0xffff0000007e86ec in data_abort (td=0xffffa00001740000, frame=0xffff0000dfbd93a0, esr=2516582406, far=, lower=0) at /usr/src/sys/arm64/arm64/trap.c:337 > #6 > #7 counter_u64_read_one (p=, cpu=0) at /usr/src/sys/arm64/include/counter.h:45 > #8 counter_u64_fetch_inline (p=) at /usr/src/sys/arm64/include/counter.h:56 > #9 counter_u64_fetch (c=) at /usr/src/sys/kern/subr_counter.c:57 > #10 sysctl_handle_counter_u64 (oidp=0xffff000000b25820 , arg1=0xffff000000e4b6d8 , arg2=0, req=0xffff0000dfbd9650) > at /usr/src/sys/kern/subr_counter.c:80 > #11 0xffff0000004caef4 in sysctl_root_handler_locked (oid=oid@entry=0xffff000000b25820 , > arg1=arg1@entry=0xffff000000e4b6d8 , arg2=arg2@entry=0, req=req@entry=0xffff0000dfbd9650, tracker=tracker@entry=0xffff0000dfbd95d8) > at /usr/src/sys/kern/kern_sysctl.c:184 > #12 0xffff0000004ca354 in sysctl_root (oidp=, arg1=0xffff000000e4b6d8 , arg1@entry=0xffff0000dfbd9720, arg2=0, arg2@entry=5, req=, > req@entry=0xffff0000dfbd9650) at /usr/src/sys/kern/kern_sysctl.c:2261 > #13 0xffff0000004ca948 in userland_sysctl (td=, td@entry=0xffffa00001740000, name=, name@entry=0xffff0000dfbd9720, namelen=, > old=, oldlenp=, inkernel=, new=, newlen=, retval=0xffff0000dfbd9718, flags=0) > at /usr/src/sys/kern/kern_sysctl.c:2418 > #14 0xffff0000004ca77c in sys___sysctl (td=0xffffa00001740000, uap=0xffffa000017403e8) at /usr/src/sys/kern/kern_sysctl.c:2291 > #15 0xffff0000007e7d38 in syscallenter (td=0xffffa00001740000) at /usr/src/sys/arm64/arm64/../../kern/subr_syscall.c:189 > #16 svc_handler (td=0xffffa00001740000, frame=) at /usr/src/sys/arm64/arm64/trap.c:187 > #17 do_el0_sync (td=0xffffa00001740000, frame=) at /usr/src/sys/arm64/arm64/trap.c:506 > #18 > #19 0x00000000403d15ec in ?? () > #20 0x0000000040353770 in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thanks for providing this. I started a debug build before crashing out last night. Waking up with a patch ready to test was super awesome :) -Matthew