-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
bugSomething isn't workingSomething isn't workingguest issueIssue caused by the guestIssue caused by the guestinvestigatingWorking to determine what's going onWorking to determine what's going on
Description
Steps to reproduce
- Use this U-Boot EFI firmware: https://github.com/LekKit/RVVM/releases/download/v0.6/fw_payload.bin
- Use this guest image: https://download.freebsd.org/snapshots/VM-IMAGES/14.0-STABLE/riscv64/20240314/FreeBSD-14.0-STABLE-riscv-riscv64-20240314-91c1c36102a6-266971.raw.xz
- Login with
root
:root
- Run
# kldload if_re
- Kernel panic
Panic backtrace
root@freebsd:~ # kldload if_re
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> mem 0x40000000-0x400000ff irq 7 at device 1.0 on pci0
re0: Chip rev. 0x00800000
re0: MAC rev. 0x00000000
t[0]: 0x0000000000000201
t[1]: 0xffffffc06440b35c
t[2]: 0xffffffffa3ce9d4f
t[3]: 0xffffffc000400e76
t[4]: 0x000000000c938ce0
t[5]: 0xffffffc045368200
t[6]: 0xffffffc045368200
s[0]: 0xffffffc045368270
s[1]: 0x0000000000008802
s[2]: 0xffffffd001c64e00
s[3]: 0xffffffc0453682a8
s[4]: 0xffffffd0021c6810
s[5]: 0xffffffc045368348
s[6]: 0xffffffffffffffff
s[7]: 0xffffffc0009b18d8
s[8]: 0xffffffc0007f5cc2
s[9]: 0xffffffc05afea130
s[10]: 0xffffffc00071c230
s[11]: 0x0000000000000801
a[0]: 0xffffffd001c6f800
a[1]: 0xffffffc0453682a8
a[2]: 0x0000000000000000
a[3]: 0x00000000c0306938
a[4]: 0xffffffd0021c6820
a[5]: 0x0000000000000020
a[6]: 0x0000000000000020
a[7]: 0x0000000000000800
ra: 0xffffffc000400f7a
sp: 0xffffffc045368240
gp: 0xffffffc0007f4fa0
tp: 0xffffffc0009c4600
sepc: 0x0000000000000000
sstatus: 0x0000000a00000120
stval : 0x0000000000000000
panic: Fatal page fault at 0: 0
cpuid = 0
time = 1710864605
KDB: stack backtrace:
#0 0xffffffc00034110a at kdb_backtrace+0x4a
#1 0xffffffc0002fc03a at vpanic+0x116
#2 0xffffffc0002fbf20 at panic+0x26
#3 0xffffffc0005ac980 at page_fault_handler+0x21a
#4 0xffffffc0005ac0a4 at do_trap_supervisor+0x56
#5 0xffffffc00059c934 at cpu_exception_handler_supervisor+0x74
#6 0xffffffc0003f8256 at if_ioctl+0xa
#7 0xffffffc0004b4dc6 at dump_iface+0x130
#8 0xffffffc0004b4742 at rtnl_handle_ifevent+0x7c
#9 0xffffffc0004b4a40 at rtnl_handle_ifattach+0x48
#10 0xffffffc0003f1f2a at if_attach_internal+0x36c
#11 0xffffffc0003f1bb2 at if_attach+0xe
#12 0xffffffc0003fc58c at ether_ifattach+0x34
#13 0xffffffc06440694a at .Lpcrel_hi96+0x48
#14 0xffffffc000331d26 at device_attach+0x368
#15 0xffffffc0003319a2 at device_probe_and_attach+0x3e
#16 0xffffffc00012e82a at pci_driver_added+0x102
#17 0xffffffc00032f736 at devclass_driver_added+0x34
Uptime: 47s
Workarounds
- Put
if_re_load="YES"
into/boot/loader.conf
and reboot instead of akldload
- Downgrading to FreeBSD 13.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingguest issueIssue caused by the guestIssue caused by the guestinvestigatingWorking to determine what's going onWorking to determine what's going on