Hi,

On Wed, 29 Oct 2025 19:58:16 +0900
stephane Tranchemer <[email protected]> wrote:
> It happened going form 7.7 to 7.8, never had trouble before.
> 
> The only thing I get in syslog is lots of:
> 
> 22:00:42||mymachine.mydomain||/bsd:|| pppoe0: pap failure
> 22:00:52||mymachine.mydomain||/bsd:|| pppoe0: pap failure
> 22:01:22||mymachine.mydomain||/bsd:|| pppoe0: pap failure
> 22:01:32||mymachine.mydomain||/bsd:|| pppoe0: pap failure

"pap failure" happens when the PPPoE session is OK but the
authenticaion is failed.  The peer rejected the authentication.

Also, I tested pppoe0 on 7.8 and didn't see any regression.

I'm also using NTT.  Usually I'm using CHAP, but I tried PAP for test
this time.

stm1$ sysctl kern.version                                                      
kern.version=OpenBSD 7.8 (GENERIC.MP) #54: Sun Oct 12 12:58:11 MDT 2025
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

stm1$ ifconfig pppoe0                                                          
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1454
        index 8 priority 0 llprio 3
        dev: vmx0 state: session
        sid: 0x3349 PADI retries: 0 PADR retries: 0 time: 00:00:37
        sppp: phase network authproto pap 
        dns: xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
        groups: pppoe egress
        status: active
        inet xxx.xxx.xxx.xxx -> xxx.xxx.xxx.xxx netmask 0xffffffff
stm1$ 

> My dmesg
> 
> OpenBSD 7.8 (GENERIC.MP) #54: Sun Oct 12 12:58:11 MDT 2025
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8538992640 (8143MB)
> avail mem = 8253485056 (7871MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7f2ff000 (54 entries)
> bios0: vendor American Megatrends Inc. version "5.13" date 08/29/2023
> bios0: Default string QDNV01
> acpi0 at bios0: ACPI 6.1
> acpi0: sleep states S0 S4 S5
> acpi0: tables DSDT FACP FPDT FIDT MCFG WDAT APIC BDAT HPET UEFI SSDT
> DMAR HEST BERT ERST EINJ WSMT
> acpi0: wakeup devices PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4)
> PEX5(S4) PEX6(S4) PEX7(S4) XHC1(S4) LAN0(S4) LAN1(S4) LAN2(S4)
> LAN3(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xe0000000, bus 0-255
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 4 (boot processor)
> cpu0: Intel(R) Atom(TM) CPU C3558R @ 2.40GHz, 2400.00 MHz, 06-5f-01,
> patch 0000003e
> cpu0: cpuid 1
> edx=bfebfbff<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>
> ecx=47f8ebbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND>
> cpu0: cpuid 6 eax=55<SENSOR,ARAT,PTS> ecx=9<EFFFREQ>
> cpu0: cpuid 7.0
> ebx=2294e283<FSGSBASE,TSC_ADJUST,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA>
> edx=ac000400<MD_CLEAR,IBRS,IBPB,STIBP,SSBD>
> cpu0: cpuid a vers=4, gp=4, gpwidth=48, ff=3, ffwidth=48
> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG>
> ecx=101<LAHF,3DNOWP>
> cpu0: cpuid 80000007 edx=100<ITSC>
> cpu0: msr
> 10a=14000c69<SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,GDS_NO,RFDS_CLEAR>
> cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB
> 64b/line 16-way L2 cache
> cpu0: smt 0, core 2, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 25MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.0.2, IBE
> cpu1 at mainbus0: apid 12 (application processor)
> cpu1: Intel(R) Atom(TM) CPU C3558R @ 2.40GHz, 2400.02 MHz, 06-5f-01,
> patch 0000003e
> cpu1: smt 0, core 6, package 0
> cpu2 at mainbus0: apid 16 (application processor)
> cpu2: Intel(R) Atom(TM) CPU C3558R @ 2.40GHz, 2400.02 MHz, 06-5f-01,
> patch 0000003e
> cpu2: smt 0, core 8, package 0
> cpu3 at mainbus0: apid 24 (application processor)
> cpu3: Intel(R) Atom(TM) CPU C3558R @ 2.40GHz, 2400.02 MHz, 06-5f-01,
> patch 0000003e
> cpu3: smt 0, core 12, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpihpet0 at acpi0: 23999999 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PEX0)
> acpiprt2 at acpi0: bus 3 (PEX1)
> acpiprt3 at acpi0: bus 4 (PEX2)
> acpiprt4 at acpi0: bus 5 (PEX3)
> acpiprt5 at acpi0: bus 6 (PEX4)
> acpiprt6 at acpi0: bus 7 (PEX5)
> acpiprt7 at acpi0: bus 8 (PEX6)
> acpiprt8 at acpi0: bus 9 (PEX7)
> acpiprt9 at acpi0: bus 10 (BR38)
> acpiprt10 at acpi0: bus 1 (VRP2)
> acpiprt11 at acpi0: bus 11 (VRP0)
> acpiprt12 at acpi0: bus 12 (VRP1)
> acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
> "PNP0003" at acpi0 not configured
> acpicmos0 at acpi0
> "PNP0C33" at acpi0 not configured
> acpicpu0 at acpi0: C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
> acpicpu1 at acpi0: C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
> acpicpu2 at acpi0: C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
> acpicpu3 at acpi0: C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
> acpitz0 at acpi0
> acpitz0: critical temperature is 91 degC
> cpu0: using VERW MDS workaround
> cpu0: Enhanced SpeedStep 2400 MHz: speeds: 2400, 2300, 2200, 2100,
> 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900,
> 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel C3000 Host" rev 0x11
> pchb1 at pci0 dev 4 function 0 "Intel C3000 GLREG" rev 0x11
> "Intel C3000 RCEC" rev 0x11 at pci0 dev 5 function 0 not configured
> ppb0 at pci0 dev 6 function 0 "Intel C3000 PCIE" rev 0x11
> pci1 at ppb0 bus 1
> "Intel C3000 QAT" rev 0x11 at pci1 dev 0 function 0 not configured
> ppb1 at pci0 dev 9 function 0 "Intel C3000 PCIE" rev 0x11
> pci2 at ppb1 bus 2
> nvme0 at pci2 dev 0 function 0 vendor "Phison", unknown product 0x5013
> rev 0x01: msix, NVMe 1.3
> nvme0: YSO256GTLCW-E3C-2, firmware EDFMG1.5, serial 511231004207008913
> scsibus1 at nvme0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <NVMe, YSO256GTLCW-E3C-, EDFM>
> sd0: 244198MB, 512 bytes/sector, 500118192 sectors
> ppb2 at pci0 dev 10 function 0 "Intel C3000 PCIE" rev 0x11
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 11 function 0 "Intel C3000 PCIE" rev 0x11
> pci4 at ppb3 bus 4
> igc0 at pci4 dev 0 function 0 "Intel I225-V" rev 0x03, msix, 4 queues,
> address 20:7c:14:f3:54:dd
> ppb4 at pci0 dev 12 function 0 "Intel C3000 PCIE" rev 0x11
> pci5 at ppb4 bus 5
> igc1 at pci5 dev 0 function 0 "Intel I225-V" rev 0x03, msix, 4 queues,
> address 20:7c:14:f3:54:de
> ppb5 at pci0 dev 14 function 0 "Intel C3000 PCIE" rev 0x11
> pci6 at ppb5 bus 6
> igc2 at pci6 dev 0 function 0 "Intel I225-V" rev 0x03, msix, 4 queues,
> address 20:7c:14:f3:54:df
> ppb6 at pci0 dev 15 function 0 "Intel C3000 PCIE" rev 0x11
> pci7 at ppb6 bus 7
> igc3 at pci7 dev 0 function 0 "Intel I225-V" rev 0x03, msix, 4 queues,
> address 20:7c:14:f3:54:e0
> ppb7 at pci0 dev 16 function 0 "Intel C3000 PCIE" rev 0x11
> pci8 at ppb7 bus 8
> igc4 at pci8 dev 0 function 0 "Intel I225-V" rev 0x03, msix, 4 queues,
> address 20:7c:14:f3:54:e1
> ppb8 at pci0 dev 17 function 0 "Intel C3000 PCIE" rev 0x11
> pci9 at ppb8 bus 9
> ppb9 at pci9 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x03
> pci10 at ppb9 bus 10
> vga1 at pci10 dev 0 function 0 "ASPEED Technology AST2000" rev 0x30
> wsdisplay at vga1 not configured
> "Intel C3000 SMBus" rev 0x11 at pci0 dev 18 function 0 not configured
> ahci0 at pci0 dev 19 function 0 "Intel C3000 AHCI" rev 0x11: msi, AHCI
> 1.3.1
> scsibus2 at ahci0: 32 targets
> ahci1 at pci0 dev 20 function 0 "Intel C3000 AHCI" rev 0x11: msi, AHCI
> 1.3.1
> scsibus3 at ahci1: 32 targets
> xhci0 at pci0 dev 21 function 0 "Intel C3000 xHCI" rev 0x11: 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
> ppb10 at pci0 dev 22 function 0 "Intel C3000 PCIE" rev 0x11
> pci11 at ppb10 bus 11
> ix0 at pci11 dev 0 function 0 "Intel X553 SFP+" rev 0x11, msix, 4
> queues, address 20:7c:14:f3:54:e2
> ix1 at pci11 dev 0 function 1 "Intel X553 SFP+" rev 0x11, msix, 4
> queues, address 20:7c:14:f3:54:e3
> ppb11 at pci0 dev 23 function 0 "Intel C3000 PCIE" rev 0x11
> pci12 at ppb11 bus 12
> ix2 at pci12 dev 0 function 0 "Intel X553 Backplane" rev 0x11, msix, 4
> queues, address 20:7c:14:f3:54:e4
> ix3 at pci12 dev 0 function 1 "Intel X553 Backplane" rev 0x11, msix, 4
> queues, address 20:7c:14:f3:54:e5
> "Intel C3000 ME HECI" rev 0x11 at pci0 dev 24 function 0 not
> configured
> puc0 at pci0 dev 26 function 0 "Intel C3000 UART" rev 0x11: ports: 16
> com
> com4 at puc0 port 0 apic 2 int 16: ns16550a, 16 byte fifo
> com4: console
> pcib0 at pci0 dev 31 function 0 "Intel C3000 LPC" rev 0x11
> "Intel C3000 PMC" rev 0x11 at pci0 dev 31 function 2 not configured
> ichiic0 at pci0 dev 31 function 4 "Intel C3000 SMBus" rev 0x11: apic 2
> int 23
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 8GB DDR4 SDRAM PC4-21300 SO-DIMM
> "Intel C3000 SPI" rev 0x11 at pci0 dev 31 function 5 not configured
> isa0 at pcib0
> isadma0 at isa0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT
> umodem0 at uhub0 port 3 configuration 1 interface 0 "u-blox AG -
> www.u-blox.com u-blox 7 - GPS/GNSS Receiver" rev 1.10/1.00 addr 2
> umodem0: data interface 1, has CM over data, has no break
> umodem0: status change notification available
> ucom0 at umodem0: usb0.0.00003.1
> uhub1 at uhub0 port 4 configuration 1 interface 0 "Genesys Logic
> USB2.0 Hub" rev 2.00/60.90 addr 3
> vscsi0 at root
> scsibus4 at vscsi0: 256 targets
> softraid0 at root
> scsibus5 at softraid0: 256 targets
> root on sd0a (cb75417ce8250f39.a) swap on sd0b dump on sd0b
> ucom0: read start failed
> 
> My  /etc/hostname.pppoe0
> 
> !/bin/echo "Bringing up pppoe0"
> inet 0.0.0.0 255.255.255.255 NONE \
>         pppoedev igc2 authproto pap \
>         authname [email protected]'' authkey 'mypass'
> dest 0.0.0.1
> mtu 1454
> #up
> description 'External PPPoE'
> !/sbin/route add default -ifp pppoe0 0.0.0.1
> 
> 
> On 10/23/2025 10:29 PM, Moritz Buhl wrote:
>> Is there any log messages? Could you provide more details about the
>> setup? Like the config files, dmesg, logs.
>>
>> mbuhl
>>
>>> On 23. Oct 2025, at 14:05, stephane Tranchemer <[email protected]>
>>> wrote:
>>>
>>> Hello,
>>>
>>> I found a strange behavior of the PPP subsystem since I updated to
>>> OpenBSD 7.8.
>>>
>>> First to set the stage, I am in Japan and use PPPoE to connect to my
>>> ISP.
>>> The PPPoE equipment are part of the infrastructure of NTT that then
>>> connect to your ISP.
>>> When connecting to you PPPoE session, if you break the link and try to
>>> reconnect too fast the link does not come up, there is something like
>>> a timeout delay and it is also not good to hammer too much the PPPd.
>>>
>>> So it is usual to use something like:
>>>   # ifconfig pppoe0 destroy; sleep 300; sh /etc/netstart pppoe0
>>>
>>> You could also let the netstart retry until the timeout on NTT side
>>> allows to reconnect.
>>>
>>> Updating to 7.8 I had to reboot to reboot my box, and I let netstart
>>> it do its job.
>>>
>>> Here was the ifconfig output:
>>>
>>> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1454
>>>          description: External PPPoE
>>>          index 14 priority 0 llprio 3
>>>          dev: igc2 state: session
>>>          sid: 0x916d PADI retries: 1 PADR retries: 0 time: 00:00:10
>>>          sppp: phase terminate authproto pap authname
>>>          "[email protected]"
>>>          groups: pppoe egress
>>>          status: no carrier
>>>          inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
>>>
>>> However, after a while I could see that my PPPoE link did not come
>>> back, and the ifconfig output show something strange:
>>>
>>> pppoe0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1454
>>>          description: External PPPoE
>>>          index 14 priority 0 llprio 3
>>>          dev: igc2 state: PADI sent
>>>          sid: 0x0 PADI retries: 1 PADR retries: 0
>>>          groups: pppoe egress
>>>          status: no carrier
>>>          inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
>>>
>>> Did the sppp subprocess gave up on its own?
>>> Was there a timeout on this before?
>>>
>>>   I do not remember having such trouble until now and I use this setup
>>>   since around OpenBSD 5.4
>>>
>>> I had to reboot once more to strait things up, manually do a destroy
>>> then a netstart again did not solve the problem.
>>>
>>>
> 
> 

Reply via email to