>Synopsis:      re interface is not processing data
>Category:      amd64
>Environment:
        System      : OpenBSD 6.9
        Details     : OpenBSD 6.9-beta (GENERIC.MP) #440: Wed Mar 31 11:13:57 
MDT 2021
                         
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        The interface is up, but no data is seen on tcpdump.

hendrikm@hpl:~$ ifconfig re0
re0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr b4:b5:2f:8b:c7:96
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active

hendrikm@hpl:~$ doas tcpdump -i re0 -nnnvvv     
tcpdump: listening on re0, link-type EN10MB
15:23:16.134778 0.0.0.0.68 > 255.255.255.255.67:  xid:0x198b6516 [|bootp] [tos 
0x10] (ttl 128, id 0, len 328)
^C
1 packets received by filter
0 packets dropped by kernel

It is similar when configuring a static ip.
hendrikm@hpl:~$ ifconfig re0
re0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr b4:b5:2f:8b:c7:96
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active
        inet 192.168.101.200 netmask 0xffffff00 broadcast 192.168.101.255

hendrikm@hpl:~$ doas tcpdump -i re0 -nnnvvv 
tcpdump: listening on re0, link-type EN10MB
15:25:25.658162 0.0.0.0.68 > 255.255.255.255.67:  xid:0xc87c5454 [|bootp] [tos 
0x10] (ttl 128, id 0, len 328)
^C
1 packets received by filter
0 packets dropped by kernel

systat vm doesn't show any interupts being processed for re0

   2 users Load 0.46 0.63 0.55                                     hpl 15:31:25

            memory totals (in KB)            PAGING   SWAPPING     Interrupts
           real   virtual     free           in  out   in  out      309 total
Active   139148    139148  5540480   ops                            100 clock
All     2452044   2452044 14051900   pages                            2 ipi
                                                                      1 acpi0
Proc:r  d  s  w    Csw   Trp   Sys   Int   Sof  Flt       forks         inteldrm
         106       462         189   207    36    2       fkppw      11 xhci0
                                                          fksvm         ehci0
   0.6%Int   0.1%Spn   0.9%Sys   0.1%Usr  98.2%Idle       pwait         azalia0
|    |    |    |    |    |    |    |    |    |    |       relck     190 ral0
=                                                         rlkok         re0
                                                          noram         ehci1
Namei         Sys-cache    Proc-cache    No-cache         ndcpy       5 ahci0
    Calls     hits    %    hits     %    miss   %         fltcp         pckbc0
        2        2  100                                   zfod          pckbc0
                                                          cow
Disks   sd0   cd0                                   66604 fmin
seeks                                               88805 ftarg
xfers    18                                               itarg
speed  589K                                          7735 wired
  sec   0.0                                               pdfre
                                                          pdscn
                                                          pzidl     420 IPKTS
                                                       14 kmape     198 OPKTS

>How-To-Repeat:
        This seems to have broken in a Feb snapshot
>Fix:
        I haven't been able to identify how to fix it. I thought it might have 
been because of a change in sys/dev/pci/if_re_pci.c, but reverting it didn't 
solve the issue by building a custom kernel. I rollback to this snapshot.


dmesg:
OpenBSD 6.9-beta (GENERIC.MP) #440: Wed Mar 31 11:13:57 MDT 2021
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8447262720 (8055MB)
avail mem = 8175857664 (7797MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xb9b50000 (32 entries)
bios0: vendor Hewlett-Packard version "68IRR Ver. F.43" date 10/07/2013
bios0: Hewlett-Packard HP ProBook 4540s
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SSDT SSDT SLIC MSDM FPDT BGRT SSDT 
SSDT
acpi0: wakeup devices LANC(S5) EHC1(S3) EHC2(S3) XHC_(S3) PCIB(S5) ECF0(S4) 
RP03(S4) RP04(S5) WNIC(S5) RP06(S5) NIC_(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.52 MHz, 06-3a-09
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 MHz, 06-3a-09
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz, 06-3a-09
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 MHz, 06-3a-09
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus -1 (PCIB)
acpiprt3 at acpi0: bus 1 (RP01)
acpiprt4 at acpi0: bus 2 (RP03)
acpiprt5 at acpi0: bus 3 (RP04)
acpiprt6 at acpi0: bus 4 (RP06)
acpiec0 at acpi0
"HPQ6001" at acpi0 not configured
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
"PNP0A06" at acpi0 not configured
"SYN0197" at acpi0 not configured
"HPQ6000" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "Primary" serial 00557 2017/06/12 type LIon oem 
"Hewlett-Packard"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: APPR, resource for HDEF
acpipwrres1 at acpi0: COMP, resource for COM1
acpipwrres2 at acpi0: LPP_, resource for LPT0
acpitz0 at acpi0: critical temperature is 128 degC
acpitz1 at acpi0: critical temperature is 128 degC
acpitz2 at acpi0: critical temperature is 128 degC
acpitz3 at acpi0: critical temperature is 128 degC
acpitz4 at acpi0: critical temperature is 128 degC
acpitz5 at acpi0: critical temperature is 128 degC
acpitz6 at acpi0: critical temperature is 128 degC
acpitz7 at acpi0: critical temperature is 128 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2400, 2300, 2200, 
2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, IVYBRIDGE, gen 7
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 0 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: IDT/0x76d9, Intel/0x2806, using IDT/0x76d9
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
"JMicron SD/MMC" rev 0x30 at pci2 dev 0 function 0 not configured
sdhc0 at pci2 dev 0 function 2 "JMicron SD Host Controller" rev 0x30: apic 0 
int 18
sdhc0: SDHC 2.0, 50 MHz base clock
sdmmc0 at sdhc0: 4-bit
"JMicron Memory Stick" rev 0x30 at pci2 dev 0 function 3 not configured
ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
ral0 at pci3 dev 0 function 0 "Ralink RT3290" rev 0x00: apic 0 int 19, address 
b8:76:3f:28:a2:e3
ral0: MAC/BBP RT3290 (rev 0x0015), RF RT3290 (MIMO 1T1R)
"Ralink Bluetooth" rev 0x00 at pci3 dev 0 function 1 not configured
ppb3 at pci0 dev 28 function 5 "Intel 7 Series PCIE" rev 0xc4: msi
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x07: RTL8168E/8111E-VL 
(0x2c80), msi, address b4:b5:2f:8b:c7:96
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 0 int 16
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM76 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD5000LPLX-6, 05.0> naa.50014ee65e59b745
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus1 targ 1 lun 0: <hp, DVD-RAM UJ8D1, H.01> removable
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.5, 0x1e0b1 0x640000 0x147508 0xf00473 
0xa2400
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
uhidev0 at uhub0 port 4 configuration 1 interface 0 "KYE SYSTEMS CORP. Wired 
Mouse" rev 1.10/24.58 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub0 port 4 configuration 1 interface 1 "KYE SYSTEMS CORP. Wired 
Mouse" rev 1.10/24.58 addr 2
uhidev1: no input interrupt endpoint
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.00 addr 2
uhub3: device problem, disabling port 1
uhidev2 at uhub3 port 2 configuration 1 interface 0 " USB Keyboard" rev 
1.10/4.03 addr 3
uhidev2: iclass 3/1
ukbd0 at uhidev2: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev3 at uhub3 port 2 configuration 1 interface 1 " USB Keyboard" rev 
1.10/4.03 addr 3
uhidev3: iclass 3/0, 2 report ids
uhid0 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev3 reportid 2: input=3, output=0, feature=0
uvideo0 at uhub3 port 3 configuration 1 interface 0 "Chicony Electronics Co., 
Ltd. HP HD Webcam [Fixed]" rev 2.00/51.70 addr 4
video0 at uvideo0
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ae81f1d853f62576.a) swap on sd0b dump on sd0b
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

usbdevs:
Controller /dev/usb0:
addr 01: 8086:0000 Intel, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 0458:0186 KYE SYSTEMS CORP., Wired Mouse
         low speed, power 100 mA, config 1, rev 24.58
         driver: uhidev0
         driver: uhidev1
Controller /dev/usb1:
addr 01: 8086:0000 Intel, EHCI root hub
         high speed, self powered, config 1, rev 1.00
         driver: uhub1
addr 02: 8087:0024 Intel, Rate Matching Hub
         high speed, self powered, config 1, rev 0.00
         driver: uhub3
addr 03: 04d9:1503 , USB Keyboard
         low speed, power 100 mA, config 1, rev 4.03
         driver: uhidev2
         driver: uhidev3
addr 04: 04f2:b370 Chicony Electronics Co., Ltd., HP HD Webcam [Fixed]
         high speed, power 500 mA, config 1, rev 51.70, iSerial SN0001
         driver: uvideo0
Controller /dev/usb2:
addr 01: 8086:0000 Intel, EHCI root hub
         high speed, self powered, config 1, rev 1.00
         driver: uhub2
addr 02: 8087:0024 Intel, Rate Matching Hub
         high speed, self powered, config 1, rev 0.00
         driver: uhub4

Reply via email to