From owner-freebsd-stable@freebsd.org Tue Aug 8 18:40:53 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51248DC8E89 for ; Tue, 8 Aug 2017 18:40:53 +0000 (UTC) (envelope-from cheeky.m@gmx.com) 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 367DC6E6E6 for ; Tue, 8 Aug 2017 18:40:53 +0000 (UTC) (envelope-from cheeky.m@gmx.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2F12FDC8E88; Tue, 8 Aug 2017 18:40:53 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E958DC8E87 for ; Tue, 8 Aug 2017 18:40:53 +0000 (UTC) (envelope-from cheeky.m@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FAE26E6E3 for ; Tue, 8 Aug 2017 18:40:52 +0000 (UTC) (envelope-from cheeky.m@gmx.com) Received: from [73.143.155.105] by 3capp-mailcom-bs14.server.lan (via HTTP); Tue, 8 Aug 2017 20:40:45 +0200 MIME-Version: 1.0 Message-ID: From: cheeky.m@gmx.com To: stable@freebsd.org Subject: 11.1-RELEASE panics SUN X4200, EARLY_AP_STARTUP Content-Type: text/plain; charset=UTF-8 Date: Tue, 8 Aug 2017 20:40:45 +0200 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:aCeunro/wctdvoMTcclabg7WdjdI32dlHVVfsaBITUE dx4I4wt/APpxXkDQX8ORDJr7XoB8VSCmAYrBPndDyjxbCkLbOt eXfNS0HgdBpWczVd6YNQCLPcjlvhxcHQkV6zKe63shaQss7Ugb 0Ywbg/rRBTZun95pQBlej38e3gnkeYy5DRaTqOWV1jWpF55rWD 3GtkFAaw1uosJPqZ5/Fb5/WXco994YJ1F/R1xBz4GzjkAkqMUR wMIfwjs7OexdJVyUFMT1cF/q/kFvfZHaWzI4868n+xDFK3MDM3 vzXFpAzYCoNF1Bnch8oZij8Dn9t X-UI-Out-Filterresults: notjunk:1;V01:K0:3OeYfVHfewg=:bJjZSbb7xSwRX/G9rYLPXB BQQOQ+0flnNNaZm7T6oaani2rIGgXrDQTi6xNHbSGt0CVvh+vqf2gsKAEBL6Q82PAvCUB1TCZ 6iasU0WiCdNxmSeU0s/FC2C9D53Qp1537awlK63Wpb4cZ9mPfn61TdxbVTdvNyikVY9igfiVc kHrmpc8c/IN4ARfs9gnrOJkn51NOSN0n/CZXRcWzKJwxIypgFDbmC8fwfL9juJqYKUT9+evxG 8NI1g1rqOiNplNiLt99a977XFUGMyMrIMhy4SlOfTr9FbQx8c+mRCVkXB72kFx1gyjYHLUBkR 6mdTxI2WnfVmxHbhInB5IykuY/k6V7Boh+4ynsFl6lpWTAcu4BW8j50lMnORhxXdISBjdeQQM z5QiQX4FE+CjKioQLUt4Vqw2fnL9PPVwYpNfVSCiWF2/YFE8apvlVxj7I+9iWLlYfu7Q20cfI 23AIE7rjm7w+Cl/1XqMWeelagU7S5AVLHSDNBiIb3MwLJJeXE198 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 18:40:53 -0000 The EARLY_AP_STARTUP kernel option causes kernel panics on SUN X4200 AMD machines=2E COmmenting it out of GENERIC and new kernel allows boot=2E safe mode boot works because it disables smp=2E an svn bisect was performed for 11-stable and the addition of EARLY_AP_STA= RTUP caused the problem, version r318763 broken=2E =20 --------------------------------------------------------------------------= - /boot/kernel=2Eold/kernel text=3D0x14972f8 data=3D0x1384c0+0x4c15e8 syms= =3D[0x8+0x15e8b0+0x8+0x178422] /boot/entropy size=3D0x1000 Booting=2E=2E=2E Copyright (c) 1992-2017 The FreeBSD Project=2E Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California=2E All rights reserved= =2E FreeBSD is a registered trademark of The FreeBSD Foundation=2E FreeBSD 11=2E1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2=2Enyi=2Efreebsd=2Eorg:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 4=2E0=2E0 (tags/RELEASE_400/final 297347) (based on = LLVM 4=2E0=2E0) VT(vga): resolution 640x480 CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2593=2E16-MHz K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x40f12 Family=3D0xf Model=3D0x41 Stepp= ing=3D2 Features=3D0x178bfbff Features2=3D0x2001 AMD Features=3D0xea500800 AMD Features2=3D0x1f SVM: NAsids=3D64 real memory =3D 4563402752 (4352 MB) avail memory =3D 4104478720 (3914 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 2 core(s) random: unblocking device=2E ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 64/32 (= 20170303/tbfadt-748) ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 128/64 = (20170303/tbfadt-748) ioapic1: Changing APIC ID to 16 ioapic2: Changing APIC ID to 17 ioapic3 irqs 24-47 on motherboard ioapic0 irqs 0-23 on motherboard ioapic1 irqs 48-54 on motherboard ioapic2 irqs 56-62 on motherboard SMP: AP CPU SMP: AP CPU k F aF aFat F aF kkernel trap 12 with interrupts disab=C3=83=C2=BE=C3=83=C2=BF=C3=83=C2=BF= =C3=83=C2=BF=C3=83=C2=BF=C3=AF=C2=BF=C2=BD=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2= =BF=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BFkernel trap = 12 with interrupts disabled Fatal trap 60276736: UN=C3=83=C2=BF=C3=83=C2=BFkernel trap 12 with interru= pts disabled iatal trap -2130508367: UNKNOWN whilpanierc: staeck ovlerflowt detrected; = backt1race mawy bei corrup ted cpuid t=3D 1 KrDB: stack bupackttrace: #0 0xffffffffs80aada97 at lkdb_backtrace+0x67 xffffffff80a6bb76 aFat vpanic+0x1l86 #r2 0xfpffffff1f80a6b9e3 at panipc+0x43g #3e 0xffffaffff80a9b072u at __tstackw_chkh_lfail+0x12 i#4 0xffffff kff80eab3f2b eat vprintf+0 x10b 000 atcp dmapbase+0x397c000 Upt =3Dime: 12s Au;toma tic rebpoot inc 15 secondsi - press a key on 0the con sole fto abor= t -u-> Press a key on the iconsroule to reboot , -a-> or drswitech off the =3Dsystem xnow=2E ke=C3=82=C2=A1=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BF= =C3=83=C2=BF=C3=83=C2=BF=C3=83=C2=BFkernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode c=C3=83=C2=B0 c --------------------------------------------------------------------------= ---------------------- The corruption above is how it was on the screen=2E the memory detected is also wrong, or it is how much a single cpu sees=2E there are 12 gigs in this machine=2E Here is a boot from 11-stable with EARLY_AP_STARTUP commented out Copyright (c) 1992-2017 The FreeBSD Project=2E Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California=2E All rights reserved= =2E FreeBSD is a registered trademark of The FreeBSD Foundation=2E FreeBSD 11=2E1-STABLE #11 r322170M: Tue Aug 8 13:13:21 EDT 2017 root@xxx:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 4=2E0=2E0 (tags/RELEASE_400/final 297347) (based on = LLVM 4=2E0=2E0) VT(vga): resolution 640x480 CPU: Dual-Core AMD Opteron(tm) Processor 2216 (2393=2E69-MHz K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x40f13 Family=3D0xf Model=3D0x41 Stepp= ing=3D3 Features=3D0x178bfbff Features2=3D0x2001 AMD Features=3D0xea500800 AMD Features2=3D0x1f SVM: NAsids=3D64 real memory =3D 12884901888 (12288 MB) avail memory =3D 12435623936 (11859 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 2 core(s) random: unblocking device=2E ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 64/32 (= 20170303/tbfadt-748) ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 128/64 = (20170303/tbfadt-748) ioapic1: Changing APIC ID to 16 ioapic2: Changing APIC ID to 17 ioapic3 irqs 24-47 on motherboard ioapic0 irqs 0-23 on motherboard ioapic1 irqs 48-54 on motherboard ioapic2 irqs 56-62 on motherboard random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80f67f60, 0) error 19 nexus0 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed00fff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 950 hpet1: iomem 0xfed10000-0xfed10fff on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3=2E579545MHz> port 0x2008-0x200b on acpi0 pcib0: on acpi0 pci0: on pcib0 pci0: at device 0=2E0 (no driver attached) isab0: at device 1=2E0 on pci0 isa0: on isab0 ohci0: mem 0xfe3ff000-0xfe3fffff irq = 20 at device 2=2E0 on pci0 usbus0 on ohci0 ehci0: mem 0xfe3fec00-0xfe3fecf= f irq 21 at device 2=2E1 on pci0 usbus1: EHCI version 1=2E0 usbus1 on ehci0 atapci0: port 0x1f0-0x1f7,0x3f6,0= x170-0x177,0x376,0x9100-0x910f at device 6=2E0 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pcib1: at device 9=2E0 on pci0 pci1: on pcib1 vgapci0: port 0xc800-0xc8ff mem 0xfd000000-0xfdff= ffff,0xfe2ff000-0xfe2fffff irq 16 at device 3=2E0 on pci1 vgapci0: Boot video device nfe0: port 0xdc00-0xdc07 me= m 0xfe3fd000-0xfe3fdfff irq 22 at device 10=2E0 on pci0 miibus0: on nfe0 e1000phy0: PHY 1 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000base= SX, 1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-F= DX-master, auto, auto-flow nfe0: Using defaults for TSO: 65518/35/2048 nfe0: Ethernet address: pcib2: at device 11=2E0 on pci0 pci2: on pcib2 pcib3: at device 12=2E0 on pci0 pci3: on pcib3 pcib4: at device 13=2E0 on pci0 pci4: on pcib4 pcib5: at device 14=2E0 on pci0 pci5: on pcib5 pcib6: on acpi0 pci6: on pcib6 pci6: at device 0=2E0 (no driver attached) pci6: at device 1=2E0 (no driver attached) nfe1: port 0xfc00-0xfc07 me= m 0xfeafe000-0xfeafefff irq 44 at device 10=2E0 on pci6 miibus1: on nfe1 e1000phy1: PHY 1 on miibus1 e1000phy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000base= SX, 1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-F= DX-master, auto, auto-flow nfe1: Using defaults for TSO: 65518/35/2048 nfe1: Ethernet address: pcib7: at device 11=2E0 on pci6 pci7: on pcib7 pcib8: at device 12=2E0 on pci6 pci8: on pcib8 pcib9: at device 13=2E0 on pci6 pci9: on pcib9 pcib10: at device 14=2E0 on pci6 pci10: on pcib10 pcib11: at device 16=2E0 on pci6 pci11: on pcib11 pcib12: at device 17=2E0 on pci6 pci12: on pcib12 em0: port 0xec00-0= xec3f mem 0xfe9e0000-0xfe9fffff irq 56 at device 1=2E0 on pci12 em0: Ethernet address: em0: netmap queues/slots: TX 1/4096, RX 1/4096 em1: port 0xe800-0= xe83f mem 0xfe9c0000-0xfe9dffff irq 57 at device 1=2E1 on pci12 em1: Ethernet address: em1: netmap queues/slots: TX 1/4096, RX 1/4096 mpt0: port 0xe400-0xe4ff mem 0xfe9bc000-0xfe9b= ffff,0xfe9a0000-0xfe9affff irq 58 at device 2=2E0 on pci12 mpt0: MPI Version=3D1=2E5=2E16=2E0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 1 Active Volume (2 Max) mpt0: 2 Hidden Drive Members (14 Max) acpi_button0: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) orm0: at iomem 0xc0000-0xc9fff,0xca000-0xcb7ff,0xcb800-0= xcc7ff,0xcc800-0xcd7ff,0xd3800-0xd47ff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range powernow0: on cpu0 powernow1: on cpu1 powernow2: on cpu2 powernow3: on cpu3 Timecounters tick every 1=2E000 msec nvme cam probe device init usbus0: 12Mbps Full Speed USB v1=2E0 usbus1: 480Mbps High Speed USB v2=2E0 ugen0=2E1: at usbus0 uhub0: on usb= us0 ugen1=2E1: at usbus1 uhub1: on usb= us1 mpt0: mpt_read_cfg_page: Config Info Status 22 mpt0:vol0(mpt0:0:0): mpt_refresh_raid_vol: Failed to read RAID Vol Page(0) mpt0:vol0(mpt0:0:0): Settings ( ) mpt0:vol0(mpt0:0:0): 0 Members: mpt0:vol0(mpt0:0:0): uhub0: 7 ports with 7 removable, self powered RAID-0 - Optimal