NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-evbarm/57551: panic on evbarm on 10.0_BETA



>Number:         57551
>Category:       port-evbarm
>Synopsis:       panic on evbarm on 10.0_BETA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 30 07:40:01 +0000 2023
>Originator:     Christian Groessler
>Release:        10.0_BETA from around Jul-18-2023
>Organization:
>Environment:
NetBSD raspi3c 10.0_BETA NetBSD 10.0_BETA (CPGENERIC) #0: Wed Jul 19 22:47:30 CEST 2023  chris@raspi3c:/net/socke/tmp/netbsd/raspi3c/obj-10/net/socke/tmp/netbsd/raspi3c/src-10/sys/arch/evbarm/compile/CPGENERIC evbarm
>Description:
During night the system sometimes crashes and reboots. I guess during the daily or weekly scripts.


/var/log/messages shows:

Jul 29 23:00:00 raspi3c syslogd[698]: restart
Jul 30 02:28:08 raspi3c syslogd[698]: restart
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] panic: kernel diagnostic assertion "offset < dma->udma_block->size" failed: file "/net/s
ocke/tmp/netbsd/raspi3c/src-10/sys/dev/usb/usb_mem.c", line 389 offset 12288 vs 12288
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] cpu0: Begin traceback...
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c5c: netbsd:db_panic+0x14
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c7c: netbsd:vpanic+0x114
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c94: netbsd:kern_assert+0x40
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1cd4: netbsd:usb_dmaaddr+0x128
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1d1c: netbsd:dwc2_assign_and_init_hc+0x2b8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1d54: netbsd:dwc2_hcd_select_transactions+0x164
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1d74: netbsd:dwc2_release_channel+0x190
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1dcc: netbsd:dwc2_handle_hcd_intr+0xcec
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1df4: netbsd:dwc2_intr+0xe8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1e0c: netbsd:bcm2835_icu_intr+0x28
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1e5c: netbsd:pic_dispatch+0x54
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1ee4: netbsd:pic_do_pending_ints+0x434
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1f4c: netbsd:irq_entry+0x94
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1fac: netbsd:idle_loop+0x1b8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] cpu0: End traceback...
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] Mutex error: mutex_vector_enter,516: assertion failed: !cpu_intr_p()
Jul 30 02:28:08 raspi3c /netbsd: 
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] lock address : 917c407c
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] current cpu  :                  0
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] current lwp  : 0x00000000914ac040
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] owner field  : 000000000000000000 wait/spin:                0/0
Jul 30 02:28:08 raspi3c /netbsd: 
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] Skipping crash dump on recursive panic
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] panic: lock error: Mutex: mutex_vector_enter,516: assertion failed: !cpu_intr_p(): lock 
0x917c407c cpu 0 lwp 0x914ac040
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] cpu0: Begin traceback...
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb195c: netbsd:db_panic+0x14
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb197c: netbsd:vpanic+0x114
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1994: netbsd:panic+0x24
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1a5c: netbsd:lockdebug_abort+0xe8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1a74: netbsd:mutex_abort+0x30
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1adc: netbsd:mutex_enter+0x48c
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1b14: netbsd:dk_open+0x3c
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1b44: netbsd:ldopen+0x78
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1b74: netbsd:dk_size+0x64
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1bb4: netbsd:bdev_size+0xac
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1bc4: netbsd:cpu_dumpconf+0x28
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c14: netbsd:dodumpsys+0x1fc
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c44: netbsd:dumpsys+0x18
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c5c: netbsd:kern_reboot+0x80
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c7c: netbsd:vpanic+0x120
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1c94: netbsd:kern_assert+0x40
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1cd4: netbsd:usb_dmaaddr+0x128
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1d1c: netbsd:dwc2_assign_and_init_hc+0x2b8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1d54: netbsd:dwc2_hcd_select_transactions+0x164
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1d74: netbsd:dwc2_release_channel+0x190
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1dcc: netbsd:dwc2_handle_hcd_intr+0xcec
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1df4: netbsd:dwc2_intr+0xe8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1e0c: netbsd:bcm2835_icu_intr+0x28
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1e5c: netbsd:pic_dispatch+0x54
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1ee4: netbsd:pic_do_pending_ints+0x434
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1f4c: netbsd:irq_entry+0x94
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] 0x80cb1fac: netbsd:idle_loop+0x1b8
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] cpu0: End traceback...
Jul 30 02:28:08 raspi3c /netbsd: [ 57094.3025208] rebooting...
Jul 30 02:28:08 raspi3c /netbsd: [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
Jul 30 02:28:08 raspi3c /netbsd: [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
Jul 30 02:28:08 raspi3c /netbsd: [   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
Jul 30 02:28:08 raspi3c /netbsd: [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.


My changed config file CPGENERIC just adds "options INSECURE":

raspi3c# diff GENERIC CPGENERIC 
40a41
> options       INSECURE
raspi3c# 

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index