Kernel panic (snapshot amd64 from 2018-01-08)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Kernel panic (snapshot amd64 from 2018-01-08)

Christian Ruesch-3
After today's upgrade to OpenBSD -current for amd64, the server can no longer boot and ends up in a kernel panic.

If you need any further information, please let me know and I will try to get it.

Many thanks and best regards
Christian


            >> OpenBSD/amd64 BOOT 3.33
boot>                                
booting sr0a:/bsd: 8545444+2438160+244656+0+671744 [641872+82+704256+486071]=0xd1a820
entry point at 0x1000158                                                            
[ using 1832992 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993    
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2018 OpenBSD. All rights reserved.  https://www.OpenBSD.org
                                                                             
OpenBSD 6.2-current (GENERIC.MP) #336: Mon Jan  8 23:26:04 MST 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4244307968 (4047MB)                                          
avail mem = 4108754944 (3918MB)
mpath0 at root                
scsibus0 at mpath0: 256 targets
mainbus0 at root              
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (48 entries)
bios0: vendor American Megatrends Inc. version "080014" date 03/25/2010
bios0: MICRO-STAR INTERNATIONAL CO., LTD MS-96B3                      
acpi0 at bios0: rev 0                          
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) SBAZ(S4) PS2K(S3) P0PC(S4) AC97(S4) MC97(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits                                      
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)      
cpu0: Quad-Core AMD Opteron(tm) Processor 1381, 2500.44 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed                                    
acpitimer0: recalibrated TSC frequency 2500081404 Hz
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, IBE  
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed                                    
cpu1: smt 0, core 1, package 0          
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2: AMD erratum 721 detected and fixed                                    
cpu2: smt 0, core 2, package 0          
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu3: AMD erratum 721 detected and fixed                                    
cpu3: smt 0, core 3, package 0          
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255                
acpihpet0 at acpi0: 14318180 Hz              
acpihpet0: recalibrated TSC frequency 2500110128 Hz
acpiprt0 at acpi0: bus 0 (PCI0)                    
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE3)
acpiprt3 at acpi0: bus 2 (PCE4)
acpiprt4 at acpi0: bus 3 (PCE5)
acpiprt5 at acpi0: bus 4 (P0PC)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB            
cpu0: 2500 MHz: speeds: 2500 1800 1300 800 MHz
pci0 at mainbus0 bus 0                        
0:20:0: mem address conflict 0x8000a010/0x10
pchb0 at pci0 dev 0 function 0 "ATI RS690 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00
pci1 at ppb0 bus 1                                    
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon X1250 IGP" rev 0x00
drm0 at radeondrm0                                                
radeondrm0: msi  
ppb1 at pci0 dev 4 function 0 "ATI RS690 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2                                          
em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 40:61:86:ee:be:57
ppb2 at pci0 dev 5 function 0 "ATI RS690 PCIE" rev 0x00: msi                        
pci3 at ppb2 bus 3                                          
em1 at pci3 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 40:61:86:ee:be:58
ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 4 int 22, AHCI 1.1  
ahci0: port 0: 3.0Gb/s                                                            
ahci0: port 1: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HDP72505, GM4O> SCSI3 0/direct fixed naa.5000cca357e9e8c6
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
sd1 at scsibus1 targ 1 lun 0: <ATA, Hitachi HDP72505, GM4O> SCSI3 0/direct fixed naa.5000cca357e92b41
sd1: 476940MB, 512 bytes/sector, 976773168 sectors
ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 4 int 17, version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 4 int 17, version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 4 int 19
usb0 at ehci0: USB revision 2.0                                        
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x14: SMI                
iic0 at piixpm0                                                  
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL6
spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL6
spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL6
spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-6400CL6
pciide0 at pci0 dev 20 function 1 "ATI SB600 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
pci4 at ppb3 bus 4                                    
pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00  
pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00  
km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00  
pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
usb1 at ohci0: USB revision 1.0                                  
uhub1 at usb1 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0                                                  
uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0                                                  
uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci3: USB revision 1.0                                                  
uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci4: USB revision 1.0                                                  
uhub5 at usb5 configuration 1 interface 0 "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
com0: console                                          
com1 at isa0 port 0x2f8/8 irq 3: 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        
wbsio0 at isa0 port 0x4e/2: W83627DHG rev 0x23
lm1 at wbsio0 port 0xa10/8: W83627DHG        
vmm0 at mainbus0: SVM/RVI            
vscsi0 at root          
scsibus2 at vscsi0: 256 targets
softraid0 at root              
scsibus3 at softraid0: 256 targets
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd2: 476937MB, 512 bytes/sector, 976767473 sectors                          
root on sd2a (f9919b7397f2f0b0.a) swap on sd2b dump on sd2b
radeondrm0: 1024x768, 8bpp                                
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)                        
Automatic boot in progress: starting file system checks.
panic: Data modified on freelist: word 4 of object 0xffff80000059dfc0 size 0x38 previous type free (0x0 != 0xdeafbead)
                         
Stopped at      db_enter+0x5:   popq    %rbp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*386588  76936      0         0x3          0    1K fsck_ffs
db_enter() at db_enter+0x5                                
panic() at panic+0x129    
malloc(ffffff01006d4550,0,0) at malloc+0x6b7
checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
d9                                                                            
ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
ufs_lookup() at ufs_lookup+0xbd8                                              
VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
3                                                                              
vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
namei(ffff8000ffffd870) at namei+0x1eb          
vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
 doopenat+0x199                                                                
syscall() at syscall+0x279
--- syscall (number 5) ---
end of kernel            
end trace frame: 0x7f7ffffe5580, count: 2
0x3c80da3a15a:                          
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.      


ddb{1}> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  1005186 VM pages: 310 active, 34 inactive, 3 wired, 999136 free (124895 zero)
                                                                               
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  pages  0 anon, 0 vnode, 0 vtext                  
  freemin=33506, free-target=44674, inactive-target=0, wired-max=335062
  faults=750, traps=751, intrs=1262, ctxswitch=523 fpuswitch=0        
  softint=262, syscalls=771, kmapent=18                      
  fault counts:                        
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    ok relocks(total)=211(211), anget(retries)=307(0), amapcopy=378
    neighbor anon/obj pg=32/184, gets(lock/unlock)=269/211        
    cases: anon=236, anoncow=71, obj=255, prcopy=14, przero=174
  daemon and swap counts:                                      
    woke=0, revs=0, scans=0, obscans=0, anscans=0
    busy=0, freed=0, reactivate=0, deactivate=0  
    pageouts=0, pending=0, nswget=0            
    nswapdev=1, nanon=0, nanonneeded=0 nfreeanon=0
    swpages=261055, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:                                  
    objs(kern)=0xffffffff81b03b20


ddb{1}> show bcstats            
Current Buffer Cache status:
numbufs 125 busymapped 0, delwri 0
kvaslots 6553 avail kva slots 6553
bufpages 497, dmapages 497, dirtypages 0
pendingreads 0, pendingwrites 0        
highflips 0, highflops 0, dmaflips 0


ddb{1}> trace                      
db_enter() at db_enter+0x5
panic() at panic+0x129    
malloc(ffffff01006d4550,0,0) at malloc+0x6b7
checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
d9                                                                            
ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
ufs_lookup() at ufs_lookup+0xbd8                                              
VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
3                                                                              
vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
namei(ffff8000ffffd870) at namei+0x1eb          
vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
 doopenat+0x199                                                                
syscall() at syscall+0x279
--- syscall (number 5) ---
end of kernel            
end trace frame: 0x7f7ffffe5580, count: -13
0x3c80da3a15a:

Reply | Threaded
Open this post in threaded view
|

Re: Kernel panic (snapshot amd64 from 2018-01-08)

Martin Pieuchot
On 09/01/18(Tue) 11:40, Christian Ruesch wrote:
> After today's upgrade to OpenBSD -current for amd64, the server can no longer boot and ends up in a kernel panic.
>
> If you need any further information, please let me know and I will try to get it.

Which snapshot were you using beforehand?

> Many thanks and best regards
> Christian
>
>
>             >> OpenBSD/amd64 BOOT 3.33
> boot>                                
> booting sr0a:/bsd: 8545444+2438160+244656+0+671744 [641872+82+704256+486071]=0xd1a820
> entry point at 0x1000158                                                            
> [ using 1832992 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993    
> The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2018 OpenBSD. All rights reserved.  https://www.OpenBSD.org
>                                                                              
> OpenBSD 6.2-current (GENERIC.MP) #336: Mon Jan  8 23:26:04 MST 2018
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4244307968 (4047MB)                                          
> avail mem = 4108754944 (3918MB)
> mpath0 at root                
> scsibus0 at mpath0: 256 targets
> mainbus0 at root              
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (48 entries)
> bios0: vendor American Megatrends Inc. version "080014" date 03/25/2010
> bios0: MICRO-STAR INTERNATIONAL CO., LTD MS-96B3                      
> acpi0 at bios0: rev 0                          
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
> acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) SBAZ(S4) PS2K(S3) P0PC(S4) AC97(S4) MC97(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits                                      
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)      
> cpu0: Quad-Core AMD Opteron(tm) Processor 1381, 2500.44 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu0: AMD erratum 721 detected and fixed                                    
> acpitimer0: recalibrated TSC frequency 2500081404 Hz
> 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, IBE  
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu1: AMD erratum 721 detected and fixed                                    
> cpu1: smt 0, core 1, package 0          
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 MHz
> cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu2: AMD erratum 721 detected and fixed                                    
> cpu2: smt 0, core 2, package 0          
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 MHz
> cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu3: AMD erratum 721 detected and fixed                                    
> cpu3: smt 0, core 3, package 0          
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255                
> acpihpet0 at acpi0: 14318180 Hz              
> acpihpet0: recalibrated TSC frequency 2500110128 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)                    
> acpiprt1 at acpi0: bus 1 (P0P1)
> acpiprt2 at acpi0: bus -1 (PCE3)
> acpiprt3 at acpi0: bus 2 (PCE4)
> acpiprt4 at acpi0: bus 3 (PCE5)
> acpiprt5 at acpi0: bus 4 (P0PC)
> acpicpu0 at acpi0: C1(@1 halt!), PSS
> acpicpu1 at acpi0: C1(@1 halt!), PSS
> acpicpu2 at acpi0: C1(@1 halt!), PSS
> acpicpu3 at acpi0: C1(@1 halt!), PSS
> acpibtn0 at acpi0: PWRB            
> cpu0: 2500 MHz: speeds: 2500 1800 1300 800 MHz
> pci0 at mainbus0 bus 0                        
> 0:20:0: mem address conflict 0x8000a010/0x10
> pchb0 at pci0 dev 0 function 0 "ATI RS690 Host" rev 0x00
> ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00
> pci1 at ppb0 bus 1                                    
> radeondrm0 at pci1 dev 5 function 0 "ATI Radeon X1250 IGP" rev 0x00
> drm0 at radeondrm0                                                
> radeondrm0: msi  
> ppb1 at pci0 dev 4 function 0 "ATI RS690 PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2                                          
> em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 40:61:86:ee:be:57
> ppb2 at pci0 dev 5 function 0 "ATI RS690 PCIE" rev 0x00: msi                        
> pci3 at ppb2 bus 3                                          
> em1 at pci3 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 40:61:86:ee:be:58
> ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 4 int 22, AHCI 1.1  
> ahci0: port 0: 3.0Gb/s                                                            
> ahci0: port 1: 3.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HDP72505, GM4O> SCSI3 0/direct fixed naa.5000cca357e9e8c6
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> sd1 at scsibus1 targ 1 lun 0: <ATA, Hitachi HDP72505, GM4O> SCSI3 0/direct fixed naa.5000cca357e92b41
> sd1: 476940MB, 512 bytes/sector, 976773168 sectors
> ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support
> ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 4 int 17, version 1.0, legacy support
> ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
> ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 4 int 17, version 1.0, legacy support
> ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
> ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 4 int 19
> usb0 at ehci0: USB revision 2.0                                        
> uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x14: SMI                
> iic0 at piixpm0                                                  
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> pciide0 at pci0 dev 20 function 1 "ATI SB600 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
> pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00
> ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
> pci4 at ppb3 bus 4                                    
> pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
> pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00  
> pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00  
> km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00  
> pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
> usb1 at ohci0: USB revision 1.0                                  
> uhub1 at usb1 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0                                                  
> uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb3 at ohci2: USB revision 1.0                                                  
> uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb4 at ohci3: USB revision 1.0                                                  
> uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb5 at ohci4: USB revision 1.0                                                  
> uhub5 at usb5 configuration 1 interface 0 "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
> com0: console                                          
> com1 at isa0 port 0x2f8/8 irq 3: 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        
> wbsio0 at isa0 port 0x4e/2: W83627DHG rev 0x23
> lm1 at wbsio0 port 0xa10/8: W83627DHG        
> vmm0 at mainbus0: SVM/RVI            
> vscsi0 at root          
> scsibus2 at vscsi0: 256 targets
> softraid0 at root              
> scsibus3 at softraid0: 256 targets
> sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
> sd2: 476937MB, 512 bytes/sector, 976767473 sectors                          
> root on sd2a (f9919b7397f2f0b0.a) swap on sd2b dump on sd2b
> radeondrm0: 1024x768, 8bpp                                
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)                        
> Automatic boot in progress: starting file system checks.
> panic: Data modified on freelist: word 4 of object 0xffff80000059dfc0 size 0x38 previous type free (0x0 != 0xdeafbead)
>                          
> Stopped at      db_enter+0x5:   popq    %rbp
>     TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *386588  76936      0         0x3          0    1K fsck_ffs
> db_enter() at db_enter+0x5                                
> panic() at panic+0x129    
> malloc(ffffff01006d4550,0,0) at malloc+0x6b7
> checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
> d9                                                                            
> ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
> ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
> ufs_lookup() at ufs_lookup+0xbd8                                              
> VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
> 3                                                                              
> vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
> namei(ffff8000ffffd870) at namei+0x1eb          
> vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
> doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
>  doopenat+0x199                                                                
> syscall() at syscall+0x279
> --- syscall (number 5) ---
> end of kernel            
> end trace frame: 0x7f7ffffe5580, count: 2
> 0x3c80da3a15a:                          
> https://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.      
>
>
> ddb{1}> show uvm
> Current UVM status:
>   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
>   1005186 VM pages: 310 active, 34 inactive, 3 wired, 999136 free (124895 zero)
>                                                                                
>   min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
>   pages  0 anon, 0 vnode, 0 vtext                  
>   freemin=33506, free-target=44674, inactive-target=0, wired-max=335062
>   faults=750, traps=751, intrs=1262, ctxswitch=523 fpuswitch=0        
>   softint=262, syscalls=771, kmapent=18                      
>   fault counts:                        
>     noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
>     ok relocks(total)=211(211), anget(retries)=307(0), amapcopy=378
>     neighbor anon/obj pg=32/184, gets(lock/unlock)=269/211        
>     cases: anon=236, anoncow=71, obj=255, prcopy=14, przero=174
>   daemon and swap counts:                                      
>     woke=0, revs=0, scans=0, obscans=0, anscans=0
>     busy=0, freed=0, reactivate=0, deactivate=0  
>     pageouts=0, pending=0, nswget=0            
>     nswapdev=1, nanon=0, nanonneeded=0 nfreeanon=0
>     swpages=261055, swpginuse=0, swpgonly=0 paging=0
>   kernel pointers:                                  
>     objs(kern)=0xffffffff81b03b20
>
>
> ddb{1}> show bcstats            
> Current Buffer Cache status:
> numbufs 125 busymapped 0, delwri 0
> kvaslots 6553 avail kva slots 6553
> bufpages 497, dmapages 497, dirtypages 0
> pendingreads 0, pendingwrites 0        
> highflips 0, highflops 0, dmaflips 0
>
>
> ddb{1}> trace                      
> db_enter() at db_enter+0x5
> panic() at panic+0x129    
> malloc(ffffff01006d4550,0,0) at malloc+0x6b7
> checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
> d9                                                                            
> ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
> ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
> ufs_lookup() at ufs_lookup+0xbd8                                              
> VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
> 3                                                                              
> vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
> namei(ffff8000ffffd870) at namei+0x1eb          
> vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
> doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
>  doopenat+0x199                                                                
> syscall() at syscall+0x279
> --- syscall (number 5) ---
> end of kernel            
> end trace frame: 0x7f7ffffe5580, count: -13
> 0x3c80da3a15a:
>

Reply | Threaded
Open this post in threaded view
|

Re: Kernel panic (snapshot amd64 from 2018-01-08)

Christian Ruesch-3
In reply to this post by Christian Ruesch-3
Additional infos:

ddb{0}> ps    
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 76936  386588   3802      0  7         0x3                fsck_ffs
  3802  201202  78117      0  3    0x100083  wait          fsck    
 78117  252010      1      0  3    0x10008b  pause         sh  
 47777  482885      0      0  3     0x14200  bored         ttm_swap
 98495  369305      0      0  3     0x14200  pgzero        zerothread
 62934    1808      0      0  3     0x14200  aiodoned      aiodoned  
  3807  373570      0      0  3     0x14200  syncer        update  
 93460  115341      0      0  3     0x14200  cleaner       cleaner
 26171  227152      0      0  3     0x14200  reaper        reaper
 52889   95287      0      0  3     0x14200  pgdaemon      pagedaemon
 90944  336887      0      0  3     0x14200  bored         srdis    
 71734  444659      0      0  3     0x14200  bored         crynlk
 32746   15013      0      0  3     0x14200  bored         crypto
 24039   46704      0      0  3     0x14200  bored         sensors
 98947  397864      0      0  3     0x14200  usbtsk        usbtask
 85681  135922      0      0  3     0x14200  usbatsk       usbatsk
 24769  208764      0      0  3  0x40014200  acpi0         acpi0  
 28200  350965      0      0  7  0x40014200                idle3
 42505  334117      0      0  7  0x40014200                idle2
 41570  351940      0      0  3  0x40014200                idle1
 25836  325785      0      0  3     0x14200  bored         softnet
  2577  428699      0      0  3     0x14200  bored         systqmp
 61865  455175      0      0  3     0x14200  bored         systq  
 46627  419785      0      0  3  0x40014200  bored         softclock
*51724   37622      0      0  7  0x40014200                idle0    
     1  201192      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper


ddb{0}> mach ddbcpu 1
Stopped at      db_enter+0x5:   popq    %rbp
db_enter() at db_enter+0x5                  
panic() at panic+0x129    
malloc(ffffff01006d4550,0,0) at malloc+0x6b7
checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
d9                                                                            
ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
ufs_lookup() at ufs_lookup+0xbd8                                              
VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
3                                                                              
vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
namei(ffff8000ffffd870) at namei+0x1eb          
vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
 doopenat+0x199                                                                
syscall() at syscall+0x279
--- syscall (number 5) ---
end of kernel            
end trace frame: 0x7f7ffffe5580, count: 2
0x3c80da3a15a:


ddb{1}> trace  
db_enter() at db_enter+0x5
panic() at panic+0x129    
malloc(ffffff01006d4550,0,0) at malloc+0x6b7
checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
d9                                                                            
ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
ufs_lookup() at ufs_lookup+0xbd8                                              
VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
3                                                                              
vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
namei(ffff8000ffffd870) at namei+0x1eb          
vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
 doopenat+0x199                                                                
syscall() at syscall+0x279
--- syscall (number 5) ---
end of kernel            
end trace frame: 0x7f7ffffe5580, count: -13
0x3c80da3a15a:

Reply | Threaded
Open this post in threaded view
|

Re: Kernel panic (snapshot amd64 from 2018-01-08)

Christian Ruesch-3
In reply to this post by Martin Pieuchot
Hello Martin,

if I remember correctly, I used the snapshot from 2017-12-27 before.  This installation was also the first installation of the server.

Best regards,
Christian
 

On 09/01/18(Tue) 11:40, Christian Ruesch wrote:
> After today's upgrade to OpenBSD -current for amd64, the server can no longer boot and ends up in a kernel panic.
>
> If you need any further information, please let me know and I will try to get it.

Which snapshot were you using beforehand?

> Many thanks and best regards
> Christian
>
>
> >> OpenBSD/amd64 BOOT 3.33
> boot>
> booting sr0a:/bsd: 8545444+2438160+244656+0+671744 [641872+82+704256+486071]=0xd1a820
> entry point at 0x1000158
> [ using 1832992 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
> Copyright (c) 1995-2018 OpenBSD. All rights reserved. https://www.OpenBSD.org
>
> OpenBSD 6.2-current (GENERIC.MP) #336: Mon Jan 8 23:26:04 MST 2018
> [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4244307968 (4047MB)
> avail mem = 4108754944 (3918MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (48 entries)
> bios0: vendor American Megatrends Inc. version "080014" date 03/25/2010
> bios0: MICRO-STAR INTERNATIONAL CO., LTD MS-96B3
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
> acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) SBAZ(S4) PS2K(S3) P0PC(S4) AC97(S4) MC97(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Quad-Core AMD Opteron(tm) Processor 1381, 2500.44 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu0: AMD erratum 721 detected and fixed
> acpitimer0: recalibrated TSC frequency 2500081404 Hz
> 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, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu1: AMD erratum 721 detected and fixed
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 MHz
> cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu2: AMD erratum 721 detected and fixed
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Quad-Core AMD Opteron(tm) Processor 1381, 2500.11 MHz
> cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
> cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
> cpu3: AMD erratum 721 detected and fixed
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> acpihpet0 at acpi0: 14318180 Hz
> acpihpet0: recalibrated TSC frequency 2500110128 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (P0P1)
> acpiprt2 at acpi0: bus -1 (PCE3)
> acpiprt3 at acpi0: bus 2 (PCE4)
> acpiprt4 at acpi0: bus 3 (PCE5)
> acpiprt5 at acpi0: bus 4 (P0PC)
> acpicpu0 at acpi0: C1(@1 halt!), PSS
> acpicpu1 at acpi0: C1(@1 halt!), PSS
> acpicpu2 at acpi0: C1(@1 halt!), PSS
> acpicpu3 at acpi0: C1(@1 halt!), PSS
> acpibtn0 at acpi0: PWRB
> cpu0: 2500 MHz: speeds: 2500 1800 1300 800 MHz
> pci0 at mainbus0 bus 0
> 0:20:0: mem address conflict 0x8000a010/0x10
> pchb0 at pci0 dev 0 function 0 "ATI RS690 Host" rev 0x00
> ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00
> pci1 at ppb0 bus 1
> radeondrm0 at pci1 dev 5 function 0 "ATI Radeon X1250 IGP" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> ppb1 at pci0 dev 4 function 0 "ATI RS690 PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 40:61:86:ee:be:57
> ppb2 at pci0 dev 5 function 0 "ATI RS690 PCIE" rev 0x00: msi
> pci3 at ppb2 bus 3
> em1 at pci3 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 40:61:86:ee:be:58
> ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 4 int 22, AHCI 1.1
> ahci0: port 0: 3.0Gb/s
> ahci0: port 1: 3.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HDP72505, GM4O> SCSI3 0/direct fixed naa.5000cca357e9e8c6
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> sd1 at scsibus1 targ 1 lun 0: <ATA, Hitachi HDP72505, GM4O> SCSI3 0/direct fixed naa.5000cca357e92b41
> sd1: 476940MB, 512 bytes/sector, 976773168 sectors
> ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 4 int 16, version 1.0, legacy support
> ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 4 int 17, version 1.0, legacy support
> ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
> ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 4 int 17, version 1.0, legacy support
> ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support
> ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 4 int 19
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x14: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-6400CL6
> pciide0 at pci0 dev 20 function 1 "ATI SB600 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
> pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00
> ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
> pci4 at ppb3 bus 4
> pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
> pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00
> pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
> km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
> pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb3 at ohci2: USB revision 1.0
> uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb4 at ohci3: USB revision 1.0
> uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb5 at ohci4: USB revision 1.0
> uhub5 at usb5 configuration 1 interface 0 "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
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: 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
> wbsio0 at isa0 port 0x4e/2: W83627DHG rev 0x23
> lm1 at wbsio0 port 0xa10/8: W83627DHG
> vmm0 at mainbus0: SVM/RVI
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
> sd2: 476937MB, 512 bytes/sector, 976767473 sectors
> root on sd2a (f9919b7397f2f0b0.a) swap on sd2b dump on sd2b
> radeondrm0: 1024x768, 8bpp
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> Automatic boot in progress: starting file system checks.
> panic: Data modified on freelist: word 4 of object 0xffff80000059dfc0 size 0x38 previous type free (0x0 != 0xdeafbead)
>
> Stopped at db_enter+0x5: popq %rbp
> TID PID UID PRFLAGS PFLAGS CPU COMMAND
> *386588 76936 0 0x3 0 1K fsck_ffs
> db_enter() at db_enter+0x5
> panic() at panic+0x129
> malloc(ffffff01006d4550,0,0) at malloc+0x6b7
> checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
> d9
> ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
> ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
> ufs_lookup() at ufs_lookup+0xbd8
> VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
> 3
> vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
> namei(ffff8000ffffd870) at namei+0x1eb
> vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
> doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
> doopenat+0x199
> syscall() at syscall+0x279
> --- syscall (number 5) ---
> end of kernel
> end trace frame: 0x7f7ffffe5580, count: 2
> 0x3c80da3a15a:
> https://www.openbsd.org/ddb.html[https://www.openbsd.org/ddb.html] describes the minimum info required in bug
> reports. Insufficient info makes it difficult to find and fix bugs.
>
>
> ddb{1}> show uvm
> Current UVM status:
> pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
> 1005186 VM pages: 310 active, 34 inactive, 3 wired, 999136 free (124895 zero)
>
> min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
> pages 0 anon, 0 vnode, 0 vtext
> freemin=33506, free-target=44674, inactive-target=0, wired-max=335062
> faults=750, traps=751, intrs=1262, ctxswitch=523 fpuswitch=0
> softint=262, syscalls=771, kmapent=18
> fault counts:
> noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
> ok relocks(total)=211(211), anget(retries)=307(0), amapcopy=378
> neighbor anon/obj pg=32/184, gets(lock/unlock)=269/211
> cases: anon=236, anoncow=71, obj=255, prcopy=14, przero=174
> daemon and swap counts:
> woke=0, revs=0, scans=0, obscans=0, anscans=0
> busy=0, freed=0, reactivate=0, deactivate=0
> pageouts=0, pending=0, nswget=0
> nswapdev=1, nanon=0, nanonneeded=0 nfreeanon=0
> swpages=261055, swpginuse=0, swpgonly=0 paging=0
> kernel pointers:
> objs(kern)=0xffffffff81b03b20
>
>
> ddb{1}> show bcstats
> Current Buffer Cache status:
> numbufs 125 busymapped 0, delwri 0
> kvaslots 6553 avail kva slots 6553
> bufpages 497, dmapages 497, dirtypages 0
> pendingreads 0, pendingwrites 0
> highflips 0, highflops 0, dmaflips 0
>
>
> ddb{1}> trace
> db_enter() at db_enter+0x5
> panic() at panic+0x129
> malloc(ffffff01006d4550,0,0) at malloc+0x6b7
> checkalias(ffffff01006d4550,ffff800022555890,ffffff01006d3698) at checkalias+0x
> d9
> ffs_vinit(ffffff01006d3698,ffffff011f426d00) at ffs_vinit+0xa4
> ffs_vget(ffff8000ffffd870,ffffff011f427488,ffff800022555c70) at ffs_vget+0x2db
> ufs_lookup() at ufs_lookup+0xbd8
> VOP_LOOKUP(160f2b4fd51d049,ffff800022555c68,ffff800022555c40) at VOP_LOOKUP+0x3
> 3
> vfs_lookup(ffff8000ffffd870) at vfs_lookup+0x26e
> namei(ffff8000ffffd870) at namei+0x1eb
> vn_open(2,ffff8000ffffd870,2) at vn_open+0x80
> doopenat(50,ffff8000ffffd870,0,ffff800022555e70,3ca1c985000,160f2b4fd51d049) at
> doopenat+0x199
> syscall() at syscall+0x279
> --- syscall (number 5) ---
> end of kernel
> end trace frame: 0x7f7ffffe5580, count: -13
> 0x3c80da3a15a:
>

Reply | Threaded
Open this post in threaded view
|

Re: Kernel panic (snapshot amd64 from 2018-01-08)

Christian Ruesch-3
In reply to this post by Martin Pieuchot
The server boots again with the latest snapshot of 2018-01-09.

Thank you and best regards
Christian