Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750931AbdL2WaR (ORCPT ); Fri, 29 Dec 2017 17:30:17 -0500 Received: from mout.gmx.net ([212.227.15.19]:64670 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbdL2WaP (ORCPT ); Fri, 29 Dec 2017 17:30:15 -0500 Subject: Re: 4.14.9 doesn't boot (regression) To: Linus Torvalds , Alexander Tsoy Cc: Andy Lutomirski , stable , Linux Kernel , the arch/x86 maintainers References: <33249a35-7d6a-f0f3-5a98-e6474f9366e3@gmx.de> From: =?UTF-8?Q?Toralf_F=c3=b6rster?= Message-ID: Date: Fri, 29 Dec 2017 23:30:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:0wTt8Ud2BsEbXxP/Egy7aEr2mOoFD1MTmaOWnJZH0NE3UeaUUs7 7vTFYhAlntsy+WtoBufADnp/bWHM8JRMuBDfw0cyiJfQBxS4M6cCZyhObf4ix+xg23NSCHF RUANSvj5oYuD8Wc33+Fjmm+ZeviFkCLfsyz4gdb51O6Ay6xZf1zJsMi35DW/OnOlZqnVdWP UZwU/9zp3ZyUiUSAXolmw== X-UI-Out-Filterresults: notjunk:1;V01:K0:VhOq7DCf9o8=:h19lFkM/eUswqOi9Y/WfEl KZq4LOJiQSFrZ9q0xvbhF+U/Dweu4kf0CEdML7Epf3qHABbAPDvYYCYMKpMfuUWMaFZDkh4rr NhsDejtyPMszxt1cI3f7DoBHyk/1w4urLYrbNEF3qDAsKqiEL7Iu/N9CUYbh5yAgnCLS+LYh9 ZY3A5TUhFxRhiJoxAQIFHwLJIQEEr4arDqOB/dSA/OjrWosnGSb16gxix7jAYgFqmOJHt5Eso 6U4N/4PTScTZcAZ/OR0bOwJS1tUctOcBESpupf3FHJs+zR3p+61CVEzISiqO2hfImN5BsJ5Ky QYSVmaqZquLVCIKpIW/l5wW0nxwcVTQqOw/d05XFq3rttufPq7YQKm5G1wlPRgZHKFDbbTSQa 8zWg1rhBM2zf+hq622x+DFY2CUoFVcvdelNA6zspwgtnPBaHU6OE5EqEqd4eM3chNkibZLTuW CCulSK8gc1mErP5G74qyQi3Kv3mWA3rVvGergHs1FRLEea3AoYu8wzLOnTYETrNse3nOw/2R+ Tmsy25KXoaCCCU1UENzFOl/kKycbUFCegVNbUoHeqWUn9SGAnMMefFVr46+RHYiFs9GKFItQe HDYmE7p3frebDLSMJHMG+qMpRFJ4V8tx1GatvTBe3ZVDYymaUOUVieFUyr6YVcbo4D8qhyZis Dl5fqTkk9NSM0b4ZjChItF9Aa3k7d6YOcYZ04eIVTqdpaMfa9GK75A7+h4YlCXczRq1aop9p7 NizACU2l7Kl2zH/nW1LvK+BNo+gBOBYum1lOZxIhr1aJTFoiDs740CNckInP6GQSLztJ9/+r5 shrjZb5eOoneBUa6YEydcmvRCkG95R74IaGURk6zUX2XW6DsxQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2625 Lines: 69 On 12/29/2017 10:17 PM, Linus Torvalds wrote: > On Fri, Dec 29, 2017 at 1:02 PM, Toralf Förster wrote: >> On 12/29/2017 09:12 PM, Linus Torvalds wrote: >>> instead, and see if that makes a difference, that would narrow down >>> the possible root cause of this problem. >> >> not at this ThinkPad T440s (didn't test at the server with an i7-3930). >> >> Boot stops just at: >> >> tsc: Refined TSC clocksource calibration: 2494.225 MHz >> clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x23f3ea95b09, max_idle_ns: 440795287034 ns > > Uhhuh. So for Alexander Troy, just getting rid of the -march=core2 > fixed the boot. > > But not for you. > > Strange. It really looked like the exact same thing. > >> This is a "Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz" with gcc-6.4 > > Yeah, other reporters of this have used gcc-6.4.0 too. > > But there's been some muddying of the waters there too - changing > compilers have fixed it for some cases, but there's at least one > report that a kernel build with gcc-7.2.0 still had the issue (and > another that said it didn't). > > But the MCORE2 was consistent for several people - including you. > Until this point. > > Strange. > > The only other thing (apart from the compiler flag) that MCORE2 > results in is to enable > > CONFIG_X86_INTEL_USERCOPY > CONFIG_X86_USE_PPRO_CHECKSUM > CONFIG_X86_P6_NOP > > and the two first of those shouldn't even matter on x86-64, and I > don't see that last one making any difference either. > > So because it looks so impossible that the "-march=core2" didn't make > a difference for you, I'll ask you to please double-check that you > actually booted into the right kernel. > > Sorry for doubting you, but your report just broke the _one_ > consistent thing we've seen about this bug. > > Linus > I double-checked it. The bad news - the issue is not solved with the changed cflags. The good news - I could compile eventually a working config for my desktop (works fine with 4.14.10 with generic CPU) having a higher screen resolution during boot. So I made a "make distclean", followed by a "sudo zcat /proc/config.gz > .config", changed the .config to use MCORE2 instead of GENERIC and defined the string "-local" to ensure that the modules directory is really unique. Then I run "time make -j4 && sudo make modules_install && sudo cp arch/x86_64/boot/bzImage /boot/vmlinuz-0 && sudo grub-mkconfig -o /boot/grub/grub.cfg", booted and made 3 fotos which were uploaded to [1], look for IMG_* [1] https://zwiebeltoralf.de/pub/ -- Toralf PGP C4EACDDE 0076E94E