[Bug 228768] EARLY_AP_STARTUP causes panic on amd machines

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 29 02:51:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228768

Roger Hammerstein <cheeky.m at live.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Any                         |amd64
            Version|11.1-STABLE                 |CURRENT

--- Comment #1 from Roger Hammerstein <cheeky.m at live.com> ---

This issue with SMP and EARLY_AP_STARTUP continues with 12.0-BETA2 r339840.

Here is the latest console output as it double-faults and reboots

How can I help ?  What other information could I give? 


Table 'FACP' at 0xdfff0290
Table 'APIC' at 0xdfff0390
Table 'SPCR' at 0xdfff0420
Table 'SLIT' at 0xdfff0470
SLIT: Found table at 0xdfff0470
SLIT.Localities: 2
0: 10 10
1: 10 10
PPIM 0: PA=0xa0000, VA=0xffffffff82810000, size=0x10000, mode=0
PPIM 1: PA=0x11ffe7000, VA=0xffffffff82820000, size=0x1000, mode=0x6
pmap: large map 8 PML4 slots (4096 Gb)
VT(vga): resolution 640x480
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff82638000.
Preloaded boot_entropy_cache "/boot/entropy" at 0xffffffff826411f8.
Table 'FACP' at 0xdfff0290
FACP: Found table at 0xdfff0290
Calibrating TSC clock ... TSC clock: 2593156801 Hz
CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2593.16-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x40f12  Family=0xf  Model=0x41  Stepping=2
 
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  SVM: Features=0x0
Revision=1, ASIDs=64
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory  = 4563402752 (4352 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x000000000009bfff, 573440 bytes (140 pages)
0x0000000000103000 - 0x00000000001fffff, 1036288 bytes (253 pages)
0x0000000002800000 - 0x00000000d8a67fff, 3592847360 bytes (877160 pages)
0x0000000100000000 - 0x000000011ffe5fff, 536764416 bytes (131046 pages)
avail memory = 4112728064 (3922 MB)
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 2 ACPI ID 3: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 3 ACPI ID 4: enabled
SMP: Added CPU 3 (AP)
Event timer "LAPIC" quality 100
LAPIC: ipi_wait() us multiplier 72 (r 3600094 tsc 2593156801)
ACPI APIC Table: <SUN    X4200 M2>
Package ID shift: 1
L2 cache ID shift: 0
L1 cache ID shift: 0
Core ID shift: 0
INTR: Adding local APIC 1 as a target
INTR: Adding local APIC 2 as a target
INTR: Adding local APIC 3 as a target
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 2 package(s) x 2 core(s)
Package HW ID = 0
        Core HW ID = 0
                CPU0 (BSP): APIC ID: 0
        Core HW ID = 1
                CPU1 (AP): APIC ID: 1
Package HW ID = 1
        Core HW ID = 2
                CPU2 (AP): APIC ID: 2
        Core HW ID = 3
                CPU3 (AP): APIC ID: 3
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
APIC: CPU 2 has ACPI ID 3
APIC: CPU 3 has ACPI ID 4
Pentium Pro MTRR support enabled
x86bios:  IVT 0x000000-0x0004ff at 0xfffff80000000000
x86bios: SSEG 0x098000-0x098fff at 0xfffffe0000614000
x86bios: EBDA 0x09d000-0x09ffff at 0xfffff8000009d000
x86bios:  ROM 0x0a0000-0x0fefff at 0xfffff800000a0000
SRAT: CPU 0 has memory domain 0
SRAT: CPU 1 has memory domain 0
SRAT: CPU 2 has memory domain 1
SRAT: CPU 3 has memory domain 1
random: read 3840 bytes from preloaded cache
random: unblocking device.
arc4random: read 32 bytes from preloaded cache
VIMAGE (virtualized network stack) enabled
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
ACPI: RSDP 0x00000000000F9470 000024 (v02 SUN   )
ACPI: XSDT 0x00000000DFFF0100 00006C (v01 SUN    X4200 M2 00000039 MSFT
00000097)
ACPI: FACP 0x00000000DFFF0290 0000F4 (v03 SUN    X4200 M2 00000039 MSFT
00000097)
Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 64/32
(20181003/tbfadt-748)
Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe1Block: 128/64
(20181003/tbfadt-748)
ACPI: DSDT 0x00000000DFFF04A0 005F64 (v01 SUN    X4200 M1 00000039 INTL
20050624)
ACPI: FACS 0x00000000DFFFE000 000040
ACPI: APIC 0x00000000DFFF0390 000086 (v01 SUN    X4200 M2 00000039 MSFT
00000097)
ACPI: SPCR 0x00000000DFFF0420 000050 (v01 SUN    X4200 M2 00000039 MSFT
00000097)
ACPI: SLIT 0x00000000DFFF0470 000030 (v01 SUN    OEMSLIT  00000039 MSFT
00000097)
ACPI: OEMB 0x00000000DFFFE040 000063 (v01 SUN    X4200 M2 00000039 MSFT
00000097)
ACPI: HPET 0x00000000DFFF6410 000038 (v01 SUN    OEMHPET0 00000039 MSFT
00000097)
ACPI: IPET 0x00000000DFFF6450 000038 (v01 SUN    OEMHPET1 00000039 MSFT
00000097)
ACPI: SRAT 0x00000000DFFF6490 000110 (v01 AMD    HAMMER   00000001 AMD 
00000001)
ACPI: SSDT 0x00000000DFFF65A0 0004F0 (v01 A M I  POWERNOW 00000001 AMD 
00000001)
MADT: Found IO APIC ID 15, Interrupt 0 at 0xfec00000
ioapic0: ver 0x11 maxredir 0x17
ioapic0: Routing external 8259A's -> intpin 0
MADT: Found IO APIC ID 16, Interrupt 48 at 0xfeafd000
ioapic1: Changing APIC ID to 16
ioapic1: WARNING: intbase 48 != expected base 24
ioapic1: ver 0x11 maxredir 0x06
MADT: Found IO APIC ID 17, Interrupt 56 at 0xfeafc000
ioapic2: Changing APIC ID to 17
ioapic2: WARNING: intbase 56 != expected base 55
ioapic2: ver 0x11 maxredir 0x06
MADT: Found IO APIC ID 14, Interrupt 24 at 0xfeaff000
ioapic3: WARNING: intbase 24 != expected base 63
ioapic3: ver 0x11 maxredir 0x17
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic3 <Version 1.1> irqs 24-47 on motherboard
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 48-54 on motherboard
ioapic2 <Version 1.1> irqs 56-62 on motherboard
lapic: Divisor 2, Frequency 99737098 Hz
cpu0 BSP:
    ID: 0x00000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
   AMD ext features: 0x00010003
   AMD elvt0: 0x00010000
SMP: AP CPU k#3er nLaelu ntrackph eder1!2 n
t2 s hc pi untr3ap  AteP1r:rup
     dwi i tsah bin led
l 0t aDni:c:r 0rupx0m30_fault0t 0_h0odlisd:a faul Vtble oRn n:ofdau
e    x
8ry,
     005Faa0tddalr: 0x 0tra10 fLDffp f1f2fffR81:fc : 0x00p07000a
0ge 0fcpu0au00 DltidF = 2R
fff i mxef w=h ffifl1fe
i  nl
     K iDBnt: s0:tk ack baerc0kxn0t00rae10cl7 e0:0
0int1dpe:
 010pumide: 1 0s=
5x  0A0; utomat4ipicc  ir00edo oTtP  i=R:  n 0011
e  0fas0ecu0ol0ndst v -i000 r prtSVeRsus: a al k 0eyx ao00n0dd0 1frthfeess     
co= nsol0
  to x2  abtimort4
er
e : f0ax000100euf thelrm: t0x000 1000c0 err: 0xo00d0000f0 pmc: 0x000104Re0
                b oot iAngM.D .=ex.

[reboots]




--------
a second boot's panic, showing more interleaved-like text

cpu0 BSP:
     ID: 0x00000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
   AMD ext features: 0x00010003
   AMD elvt0: 0x00010000
SMP: AP CPU
erkkkernkkkkkkk
  neFla ttarla p 12 dwitho uibntlerreupt sf daiusablledt

r
i
 Fpata l 0txrafp f12:f pfagfe ffauflt fw8h0ib17ee in1 keernel8 mod e
rcspuid p= 1 ; 0axpfififc


 efradulri t0vi xfffvisrffotura r8e0al080d in05 4as0d00d
rrt8 resuct0sxi5o r     =9  0xn0f,x 4ff0p
ata, potfufe8l1tc fcc7478toiodne                vr=1 0siolup ervis0xao2r
t0iread od
a1    nr
c 1ige 0  rno1t 2prenss e0txrntuf
 instrfutcfitonfi foen0po 0p0io0i60n0nterter    080=    =   0r013xx
22000x:f0f:xfff0fxffff8f0ff0f8ff0f0ff8514fff008c00b77e6
4r178bc
4
 s s0x1ta ckr tapcko1inte 5rp     0x ff ffo f800  0i31d  en58=te0r  0rxf2la8gs:
0         x01x f0 ff  f0f4e6  00=0
 cs 002xa028xc9:c02
  f s=m0e  ffpfofiesn0s t00x028 2dse ra 07  0x2e8  e s  000x2 8
      f 0 xr2a80 gsx 2m80:0x2x8
feffff posbiase fe0n g0sba00ste2 0ea0xfc9cr      0
cfode  f ff s fefg mef n8t2              = 0=b0ase f20 0x00 0k,g
lsxib2am8s:i0te x 0ffx0fxfffffffffff, ffftf8y1ffpe ffc8020000xf2190b


                cod
in                 e=  DcPpLuis 0e,dgm  preens= t       13,      =l;o  ngabp
ica1s ,ie  d0x de0f,3=2 0 l 0,i g3mra
   t1 p0xa
pfnffriffco: dcoeubsles foa rul etfyplate
=3ug id0 =sx1b
        r       e
 LI 0,O          tisu   meme= = DP, 1
 b     KPDB: L  spres= 1,t  aclkong 0
f32acckt uraced:
e  U 0p,ti gmrer:an 1s
 Aut om1
Lpratto piroccc erebesoostso     i      nr 15  sef=ela congsd1  s= 1-  press 
(iare dlek:s eumcpeyu ,o InO )P
ons=he ap0c n
   courlmree ntbot  praeborrotc
es      -s->     =P res1s2 a    = 11
p ke( onan tihec:  pageifacuonsdoll
ec:to rp ebicopot,u 21)tim
 =
   -tr
y:    KDap noum sbwesttcrck b    o      f=c ktt a1e2e
  stem
       nnic:ime: 1s
agReb ooting.f..

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list