NetBSD-Bugs archive

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

port-evbarm/57564: NetBSD 10.0_BETA panics and reboots raspberry pi Zero W



>Number:         57564
>Category:       port-evbarm
>Synopsis:       NetBSD 10.0_BETA panics and reboots raspberry pi Zero W
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 04 20:50:00 +0000 2023
>Originator:     Ramiro Aceves
>Release:        10.0_BETA NetBSD 10.0_BETA (RPI)
>Organization:
>Environment:
NetBSD raspa-netbsd 10.0_BETA NetBSD 10.0_BETA (RPI) #0: Tue Jul 25 15:32:14 UTC 2023  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI evbarm

>Description:
Hello

I installed the image of NetBSD-10Beta on the SD card (also the latest
Current with same behaviour) :

pub/NetBSD-daily/netbsd-10/202307262240Z/evbarm-earmv6hf/binary/gzimg/rpi.img.gz

I did the usual settings for the first time login: root user password,
normal user, spanish keyboard, timezone and wireless setup. Everything
seemed to work ok and I was happy,  I had network working fine.

I decided to chekout source repositores just to see if it worked:

$CVS_RSH=ssh cvs -danoncvs%anoncvs.NetBSD.org@localhost:/cvsroot checkout -P pkgsrc

After some time, I got reboots and kernel panics.

Also tried to download tar.xz file.
https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.xz

Download went ok but after loooong time of descompressing the tar
ball, I get kernel panics and unexpected reboots. 

Here some crash examples:

CRASH 1 ************************************************************

Aug  4 10:16:26 raspa-netbsd ntpd[1493]: 162.159.200.123 local addr 192.168.1.24 -> <null>
Aug  4 10:16:26 raspa-netbsd ntpd[1493]: 208.85.20.220 local addr 192.168.1.24 -> <null>
Aug  4 10:16:26 raspa-netbsd ntpd[1493]: 185.90.148.209 local addr 192.168.1.24 -> <null>
Aug  4 14:18:47 raspa-netbsd syslogd[665]: restart
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.0800141] panic: kernel diagnostic assertion "l == curlwp" failed: file "/usr/src/sys/sys/lwp.h", line 543 
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.0800141] cpu0: Begin traceback...
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.0800141] 0xca313b34: netbsd:db_panic+0xc
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.0900451] 0xca313b54: netbsd:vpanic+0xf4
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.0900451] 0xca313b6c: netbsd:kern_assert+0x3c
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1000751] 0xca313bbc: netbsd:cache_lookup+0x7e4
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1101040] 0xca313c6c: netbsd:ufs_lookup+0xcc
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1101040] 0xca313ca4: netbsd:VOP_LOOKUP+0x48
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1201310] 0xca313cfc: netbsd:lookup_once+0x1b8
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1301539] 0xca313dc4: netbsd:namei_tryemulroot+0x98c
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1401799] 0xca313dfc: netbsd:namei+0x34
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1401799] 0xca313ecc: netbsd:do_sys_renameat+0x368
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1502009] 0xca313eec: netbsd:sys_rename+0x34
Aug  4 14:18:47 raspa-netbsd /netbsd: [ 42589.1602228] 0xca313fac: [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
Aug  4 14:18:47 raspa-netbsd /netbsd: [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,

CRASH 2 ************************************************************


Aug  4 04:25:31 raspa-netbsd ntpd[713]: Soliciting pool server 2001:ba0:1800:1c9::1
Aug  4 04:26:39 raspa-netbsd ntpd[713]: Soliciting pool server 2606:4700:f1::123
Aug  4 04:28:39 raspa-netbsd syslogd[602]: restart
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0322038] panic: kernel diagnostic assertion "l == curlwp
" failed: file "/usr/src/sys/sys/lwp.h", line 543 
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0322038] cpu0: Begin traceback...
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0322038] 0xc9c91a4c: netbsd:db_panic+0xc
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0322038] 0xc9c91a6c: netbsd:vpanic+0xf4
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0422419] 0xc9c91a84: netbsd:kern_assert+0x3c
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0422419] 0xc9c91ad4: netbsd:cache_lookup+0x784
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0522710] 0xc9c91b84: netbsd:ufs_lookup+0xcc
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0522710] 0xc9c91bbc: netbsd:VOP_LOOKUP+0x48
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0622941] 0xc9c91c14: netbsd:lookup_once+0x1b8
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0723302] 0xc9c91cdc: netbsd:namei_tryemulroot+0x98c
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0823523] 0xc9c91d14: netbsd:namei+0x34
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0823523] 0xc9c91e34: netbsd:vn_open+0xe4
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.0923784] 0xc9c91e8c: netbsd:do_open+0xa8
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.1024455] 0xc9c91ec4: netbsd:do_sys_openat+0x84
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.1124676] 0xc9c91eec: netbsd:sys_open+0x30
Aug  4 04:28:39 raspa-netbsd /netbsd: [ 655.1124676] 0xc9c91fac: [   1.0000000] Copyright (c) 1996, 
1997, 1998, 1999, 2000, 2001, 2002, 2003,

CRASH 3 ************************************************************

ase - dropping packet
Aug  4 03:00:06 raspa-netbsd wpa_supplicant[293]: bwfm0: WPA: Key negotiation completed with 60:8d:2
6:32:34:24 [PTK=CCMP GTK=CCMP]
Aug  4 04:17:25 raspa-netbsd syslogd[462]: restart
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4438544] panic: kernel diagnostic assertion "l == curl
wp" failed: file "/usr/src/sys/sys/lwp.h", line 543 
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4438544] cpu0: Begin traceback...
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4438544] 0xc9f1aa4c: netbsd:db_panic+0xc
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4538903] 0xc9f1aa6c: netbsd:vpanic+0xf4
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4538903] 0xc9f1aa84: netbsd:kern_assert+0x3c
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4639193] 0xc9f1aad4: netbsd:cache_lookup+0x784
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4739542] 0xc9f1ab84: netbsd:ufs_lookup+0xcc
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4739542] 0xc9f1abbc: netbsd:VOP_LOOKUP+0x48
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4839802] 0xc9f1ac14: netbsd:lookup_once+0x1b8
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.4839802] 0xc9f1acdc: netbsd:namei_tryemulroot+0x98c
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5040281] 0xc9f1ad14: netbsd:namei+0x34
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5040281] 0xc9f1ae34: netbsd:vn_open+0xe4
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5140531] 0xc9f1ae8c: netbsd:do_open+0xa8
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5140531] 0xc9f1aec4: netbsd:do_sys_openat+0x84
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5341060] 0xc9f1aeec: netbsd:sys_open+0x30
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5341060] 0xc9f1afac: netbsd:syscall+0x188
Aug  4 04:17:25 raspa-netbsd /netbsd: [ 21237.5441290] cpu0: End traceback...
Aug  4 04:17:25 raspa-netbsd /netbsd: [   1.0000000] Copyright (c) 1996, 1997, 1998,

To discard power supply problems I checked with another USB 5V adaptor with same results. Also tested raspbian Linux doing the same CVS chekout with no problems.
>How-To-Repeat:
Just let the system doing a CVS pkgsrc checkout during long time and the problem will arise sooner or later
>Fix:
I would like but I do not have a fix. Thabks so much



Home | Main Index | Thread Index | Old Index