From nobody Mon Mar 06 15:19:28 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 4PVj133tK4z3x1N5 for ; Mon, 6 Mar 2023 15:19:35 +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 4PVj1233bdz3q16 for ; Mon, 6 Mar 2023 15:19:34 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=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; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 326FJTCx051209 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 6 Mar 2023 07:19:29 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 326FJShT051208 for freebsd-arm@freebsd.org; Mon, 6 Mar 2023 07:19:28 -0800 (PST) (envelope-from fbsd) Date: Mon, 6 Mar 2023 07:19:28 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: panic: Called fill_fpregs while the kernel is using the VFP Message-ID: <20230306151928.GA51161@www.zefox.net> 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 [-1.10 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; 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]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PVj1233bdz3q16 X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N This is new to me. Pi2 running armv7 at main-4b0552d5f4: Thu Feb 16 16:12:46 PST 2023 panic: Called fill_fpregs while the kernel is using the VFP cpuid = 3 time = 1678112700 KDB: stack backtrace: db_trace_self() at db_trace_self pc = 0xc05e5aec lr = 0xc007a684 (db_trace_self_wrapper+0x30) sp = 0xdd2de790 fp = 0xdd2de8a8 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc = 0xc007a684 lr = 0xc02e9184 (vpanic+0x140) sp = 0xdd2de8b0 fp = 0xdd2de8d0 r4 = 0x00000100 r5 = 0x00000000 r6 = 0xc07875a1 r7 = 0xc0b12f08 vpanic() at vpanic+0x140 pc = 0xc02e9184 lr = 0xc02e8f64 (dump_savectx) sp = 0xdd2de8d8 fp = 0xdd2de8dc r4 = 0xe05bc900 r5 = 0xc4c19e90 r6 = 0xdffb6e50 r7 = 0xd70afa40 r8 = 0xdffb6e40 r9 = 0xe05bc900 r10 = 0xdd2de960 dump_savectx() at dump_savectx pc = 0xc02e8f64 lr = 0xc05f2ea8 (set_regs) sp = 0xdd2de8e4 fp = 0xdd2de8f8 set_regs() at set_regs pc = 0xc05f2ea8 lr = 0xc026ee34 (elf32_get_fpregset+0x2c) sp = 0xdd2de900 fp = 0xdd2de908 r4 = 0xdffb6e50 r5 = 0xc026ee08 elf32_get_fpregset() at elf32_get_fpregset+0x2c pc = 0xc026ee34 lr = 0xc026cd9c (elf32_coredump+0x308) sp = 0xdd2de910 fp = 0xdd2de988 r4 = 0xc09033d4 r10 = 0xdd2de960 elf32_coredump() at elf32_coredump+0x308 pc = 0xc026cd9c lr = 0xc02edfac (sigexit+0xce0) sp = 0xdd2de990 fp = 0xdd2decf8 r4 = 0x0000004e r5 = 0xddb6883c r6 = 0xddb68754 r7 = 0xc026ca94 r8 = 0xde22e2bc r9 = 0xddb687b0 r10 = 0x00000000 sigexit() at sigexit+0xce0 pc = 0xc02edfac lr = 0xc02ee8ac (postsig+0x128) sp = 0xdd2ded00 fp = 0xdd2ded88 r4 = 0x00000006 r5 = 0xde2f5000 r6 = 0xdd2ded20 r7 = 0xdd2ded18 r8 = 0xde22e1f8 r9 = 0xd710cab8 r10 = 0x00000005 postsig() at postsig+0x128 pc = 0xc02ee8ac lr = 0xc02f26dc (ast_sig+0x11c) sp = 0xdd2ded90 fp = 0xdd2dee08 r4 = 0xde2f5000 r5 = 0xde22e2bc r6 = 0xc0753a8d r7 = 0x00000000 r8 = 0xde22e1f8 r9 = 0x00000ab8 r10 = 0x23adf040 ast_sig() at ast_sig+0x11c pc = 0xc02f26dc lr = 0xc0352fb0 (ast_handler+0xe0) sp = 0xdd2dee10 fp = 0xdd2dee28 r4 = 0xdd2dee40 r5 = 0x0000000e r6 = 0x00004000 r7 = 0xc096bf9c r8 = 0xde2f5000 r9 = 0x00000001 ast_handler() at ast_handler+0xe0 pc = 0xc0352fb0 lr = 0xc0352ec0 (ast+0x20) sp = 0xdd2dee30 fp = 0xdd2dee38 r4 = 0xdd2dee40 r5 = 0xde2f5000 r6 = 0x00000000 r7 = 0x000001b1 r8 = 0x24006570 r9 = 0x23adf040 ast() at ast+0x20 pc = 0xc0352ec0 lr = 0xc05e8410 (swi_exit+0x3c) sp = 0xdd2dee40 fp = 0xbfbfcaf0 r4 = 0x60000013 r5 = 0xde2f5000 swi_exit() at swi_exit+0x3c pc = 0xc05e8410 lr = 0xc05e8410 (swi_exit+0x3c) sp = 0xdd2dee40 fp = 0xbfbfcaf0 KDB: enter: panic [ thread pid 8505 tid 100176 ] Stopped at kdb_enter+0x54: ldrb r15, [r15, r15, ror r15]! db> Thanks for reading, bob prohaska