NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-alpha/56321: Alpha PWS 500au tlp0 media auto selection broken in HEAD/202107200810Z



>Number:         56321
>Category:       port-alpha
>Synopsis:       Alpha PWS 500au tlp0 media auto selection broken in HEAD/202107200810Z
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 21 20:00:00 +0000 2021
>Originator:     Michael Haardt
>Release:        HEAD/202107200810Z
>Organization:
>Environment:
Install kernel http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202107200810Z/alpha/installation/instkernel/, uname not available.  dmesg starts:

[   1.0000000] NetBSD 9.2 (INSTALL) #0: Wed May 12 13:15:55 UTC 2021
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/alpha/compile/INSTALL

>Description:
With 9.2, media auto selection worked:

With 9.2, media auto selection worked:

# ifconfig tlp0
tlp0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=1<VLAN_MTU>
        ec_enabled=0
        address: 00:00:f8:76:0e:39
        media: Ethernet autoselect instance 1 (none)
        status: active
        inet 10.128.0.15/24 broadcast 10.128.0.255 flags 0x0

[   1.0000000] cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 2
[   1.0000000] cia0: extended capabilities: 0x1<BWEN>
[   1.0000000] cia0: using BWX for PCI config access
[   1.0000000] pci0 at cia0 bus 0
[   1.0000000] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[   1.0000000] tlp0 at pci0 dev 3 function 0: DECchip 21143 Ethernet, pass 3.0
[   1.0000000] tlp0: interrupting at dec 550 irq 0
[   1.0000000] tlp0: DEC, Ethernet address 00:00:f8:76:0e:39
[   1.0000000] nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 1
[   1.0000000] nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[   1.0000000] tlp0: 10baseT, 10baseT-FDX, 10base2, 10base5

With the HEAD install kernel, it no longer does:

[ 337.1011682] tlp0: transmit timeout
# ifconfig tlp0
tlp0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=0x1<VLAN_MTU>
        ec_enabled=0
        address: 00:00:f8:76:0e:39
        media: Ethernet autoselect instance 1 (none)
        inet 10.128.0.15/8 broadcast 10.255.255.255 flags 0

Manually configuring it helps:

# ifconfig tlp0 media 100baseTX-FDX
# ifconfig tlp0
tlp0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=0x1<VLAN_MTU>
        ec_enabled=0
        address: 00:00:f8:76:0e:39
        media: Ethernet 100baseTX full-duplex instance 1
        status: active
        inet 10.128.0.15/8 broadcast 10.255.255.255 flags 0x1<TENTATIVE>

[   1.0000000] cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 2
[   1.0000000] cia0: extended capabilities: 0x1<BWEN>
[   1.0000000] cia0: using BWX for PCI config access
[   1.0000000] pci0 at cia0 bus 0
[   1.0000000] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[   1.0000000] tlp0 at pci0 dev 3 function 0: DECchip 21143 Ethernet, pass 3.0
[   1.0000000] tlp0: interrupting at dec 550 irq 0
[   1.0000000] tlp0: DEC, Ethernet address 00:00:f8:76:0e:39
[   1.0000000] nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 1
[   1.0000000] nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[   1.0000000] tlp0: 10baseT, 10baseT-FDX, 10base2, 10base5

>How-To-Repeat:
Boot the install kernel and try to use the network interface tlp0.
>Fix:



Home | Main Index | Thread Index | Old Index