Date: Tue, 01 Apr 2014 14:29:27 -0600 From: Ian Lepore <ian@FreeBSD.org> To: Chris H <bsd-lists@bsdforge.com> Cc: pyunyh@gmail.com, freebsd-net <freebsd-net@FreeBSD.org>, freebsd-stable <freebsd-stable@FreeBSD.org> Subject: Re: miibus0: mii_mediachg: can't handle non-zero PHY instance 31 Message-ID: <1396384167.81853.210.camel@revolution.hippie.lan> In-Reply-To: <c73ef96319846b3da07db5785f48fb6a.authenticated@ultimatedns.net> References: <2598eeb4c68e23df0789e5e3e8f46d76.authenticated@ultimatedns.net> <20140331050002.GC1359@michelle.cdnetworks.com> <c0a800d2a15f205788ed9ce606c00637.authenticated@ultimatedns.net> <20140401065842.GA1364@michelle.cdnetworks.com> <c73ef96319846b3da07db5785f48fb6a.authenticated@ultimatedns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2014-04-01 at 13:19 -0700, Chris H wrote: > [...] > miibus0: <MII bus> on nfe0 > rlphy0: <RTL8201L 10/100 media interface> PHY 0 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy1: <RTL8201L 10/100 media interface> PHY 1 on miibus0 > rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy2: <RTL8201L 10/100 media interface> PHY 2 on miibus0 > rlphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy3: <RTL8201L 10/100 media interface> PHY 3 on miibus0 > rlphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy4: <RTL8201L 10/100 media interface> PHY 4 on miibus0 > rlphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy5: <RTL8201L 10/100 media interface> PHY 5 on miibus0 > rlphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy6: <RTL8201L 10/100 media interface> PHY 6 on miibus0 > rlphy6: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy7: <RTL8201L 10/100 media interface> PHY 7 on miibus0 > rlphy7: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy8: <RTL8201L 10/100 media interface> PHY 8 on miibus0 > rlphy8: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy9: <RTL8201L 10/100 media interface> PHY 9 on miibus0 > rlphy9: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy10: <RTL8201L 10/100 media interface> PHY 10 on miibus0 > rlphy10: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy11: <RTL8201L 10/100 media interface> PHY 11 on miibus0 > rlphy11: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy12: <RTL8201L 10/100 media interface> PHY 12 on miibus0 > rlphy12: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy13: <RTL8201L 10/100 media interface> PHY 13 on miibus0 > rlphy13: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy14: <RTL8201L 10/100 media interface> PHY 14 on miibus0 > rlphy14: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy15: <RTL8201L 10/100 media interface> PHY 15 on miibus0 > rlphy15: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy16: <RTL8201L 10/100 media interface> PHY 16 on miibus0 > rlphy16: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy17: <RTL8201L 10/100 media interface> PHY 17 on miibus0 > rlphy17: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy18: <RTL8201L 10/100 media interface> PHY 18 on miibus0 > rlphy18: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy19: <RTL8201L 10/100 media interface> PHY 19 on miibus0 > rlphy19: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy20: <RTL8201L 10/100 media interface> PHY 20 on miibus0 > rlphy20: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy21: <RTL8201L 10/100 media interface> PHY 21 on miibus0 > rlphy21: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy22: <RTL8201L 10/100 media interface> PHY 22 on miibus0 > rlphy22: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy23: <RTL8201L 10/100 media interface> PHY 23 on miibus0 > rlphy23: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy24: <RTL8201L 10/100 media interface> PHY 24 on miibus0 > rlphy24: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy25: <RTL8201L 10/100 media interface> PHY 25 on miibus0 > rlphy25: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy26: <RTL8201L 10/100 media interface> PHY 26 on miibus0 > rlphy26: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy27: <RTL8201L 10/100 media interface> PHY 27 on miibus0 > rlphy27: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy28: <RTL8201L 10/100 media interface> PHY 28 on miibus0 > rlphy28: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy29: <RTL8201L 10/100 media interface> PHY 29 on miibus0 > rlphy29: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy30: <RTL8201L 10/100 media interface> PHY 30 on miibus0 > rlphy30: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy31: <RTL8201L 10/100 media interface> PHY 31 on miibus0 > rlphy31: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow [...] > miibus0: mii_mediachg: can't handle non-zero PHY instance 31 > miibus0: mii_mediachg: can't handle non-zero PHY instance 30 > miibus0: mii_mediachg: can't handle non-zero PHY instance 29 > miibus0: mii_mediachg: can't handle non-zero PHY instance 28 > miibus0: mii_mediachg: can't handle non-zero PHY instance 27 > miibus0: mii_mediachg: can't handle non-zero PHY instance 26 > miibus0: mii_mediachg: can't handle non-zero PHY instance 25 > miibus0: mii_mediachg: can't handle non-zero PHY instance 24 > miibus0: mii_mediachg: can't handle non-zero PHY instance 23 > miibus0: mii_mediachg: can't handle non-zero PHY instance 22 > miibus0: mii_mediachg: can't handle non-zero PHY instance 21 > miibus0: mii_mediachg: can't handle non-zero PHY instance 20 > miibus0: mii_mediachg: can't handle non-zero PHY instance 19 > miibus0: mii_mediachg: can't handle non-zero PHY instance 18 > miibus0: mii_mediachg: can't handle non-zero PHY instance 17 > miibus0: mii_mediachg: can't handle non-zero PHY instance 16 > miibus0: mii_mediachg: can't handle non-zero PHY instance 15 > miibus0: mii_mediachg: can't handle non-zero PHY instance 14 > miibus0: mii_mediachg: can't handle non-zero PHY instance 13 > miibus0: mii_mediachg: can't handle non-zero PHY instance 12 > miibus0: mii_mediachg: can't handle non-zero PHY instance 11 > miibus0: mii_mediachg: can't handle non-zero PHY instance 10 > miibus0: mii_mediachg: can't handle non-zero PHY instance 9 > miibus0: mii_mediachg: can't handle non-zero PHY instance 8 > miibus0: mii_mediachg: can't handle non-zero PHY instance 7 > miibus0: mii_mediachg: can't handle non-zero PHY instance 6 > miibus0: mii_mediachg: can't handle non-zero PHY instance 5 > miibus0: mii_mediachg: can't handle non-zero PHY instance 4 > miibus0: mii_mediachg: can't handle non-zero PHY instance 3 > miibus0: mii_mediachg: can't handle non-zero PHY instance 2 > miibus0: mii_mediachg: can't handle non-zero PHY instance 1 > > As you can see, it looks much the same. I have no idea what > I should do to better inform the driver/kernel how to better > handle it. Or is it the driver, itself? > > Thank you again, for your thoughtful response. > > --Chris > I think the way to fix a phy that responds at all addresses is to set a hint in loader.conf masking out the ones that aren't real, like so: hint.miibus.0.phymask="1" You might be able to set ="0x00000001" to make it more clear it's a bitmask, but I'm not sure of that. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1396384167.81853.210.camel>