Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2021 14:02:16 +0000
From:      John F Carr <jfc@mit.edu>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Panic loading linsysfs with INVARIANTS configured
Message-ID:  <BAD7F955-CD5E-4935-98F4-8BE4058A10CB@exchange.mit.edu>
In-Reply-To: <1C393737-2A10-4F19-8AC9-D75CF6F0A454@exchange.mit.edu>
References:  <1C393737-2A10-4F19-8AC9-D75CF6F0A454@exchange.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 19, 2021, at 18:50 , John F Carr <jfc@mit.edu> wrote:
>=20
> On a server class ARM (Ampere) running an up to date stable/13 kernel wit=
h INVARIANTS I get a panic in VFS code if I kldload linsysfs:
>=20
> pfs_add_node: homonymous siblings
>=20

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 pci=
11
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAD7F955-CD5E-4935-98F4-8BE4058A10CB>