From owner-freebsd-stable@freebsd.org Wed Jul 3 08:42:34 2019 Return-Path: Delivered-To: freebsd-stable@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 BAD5215CC237 for ; Wed, 3 Jul 2019 08:42:34 +0000 (UTC) (envelope-from matthias.schuendehuette@siemens.com) Received: from lizzard.sbs.de (lizzard.sbs.de [194.138.37.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "lizzard.sbs.de", Issuer "Siemens Issuing CA Internet Server 2017" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5ED38FE61 for ; Wed, 3 Jul 2019 08:42:31 +0000 (UTC) (envelope-from matthias.schuendehuette@siemens.com) Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id x638gNYq011242 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Jul 2019 10:42:23 +0200 Received: from DEFTHW99ERMMSX.ww902.siemens.net (defthw99ermmsx.ww902.siemens.net [139.22.70.142]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTPS id x638gOgC019881 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Jul 2019 10:42:24 +0200 Received: from DENBGAT9ER8MSX.ww902.siemens.net (139.22.70.86) by DEFTHW99ERMMSX.ww902.siemens.net (139.22.70.142) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 3 Jul 2019 10:42:23 +0200 Received: from DENBGAT9EJ1MSX.ww902.siemens.net ([169.254.8.240]) by DENBGAT9ER8MSX.ww902.siemens.net ([139.22.70.86]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 10:42:22 +0200 From: "Schuendehuette, Matthias" To: Konstantin Belousov CC: "'freebsd-stable@freebsd.org'" , "Osipov, Michael" Subject: AW: GENERIC crash 11.3-PRERELEASE (i386) Thread-Topic: GENERIC crash 11.3-PRERELEASE (i386) Thread-Index: AdUst2TAcuMJGe/CTYqBxBJA9XykUAAUlpEAARpe0VA= Date: Wed, 3 Jul 2019 08:42:21 +0000 Message-ID: <1EFE239F82F279488E86A61C92D5E2DE0A088124@DENBGAT9EJ1MSX.ww902.siemens.net> References: <1EFE239F82F279488E86A61C92D5E2DE0A082864@DENBGAT9EJ1MSX.ww902.siemens.net> <20190627185956.GP8697@kib.kiev.ua> In-Reply-To: <20190627185956.GP8697@kib.kiev.ua> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [139.22.70.43] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Rspamd-Queue-Id: E5ED38FE61 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dmarc=pass (policy=none) header.from=siemens.com; spf=pass (mx1.freebsd.org: domain of matthias.schuendehuette@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=matthias.schuendehuette@siemens.com X-Spamd-Result: default: False [-5.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_FIVE(0.00)[5]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+exists:194.138.37.39.spf.siemens.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[paxos.siemens.com,hylas.siemens.com,meleagros.siemens.com,gordi.siemens.com,zetes.siemens.com,hephaistos.siemens.com,balduin.siemens.com]; DMARC_POLICY_ALLOW(-0.50)[siemens.com,none]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; IP_SCORE(-0.78)[asn: 15465(-3.90), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15465, ipnet:194.138.36.0/23, country:DE]; RCVD_IN_DNSWL_HI(-0.50)[39.37.138.194.list.dnswl.org : 127.0.13.3] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2019 08:42:35 -0000 Hello Konstantin, I did some research regarding the kernel crash with the following results> 1) Last working kernel is: "FreeBSD 11.3-BETA1 (BLNN719X) #8 r348361: Wed Jul 3 09:30:17 CEST 2019" 1a) DDB-Backtrace of the crashing kernel r348362 can be seen on "Boot_BT.jp= g" in the dropbox directory=20 "https://www.dropbox.com/sh/buzxekimo2h2r67/AADpUvLndhm2SHa5t9s9Ckksa?dl= =3D0" 2) Source code revision is: root@blnn719x - /usr/src 2056 # svn info Path: . Working Copy Root Path: /usr/src URL: https://svn.freebsd.org/base/stable/11 Relative URL: ^/stable/11 Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 348361 Node Kind: directory Schedule: normal Last Changed Author: jkim Last Changed Rev: 348343 Last Changed Date: 2019-05-29 02:00:52 +0200 (Wed, 29 May 2019) 3) Diff to next revision: root@blnn719x - /usr/src 2057 # svn diff -r 348362 Index: sys/amd64/amd64/initcpu.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/amd64/amd64/initcpu.c (revision 348362) +++ sys/amd64/amd64/initcpu.c (working copy) @@ -247,6 +247,7 @@ } hw_ibrs_recalculate(); hw_ssb_recalculate(false); + hw_mds_recalculate(); switch (cpu_vendor_id) { case CPU_VENDOR_AMD: init_amd(); Index: sys/i386/i386/initcpu.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/i386/i386/initcpu.c (revision 348362) +++ sys/i386/i386/initcpu.c (working copy) @@ -769,6 +769,7 @@ elf32_nxstack =3D 1; } #endif + hw_mds_recalculate(); if ((amd_feature & AMDID_RDTSCP) !=3D 0 || (cpu_stdext_feature2 & CPUID_STDEXT2_RDPID) !=3D 0) wrmsr(MSR_TSC_AUX, PCPU_GET(cpuid)); Index: sys/x86/x86/cpu_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/x86/x86/cpu_machdep.c (revision 348362) +++ sys/x86/x86/cpu_machdep.c (working copy) @@ -1118,14 +1118,6 @@ } } -static void -hw_mds_recalculate_boot(void *arg __unused) -{ - - hw_mds_recalculate(); -} -SYSINIT(mds_recalc, SI_SUB_SMP, SI_ORDER_ANY, hw_mds_recalculate_boot, NUL= L); - static int sysctl_mds_disable_handler(SYSCTL_HANDLER_ARGS) { Index: . =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- . (revision 348362) +++ . (working copy) Property changes on: . ___________________________________________________________________ Modified: svn:mergeinfo ## -0,1 +0,0 ## Reverse-merged /head:r348075 Somewhere here is the problem... with best regards Matthias Sch=FCndeh=FCtte Siemens AG Large Drives Applications Information Technology Information Technology Product Lifecycle Management LDA IT PLM Nonnendammallee 72 13629 Berlin, Deutschland Tel.: +49 30 386-29957 Mobil: +49 170 8162912 mailto:matthias.schuendehuette@siemens.com www.siemens.com/ingenuityforlife -----Urspr=FCngliche Nachricht----- Von: Konstantin Belousov =20 Gesendet: Donnerstag, 27. Juni 2019 21:00 An: Schuendehuette, Matthias (LDA IT PLM) Cc: 'freebsd-stable@freebsd.org' Betreff: Re: GENERIC crash 11.3-PRERELEASE (i386) On Thu, Jun 27, 2019 at 07:11:40AM +0000, Schuendehuette, Matthias wrote: > Hi, >=20 > the missing attachments can be found here now: >=20 > https://www.dropbox.com/sh/buzxekimo2h2r67/AADpUvLndhm2SHa5t9s9Ckksa?dl= =3D0 >=20 So your AP (Application Processor) seems to get fault, most likely in the trap handler. There were absolutely no changes in the stable/11 in the area of SMP startup for quite long time. To get anywhere, you should perhaps add ddb to your kernel configuration and get the backtrace. The backtrace would be long, I am only interested in the first several frames before faults go into recursion. But, since 1 month earlier kernel worked, and there were no changes, this might indicate either a failing hardware (your machine is quite old, it is Core2 Xeon, am I right ?) or problems with your build environment.