From nobody Fri Jun 11 13:19:16 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 A0AD55D3BFA for ; Fri, 11 Jun 2021 13:20:14 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G1hKV3bZbz4vwP for ; Fri, 11 Jun 2021 13:20:14 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Fri, 11 Jun 2021 15:19:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1623417611; bh=yfsE6aJp/lxT5FWcPEXFVMtF4CLO4hdqv3GnDOG4EXM=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=PkyTSM90k33w661o/J946AOJkgQQYhvV5t5SHzm5mcxXJ2W9d99x8bVFebIK8DyYu YimglyL866q8YFAX1FEKtBcwex482AI4YEVeu8yA4dAO7QLMwqwuZm5YslFoHwAUa/ dJmdbwM14E9z4rbtUb+op0EIjsB/ZEdeq3UKJ/eXk80eo3dnZqtL7fjrS5+p34UqGi C/6Tzvs5lSBsoVDVUxTA/RF5Efcpzd6jQm6bkGFfo4iZVC2Z5edn1OBC3l1m4vQAR5 8MQYYx51ZjvnXOvWXEOmVWUAgX3tZ8xQr0RdIg5dAQ3qG0ZNbWH5dpaqqEGhqyIeOE N+YBO6lDL9A2A== Message-ID: <87tum48ror.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org Subject: Re: Easily reproducible stable/13 kernel crash In-Reply-To: <6d268f28-373e-fd84-9fe8-9e39831760e5@selasky.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> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/28.0 Mule/6.0 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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4G1hKV3bZbz4vwP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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?) -- Herbert