Re: [PATCH 4.14 000/209] 4.14.158-stable review

shuah
2019-12-10T00:52:48Z

On 12/6/19 9:56 AM, Guenter Roeck wrote:
> On 12/6/19 8:23 AM, shuah wrote:
>> On 12/6/19 9:10 AM, Guenter Roeck wrote:
>>> On 12/6/19 7:35 AM, shuah wrote:
>>>> On 12/6/19 8:28 AM, Greg Kroah-Hartman wrote:
>>>>> On Fri, Dec 06, 2019 at 08:24:36AM -0700, shuah wrote:
>>>>>> On 12/4/19 10:53 AM, Greg Kroah-Hartman wrote:
>>>>>>> This is the start of the stable review cycle for the 4.14.158
>>>>>>> release.
>>>>>>> There are 209 patches in this series, all will be posted as a
>>>>>>> response
>>>>>>> to this one.  If anyone has any issues with these being applied,
>>>>>>> please
>>>>>>> let me know.
>>>>>>>
>>>>>>> Responses should be made by Fri, 06 Dec 2019 17:50:10 +0000.
>>>>>>> Anything received after that time might be too late.
>>>>>>>
>>>>>>> The whole patch series can be found in one patch at:
>>>>>>>     https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.158-rc1.gz
>>>>>>>
>>>>>>> or in the git tree and branch at:
>>>>>>>     git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
>>>>>>> linux-4.14.y
>>>>>>> and the diffstat can be found below.
>>>>>>>
>>>>>>> thanks,
>>>>>>>
>>>>>>> greg k-h
>>>>>>>
>>>>>>
>>>>>> Starting with Linux 4.14.157, 4.9.204, and 4.4.204 stables stopped
>>>>>> booting on my system. It can't find the root disk. No config changes
>>>>>> in between.
>>>>>>
>>>>>> I have been bisecting 4.14 and 4.9 with no luck so far. I updated
>>>>>> to Ubuntu 19.10 in between.
>>>>>>
>>>>>> The only other thing I see is CONFIG_GCC_VERSION which is supported
>>>>>> starting 4.18. I don't this boot failing issue on 4.19 + up. I am
>>>>>> also chasing any links between this config and scripts and tools
>>>>>> that generate the initramfs.
>>>>>
>>>>> Did you also upgrade your version of gcc?  I know I build those older
>>>>> kernels with the latest version of gcc for build tests, but I do not
>>>>> boot them.  I think everyone who still uses them uses older
>>>>> versions of
>>>>> gcc.
>>>>
>>>> Yes. gcc version changed. That has been my strong suspect since I
>>>> started poking around the CONFIG_GCC_VERSION.
>>>>
>>>
>>> What version of gcc are you using ? I currently use gcc 8.3.0 for all
>>> qemu boot tests (except for 3.16 which doesn't support it, or at least
>>> it didn't when I last checked), and have not observed any problems.
>>>
>>
>> With the upgrade gcc version went from 8.3.0 to 9.2.1
>>
>> Interestingly enough all the older 4.14, 4.9, and 4.4 kernel I have
>> on the system boot just fine. It fails when build newer rcs with new
>> gcc, boot fails.
>>
>> I would really like to understand it just in case something in our
>> kbuild scrips is the issue.
>>
>
> v4.4.206 boots for me into qemu when compiled with gcc 9.2.0 (9.2.1 does
> not
> appear to be an official release). So at least it isn't that simple. Let me
> know if I can test anything else.
>

Update on this. I managed to boot 4.14.158 by installing stripping
modules INSTALL_MOD_STRIP=1. I also disabled KASAN.

The above doesn't work on Linux 4.9.206 or Linux 4.4.206. Investigating
still.

thanks,
-- Shuah