Hi,

I hit the following panic on my gateway (amd64 -current), after a
snapshot upgrade.

It isn't a regression from directly previous version as I rollback to it
and trigger the panic again.

The panic occurs at boottime, at network configure (netstart).

> starting network
> add net default: gateway 0.0.0.1
> add net default: gateway fe80::
> panic: pool_do_get: mbufpl free list modified: page 0xffffff002f990000; item 
> addr 0xffffff002f990000; offset 0x8=0x10

It is due to my /etc/hostname.pppoe0

--- BEGIN /etc/hostname.pppoe0 ---
down
inet 0.0.0.0 255.255.255.255 NONE \
  pppoedev vlan10 authproto pap \
  authname 'xxx' authkey 'xxx' \
  up
dest 0.0.0.1
inet6 eui64
description "Internet output"
group internet
!/sbin/route add -inet  default -ifp pppoe0 0.0.0.1
!/sbin/route add -inet6 default -ifp pppoe0 fe80::
--- END /etc/hostname.pppoe0 ---

Removing the last line (route add -inet6 default ...) remove the panic
and running the command later make no problem (and my ipv6 is
functionnal).

I am able to fully repeat the panic on demand (but it is my gw, don't
ask too often :) )

Next it output from savecore.
dmesg + ps
-- 
Sebastien Marie

# dmesg -N bsd.0 -M bsd.0.core
OpenBSD 5.8-current (GENERIC.MP) #1285: Fri Aug 28 14:56:25 MDT 2015
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 921632768 (878MB)
avail mem = 889864192 (848MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0000 (42 entries)
bios0: vendor Phoenix Technologies, LTD version "MS7297 1.08" date 08/22/2007
bios0: Hewlett-Packard 0A7C
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
AZAL(S3) AUDO(S3) MODM(S3) P2P_(S5) RLAN(S5) PCE2(S4) PCE3(S4) PCE4(S4) 
PCE5(S4) PCE6(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2593.83 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2593.51 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P2P_)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2593 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
0:18:0: mem address conflict 0xfec01000/0x400
pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x10
ppb0 at pci0 dev 1 function 0 "ATI RS480 PCIE" rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon XPRESS 200" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 2 int 17
ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 2 int 22, AHCI 
1.1
ahci0: port 0: 1.5Gb/s
ahci0: port 1: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, FUJITSU MHV2060B, 0085> SCSI3 0/direct 
fixed t10.ATA_FUJITSU_MHV2060BH_NW10T6326AVK
sd0: 55796MB, 512 bytes/sector, 114270345 sectors
sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD10EZRX-00A, 01.0> SCSI3 0/direct 
fixed naa.50014ee207fc0231
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 2 int 16, 
version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 2 int 17, 
version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 2 int 17, 
version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 2 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x13: SMI
iic0 at piixpm0
iic0: addr 0x2f 00=c2 01=0f 02=00 03=00 04=07 05=20 06=18 07=01 08=00 14=14 
15=62 16=02 17=05 words 00=c2ff 01=0fff 02=00ff 03=00ff 04=07ff 05=20ff 06=18ff 
07=01ff
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
pciide0 at pci0 dev 20 function 1 "ATI SB600 IDE" rev 0x00: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 2 int 16 for native-PCI interrupt
azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 23
azalia0: codecs: Realtek/0x0862
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00
ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
pci2 at ppb1 bus 2
re0 at pci2 dev 2 function 0 "D-Link DGE-528T" rev 0x10: RTL8169/8110SB 
(0x1000), apic 2 int 22, address c8:be:19:e2:2c:ed
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 3
rl0 at pci2 dev 6 function 0 "Realtek 8139" rev 0x10: apic 2 int 21, address 
00:1d:92:43:43:95
rlphy0 at rl0 phy 0: RTL internal PHY
pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev 
BH-G1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci4: USB revision 1.0
uhub5 at usb5 "ATI OHCI 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
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x4e/2: W83627EHF rev 0x68
lm1 at wbsio0 port 0x260/8: W83627EHF
umass0 at uhub0 port 7 configuration 1 interface 0 "Generic USB2.0-CRW" rev 
2.00/11.22 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd2 at scsibus2 targ 1 lun 0: <Generic-, Compact Flash, 1.00> SCSI0 0/direct 
removable
sd3 at scsibus2 targ 1 lun 1: <Generic-, SM/xD-Picture, 1.00> SCSI0 0/direct 
removable
sd4 at scsibus2 targ 1 lun 2: <Generic-, SD/MMC, 1.00> SCSI0 0/direct removable
sd5 at scsibus2 targ 1 lun 3: <Generic-, MS/MS-Pro, 1.00> SCSI0 0/direct 
removable
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (dd15967b7ad164f3.a) swap on sd0b dump on sd0b
radeondrm0: 1280x1024
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
panic: pool_do_get: mbufpl free list modified: page 0xffffff002f990000; item 
addr 0xffffff002f990000; offset 0x8=0x10
Starting stack trace...
panic() at panic+0x10b
pool_do_get() at pool_do_get+0x160
pool_get() at pool_get+0xb5
m_gethdr() at m_gethdr+0x2b
sosend() at sosend+0x4f4
dofilewritev() at dofilewritev+0x205
sys_write() at sys_write+0x89
syscall() at syscall+0x358
--- syscall (number 4) ---
end of kernel
end trace frame: 0x59eb45464c0, count: 249
0x59eb4109a1a:
End of stack trace.
syncing disks... panic: assertwaitok: non-zero mutex count: 1
Starting stack trace...
panic() at panic+0x10b
assertwaitok() at assertwaitok+0x52
bufq_wait() at bufq_wait+0x2d
bwrite() at bwrite+0xfe
VOP_BWRITE() at VOP_BWRITE+0x38
ffs_fsync() at ffs_fsync+0x13f
VOP_FSYNC() at VOP_FSYNC+0x3c
ffs_sync() at ffs_sync+0xc4
sys_sync() at sys_sync+0x87
vfs_syncwait() at vfs_syncwait+0x50
vfs_shutdown() at vfs_shutdown+0x36
boot() at boot+0x144
reboot() at reboot+0x26
panic() at panic+0x106
pool_do_get() at pool_do_get+0x160
pool_get() at pool_get+0xb5
m_gethdr() at m_gethdr+0x2b
sosend() at sosend+0x4f4
dofilewritev() at dofilewritev+0x205
sys_write() at sys_write+0x89
syscall() at syscall+0x358
--- syscall (number 4) ---
end of kernel
end trace frame: 0x59eb45464c0, count: 236
0x59eb4109a1a:
End of stack trace.
panic: mtx_enter: locking against myself
Starting stack trace...
panic() at panic+0x10b
[...]


# ps axlk -N bsd.0 -M bsd.0.core
  UID   PID  PPID CPU PRI  NI   VSZ   RSS WCHAN   STAT  TT       TIME COMMAND
    0 31273     0   0  18   0     0     0 syncer  DK    ??    0:00.03 (update)
    0 14338     0   0 -18   0     0     0 pgdaemo DK    ??    0:00.05 
(pagedaemon)
    0 26879     0   0 -18   0     0     0 reaper  DK    ??    0:00.04 (reaper)
    0 10152     0   0 -13   0     0     0 cleaner DK    ??    0:00.05 (cleaner)
    0 29439     0   0 105  20     0     0 pgzero  DNK   ??    0:00.09 
(zerothread)
    0 30429     0   0 -18   0     0     0 aiodone DK    ??    0:00.05 (aiodoned)
    0     0     0   0 -18   0     0     0 schedul DKs   ??    0:01.18 (swapper)
    0  6853     0   0  10   0     0     0 bored   DK    ??    0:01.00 (systqmp)
    0 26874     0   0  10   0     0     0 bored   DK    ??    0:00.00 (systq)
    0 11206     0  36 -22   0     0     0 -       RK    ??    0:05.32 (idle0)
    0     1     0   0  10   0   332     0 wait    Ss    ??    0:01.00 (init)
    0 21224     0   0  10   0     0     0 bored   DK    ??    0:00.00 (crypto)
    0  5410     0   0  10   0     0     0 pftm    DK    ??    0:01.00 (pfpurge)
    0 30736     0   0  10   0     0     0 bored   DK    ??    0:00.00 (sensors)
    0 29286     0   0  10   0     0     0 usbtsk  DK    ??    0:01.00 (usbtask)
    0 16212     0   0  10   0     0     0 usbatsk DK    ??    0:00.00 (usbatsk)
    0  3757     0   0  10   0     0     0 acpi0   DK    ??    0:01.00 (acpi0)
    0 11196     0  14 -22   0     0     0 -       DK    ??    0:04.15 (idle1)
    0  4733     0   0  10   0     0     0 bored   DK    ??    0:00.00 (softnet)
    0   636     0   0  10   0     0     0 bored   DK    ??    0:00.03 (ttm_swap)
    0 28118     1  36  18   0   764     0 pause   Ss+   C0    0:00.25 (sh)
    0 11857 28118  36  18   0   868     0 pause   S+    C0    0:00.10 (sh)
    0 31021 11857  36  64   0   264     0 -       R+    C0    0:00.00 (route)

Reply via email to