Saturday, October 12, 2024

Re: vxlan trouble after sysupgrade from 7.4 to 7.5

hi


update problem lookup like a problem with the vxlan interface .

if you have more then one , 7.6  crash to ddb

Holger


On 12.10.24 22:12, Holger Glaess wrote:
> hi
>
>
> sorry wrong versions.
>
> was 7.5 to 7.6
>
>
> holger
>
>
> On 12.10.24 21:25, Holger Glaess wrote:
>> hi
>>
>> at reboot after sysupgrade i got an core
>>
>> ===> Adding the _dhcp6leased group
>> ===> Adding the _dhcp6leased user
>> panic: rw_enter: inpnotify locking against myself
>> Stopped at      db_enter+0x14:  popq    %rbp
>>     TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
>>  239340   5005      0    0x100803     0x2000    0K grep
>> *432877  32323      0     0x14000      0x200    1  softnet0
>> db_enter() at db_enter+0x14
>> panic(ffffffff8233bb4f) at panic+0xdd
>> rw_enter_diag(ffffffff828bb170,1) at rw_enter_diag+0x4e
>> rw_enter(ffffffff828bb170,1) at rw_enter+0x103
>> udp_input(ffff800030da6ab8,ffff800030da6ac4,11,2) at udp_input+0x60f
>> ip_deliver(ffff800030da6ab8,ffff800030da6ac4,11,2,1) at ip_deliver+0xf8
>> ip_ours(ffff800030da6ab8,ffff800030da6ac4,ffff800030da6a0c,0) at
>> ip_ours+0x6f
>> ip_input_running
>> rc.sysmergeif(ffff800030da6ab8,ffff800030da6ac4,31,0,ffff8000008ab800)
>> at ip_inpu
>> t_if+0x1f0
>> ipv4_input(ffff8000008ab800,fffffd807d870300) at ipv4_input+0x38
>> ether_input(ffff8000008ab800,fffffd807d870300) at ether_input+0x3df
>> vxlan_input(ffff800001315680,fffffd807d870300,fffffd8074bcb050,0,fffffd8074bcb0
>>
>> 64,1c) at vxlan_input+0x301
>> udp_sbappend(fffffd82779de000,fffffd807d870300,fffffd8074bcb050,0,14,fffffd8074
>>
>> bcb064,cae52dbc4504571,14) at udp_sbappend+0x7f
>> udp_input(ffff800030da6fa8,ffff800030da6fb4,11,2) at udp_input+0x9c2
>> ip_deliver(ffff800030da6fa8,ffff800030da6fb4,11,2,1) at ip_deliver+0xf8
>> end trace frame: 0xffff800030da6eb0, count: 0
>> https://www.openbsd.org/ddb.html describes the minimum info required
>> in bug
>> reports.  Insufficient info makes it difficult to find and fix bugs.
>>
>> ----
>>
>> i recover the system manualy , but i had to remove 2 of my vxlan
>> configs.
>>
>> if i add these vxlan interface manual , the 7.5 system do an crash to
>> ddb after ifconfig vxlan100 up.
>>
>>
>> the working config with openbsd 7.4
>>
>> ~/orig 5>cat hostname.vxlan100
>> group lan
>> tunneldomain 66
>> parent vport1000
>> tunnelttl 5
>> tunnel 172.16.66.253 239.0.0.100 vnetid 100
>> up
>>
>>
>> ~/orig 6>cat hostname.vxlan1000
>> rdomain 66
>> group fabric
>> tunnelttl 5
>> tunneldomain 20
>> tunnel 172.16.2.253 172.16.2.202 vnetid 1001
>> up
>>
>> ~/orig 7>cat /etc/hostname.veb100
>> add vlan100
>> add vport100
>> #add vxlan100
>> up
>>
>> ~/orig 8>cat /etc/hostname.veb1000
>> add vport1000
>> add vlan1000
>> #add vxlan1000
>> up
>>
>> i disable the vxlan interaces due the crash situation with 7.5.
>>
>>
>> OpenBSD 7.6 (GENERIC.MP) #338: Mon Sep 30 08:55:35 MDT 2024
>> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> real mem = 8557735936 (8161MB)
>> avail mem = 8275095552 (7891MB)
>> random: good seed from bootblocks
>> mpath0 at root
>> scsibus0 at mpath0: 256 targets
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7f520000 (53 entries)
>> bios0: vendor American Megatrends Inc. version "5.6.5" date 02/06/2018
>> acpi0 at bios0: ACPI 5.0
>> acpi0: sleep states S0 S5
>> acpi0: tables DSDT FACP FPDT MCFG WDAT UEFI APIC BDAT HPET SSDT SPCR
>> HEST BERT ERST EINJ
>> acpi0: wakeup devices PS2K(S0) PS2M(S0) PEX1(S0) PEX2(S0) PEX3(S0)
>> PEX4(S0) EHC1(S0)
>> 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 0 (boot processor)
>> cpu0: Intel(R) Atom(TM) CPU C2558 @ 2.40GHz, 2400.04 MHz, 06-4d-08,
>> patch 0000012d
>> 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=43d8e3bf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND>
>>
>> cpu0: cpuid 6 eax=5<SENSOR,ARAT> ecx=9<EFFFREQ>
>> cpu0: cpuid 7.0 ebx=2282<TSC_ADJUST,SMEP,ERMS>
>> edx=c000400<MD_CLEAR,IBRS,IBPB,STIBP>
>> cpu0: cpuid a vers=3, gp=2, gpwidth=40, ff=3, ffwidth=40
>> cpu0: cpuid 80000001 edx=28100800<NXE,RDTSCP,LONG> ecx=101<LAHF,3DNOWP>
>> cpu0: cpuid 80000007 edx=100<ITSC>
>> cpu0: MELTDOWN
>> cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
>> 64b/line 16-way L2 cache
>> cpu0: smt 0, core 0, package 0
>> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
>> cpu0: apic clock running at 100MHz
>> cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3, IBE
>> cpu1 at mainbus0: apid 2 (application processor)
>> cpu1: Intel(R) Atom(TM) CPU C2558 @ 2.40GHz, 2400.11 MHz, 06-4d-08,
>> patch 0000012d
>> cpu1: smt 0, core 1, package 0
>> cpu2 at mainbus0: apid 4 (application processor)
>> cpu2: Intel(R) Atom(TM) CPU C2558 @ 2.40GHz, 2400.11 MHz, 06-4d-08,
>> patch 0000012d
>> cpu2: smt 0, core 2, package 0
>> cpu3 at mainbus0: apid 6 (application processor)
>> cpu3: Intel(R) Atom(TM) CPU C2558 @ 2.40GHz, 2400.15 MHz, 06-4d-08,
>> patch 0000012d
>> cpu3: smt 0, core 3, package 0
>> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
>> acpihpet0 at acpi0: 14318179 Hz
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus 1 (PEX1)
>> acpiprt2 at acpi0: bus 2 (PEX2)
>> acpiprt3 at acpi0: bus 3 (PEX3)
>> acpiprt4 at acpi0: bus 4 (PEX4)
>> acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
>> "PNP0003" at acpi0 not configured
>> acpicmos0 at acpi0
>> com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
>> com0: console
>> com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
>> "PNP0C33" at acpi0 not configured
>> acpicpu0 at acpi0: C1(@1 halt!)
>> acpicpu1 at acpi0: C1(@1 halt!)
>> acpicpu2 at acpi0: C1(@1 halt!)
>> acpicpu3 at acpi0: C1(@1 halt!)
>> cpu0: using VERW MDS workaround
>> pci0 at mainbus0 bus 0
>> pchb0 at pci0 dev 0 function 0 "Intel Atom C2000 Host" rev 0x03
>> ppb0 at pci0 dev 1 function 0 "Intel Atom C2000 PCIE" rev 0x03: msi
>> pci1 at ppb0 bus 1
>> em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
>> 00:90:0b:60:3e:ee
>> ppb1 at pci0 dev 2 function 0 "Intel Atom C2000 PCIE" rev 0x03: msi
>> pci2 at ppb1 bus 2
>> em1 at pci2 dev 0 function 0 "Intel I210" rev 0x03: msi, address
>> 00:90:0b:60:3e:ef
>> ppb2 at pci0 dev 3 function 0 "Intel Atom C2000 PCIE" rev 0x03: msi
>> pci3 at ppb2 bus 3
>> ppb3 at pci0 dev 4 function 0 "Intel Atom C2000 PCIE" rev 0x03: msi
>> pci4 at ppb3 bus 4
>> vendor "Intel", unknown product 0x1f18 (class processor subclass
>> Co-processor, rev 0x03) at pci0 dev 11 function 0 not configured
>> pchb1 at pci0 dev 14 function 0 "Intel Atom C2000 RAS" rev 0x03
>> "Intel Atom C2000 RCEC" rev 0x03 at pci0 dev 15 function 0 not
>> configured
>> "Intel Atom C2000 SMBus" rev 0x03 at pci0 dev 19 function 0 not
>> configured
>> em2 at pci0 dev 20 function 0 "Intel I354 SGMII" rev 0x03: msi,
>> address 00:90:0b:60:3e:f0
>> em3 at pci0 dev 20 function 1 "Intel I354 SGMII" rev 0x03: msi,
>> address 00:90:0b:60:3e:f1
>> em4 at pci0 dev 20 function 2 "Intel I354 SGMII" rev 0x03: msi,
>> address 00:90:0b:60:3e:f2
>> em5 at pci0 dev 20 function 3 "Intel I354 SGMII" rev 0x03: msi,
>> address 00:90:0b:60:3e:f3
>> ehci0 at pci0 dev 22 function 0 "Intel Atom C2000 USB" rev 0x03: apic
>> 2 int 23
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
>> 2.00/1.00 addr 1
>> ahci0 at pci0 dev 23 function 0 "Intel Atom C2000 AHCI" rev 0x03:
>> msi, AHCI 1.3
>> scsibus1 at ahci0: 32 targets
>> ahci1 at pci0 dev 24 function 0 "Intel Atom C2000 AHCI" rev 0x03:
>> msi, AHCI 1.3
>> ahci1: port 0: 6.0Gb/s
>> scsibus2 at ahci1: 32 targets
>> sd0 at scsibus2 targ 0 lun 0: <ATA, SanDisk SSD PLUS, UF22>
>> naa.5001b448b1683e58
>> sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
>> pcib0 at pci0 dev 31 function 0 "Intel Atom C2000 PCU" rev 0x03
>> ichiic0 at pci0 dev 31 function 3 "Intel Atom C2000 PCU SMBus" rev
>> 0x03: apic 2 int 18
>> iic0 at ichiic0
>> spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM
>> isa0 at pcib0
>> isadma0 at isa0
>> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
>> pckbd0 at pckbc0 (kbd slot)
>> wskbd0 at pckbd0 mux 1
>> pcppi0 at isa0 port 0x61
>> spkr0 at pcppi0
>> lpt0 at isa0 port 0x378/4 irq 7
>> wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
>> lm1 at wbsio0 port 0xa00/8: W83627DHG
>> vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation)
>> uhub1 at uhub0 port 1 configuration 1 interface 0 "Intel product
>> 0x07db" rev 2.00/0.03 addr 2
>> vscsi0 at root
>> scsibus3 at vscsi0: 256 targets
>> softraid0 at root
>> scsibus4 at softraid0: 256 targets
>> root on sd0a (94e1bf4a95fb7894.a) swap on sd0b dump on sd0b
>>
>>
>>
>> holger
>>
>>
>>
>>
>

No comments:

Post a Comment