* [cip-dev] Build fail for linux-4.4.y-rc
@ 2019-11-11 9:22 Chris Paterson
2019-11-11 9:42 ` Pavel Machek
0 siblings, 1 reply; 9+ messages in thread
From: Chris Paterson @ 2019-11-11 9:22 UTC (permalink / raw)
To: cip-dev
Hello maintainers,
I've seen a failure this morning with our linux stable-rc build testing.
Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux 4.4.201-rc1
Arch: arm
Config: moxa_mxc_defconfig
Pipeline: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985
Failure: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985/failures
Log: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
Config: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
All other configurations that we build were successful.
Kind regards, Chris
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 9:22 [cip-dev] Build fail for linux-4.4.y-rc Chris Paterson
@ 2019-11-11 9:42 ` Pavel Machek
2019-11-11 13:47 ` Pavel Machek
0 siblings, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2019-11-11 9:42 UTC (permalink / raw)
To: cip-dev
Hi!
> I've seen a failure this morning with our linux stable-rc build testing.
>
> Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux 4.4.201-rc1
> Arch: arm
> Config: moxa_mxc_defconfig
>
> Pipeline: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985
> Failure: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985/failures
> Log: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> Config: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
>
> All other configurations that we build were successful.
Thanks for heads-up!
I see warning during configuration:
HOSTLD scripts/kconfig/conf
arch/arm/configs/moxa_mxc_defconfig:745:warning: symbol value 'm'
invalid for RTC_DRV_DS1374_WDT
#
And this suggests a way to debug it. I'll try to do that.
MODPOST vmlinux.o
scripts/Makefile.modpost:97: recipe for target 'vmlinux.o' failed
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
make[1]: *** [vmlinux.o] Error 1
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191111/57fcb6e7/attachment.sig>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 9:42 ` Pavel Machek
@ 2019-11-11 13:47 ` Pavel Machek
2019-11-11 13:53 ` Johnson CH Chen (陳昭勳)
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Pavel Machek @ 2019-11-11 13:47 UTC (permalink / raw)
To: cip-dev
Hi!
> > I've seen a failure this morning with our linux stable-rc build testing.
> >
> > Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux 4.4.201-rc1
> > Arch: arm
> > Config: moxa_mxc_defconfig
> >
> > Pipeline: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985
> > Failure: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985/failures
> > Log: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> > Config: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> >
> > All other configurations that we build were successful.
>
> Thanks for heads-up!
>
> I see warning during configuration:
>
> HOSTLD scripts/kconfig/conf
> arch/arm/configs/moxa_mxc_defconfig:745:warning: symbol value 'm'
> invalid for RTC_DRV_DS1374_WDT
> #
This one seems to be reponsible. I have mailed author & lists...
.
commit df82285ab4b974f2040f31dbabdd11e055a282c2
Author: Mel Gorman <mgorman@techsingularity.net>
Date: Tue Nov 5 21:16:27 2019 -0800
mm, meminit: recalculate pcpu batch and high limits after init
completes
commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191111/bdb61abb/attachment.sig>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 13:47 ` Pavel Machek
@ 2019-11-11 13:53 ` Johnson CH Chen (陳昭勳)
2019-11-11 14:59 ` SZ Lin (林上智)
2019-11-11 14:43 ` SZ Lin (林上智)
2019-11-12 7:29 ` Chris Paterson
2 siblings, 1 reply; 9+ messages in thread
From: Johnson CH Chen (陳昭勳) @ 2019-11-11 13:53 UTC (permalink / raw)
To: cip-dev
Hi Pavel,
Could you set ?RTC_DRV_DS1374_WDT=y? in moxa_mxc_defconfig and then build again?
I can build uImage and kernel modules successfully with Linux 4.4.201-rc1 in my local part.
Thanks,
Johnson
?? iOS ? Outlook<https://aka.ms/o0ukef>
________________________________
???: cip-dev-bounces at lists.cip-project.org <cip-dev-bounces@lists.cip-project.org> ?? Pavel Machek <pavel@denx.de>
????: Monday, November 11, 2019 9:47:37 PM
???: Pavel Machek <pavel@denx.de>
??: cip-dev at lists.cip-project.org <cip-dev@lists.cip-project.org>
??: Re: [cip-dev] Build fail for linux-4.4.y-rc
Hi!
> > I've seen a failure this morning with our linux stable-rc build testing.
> >
> > Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux 4.4.201-rc1
> > Arch: arm
> > Config: moxa_mxc_defconfig
> >
> > Pipeline: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985
> > Failure: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985/failures
> > Log: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> > Config: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> >
> > All other configurations that we build were successful.
>
> Thanks for heads-up!
>
> I see warning during configuration:
>
> HOSTLD scripts/kconfig/conf
> arch/arm/configs/moxa_mxc_defconfig:745:warning: symbol value 'm'
> invalid for RTC_DRV_DS1374_WDT
> #
This one seems to be reponsible. I have mailed author & lists...
.
commit df82285ab4b974f2040f31dbabdd11e055a282c2
Author: Mel Gorman <mgorman@techsingularity.net>
Date: Tue Nov 5 21:16:27 2019 -0800
mm, meminit: recalculate pcpu batch and high limits after init
completes
commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191111/29bbec7d/attachment.html>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 13:47 ` Pavel Machek
2019-11-11 13:53 ` Johnson CH Chen (陳昭勳)
@ 2019-11-11 14:43 ` SZ Lin (林上智)
2019-11-12 5:22 ` SZ Lin (林上智)
2019-11-12 7:29 ` Chris Paterson
2 siblings, 1 reply; 9+ messages in thread
From: SZ Lin (林上智) @ 2019-11-11 14:43 UTC (permalink / raw)
To: cip-dev
Hi Pavel,
Pavel Machek <pavel@denx.de> ? 2019?11?11? ?? ??9:47???
>
<snip>
>
> This one seems to be reponsible. I have mailed author & lists...
Ack with thanks!.
After using git bisect, I confirmed that the commit id
"23160bd11f183b0e77ea54befff63e5d2607155b" caused the failure,
the previous version of kernel works fine.
The below modification in "mm/page_alloc.c" seems to be the root cause.
+ /*
+ * The number of managed pages has changed due to the initialisation
+ * so the pcpu batch and high limits needs to be updated or the limits
+ * will be artificially small.
+ */
+ for_each_populated_zone(zone)
+ zone_pcp_update(zone);
+
SZ
> .
>
> commit df82285ab4b974f2040f31dbabdd11e055a282c2
> Author: Mel Gorman <mgorman@techsingularity.net>
> Date: Tue Nov 5 21:16:27 2019 -0800
>
> mm, meminit: recalculate pcpu batch and high limits after init
> completes
>
> commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
>
> Best regards,
> Pavel
>
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> _______________________________________________
> cip-dev mailing list
> cip-dev at lists.cip-project.org
> https://lists.cip-project.org/mailman/listinfo/cip-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 13:53 ` Johnson CH Chen (陳昭勳)
@ 2019-11-11 14:59 ` SZ Lin (林上智)
2019-11-12 1:05 ` Johnson CH Chen (陳昭勳)
0 siblings, 1 reply; 9+ messages in thread
From: SZ Lin (林上智) @ 2019-11-11 14:59 UTC (permalink / raw)
To: cip-dev
Hi,
Johnson CH Chen (???) <JohnsonCH.Chen@moxa.com> ? 2019?11?11? ?? ??9:53???
>
> Hi Pavel,
>
> Could you set ?RTC_DRV_DS1374_WDT=y? in moxa_mxc_defconfig and then build again?
Let's wait for the reply from author :-)
Apart from that, please send the MR via gitlab [1] if you want to
modify the kernel configuration.
[1] https://gitlab.com/cip-project/cip-kernel/cip-kernel-config
SZ
>
> I can build uImage and kernel modules successfully with Linux 4.4.201-rc1 in my local part.
>
> Thanks,
> Johnson
>
> ?? iOS ? Outlook
> ________________________________
> ???: cip-dev-bounces at lists.cip-project.org <cip-dev-bounces@lists.cip-project.org> ?? Pavel Machek <pavel@denx.de>
> ????: Monday, November 11, 2019 9:47:37 PM
> ???: Pavel Machek <pavel@denx.de>
> ??: cip-dev at lists.cip-project.org <cip-dev@lists.cip-project.org>
> ??: Re: [cip-dev] Build fail for linux-4.4.y-rc
>
> Hi!
>
> > > I've seen a failure this morning with our linux stable-rc build testing.
> > >
> > > Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux 4.4.201-rc1
> > > Arch: arm
> > > Config: moxa_mxc_defconfig
> > >
> > > Pipeline: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985
> > > Failure: https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/95016985/failures
> > > Log: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> > > Config: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> > >
> > > All other configurations that we build were successful.
> >
> > Thanks for heads-up!
> >
> > I see warning during configuration:
> >
> > HOSTLD scripts/kconfig/conf
> > arch/arm/configs/moxa_mxc_defconfig:745:warning: symbol value 'm'
> > invalid for RTC_DRV_DS1374_WDT
> > #
>
> This one seems to be reponsible. I have mailed author & lists...
> .
>
> commit df82285ab4b974f2040f31dbabdd11e055a282c2
> Author: Mel Gorman <mgorman@techsingularity.net>
> Date: Tue Nov 5 21:16:27 2019 -0800
>
> mm, meminit: recalculate pcpu batch and high limits after init
> completes
>
> commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
>
> Best regards,
> Pavel
>
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> _______________________________________________
> cip-dev mailing list
> cip-dev at lists.cip-project.org
> https://lists.cip-project.org/mailman/listinfo/cip-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 14:59 ` SZ Lin (林上智)
@ 2019-11-12 1:05 ` Johnson CH Chen (陳昭勳)
0 siblings, 0 replies; 9+ messages in thread
From: Johnson CH Chen (陳昭勳) @ 2019-11-12 1:05 UTC (permalink / raw)
To: cip-dev
Hi SZ,
Thanks your remind, I'll follow this and keep in mind :)
Thanks!
Johnson
>Hi,
>
>Johnson CH Chen (???) <JohnsonCH.Chen@moxa.com> ? 2019?11?11? ?? ??9:53???
>>
>> Hi Pavel,
>>
>> Could you set ?RTC_DRV_DS1374_WDT=y? in moxa_mxc_defconfig and then build again?
>
>Let's wait for the reply from author :-)
>
>Apart from that, please send the MR via gitlab [1] if you want to modify the kernel configuration.
>
>[1] https://gitlab.com/cip-project/cip-kernel/cip-kernel-config
>
>SZ
>
>>
>> I can build uImage and kernel modules successfully with Linux 4.4.201-rc1 in my local part.
>>
>> Thanks,
>> Johnson
>>
>> ?? iOS ? Outlook
> ________________________________
> ???: cip-dev-bounces at lists.cip-project.org
> <cip-dev-bounces@lists.cip-project.org> ?? Pavel Machek
> <pavel@denx.de>
> ????: Monday, November 11, 2019 9:47:37 PM
> ???: Pavel Machek <pavel@denx.de>
> ??: cip-dev at lists.cip-project.org <cip-dev@lists.cip-project.org>
> ??: Re: [cip-dev] Build fail for linux-4.4.y-rc
>
> Hi!
>
> > > I've seen a failure this morning with our linux stable-rc build testing.
> > >
> > > Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux
> > > 4.4.201-rc1
> > > Arch: arm
> > > Config: moxa_mxc_defconfig
> > >
> > > Pipeline:
> > > https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/950
> > > 16985
> > > Failure:
> > > https://gitlab.com/cip-playground/linux-stable-rc-ci/pipelines/950
> > > 16985/failures
> > > Log:
> > > https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974
> > > 180
> > > Config:
> > > https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974
> > > 180
> > >
> > > All other configurations that we build were successful.
> >
> > Thanks for heads-up!
> >
> > I see warning during configuration:
> >
> > HOSTLD scripts/kconfig/conf
> > arch/arm/configs/moxa_mxc_defconfig:745:warning: symbol value 'm'
> > invalid for RTC_DRV_DS1374_WDT
> > #
>
> This one seems to be reponsible. I have mailed author & lists...
> .
>
> commit df82285ab4b974f2040f31dbabdd11e055a282c2
> Author: Mel Gorman <mgorman@techsingularity.net>
> Date: Tue Nov 5 21:16:27 2019 -0800
>
> mm, meminit: recalculate pcpu batch and high limits after init
> completes
>
> commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
>
> Best regards,
> Pavel
>
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> _______________________________________________
> cip-dev mailing list
> cip-dev at lists.cip-project.org
> https://lists.cip-project.org/mailman/listinfo/cip-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 14:43 ` SZ Lin (林上智)
@ 2019-11-12 5:22 ` SZ Lin (林上智)
0 siblings, 0 replies; 9+ messages in thread
From: SZ Lin (林上智) @ 2019-11-12 5:22 UTC (permalink / raw)
To: cip-dev
Hi,
SZ Lin (???) <sz.lin@moxa.com> ? 2019?11?11? ?? ??10:43???
>
> Hi Pavel,
>
> Pavel Machek <pavel@denx.de> ? 2019?11?11? ?? ??9:47???
> >
>
> <snip>
>
> >
> > This one seems to be reponsible. I have mailed author & lists...
>
> Ack with thanks!.
>
> After using git bisect, I confirmed that the commit id
> "23160bd11f183b0e77ea54befff63e5d2607155b" caused the failure,
> the previous version of kernel works fine.
Regression occurred [1] with the same patch in the 4.14 stable kernel, but it
failed during the boot time instead of compile time.
[1] https://marc.info/?l=linux-kernel&m=157352880515619&w=2
SZ
>
> The below modification in "mm/page_alloc.c" seems to be the root cause.
>
> + /*
> + * The number of managed pages has changed due to the initialisation
> + * so the pcpu batch and high limits needs to be updated or the limits
> + * will be artificially small.
> + */
> + for_each_populated_zone(zone)
> + zone_pcp_update(zone);
> +
>
> SZ
>
> > .
> >
> > commit df82285ab4b974f2040f31dbabdd11e055a282c2
> > Author: Mel Gorman <mgorman@techsingularity.net>
> > Date: Tue Nov 5 21:16:27 2019 -0800
> >
> > mm, meminit: recalculate pcpu batch and high limits after init
> > completes
> >
> > commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
> >
> > Best regards,
> > Pavel
> >
> > --
> > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> > _______________________________________________
> > cip-dev mailing list
> > cip-dev at lists.cip-project.org
> > https://lists.cip-project.org/mailman/listinfo/cip-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [cip-dev] Build fail for linux-4.4.y-rc
2019-11-11 13:47 ` Pavel Machek
2019-11-11 13:53 ` Johnson CH Chen (陳昭勳)
2019-11-11 14:43 ` SZ Lin (林上智)
@ 2019-11-12 7:29 ` Chris Paterson
2 siblings, 0 replies; 9+ messages in thread
From: Chris Paterson @ 2019-11-12 7:29 UTC (permalink / raw)
To: cip-dev
Hello all,
> From: Pavel Machek <pavel@denx.de>
> Sent: 11 November 2019 13:48
>
> Hi!
>
> > > I've seen a failure this morning with our linux stable-rc build testing.
> > >
> > > Version: 4cb9b88c651a2fff886dd64b6d797343e7ddb4dd Linux 4.4.201-rc1
Thanks to Pavel's reporting, Greg has now fixed this build issue in Linux 4.4.201-rc2 (ca1d1b5f0f2a).
https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/347861814
Kind regards, Chris
> > > Arch: arm
> > > Config: moxa_mxc_defconfig
> > >
> > > Pipeline: https://gitlab.com/cip-playground/linux-stable-rc-
> ci/pipelines/95016985
> > > Failure: https://gitlab.com/cip-playground/linux-stable-rc-
> ci/pipelines/95016985/failures
> > > Log: https://gitlab.com/cip-playground/linux-stable-rc-ci/-/jobs/346974180
> > > Config: https://gitlab.com/cip-playground/linux-stable-rc-ci/-
> /jobs/346974180
> > >
> > > All other configurations that we build were successful.
> >
> > Thanks for heads-up!
> >
> > I see warning during configuration:
> >
> > HOSTLD? scripts/kconfig/conf
> > arch/arm/configs/moxa_mxc_defconfig:745:warning: symbol value 'm'
> > invalid for RTC_DRV_DS1374_WDT
> > #
>
> This one seems to be reponsible. I have mailed author & lists...
> .
>
> commit df82285ab4b974f2040f31dbabdd11e055a282c2
> Author: Mel Gorman <mgorman@techsingularity.net>
> Date:?? Tue Nov 5 21:16:27 2019 -0800
>
>???? mm, meminit: recalculate pcpu batch and high limits after init
>???? completes
>
>? commit 3e8fc0075e24338b1117cdff6a79477427b8dbed upstream.
>
> Best regards,
> ????? ??????? ??????? ??????? ??????? ??????? ??????? ??????? Pavel
>
> --
> DENX Software Engineering GmbH,????? Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-11-12 7:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-11 9:22 [cip-dev] Build fail for linux-4.4.y-rc Chris Paterson
2019-11-11 9:42 ` Pavel Machek
2019-11-11 13:47 ` Pavel Machek
2019-11-11 13:53 ` Johnson CH Chen (陳昭勳)
2019-11-11 14:59 ` SZ Lin (林上智)
2019-11-12 1:05 ` Johnson CH Chen (陳昭勳)
2019-11-11 14:43 ` SZ Lin (林上智)
2019-11-12 5:22 ` SZ Lin (林上智)
2019-11-12 7:29 ` Chris Paterson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).