Re: Panic loading linsysfs with INVARIANTS configured

John F Carr <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Jun 19, 2021, at 18:50 , John F Carr <[email protected]> wrote:
> 
> On a server class ARM (Ampere) running an up to date stable/13 kernel with INVARIANTS I get a panic in VFS code if I kldload linsysfs:
> 
> pfs_add_node: homonymous siblings
> 

linsysfs_run_bus is trying to add several nodes named "0000:00:00.0".  The crash depends on bus topology.

# ls /usr/jail/0/linux/sys/devices/pci0000:00
0000:00:00.0	0000:00:00.0	0000:00:00.0	0000:00:00.0
0000:00:00.0	0000:00:00.0	0000:00:00.0

I have some warnings in messages that might be related:

pcib10: <Generic PCI host controller> on acpi0
pci10: <PCI bus> on pcib10
pcib11: <PCI-PCI bridge> at device 0.0 on pci10
pci11: <PCI bus> on pcib11
nvme0: <Generic NVMe Device> mem 0x30010000-0x30013fff at device 0.0 on pci11
pcib12: <Generic PCI host controller> on acpi0
pci12: <PCI bus> on pcib12
pcib13: <PCI-PCI bridge> at device 0.0 on pci12
pcib12: Failed to translate resource 10000000-10000fff type 4 for pcib13
pcib13: failed to allocate initial I/O port window: 0x10000000-0x10000fff
pci13: <PCI bus> on pcib13
pcib14: <PCI-PCI bridge> at device 0.0 on pci13
pcib12: Failed to translate resource 10000000-10000fff type 4 for pcib13
pcib14: failed to allocate initial I/O port window: 0x10000000-0x10000fff
pci14: <PCI bus> on pcib14
pcib12: Failed to translate resource 10000000-10000fff type 4 for pcib13
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.