Panic on raspberry pi

I freshly installed the new freebsd 15 release on a raspberry. In the log I can notice this:

reboot after panic: vm_fault failed: 0xffff0000002024dc error 1

The /var/cras/core.txt.* files seem to have more details once gdb was installed. See attached text files.
On a different microsd I've installed freebsd14 where the problem doesn't show up.

Is this a known problem? I can reproduce it very easily (it simply happens upon reboot).
 

Attachments

Hi,
Which rpi model?
What else did you change besides your hostname in /etc/rc.conf, /boot/loader.conf ?
Try with original config files.
 
Hi,
It is a RaspberryPi 3, Model B+, year 2017.
I spotted this pretty much immediately after installation, so there's no much change in the system, except for:
  • hostname (sysrc hostname=...)
  • firewall (sysrc firewall_type=/etc/ipfw.conf + firewall_enable=yes)
  • some changes in the sshd settings.
 
FYI I have the same 3B+ model and 15 RELEASE boots into userland fine, no panics.

Completely vanilla install, though.

Best,
Jesse
 
Fortunately the problem doesn't prevent me to reach userland: it will hit me on shutdown. It is not preventing normal system use, but it can potentially fill up storage as dumps pile up under /var/run.

I just installed a vanilla 15 RELEASE on another sd card, and it does happen.

scuzzy, how about we compare logs? I'm going to attach the log obtained from the raspberry UART. In the log I boot up the system and shut down.
 

Attachments

I can see that there's a USB Ethernet that crash:
Code:
muge0: warning: Failed to read register 0x120
muge0: warning: MII is busy
Do you use something like a USB hub with Ethernet port?
If you do not really need it, try to boot without it, If you need it, try with adding:
Code:
devmatch_blocklist="if_muge"
in your /etc/rc.conf or:
Code:
module_blacklist="muge"
in your /boot/loader.conf
 
I did a temporary workaround:


sh:
#!/bin/sh

# PROVIDE: uefix
# KEYWORD: shutdown

. /etc/rc.subr

name="uefix"
rcvar=${name}_enable
load_rc_config $name

: ${uefix_enable:="NO"}

start_cmd=uefix_start
stop_cmd=uefix_stop

uefix_start()
{
    true
}

uefix_stop()
{
    devctl disable muge0
}

run_rc_command "$1"

Put it in the /usr/local/etc/rc.d and add `uefix_enable="yes"` in the /etc/rc.conf
 
Back
Top