Hi,

I encountered the following panic while upgrading my packages (pkg_add
via ansible).

The machine has ddb.panic=0, so it already rebooted. Dump seems has been
correctly proceed, but savecore failed (KARL side effect ?)

        savecore: reboot after panic: pool_do_get: vmmpepl free list modified: 
page 0xffffff0187540000; item addr 0xffffff01875400a8; offset 0x38=0xd6adbeef
        savecore: system went down at Fri Sep 28 08:07:31 2018
        savecore: /bsd: No such file or directory

And now, the /dev/mem door is closed...

# savecore /var/crash
savecore: /bsd: kvm_openfiles: /dev/mem: Operation not permitted


Anyway, the dmesg buffer is still here, so I have a full backtrace (but not 
'ps', sorry :-/ ).

panic: pool_do_get: vmmpepl free list modified: page 0xffffff0187540000; item 
addr 0xffffff01875400a8; offset 0x38=0xd6adbeef
Starting stack trace...
panic() at panic+0x113
pool_do_get(9337f069c6c06087,1,ffffffff81d35ff0) at pool_do_get+0x377
pool_get(e6277f4531582e72,ffffff01875401f8) at pool_get+0x9d
uvm_mapent_alloc(e6277f453158379e,ffffff01875401f8) at uvm_mapent_alloc+0x269
uvm_map_mkentry(8940bdfbfa57c1a5,3000,ffffff01c3d9c118,3,7,1662bbe6a000) at 
uvm_map_mkentry+0x55
uvm_mapent_clone(cb09f358b51697db,ffffff01dde54b98,ffffff01ff41cc60,ffffff01ff41cc60,ffffff01c3d9c118,0)
 at uvm_mapent_clone+0x8c
uvm_mapent_forkcopy(fa53124617ef69e9,ffffff01c3d9c118,ffffff01ff41cc60,ffffff01dde54b98,3000)
 at uvm_mapent_forkcopy+0x55
uvmspace_fork(ed97859aa1eee768) at uvmspace_fork+0x1e7
process_new(6554d30ae5a609f9,ffffffff8184d360,ffff800023656c00) at 
process_new+0x198
fork1() at fork1+0x24e
syscall(ee9f5df87232a0d8) at syscall+0x32a
Xsyscall(6,2,166252534670,2,1662d5600a48,16623577a018) at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd9a50, count: 245
End of stack trace.
syncing disks...6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6  giving up

dumping to dev 4,1 offset 2184574
dump 7122 7119 [...truncated...] 7 6 5 4 3 2 
OpenBSD 6.4-beta (GENERIC.MP) #324: Tue Sep 25 11:17:17 MDT 2018
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7452459008 (7107MB)
avail mem = 7217336320 (6882MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xece20 (18 entries)
bios0: vendor American Megatrends Inc. version "P2.60" date 01/12/2016
bios0: ASRock FM2A68M-DG3+
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET AAFT UEFI IVRS SSDT SSDT CRAT 
SSDT SSDT
acpi0: wakeup devices PB2_(S4) PB3_(S4) PB4_(S4) PB5_(S4) PB6_(S4) PB7_(S4) 
SBAZ(S4) P0PC(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) EHC3(S4) 
OHC4(S4) XHC0(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A4-4020 APU with Radeon(tm) HD Graphics, 3194.58 MHz, 15-13-01
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD A4-4020 APU with Radeon(tm) HD Graphics, 1584.16 MHz, 15-13-01
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 1, core 0, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB2_)
acpiprt2 at acpi0: bus -1 (PB3_)
acpiprt3 at acpi0: bus 1 (PB4_)
acpiprt4 at acpi0: bus -1 (PB5_)
acpiprt5 at acpi0: bus -1 (PB6_)
acpiprt6 at acpi0: bus -1 (PB7_)
acpiprt7 at acpi0: bus 2 (P0PC)
acpiprt8 at acpi0: bus -1 (PE20)
acpiprt9 at acpi0: bus -1 (PE21)
acpiprt10 at acpi0: bus -1 (PE23)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: VGA_
acpivideo2 at acpi0: VGA_
cpu0: 3194 MHz: speeds: 3200 2900 2600 2200 1800 1400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 15/1xh Host" rev 0x00
"AMD AMD64 15/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 7480D" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x9902 rev 0x00: 
msi
azalia0: no supported codecs
ppb0 at pci0 dev 4 function 0 "AMD AMD64 15/1xh PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x11: RTL8168G/8111G (0x4c00), 
msi, address 70:85:c2:64:65:3a
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x09: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, TOSHIBA HDWD105, MS1O> SCSI3 0/direct fixed 
naa.5000039feee6ca86
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 0 int 18, 
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 0 int 17
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
addr 1
ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 0 int 18, 
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 0 int 17
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x16: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800
azalia1 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01: apic 0 int 
16
azalia1: codecs: Realtek ALC662
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
ppb1 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40
pci2 at ppb1 bus 2
ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 0 int 18, 
version 1.0, legacy support
pchb1 at pci0 dev 24 function 0 "AMD AMD64 15/1xh Link Cfg" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 15/1xh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 15/1xh DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 15/1xh Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 15/1xh CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 15/1xh NB Power" rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
addr 1
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0x290/8: NCT6776F
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
addr 1
vmm0 at mainbus0: SVM/RVI
ugen0 at uhub3 port 2 "HewLett Packard HP LaserJet 1200" rev 1.10/1.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "Cherry USB keyboard" rev 
2.00/1.03 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub3 port 3 configuration 1 interface 1 "Cherry USB keyboard" rev 
2.00/1.03 addr 3
uhidev1: iclass 3/0, 5 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhid2 at uhidev1 reportid 5: input=0, output=0, feature=5
uhidev2 at uhub3 port 4 configuration 1 interface 0 "PixArt Cherry USB Optical 
Mouse" rev 2.00/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub4 port 3 configuration 1 interface 0 "Barcode Scanner Barcode 
Scanner" rev 1.10/2.00 addr 2
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (f0c35b94b4712481.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
initializing kernel modesetting (ARUBA 0x1002:0x9993 0x1849:0x9993).
radeondrm0: 1366x768, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub3 port 4 configuration 1 interface 0 "PixArt Cherry USB Optical 
Mouse" rev 2.00/1.00 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0

-- 
Sebastien Marie


Reply via email to