From nobody Wed Jun 2 01:44:39 2021 X-Original-To: freebsd-hardware@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 8D3CEEFFE79 for ; Wed, 2 Jun 2021 01:44:54 +0000 (UTC) (envelope-from csforgeron@gmail.com) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FvsKK3371z3H2d for ; Wed, 2 Jun 2021 01:44:53 +0000 (UTC) (envelope-from csforgeron@gmail.com) Received: by mail-io1-xd35.google.com with SMTP id a8so775447ioa.12 for ; Tue, 01 Jun 2021 18:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KB+aVds189kknGRWs+Zv/peYNliyl/IGAHMLRCPZqCw=; b=jEle4HWJcUw07Wu2GgzBzMjXrwTht4R9JtQXh4LoxRcM3M6PUapTh3B2FGEvJ0SQ8+ zDKve28Y6bS0fc+FsgJUgSaxILSWWO9j9mnpgkKTeAJTw7jeGaUhjb4edXfb2s6iEOcu yA2LPHPbQzUBnywAOqzwdteuqasmdf2OmPMu4G+/wJU2hw2Tmn+fUcYuzuY8pcKJLhyj FoGlwqvicKgxaD+hsTZ2ZpGj7s8xkMYDvhI5TpHsNJatGQqTIV//h/M7o69BxbmoBKIy pj0ZCthzgI2H/5yaUocU+ZRGndJjTtDE6w++otuuBAGtS3bNSWfWlhlMyGGM2hv9pFiw /r6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KB+aVds189kknGRWs+Zv/peYNliyl/IGAHMLRCPZqCw=; b=AUZpvvLNMgZDOVwiQX+IxWC91IH/FxdjMs/B2Uze0tEfGm0omOjvM5RRtwwzAmW/UK l4W/M4D4/kFYHFdvaA8wrqsiknWPJNk4ZcrOQ/08ILsZJkWJ7bo4A1DL4E1s+ENsn46c ArmYmM9zpEKbS4JykkcCxKmsGgF1YYPkTNHgJrbbC2483ctaNxXsmyy/HOyXh69T0gTE CUiE9wfoNYesJM10IpiSK0RELfMAduGH0/TlITAN6bGk+1JZKIWIOBOYD1if83NyFEGZ 7MvdXY3v5AhIOtXbnMXOSfDPMOipIcwXbuz4VDS909XxBIph/YxIGGVoOl5xQpFq7STw dnPg== X-Gm-Message-State: AOAM533gLlYCjOpWrp+cggh6mvPYg1tMhcAnq0Qt0IhujiJzWbGfzJ/z ZkQj8o4Y0jf6b1ow0P6gW1hAGmzHsTIwOIC2EZ1+6iPFJ4M= X-Google-Smtp-Source: ABdhPJxsKJSJUcNCCPiAZIq5fTVO0ALNRitBsav17sqOcZcXLdwxEprBpBR2fE/sboBI5IYpoif5eYhLBRz/FNOlrhc= X-Received: by 2002:a05:6638:b84:: with SMTP id b4mr27362567jad.122.1622598290745; Tue, 01 Jun 2021 18:44:50 -0700 (PDT) List-Id: General discussion of FreeBSD hardware List-Archive: https://lists.freebsd.org/archives/freebsd-hardware List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hardware@freebsd.org MIME-Version: 1.0 From: Christopher Forgeron Date: Tue, 1 Jun 2021 22:44:39 -0300 Message-ID: Subject: Devices behind PEX 8664 PCIe Switch not detected since 11.0-RELEASE To: freebsd-hardware@freebsd.org Content-Type: multipart/alternative; boundary="000000000000bbb03505c3be9a37" X-Rspamd-Queue-Id: 4FvsKK3371z3H2d X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jEle4HWJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of csforgeron@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=csforgeron@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[1]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::d35:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hardware@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::d35:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d35:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hardware] X-ThisMailContainsUnwantedMimeParts: Y --000000000000bbb03505c3be9a37 Content-Type: text/plain; charset="UTF-8" Hello, I have not been able to upgrade past FreeBSD 10.3 as since versions 11.0 -> 13.0 devices behind my fileserver's PCIe Switch are not detected. The switch itself is detected, which is a PEX 8664 PCIe Switch, link below. I'm using a Dell M610x blade server, which has a PEX/Broadcom 8664 Switch in it to provide 2 PCIe slots, which I use to run SAS controllers to a drive array. This arrangement has worked perfectly since the early days of 7/8.0, and I've pretty much ran each version of FreeBSD since then, until 11.0 came out. This is when I could no longer see/detect devices plugged into the PCIe slots. Things were busy, FreeBSD 10.2 worked well, so it was just left this way for years. Now I do need to upgrade software-wise to 13.0, so I've invested some time tracking down what is happening, with the hopes that a knowledgeable person can fix this up. - I have confirmed with 10.3-RELEASE and a 11.0-RELEASE mini-iso boot that the problem starts in 11.0, and I can confirm it's still an issue in 12.0 and 13.0. I also boot into a 10.2-RELEASE because I happen to have that handy. Everything works/detects fine in 10.3 or lower. - These are GENERIC kernels, fresh from the iso/img I boot from, nothing custom. - I currently have a 10.2 (or 10.3) boot and a 13.0 boot ready to swap back and forth to try and isolate / probe info. I'll attach a few lspci dumps after this message. - The card in question is a LSI 2008 Chipset, mps0 - But it's nothing do do with that card/brand/config. I have also installed an Intel X540 Network card in the PCIe slots and find the same issue - There's nothing behind the PEC 8664 in FreeBSD 13.0, and no problems in 10.2. I have also confirmed that 13.0 boots up and detects the mps0 without issue when I use a different system without the PEX 8664 - At some point in my research I came across a similar issue where the developer mentioned that for some reason they were not scanning behind the switch. It was a different chipset and issue, and I don't have that thread handy at the moment, I will post if I come across it again. Ref:https://www.broadcom.com/products/pcie-switches-bridges/pcie-switches/pex8664 I'm rusty, but fairly knowledgeable and useful if you need me to compile something, install patches, etc. I could give SSH access, but sending me a patch to test may be quicker. lspci dumps are in my bug report here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256264 Thanks. --000000000000bbb03505c3be9a37--