NetBSD-Bugs archive

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

Re: port-evbmips/59236 (Multiple segfaults in erlite3 boot)



The following reply was made to PR port-evbmips/59236; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: riastradh%NetBSD.org@localhost, gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-evbmips/59236 (Multiple segfaults in erlite3 boot)
Date: Sat, 19 Apr 2025 21:46:24 +0300

 riastradh%NetBSD.org@localhost wrote:
 > Can you try the patch at the bottom of this message?
 
 With the patch, I'm still getting coredumps.  This time, the root file
 system resizing step did not happen, but I did get a login prompt:
 
   [   1.8020371] WARNING: no TOD clock present
   [   1.8020371] WARNING: using filesystem time
   [   1.8101320] WARNING: CHECK AND RESET THE DATE!
   Sat Apr 19 07:20:47 UTC 2025
   [1]   Segmentation fault      /bin/sh -c "ps -p \$\$ -o ppid="
   [2]   Segmentation fault      rcorder -s nostart ${rc_rcorder_flags} ${scripts}
   rcorder terminated with signal 11
   The following components reported failures:
       rcorder
   See /var/run/rc.log for more information.
   Sat Apr 19 07:20:47 UTC 2025
   init: can't add init: can't add init: kernel secinit: can't add 
   NetBSD/evbmips (Amnesiac) (constty)
 
   login:
 
 I was able to log in, and the login shell works, but if I try to run a
 subshell from it, the subshell dumps core.  Many other commands, such
 as ls or ps, also dump core.  The ls and ps in /rescue do work.
 
 > If you open one of the core dumps in gdb (if you are able to do that
 > from another machine where everything isn't segfaulting all the time,
 > e.g. if the core dump is written to nfs)
 
 I'm not using nfs, but I managed to get some core dumps (after
 remounting the root file system r/w) and saved them by removing the
 embedded USB flash drive from the erlite3 and reading it on another
 system.  You can find them in
 
   https://www.gson.org/netbsd/bugs/erlite3/cores.tar.gz
 
 I have not looked at them myself yet.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index