From nobody Sun Jun 20 14:02:16 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 37F355D7C98 for ; Sun, 20 Jun 2021 14:03:11 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-5.mit.edu (outgoing-exchange-5.mit.edu [18.9.28.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G7Drt3S6Fz3Nq1 for ; Sun, 20 Jun 2021 14:03:10 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 15KE26mr008751 for ; Sun, 20 Jun 2021 10:03:09 -0400 Received: from w92expo29.exchange.mit.edu (18.7.74.41) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 20 Jun 2021 10:01:58 -0400 Received: from OC11EXPO29.exchange.mit.edu (18.9.4.102) by w92expo29.exchange.mit.edu (18.7.74.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 20 Jun 2021 10:02:16 -0400 Received: from OC11EXPO29.exchange.mit.edu ([18.9.4.102]) by oc11expo29.exchange.mit.edu ([18.9.4.102]) with mapi id 15.00.1497.015; Sun, 20 Jun 2021 10:02:16 -0400 From: John F Carr To: freebsd-arm Subject: Re: Panic loading linsysfs with INVARIANTS configured Thread-Topic: Panic loading linsysfs with INVARIANTS configured Thread-Index: AQHXZV1wWcz36Hwpt0WVkQg8rqgKZ6sdMhMA Date: Sun, 20 Jun 2021 14:02:16 +0000 Message-ID: References: <1C393737-2A10-4F19-8AC9-D75CF6F0A454@exchange.mit.edu> In-Reply-To: <1C393737-2A10-4F19-8AC9-D75CF6F0A454@exchange.mit.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [108.7.221.50] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-Rspamd-Queue-Id: 4G7Drt3S6Fz3Nq1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.59 as permitted sender) smtp.mailfrom=jfc@mit.edu X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[18.9.28.59:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[mit.edu]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.59:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-ThisMailContainsUnwantedMimeParts: N On Jun 19, 2021, at 18:50 , John F Carr 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: on acpi0 pci10: on pcib10 pcib11: at device 0.0 on pci10 pci11: on pcib11 nvme0: mem 0x30010000-0x30013fff at device 0.0 on pci= 11 pcib12: on acpi0 pci12: on pcib12 pcib13: 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: on pcib13 pcib14: 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: on pcib14 pcib12: Failed to translate resource 10000000-10000fff type 4 for pcib13