NetBSD-Bugs archive

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

Re: port-alpha/33073 (isp0: unable to load dma (22))



The following reply was made to PR port-alpha/33073; it has been noted by GNATS.

From: Michael Haardt <michael%moria.de@localhost>
To: Jason Thorpe <thorpej%me.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, Jason Thorpe <thorpej%netbsd.org@localhost>,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: port-alpha/33073 (isp0: unable to load dma (22))
Date: Wed, 21 Jul 2021 20:14:50 +0200

 > Looks like the instkernel here will have the change:
 > 
 > 	http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202107200810Z/alpha/installation/instkernel/
 
 Thanks, I booted that and installed NetBSD.  With 9.2, ethernet media
 auto selection worked.  With HEAD 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>
 
 I see nothing odd during booting, but wonder if "auto" should have been
 propagated from nsphy0 to tlp0:
 
 [   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
 
 The speed during unpacking the sets is only around 250-300 KiB/s.
 My switch says:
 
 	Pkts64Octets	550	 	 	 
  	Pkts65to127Octets	43,441	 	 	 
  	Pkts128to255Octets	126,463 <-- only small packets?
  	Pkts256to511Octets	49	 	 	 
  	Pkts512to1023Octets	32	 	 	 
  	Pkts1024to1518Octets	0
 
 During unpacking, I see a flood of "Warning: received processor
 correctable error."  Is there any additional information which component
 of the system may be causing that?
 
 Anyway: The DMA problems are gone and unpacking the sets to the disk
 finishes.  I guess none of the above is related to port-alpha/33073,
 but I wanted to mention it nevertheless.  Thanks for fixing this one!
 
 Michael
 



Home | Main Index | Thread Index | Old Index