From nobody Sat Apr 09 00:15:48 2022 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 AD9451AA896B for ; Sat, 9 Apr 2022 00:16:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4KZwdG3vcDz3lpV for ; Sat, 9 Apr 2022 00:16:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649463355; bh=iQ8HUouuDo5nUTFdZ1DcVhyB/dlPXfDH4VMhy16/ahc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HjnvaaJlHnruGlSYPYtTaLorGT+UrHvN+QYGjLxjgDhNJVyiBTVjY4HmSXhO1Zpx0BHhvFSoFULJMVXyDhRwKRHcEbY+pOHOsREwQBl5H9PCsJHJGbnt/4AVs9HtH9z2X05QI6LbSDbTSzT2gkRYoUbiMqYGejQuZkul8HQssop26KYpf9FnyUUWf7/dIh2VRJ4SbKk1dua/Cn83fyCTfcrTd6zHwiHPaBAUKMGzJWcfd3KwCZvXqomRYGSoOfv2R2XOeOW1Rm+7HU4EnAyfZLmDoGdrD09Kz83GgWEychj0GbF8oUNhYSffDFvCB9PuRJ1LCtHEvpVRH5AiqxreLA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649463355; bh=6L/jtN0k/QJhAGse2O7Vbdfehwwl6rXjcK3eonz46hz=; h=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Xw6KpZmiZn6s0pAh6ill2SeWMPh42OagUc.b981s4tsgP8 oo2oEnW7yTUInvIl2aPe6U0LG0PAF_JnAEpzC2AJrNxTYFSOdLYIwVNy1oSNUoQqFlQy2kudsTox mYxbC.6eAvll5CgkAObxmoKpc9DRuWQ8VmnqSPqgGkvtaMWmFVRS.W21.rvzQC_Lrh5.lt541tAm V0GaIuO2B4Yck.dxvYHpFlYsj9VXzM0colWm0eHQ1OY1TmfzRT0GRVRoh1tOHJ4wxikejoucDQl2 Y6eJo04t8K8r8RxjPfUbeT4AcJd0GkmnuL1ir.AfcQI9x9ybzyeTSV76ZM5e2y2si.Dvx984qZxA 9YSSw8QudgwySrl1QH.WKfXvMwn2WrZVc1V5Q9lwjRFNO7qtQOqQINwCtlf7lqpZ2Wiqdus6bLY6 2nQEB6Tm4rOywK.5hepsst9hB_FasJ6m0uCYq6Hjq6of7MECRqNHVv.VcOk782opiYNOigmWOwER ydD2tEicQVW99.yoYwdmUb9JS.PUTJ7lrlvO1RitP5JowRct2Q37G_076BQGLaDkf5RpfhrvV._4 5KEmL.NnUTJMtMFQ- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 9 Apr 2022 00:15:55 +0000 Received: by kubenode506.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 967dbbe0c646b3c989fd26689f75e939; Sat, 09 Apr 2022 00:15:50 +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 14.0 \(3654.120.0.1.13\)) Subject: Re: Rpi3 panic, data abort with spinlock held on -current From: Mark Millard In-Reply-To: <20220408230853.GA51713@www.zefox.net> Date: Fri, 8 Apr 2022 17:15:48 -0700 Cc: bob prohaska Content-Transfer-Encoding: quoted-printable Message-Id: <0E6E478E-2644-4EF4-B750-AB6CC5DD7AF7@yahoo.com> References: <20220408230853.GA51713@www.zefox.net> To: Free BSD X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4KZwdG3vcDz3lpV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=HjnvaaJl; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Apr-8, at 16:08, bob prohaska wrote: > Here's an example of a crash on an RPI3 running -current that was > updated the morning of April 8th. The build command was > make -j3 -DWITH_META_MODE > buildworld.log >=20 > The panic started with=20 > panic: data abort with spinlock held >=20 > The crashing kernel reports > FreeBSD 14.0-CURRENT #36 main-n254371-fb8c87b4f3b: Tue Apr 5 22:20:39 = PDT 2022 >=20 > The machine uses a USB mechanical hard drive for root, with 3547 MB of = swap. > Only about 10% of swap was in use when it crashed. >=20 > The console output, final top window and buildworld log are at > http://www.zefox.net/~fbsd/rpi3/crashes/20220408/ I'm just including the backtrace so it is visible on the list without having to go exploring. It might help folks decide if they want to do that exploring or are otherwise interested. General nested structure (bottom to top of the backtrace below): interrupt leads to exception, then interrupt, which leads to exception, which leads to panic. The backtrace: login: panic: data abort with spinlock held cpuid =3D 0 time =3D 1649444088 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x30 vpanic() at vpanic+0x174 panic() at panic+0x44 data_abort() at data_abort+0x2a8 handle_el1h_sync() at handle_el1h_sync+0x10 --- exception, esr 0x96000007 generic_bs_rr_4() at generic_bs_rr_4+0xc dwc_otg_interrupt_poll_locked() at dwc_otg_interrupt_poll_locked+0x69c dwc_otg_filter_interrupt() at dwc_otg_filter_interrupt+0x130 intr_event_handle() at intr_event_handle+0xf0 intr_isrc_dispatch() at intr_isrc_dispatch+0x74 bcm2835_intc_intr() at bcm2835_intc_intr+0xa4 intr_event_handle() at intr_event_handle+0xf0 intr_isrc_dispatch() at intr_isrc_dispatch+0x74 bcm_lintc_intr() at bcm_lintc_intr+0x1d8 intr_irq_handler() at intr_irq_handler+0x80 handle_el1h_irq() at handle_el1h_irq+0xc --- interrupt data_abort() at data_abort+0x14c handle_el1h_sync() at handle_el1h_sync+0x10 --- exception, esr 0x96000006 dwc_otg_host_data_rx() at dwc_otg_host_data_rx+0x260 dwc_otg_interrupt_poll_locked() at dwc_otg_interrupt_poll_locked+0x69c dwc_otg_filter_interrupt() at dwc_otg_filter_interrupt+0x130 intr_event_handle() at intr_event_handle+0xf0 intr_isrc_dispatch() at intr_isrc_dispatch+0x74 bcm2835_intc_intr() at bcm2835_intc_intr+0xa4 intr_event_handle() at intr_event_handle+0xf0 intr_isrc_dispatch() at intr_isrc_dispatch+0x74 bcm_lintc_intr() at bcm_lintc_intr+0x1d8 intr_irq_handler() at intr_irq_handler+0x80 handle_el0_irq() at handle_el0_irq+0x38 --- interrupt KDB: enter: panic [ thread pid 83684 tid 100210 ] Stopped at kdb_enter+0x44: undefined f902011f db>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com