From owner-freebsd-bugs@freebsd.org Mon Oct 29 02:51:44 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 819B110ED625 for ; Mon, 29 Oct 2018 02:51:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1E19A7A58F for ; Mon, 29 Oct 2018 02:51:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D174210ED623; Mon, 29 Oct 2018 02:51:43 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 975FE10ED622 for ; Mon, 29 Oct 2018 02:51:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33EF97A582 for ; Mon, 29 Oct 2018 02:51:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6A8042B32 for ; Mon, 29 Oct 2018 02:51:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9T2pgiU093067 for ; Mon, 29 Oct 2018 02:51:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9T2pgN4093066 for bugs@FreeBSD.org; Mon, 29 Oct 2018 02:51:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228768] EARLY_AP_STARTUP causes panic on amd machines Date: Mon, 29 Oct 2018 02:51:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cheeky.m@live.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: rep_platform version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 02:51:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228768 Roger Hammerstein changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Any |amd64 Version|11.1-STABLE |CURRENT --- Comment #1 from Roger Hammerstein --- 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?=20 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=3D0xa0000, VA=3D0xffffffff82810000, size=3D0x10000, mode=3D0 PPIM 1: PA=3D0x11ffe7000, VA=3D0xffffffff82820000, size=3D0x1000, mode=3D0x6 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=3D"AuthenticAMD" Id=3D0x40f12 Family=3D0xf Model=3D0x41 Steppi= ng=3D2 =20 Features=3D0x178bfbff Features2=3D0x2001 AMD Features=3D0xea500800 AMD Features2=3D0x1f SVM: Features=3D0x0 Revision=3D1, ASIDs=3D64 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 associat= ive 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 associati= ve real memory =3D 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 =3D 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: 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 =3D 0 Core HW ID =3D 0 CPU0 (BSP): APIC ID: 0 Core HW ID =3D 1 CPU1 (AP): APIC ID: 1 Package HW ID =3D 1 Core HW ID =3D 2 CPU2 (AP): APIC ID: 2 Core HW ID =3D 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=20 00000001) ACPI: SSDT 0x00000000DFFF65A0 0004F0 (v01 A M I POWERNOW 00000001 AMD=20 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 !=3D 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 !=3D expected base 55 ioapic2: ver 0x11 maxredir 0x06 MADT: Found IO APIC ID 14, Interrupt 24 at 0xfeaff000 ioapic3: WARNING: intbase 24 !=3D expected base 63 ioapic3: ver 0x11 maxredir 0x17 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic3 irqs 24-47 on motherboard ioapic0 irqs 0-23 on motherboard ioapic1 irqs 48-54 on motherboard ioapic2 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 =3D 2R fff i mxef w=3Dh ffifl1fe i nl K iDBnt: s0:tk ack baerc0kxn0t00rae10cl7 e0:0 0int1dpe: 010pumide: 1 0s=3D 5x 0A0; utomat4ipicc ir00edo oTtP i=3DR: n 0011 e 0fas0ecu0ol0ndst v -i000 r prtSVeRsus: a al k 0eyx ao00n0dd0 1frthfeess= =20=20=20=20=20 co=3D nsol0 to x2 abtimort4 er e : f0ax000100euf thelrm: t0x000 1000c0 err: 0xo00d0000f0 pmc: 0x000104Re0 b oot iAngM.D .=3Dex. [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=3D 1 ; 0axpfififc efradulri t0vi xfffvisrffotura r8e0al080d in05 4as0d00d rrt8 resuct0sxi5o r =3D9 0xn0f,x 4ff0p ata, potfufe8l1tc fcc7478toiodne vr=3D1 0siolup ervis0xao2r t0iread od a1 nr c 1ige 0 rno1t 2prenss e0txrntuf instrfutcfitonfi foen0po 0p0io0i60n0nterter 080=3D =3D 0r013xx 22000x:f0f:xfff0fxffff8f0ff0f8ff0f0ff8514fff008c00b77e6 4r178bc 4 s s0x1ta ckr tapcko1inte 5rp 0x ff ffo f800 0i31d en58=3Dte0r 0rxf2= la8gs: 0 x01x f0 ff f0f4e6 00=3D0 cs 002xa028xc9:c02 f s=3Dm0e 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 =3D 0=3Db0ase f20 0x00 0k,g lsxib2am8s:i0te x 0ffx0fxfffffffffff, ffftf8y1ffpe ffc8020000xf2190b cod in e=3D DcPpLuis 0e,dgm preens=3D t 13, =3Dl;o= ngabp ica1s ,ie d0x de0f,3=3D2 0 l 0,i g3mra t1 p0xa pfnffriffco: dcoeubsles foa rul etfyplate =3D3ug id0 =3Dsx1b r e LI 0,O tisu meme=3D =3D DP, 1 b KPDB: L spres=3D 1,t aclkong 0 f32acckt uraced: e U 0p,ti gmrer:an 1s Aut om1 Lpratto piroccc erebesoostso i nr 15 sef=3Dela congsd1 s=3D 1- = press=20 (iare dlek:s eumcpeyu ,o InO )P ons=3Dhe ap0c n courlmree ntbot praeborrotc es -s-> =3DP res1s2 a =3D 11 p ke( onan tihec: pageifacuonsdoll ec:to rp ebicopot,u 21)tim =3D -tr y: KDap noum sbwesttcrck b o f=3Dc ktt a1e2e stem nnic:ime: 1s agReb ooting.f.. --=20 You are receiving this mail because: You are the assignee for the bug.=