Le mer. 25 nov. 2020 à 10:50, Denis Fondras <[email protected]> a écrit :
>
> Cannot reproduce with latest snapshop on ESX or VMM. Could this be QEMU 
> related

You made me test with my home router, which also crashed, although not
at the same point: I didn't had to even remove the route, just wait a
few seconds and the box crashed.

# ifconfig vlan12 down
# route -T1 -n show
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            193.253.160.3      UGS        6    22280     -     8 pppoe0
92.135.7.90        92.135.7.90        UHl        0   223749     -     1 pppoe0
127.0.0.1          127.0.0.1          UHl        0        0 32768     1 lo1
192.0.2.2          link#22            UHLS       0        0     -     8 vlan12
193.253.160.3      92.135.7.90        UHh        1        1     -     8 pppoe0

# ifconfig vlan12 destroy
# route -T1 -n show
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            193.253.160.3      UGS        5    22310     -     8 pppoe0
92.135.7.90        92.135.7.90        UHl        0   223875     -     1 pppoe0
127.0.0.1          127.0.0.1          UHl        0        0 32768     1 lo1
192.0.2.2          link#22            UHLS       0        0     -     8 (null)
193.253.160.3      92.135.7.90        UHh        1        1     -     8 pppoe0

<crash at this point>

ddb> show panic
kernel diagnostic assertion "ifp != NULL" failed: file "/usr/src/sys/netinet/if
_ether.c", line 718

ddb> trace
db_enter() at db_enter+0x10
panic(ffffffff81dc9e6e) at panic+0x12a
__assert(ffffffff81e32005,ffffffff81dbe77c,2ce,ffffffff81d9dd78) at
__assert+0x2b
arp_rtrequest(fffffd81442890b0,fffffd81442890b0,fffffd81706c8a40) at
arp_rtrequest
arptimer(ffffffff82196768) at arptimer+0x67
softclock_thread(ffff8000225ab710) at softclock_thread+0x13f
end trace frame: 0x0, count: -6

ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 84391  112017   2522      0  3    0x100083  ttyin         ksh
  2522  267220  97397   1000  3    0x10008b  pause         ksh
 97397  178345  76323   1000  3        0x80  select        screen
 76323  376443  87989   1000  3        0x8b  pause         screen
 87989  313219  94843   1000  3    0x10008b  pause         ksh
 94843  363201  25500   1000  3        0x90  select        sshd
 25500  449411  99289      0  3        0x92  poll          sshd
 48468  475629      1      0  3    0x100083  ttyin         getty
  8259  260779      1      0  3    0x100098  poll          cron
  4447   58568      1     53  3        0x90  kqread        unbound
 64735  119756  70626     95  3    0x100092  kqread        smtpd
 59418  344450  70626    103  3    0x100092  kqread        smtpd
 48863   84545  70626     95  3    0x100092  kqread        smtpd
 78574   41062  70626     95  3    0x100092  kqread        smtpd
  7276  148319  70626     95  3    0x100092  kqread        smtpd
 36099  298643  70626     95  3    0x100092  kqread        smtpd
 70626  391238      1      0  3    0x100080  kqread        smtpd
 81939  483058  21064     94  3    0x100092  kqread        rad
 98404  338566  21064     94  3    0x100092  kqread        rad
 21064  103877      1      0  3    0x100080  kqread        rad
 43922  499246      1     77  3    0x100090  poll          dhcpd
 85345  419592  82134     75  3    0x100092  poll          bgpd
 88323  140875  82134     75  3    0x100092  poll          bgpd
 82134  372758      1      0  3        0x80  poll          bgpd
 99289  392141      1      0  3        0x80  select        sshd
 38786  475213      1      0  3    0x100080  poll          ntpd
 51963  385665  15776     83  3    0x100092  poll          ntpd
 15776  518047      1     83  3    0x100092  poll          ntpd
 46470  299929      1     53  3        0x90  kqread        unbound
  5857  222276   1628     74  3    0x100092  bpf           pflogd
  1628  282883      1      0  3        0x80  netio         pflogd
 62819  289053  19138     73  3    0x100090  kqread        syslogd
 19138    7172      1      0  3    0x100082  netio         syslogd
 89886  469345      1      0  3        0x80  select        tincd
 85583   41922      1      0  3        0x80  select        tincd
 67213  483596      1     77  3    0x100090  poll          dhclient
 91175  124773      1      0  3        0x80  poll          dhclient
 34408  387824      0      0  3     0x14200  bored         wg_crypt
 20742  307442      0      0  3     0x14200  bored         wg_handshake
 31732  301833      0      0  3     0x14200  bored         wg_handshake
 69836  338401  14508    115  3    0x100092  kqread        slaacd
 50454   69378  14508    115  3    0x100092  kqread        slaacd
 14508  337980      1      0  3    0x100080  kqread        slaacd
 57366  360388      0      0  3     0x14200  bored         smr
 93625   78369      0      0  3     0x14200  pgzero        zerothread
 58286  441845      0      0  3     0x14200  aiodoned      aiodoned
 89780  325541      0      0  3     0x14200  syncer        update
 28108  172195      0      0  3     0x14200  cleaner       cleaner
 52012  298024      0      0  3     0x14200  reaper        reaper
 92259  329387      0      0  3     0x14200  pgdaemon      pagedaemon
 14993  388879      0      0  3     0x14200  bored         crynlk
 42329  200445      0      0  3     0x14200  bored         crypto
 48702    2693      0      0  3     0x14200  bored         sensors
 74777  115316      0      0  3     0x14200  usbtsk        usbtask
 28002   12375      0      0  3     0x14200  usbatsk       usbatsk
 59508  249444      0      0  3  0x40014200  acpi0         acpi0
  6653  485054      0      0  2     0x14200                softnet
 51209  302928      0      0  3     0x14200  bored         systqmp
 51109  144603      0      0  3     0x14200  bored         systq
*43503  422574      0      0  7  0x40014200                softclock
 72888  516312      0      0  3  0x40014200                idle0
     1  115060      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper

ddb> show reg
rdi               0xffffffff820cc0e8    kprintf_mutex
rsi                              0x5
rbp               0xffff8000225b9210
rbx               0xffff8000225b9220
rdx                            0x3fd
rcx               0x5e000000000fde3a
rax                              0x1
r8                0xffff8000225b91d0
r9                                 0
r10               0xbb500b00c2a96fdd
r11                0x484ddfc005d0570
r12                     0x3000000008
r13               0xffff8000225b92c0
r14                            0x100
r15               0xffffffff81dc9e6e    cmd0646_9_tim_udma+0x27563
rip               0xffffffff816f90d0    db_enter+0x10
cs                               0x8
rflags                         0x202
rsp               0xffff8000225b9210
ss                              0x10
db_enter+0x10:  popq    %rbp


$ dmesg
OpenBSD 6.8-current (GENERIC) #182: Tue Nov 24 18:46:05 MST 2020
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 6425608192 (6127MB)
avail mem = 6215663616 (5927MB)
random: boothowto does not indicate good seed
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfb2d0 (37 entries)
bios0: vendor American Megatrends Inc. version "S27S1A05" date 03/19/2008
bios0: Quanta Computer Inc. S27S
acpi0 at bios0: ACPI 2.0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB
acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) USB0(S4) USB1(S4)
USB2(S4) USB3(S4) EUSB(S4) MC97(S4) P0P4(S4) P0P5(S4) P0P6(S4)
P0P7(S4) P0P8(S4) P0P9(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz, 3400.61 MHz, 0f-06-05
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,DTES64,MWAIT,DS-CPL,EST,TM2,CNXT-ID,CX16,xTPR,PDCM,NXE,LONG,LAHF,MELTDOWN
cpu0: 2MB 64b/line 8-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 200MHz
cpu0: mwait min=64, max=64
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 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 (P0P1)
acpiprt2 at acpi0: bus 4 (P0P4)
acpiprt3 at acpi0: bus 5 (PXHA)
acpiprt4 at acpi0: bus 3 (P0P8)
acpiprt5 at acpi0: bus 2 (P0P9)
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
acpicpu0 at acpi0: C1(@1 halt!)
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0xc0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 "Intel 6702PXH PCIE-PCIX" rev 0x09
pci2 at ppb1 bus 5
ppb2 at pci2 dev 2 function 0 "Pericom PI7C21P100 PCIX-PCIX" rev 0x01
pci3 at ppb2 bus 6
em0 at pci3 dev 4 function 0 "Intel 82546GB" rev 0x03: apic 2 int 19,
address 00:1b:21:1a:e9:c0
em1 at pci3 dev 4 function 1 "Intel 82546GB" rev 0x03: apic 2 int 18,
address 00:1b:21:1a:e9:c1
em2 at pci3 dev 6 function 0 "Intel 82546GB" rev 0x03: apic 2 int 17,
address 00:1b:21:1a:e9:c2
em3 at pci3 dev 6 function 1 "Intel 82546GB" rev 0x03: apic 2 int 16,
address 00:1b:21:1a:e9:c3
ppb3 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: msi
pci4 at ppb3 bus 3
bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1
(0x4201): msi, address 00:23:8b:8a:5d:59
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01
pci5 at ppb4 bus 2
bge1 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1
(0x4201): msi, address 00:23:8b:8a:5d:58
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: 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
ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci6 at ppb5 bus 1
vga1 at pci6 dev 5 function 0 "XGI Technology Volari Z7" rev 0x00
wsdisplay at vga1 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 1: <SMART CF>
wd0: 2-sector PIO, LBA, 3907MB, 8003520 sectors
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 19 for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2 int 19
iic0 at ichiic0
adt0 at iic0 addr 0x2e: lm96000 rev 0x68
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-5300CL5
spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM ECC PC2-5300CL5
spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-5300CL5
spdmem3 at iic0 addr 0x53: 2GB DDR2 SDRAM ECC PC2-5300CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (f2b1c8c26785e724.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted

Reply via email to