Port-arm archive

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

Re: raspberry pi Zero W reboots and kernel panic



Hello

El 6/8/23 a las 20:55, Ramiro Aceves escribió:
Hi

El 6/8/23 a las 17:35, John Klos escribió:
Just to add more information and to discard a hardware failure as the culprit of the crashes, I flashed into the SD card a previously used copy of Raspian Linux system and worked without any crashes during 2 days uncompressing pkgsrc tree and also doing a CVS checkout of the sources several times.

It might be worth considering the possibility that wireless drivers are just not that great for the Raspberry Pis, both in NetBSD and in certain Linux distros.

I decided a long time ago to not even try to use wifi on Raspberry Pis with NetBSD. Even with Debian, I can reliably lock up a Pi 3B+ by trying to transfer lots of data over wifi.

Perhaps you might try USB-ethernet, just to see? My Pi Zeros all run for months on end, compiling, transferring lots of data, et cetera, but over ethernet, not wifi.

Thanks John for answering.

I do not have a USB-ethernet device here to test. I have found a USB/Wireless card (official RaspberryPi). I have just plugged it in. Now there are two devices bwfm0 and bwfm1  even I only setup one of them in rc.conf:

#ifconfig_bwfm0="up"
ifconfig_bwfm1="up"

I had manually

ifconfig bwfm0 down

to disable the internal wireless card.

raspa-netbsd# ifconfig
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
         status: active
         inet6 ::1/128 flags 0x20<NODAD>
         inet6 fe80::1%lo0/64 flags 0 scopeid 0x1
         inet 127.0.0.1/8 flags 0
bwfm1: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid MiFibra-3422 nwkey 65536:"",0x0ba34372faf94501ccfb51185fa89476,"",""
         powersave off
         bssid 60:8d:26:32:34:24 chan 1
         address: a0:64:8f:55:f6:9c
         media: IEEE802.11 autoselect (OFDM54 mode 11g)
         status: active
         inet6 fe80::a264:8fff:fe55:f69c%bwfm1/64 flags 0 scopeid 0x2
         inet 192.168.1.134/24 broadcast 192.168.1.255 flags 0
bwfm0: flags=0x8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
         ssid "" nwkey 65536:"",0x0ba34372faf94501ccfb51185fa89476,"",""
         powersave off
         address: b8:27:eb:5b:ff:03
         media: IEEE802.11 autoselect (DS1 mode 11g)
         status: no network

Althoug it is the same driver I will run a test for a long time to se what happens and  if it reboots.

while true;do rm -rfv pkgsrc; CVS_RSH=ssh cvs -danoncvs%anoncvs.NetBSD.org@localhost:/cvsroot checkout -P pkgsrc;done

After about 6 hours working with the USB/WIFI dongle:


[ 22162.907854] panic: kernel diagnostic assertion "l == curlwp" failed: file "/
usr/src/sys/sys/lwp.h", line 543
[ 22162.907854] cpu0: Begin traceback...
[ 22162.907854] 0xc9b8facc: netbsd:db_panic+0xc
[ 22162.917889] 0xc9b8faec: netbsd:vpanic+0xf4
[ 22162.927918] 0xc9b8fb04: netbsd:kern_assert+0x3c
[ 22162.927918] 0xc9b8fb54: netbsd:cache_lookup+0x784
[ 22162.937945] 0xc9b8fc04: netbsd:ufs_lookup+0xcc
[ 22162.937945] 0xc9b8fc3c: netbsd:VOP_LOOKUP+0x48
[ 22162.947970] 0xc9b8fc74: netbsd:relookup+0x40
[ 22162.957995] 0xc9b8fcac: netbsd:ufs_gro_lookup+0x88
[ 22162.957995] 0xc9b8fd24: netbsd:genfs_sane_rename+0xc20
[ 22162.968017] 0xc9b8fd7c: netbsd:ufs_sane_rename+0x54
[ 22162.978040] 0xc9b8fdbc: netbsd:genfs_insane_rename+0x120
[ 22162.988067] 0xc9b8fdfc: netbsd:VOP_RENAME+0x6c
[ 22162.988067] 0xc9b8fecc: netbsd:do_sys_renameat+0x6b0
[ 22162.998095] 0xc9b8feec: netbsd:sys_rename+0x34
[ 22163.008124] 0xc9b8ffac: netbsd:syscall+0x188
[ 22163.018155] cpu0: End traceback...

[ 22163.018155] dump to dev 92,1 not possible
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
:



Thanks.
Ramiro.



Just a thought :)

John


Home | Main Index | Thread Index | Old Index