Number: 53811
Category: port-amd64
Synopsis: wm0 device timeout when uefi booting
Confidential: no
Severity: serious
Priority: medium
Responsible: port-amd64-maintainer
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Tue Dec 25 16:35:00 +0000 2018
Originator: Patrick Welche
Release: NetBSD-8.99.27/amd64
Organization:
Environment:
boot64.efi from Dec 20 code
Description:
When booting using the BIOS / MBR, I have a working box (apart from nouveau). When booting using uefi, wm0 has timeouts:
[ 700.413533] wm0: device timeout (txfree 4068 txsfree 42 txnext 28)
[ 719.225142] wm0: device timeout (txfree 4095 txsfree 63 txnext 1)
[ 734.034281] wm0: device timeout (txfree 4095 txsfree 63 txnext 1)
etc.
tcpdump -nvi wm0 only shows packets sent, no incoming traffic of any kind.
A diff of working dmesg vs uefi dmesg only shows graphics card differences, so I don't really have a clue of what changed:
--- bios.boot 2018-12-22 19:47:10.128354034 +0000
+++ uefi.boot 2018-12-22 21:54:30.611972805 +0000
@@ -7,35 +7,37 @@
NetBSD 8.99.27 (QUANTZ) #323: Sat Dec 15 20:03:50 GMT 2018
prlw1@quantz:/usr/src/sys/arch/amd64/compile/QUANTZ
total memory = 32699 MB
-avail memory = 31733 MB
+avail memory = 31731 MB
cpu_rng: RDSEED
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
+efi: systbl at pa db7e8018
System manufacturer System Product Name (System Version)
mainbus0 (root)
-ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA)
-ACPI: XSDT 0x00000000CC9CC098 0000A4 (v01 ALASKA A M I 01072009 AMI 00010013)
-ACPI: FACP 0x00000000CC9D7CB0 000114 (v06 ALASKA A M I 01072009 AMI 00010013)
+ACPI: RSDP 0x00000000D3AE9000 000024 (v02 ALASKA)
+ACPI: XSDT 0x00000000D3AE9098 0000AC (v01 ALASKA A M I 01072009 AMI 00010013)
+ACPI: FACP 0x00000000D3AF4CC0 000114 (v06 ALASKA A M I 01072009 AMI 00010013)
...
@@ -221,10 +223,11 @@
ppb8: link is x16 @ 2.5GT/s
pci9 at ppb8 bus 9
pci9: i/o space, memory space enabled, rd/line, wr/inv ok
-vga0 at pci9 dev 0 function 0: NVIDIA product 1180 (rev. 0xa1)
-wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
+genfb0 at pci9 dev 0 function 0: NVIDIA product 1180 (rev. 0xa1)
+genfb0: framebuffer at 0xf1000000, size 800x600, depth 32, stride 3200
+wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
-drm at vga0 not configured
+drm at genfb0 not configured
hdaudio0 at pci9 dev 0 function 1: HD Audio Controller
hdaudio0: interrupting at msi4 vec 0
hdafg0 at hdaudio0: vendor 10de product 0040
The particular network card:
ppb6 at pci2 dev 6 function 0: AMD product 43b4 (rev. 0x02)
ppb6: PCI Express capability version 2 <Downstream Port of PCI-E Switch> x1 @ 5.
0GT/s
ppb6: link is x1 @ 2.5GT/s
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci7 dev 0 function 0: I211 Ethernet (COPPER) (rev. 0x03)
wm0: for TX and RX interrupting at msix3 vec 0 affinity to 1
wm0: for TX and RX interrupting at msix3 vec 1 affinity to 2
wm0: for LINK interrupting at msix3 vec 2
wm0: PCI-Express bus
wm0: 64 words iNVM, version 0.6
wm0: Ethernet address 60:45:cb:9e:13:dd
wm0: Copper
wm0: 0xc214420<INVM,IOH_VALID,PCIE,NEWQUEUE,WOL,PLLWA,CLSEMWA>
ukphy0 at wm0 phy 1: OUI 0x000ac2, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
How-To-Repeat:
Fix: