From nobody Thu Jun 11 17:03:47 2026 X-Original-To: net@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 4gbprg3hh2z6htXX for ; Thu, 11 Jun 2026 17:03:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gbprg29TYz44Nf for ; Thu, 11 Jun 2026 17:03:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781197427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pK29XowS4ykOkVfPn03baTwbOKkFX0579DLpq/+v4F8=; b=L2XFkB9uC8AZc9zK+a10h3qgvlmWaNJUo3gawdFs/RYduUVwyKNmN0qskqdpkW54DJVnkp hdGmBCPb5JcufnbHyNK2VT7iGZZxuWzrmawVw204se2Mmq1qIMDDbr4K3Fxgegg3wX3B03 04YIUESPprLsJ/8QSqU9gIv1TlmL19PSI87K7ipjDrh6Z0VZEfwahSAuiqB6mcg0Yc+IR1 AowrgmcJn/8wCasRbI674r5zckIKML4OwUtkcoiZVwF9ixNpBTLikzNBo9b5PpdV1+B+7k U7FZg9cpI/3v+azrq++gsYqEGgGcemG/0APb18MIE+iw0UQu9UGbZS3RYYlBnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781197427; a=rsa-sha256; cv=none; b=q57xP6TEnj5mmLLIpKGqLwFpO7bMTY8reTQdXL9uQCNeqVhfKHROL/fNotLc+L884slPX2 1Xgwm2LVDx6EdfQ734NeWThskvCmpY30NBbqVIHMHKL9pFuUuGIK5FNaeM3k1XQaZZJOGE HcRrIgje7Akb0hx8HmrREYd6uUgAPIpvAt+fmzYtZPN96EMoHmUaf6iNYcji5bLoB47FQa EaIjqg01w1A59sNQh8vOp9Jda2mU+G9O/E3o2UM6tqrJItZa4jqQ3GRAleTDcU9aiBsf4z VBK+lj8zLPLDcSgVPURzb3unKjJkIaMcNsmNva2ZHR4aKeHVkO718Or912WGtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781197427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pK29XowS4ykOkVfPn03baTwbOKkFX0579DLpq/+v4F8=; b=jCNmSt9x6QXYho+ezJu8B+rfo263PCwc3iAS2b9h/vR6D4ZNOJahEnyXzPMe3SfHrBnItj zTkY1oo9lVcX7IUOkSPgWtTJldh5XNxD+s98iKLfJG/ndS/jcgOpts9S5WT+CubvflViHQ eJL3yDAxzcZgboOCB0USc3pyzYrHcSA8LY1HVs5poCJadXArjKV/JOxUT8JYT96hdhcg21 Rrv3DV6FjGSGe8RccZdAxaVs61jPjHVqwqnQ9jKdqsdFPkXRceyLF7YPsgA2twIbwcDJVl 6eUO37L3EqC3vlTwshgFMUuU7riQXW93rkaDelUFVgtjhy/coXRFHREmFTzhww== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gbprg1lDcz10nj for ; Thu, 11 Jun 2026 17:03:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 65BH3lpt094649 for ; Thu, 11 Jun 2026 17:03:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 65BH3llZ094648 for net@FreeBSD.org; Thu, 11 Jun 2026 17:03:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 295985] e6000sw not connecting over mdio bus to Marvel 88E6190 Date: Thu, 11 Jun 2026 17:03:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: brett.farnam@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295985 --- Comment #2 from Brett Farnam --- Hi Adrian, I have been following your work on this marvel switch. Thank you for getti= ng all this worked out. So I added your suggestion and nothing at boot. Here is my /boot/loader.conf: # etherswitch_load=3D"YES" # miiproxy_load=3D"YES" # e6000sw_load=3D"YES" # Added for M270 Platform Support hint.mdio.0.at=3D"ix0" hint.e6000sw.0.at=3D"mdio1" hint.e6000sw.0.addr=3D"0x0" hint.e6000sw.0.port0disabled=3D"1" hint.e6000sw.0.is6190x=3D"1" hint.e6000sw.0.port9cpu=3D"1" hint.e6000sw.0.port10cpu=3D"1" hint.e6000sw.0.port9speed=3D"2500" hint.e6000sw.0.port10speed=3D"2500" hint.ix.0.enable_mdio=3D1 Then I manually loaded (kldload) etherswitch, miiproxy, and e6000sw and the interfaces came up. BUT when I uncommented the load statements in my loader.conf I end up with a kernel panic (below). Any other thoughts? V/R, Brett panic: ix0: mem 0xdfa00000-0xdfbfffff,0xdfc04000-0xdfc07fff irq 16 at device 0.0 on pci6 ix0: Using 2048 TX descriptors and 2048 RX descriptors ix0: Using 4 RX queues 4 TX queues ix0: Using MSI-X interrupts with 5 vectors ix0: allocated for 4 queues ix0: allocated for 4 rx queues ix0: Ethernet address: 00:a0:c9:00:00:02 ix0: nvm 0.58.0 eTrack 0x80000863 mdio1: on ix0 mdioproxy0: on mdio1 panic: _sx_xlock_hard: recursed on non-recursive sx 0xfffff800018c7de0 @ /usr/src/sys/dev/ixgbe/if_ix_mdio.c:90 cpuid =3D 1 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x36/frame 0xffffffff82a15= 2b0 vpanic() at vpanic+0x149/frame 0xffffffff82a153e0 panic() at panic+0x43/frame 0xffffffff82a15440 _sx_xlock_hard() at _sx_xlock_hard+0x9bc/frame 0xffffffff82a15500 _sx_xlock() at _sx_xlock+0xac/frame 0xffffffff82a15540 ixgbe_mdio_readreg_c22() at ixgbe_mdio_readreg_c22+0x8a/frame 0xffffffff82a15590 e6000sw_readreg() at e6000sw_readreg+0x229/frame 0xffffffff82a155d0 e6000sw_probe() at e6000sw_probe+0x1aa/frame 0xffffffff82a15610 device_probe_child() at device_probe_child+0x156/frame 0xffffffff82a15660 device_probe() at device_probe+0x8b/frame 0xffffffff82a15680 bus_attach_children() at bus_attach_children+0x3e/frame 0xffffffff82a156a0 mdio_attach() at mdio_attach+0x1e/frame 0xffffffff82a156c0 device_attach() at device_attach+0x466/frame 0xffffffff82a15710 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a15730 ixgbe_mdio_attach() at ixgbe_mdio_attach+0x9f/frame 0xffffffff82a15760 ixgbe_if_attach_post() at ixgbe_if_attach_post+0x1a0b/frame 0xffffffff82a15= 800 iflib_device_register() at iflib_device_register+0x2a47/frame 0xffffffff82a15940 iflib_device_attach() at iflib_device_attach+0xb8/frame 0xffffffff82a15980 device_attach() at device_attach+0x466/frame 0xffffffff82a159d0 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a159f0 pci_attach() at pci_attach+0xf6/frame 0xffffffff82a15a30 acpi_pci_attach() at acpi_pci_attach+0x20/frame 0xffffffff82a15a70 device_attach() at device_attach+0x466/frame 0xffffffff82a15ac0 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a15ae0 pcib_attach_child() at pcib_attach_child+0x40/frame 0xffffffff82a15b00 acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0xab/frame 0xffffffff82a15b40 device_attach() at device_attach+0x466/frame 0xffffffff82a15b90 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a15bb0 pci_attach() at pci_attach+0xf6/frame 0xffffffff82a15bf0 acpi_pci_attach() at acpi_pci_attach+0x20/frame 0xffffffff82a15c30 device_attach() at device_attach+0x466/frame 0xffffffff82a15c80 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a15ca0 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x432/frame 0xffffffff82a1= 5d00 device_attach() at device_attach+0x466/frame 0xffffffff82a15d50 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a15d70 acpi_probe_children() at acpi_probe_children+0x7a/frame 0xffffffff82a15de0 acpi_attach() at acpi_attach+0xa93/frame 0xffffffff82a15e60 device_attach() at device_attach+0x466/frame 0xffffffff82a15eb0 bus_attach_children() at bus_attach_children+0x4a/frame 0xffffffff82a15ed0 nexus_acpi_attach() at nexus_acpi_attach+0x65/frame 0xffffffff82a15ef0 device_attach() at device_attach+0x466/frame 0xffffffff82a15f40 bus_generic_new_pass() at bus_generic_new_pass+0x126/frame 0xffffffff82a15f= 70 root_bus_configure() at root_bus_configure+0x26/frame 0xffffffff82a15f90 configure() at configure+0x9/frame 0xffffffff82a15fa0 mi_startup() at mi_startup+0x1ed/frame 0xffffffff82a15ff0 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x33: movq $0,0x15ae432(%rip) db> --=20 You are receiving this mail because: You are the assignee for the bug.=