NetBSD Problem Report #56321
From www@netbsd.org Wed Jul 21 19:59:50 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5A8501A921F
for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Jul 2021 19:59:50 +0000 (UTC)
Message-Id: <20210721195948.D029D1A923D@mollari.NetBSD.org>
Date: Wed, 21 Jul 2021 19:59:48 +0000 (UTC)
From: michael@moria.de
Reply-To: michael@moria.de
To: gnats-bugs@NetBSD.org
Subject: Alpha PWS 500au tlp0 media auto selection broken in HEAD/202107200810Z
X-Send-Pr-Version: www-1.0
>Number: 56321
>Category: port-alpha
>Synopsis: Alpha PWS 500au tlp0 media auto selection broken in HEAD/202107200810Z
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: thorpej
>State: feedback
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 21 20:00:00 +0000 2021
>Closed-Date:
>Last-Modified: Sun Jul 28 19:06:13 +0000 2024
>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:/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:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-alpha-maintainer->thorpej
Responsible-Changed-By: thorpej@NetBSD.org
Responsible-Changed-When: Thu, 22 Jul 2021 13:38:53 +0000
Responsible-Changed-Why:
Take.
State-Changed-From-To: open->feedback
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Sun, 28 Jul 2024 19:06:13 +0000
State-Changed-Why:
Is this still reproducible?
I tried -current with a similar card in a PC164SX and it works for me.
tlp0 at pci0 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at eb164 irq 10
tlp0: DEC DE500-AA, Ethernet address 00:00:f8:1a:4c:02
nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 0
media: Ethernet autoselect (100baseTX full-duplex)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.