Bug ID 1188896
Summary "BUG: Bad rss-counter state mm:00000000e555b579 type:MM_FILEPAGES val:-256" during build of cross-epiphany-gcc11-bootstrap
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware S/390-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter ada.lovelace@gmx.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

This bug report is a mixture of gcc11 and Linux kernel.

The build process of cross-epiphany-gcc11-bootstrap is hanging since 1 day with
following information:

[  865s] g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -g -fmessage-length=0
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-U_FORTIFY_SOURCE -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc -I../../gcc/c
-I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libcody 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/../libbacktrace   -o c/c-aux-info.o -MT c/c-aux-info.o -MMD -MP -MF
c/.deps/c-aux-info.TPo ../../gcc/c/c-aux-info.c
[  866s] In file included from ./tm.h:23,
[  866s]                  from ../../gcc/c/c-aux-info.c:26:
[  866s] ../../gcc/config/elfos.h:201: warning: "READONLY_DATA_SECTION_ASM_OP"
redefined
[  866s]   201 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section\t.rodata"
[  866s]       | 
[  866s] In file included from ./tm.h:21,
[  866s]                  from ../../gcc/c/c-aux-info.c:26:
[  866s] ../../gcc/config/epiphany/epiphany.h:671: note: this is the location
of the previous definition
[  866s]   671 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section .rodata"
[  866s]       | 
[  871s] g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -g -fmessage-length=0
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-U_FORTIFY_SOURCE -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc -I../../gcc/c
-I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libcody 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/../libbacktrace   -o c/c-objc-common.o -MT c/c-objc-common.o -MMD
-MP -MF c/.deps/c-objc-common.TPo ../../gcc/c/c-objc-common.c
[  876s] [  846.778933] BUG: Bad rss-counter state mm:00000000e555b579
type:MM_FILEPAGES val:-256
...
[ 2241s] g++  -fno-PIE -c   -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-funwind-tables -fasynchronous-unwind-tables -U_FORTIFY_SOURCE -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libcody 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/../libbacktrace   -o reload1.o -MT reload1.o -MMD -MP -MF
./.deps/reload1.TPo ../../gcc/reload1.c
[ 2241s] [ 2211.961786] BUG: Bad page state in process cc1plus  pfn:11d401
[ 2241s] [ 2211.967831] BUG: Bad page state in process cc1plus  pfn:11d402
[ 2241s] [ 2211.968097] BUG: Bad page state in process cc1plus  pfn:11d403
[ 2241s] [ 2211.968458] BUG: Bad page state in process cc1plus  pfn:11d404
[ 2241s] [ 2211.968668] BUG: Bad page state in process cc1plus  pfn:11d405
[ 2241s] [ 2211.968878] BUG: Bad page state in process cc1plus  pfn:11d406
[ 2241s] [ 2211.969081] BUG: Bad page state in process cc1plus  pfn:11d407
[ 2241s] [ 2211.969287] BUG: Bad page state in process cc1plus  pfn:11d408
.
[  865s] g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -g -fmessage-length=0
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-U_FORTIFY_SOURCE -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc -I../../gcc/c
-I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libcody 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/../libbacktrace   -o c/c-aux-info.o -MT c/c-aux-info.o -MMD -MP -MF
c/.deps/c-aux-info.TPo ../../gcc/c/c-aux-info.c
[  866s] In file included from ./tm.h:23,
[  866s]                  from ../../gcc/c/c-aux-info.c:26:
[  866s] ../../gcc/config/elfos.h:201: warning: "READONLY_DATA_SECTION_ASM_OP"
redefined
[  866s]   201 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section\t.rodata"
[  866s]       | 
[  866s] In file included from ./tm.h:21,
[  866s]                  from ../../gcc/c/c-aux-info.c:26:
[  866s] ../../gcc/config/epiphany/epiphany.h:671: note: this is the location
of the previous definition
[  866s]   671 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section .rodata"
[  866s]       | 
[  871s] g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -g -fmessage-length=0
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-U_FORTIFY_SOURCE -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc -I../../gcc/c
-I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libcody 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/../libbacktrace   -o c/c-objc-common.o -MT c/c-objc-common.o -MMD
-MP -MF c/.deps/c-objc-common.TPo ../../gcc/c/c-objc-common.c
[  876s] [  846.778933] BUG: Bad rss-counter state mm:00000000e555b579
type:MM_FILEPAGES val:-256
[ 2241s] In file included from ./tm.h:23,
[ 2241s]                  from ../../gcc/backend.h:28,
[ 2241s]                  from ../../gcc/reload1.c:23:
[ 2241s] ../../gcc/config/elfos.h:201: warning: "READONLY_DATA_SECTION_ASM_OP"
redefined
[ 2241s]   201 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section\t.rodata"
[ 2241s]       | 
[ 2241s] In file included from ./tm.h:21,
[ 2241s]                  from ../../gcc/backend.h:28,
[ 2241s]                  from ../../gcc/reload1.c:23:
[ 2241s] ../../gcc/config/epiphany/epiphany.h:671: note: this is the location
of the previous definition
[ 2241s]   671 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section .rodata"
...
[ 2243s] g++  -fno-PIE -c   -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-funwind-tables -fasynchronous-unwind-tables -U_FORTIFY_SOURCE -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libcody 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/../libbacktrace   -o resource.o -MT resource.o -MMD -MP -MF
./.deps/resource.TPo ../../gcc/resource.c
[ 2243s] In file included from ./tm.h:23,
[ 2243s]                  from ../../gcc/backend.h:28,
[ 2243s]                  from ../../gcc/resource.c:23:
[ 2243s] ../../gcc/config/elfos.h:201: warning: "READONLY_DATA_SECTION_ASM_OP"
redefined
[ 2243s]   201 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section\t.rodata"
[ 2243s]       | 
[ 2243s] In file included from ./tm.h:21,
[ 2243s]                  from ../../gcc/backend.h:28,
[ 2243s]                  from ../../gcc/resource.c:23:
[ 2243s] ../../gcc/config/epiphany/epiphany.h:671: note: this is the location
of the previous definition
[ 2243s]   671 | #define READONLY_DATA_SECTION_ASM_OP    "\t.section .rodata"
[ 2243s]       | 
[ 2301s] [ 2272.129159] rcu: INFO: rcu_sched self-detected stall on CPU
[ 2301s] [ 2272.129930] rcu:     1-...!: (2004 ticks this GP)
idle=cda/1/0x4000000000000002 softirq=72272/72272 fqs=21 
[ 2301s] [ 2272.130195] rcu: rcu_sched kthread starved for 5803 jiffies! g57669
f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 2301s] [ 2272.130474] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 2301s] [ 2272.130715] rcu: RCU grace-period kthread stack dump:
[ 2301s] [ 2272.130909] rcu: Stack dump where RCU GP kthread last ran:
[ 2481s] [ 2452.178521] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 2481s] [ 2452.179275] rcu:     1-...!: (8411 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 2481s] [ 2452.179617] rcu: rcu_sched kthread starved for 23808 jiffies!
g57669 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 2481s] [ 2452.179949] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 2481s] [ 2452.180241] rcu: RCU grace-period kthread stack dump:
[ 2481s] [ 2452.180457] rcu: Stack dump where RCU GP kthread last ran:
[ 2661s] [ 2632.370659] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 2661s] [ 2632.422457] rcu:     1-...!: (15430 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 2661s] [ 2632.422835] rcu: rcu_sched kthread starved for 41827 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 2661s] [ 2632.423099] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 2661s] [ 2632.423322] rcu: RCU grace-period kthread stack dump:
[ 2661s] [ 2632.423498] rcu: Stack dump where RCU GP kthread last ran:
[ 2841s] [ 2812.408987] rcu: INFO: rcu_sched self-detected stall on CPU
[ 2841s] [ 2812.409246] rcu:     1-...!: (21988 ticks this GP)
idle=cda/1/0x4000000000000002 softirq=72272/72272 fqs=21 
[ 2841s] [ 2812.409342] rcu: rcu_sched kthread starved for 59831 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 2841s] [ 2812.464705] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 2841s] [ 2812.464890] rcu: RCU grace-period kthread stack dump:
[ 2841s] [ 2812.465021] rcu: Stack dump where RCU GP kthread last ran:
[ 3022s] [ 2992.448529] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 3022s] [ 2992.568724] rcu:     1-...!: (29161 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 3022s] [ 2992.568847] rcu: rcu_sched kthread starved for 77835 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 3022s] [ 2992.568940] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 3022s] [ 2992.569021] rcu: RCU grace-period kthread stack dump:
[ 3022s] [ 2992.569104] rcu: Stack dump where RCU GP kthread last ran:
[ 3202s] [ 3172.579399] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 3202s] [ 3172.638172] rcu:     1-...!: (36644 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 3202s] [ 3172.638356] rcu: rcu_sched kthread starved for 95848 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 3202s] [ 3172.638486] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 3202s] [ 3172.638608] rcu: RCU grace-period kthread stack dump:
[ 3202s] [ 3172.638733] rcu: Stack dump where RCU GP kthread last ran:
[ 3382s] [ 3352.635605] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 3382s] [ 3352.785267] rcu:     1-...!: (44755 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 3382s] [ 3352.796719] rcu: rcu_sched kthread starved for 113853 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 3382s] [ 3352.807909] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 3382s] [ 3352.808153] rcu: RCU grace-period kthread stack dump:
[ 3382s] [ 3352.809425] rcu: Stack dump where RCU GP kthread last ran:
[ 3562s] [ 3532.659925] rcu: INFO: rcu_sched self-detected stall on CPU
[ 3562s] [ 3532.671463] rcu:     1-...!: (53554 ticks this GP)
idle=cda/1/0x4000000000000002 softirq=72272/72272 fqs=21 
[ 3562s] [ 3532.697304] rcu: rcu_sched kthread starved for 131859 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 3562s] [ 3532.697588] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 3562s] [ 3532.697733] rcu: RCU grace-period kthread stack dump:
[ 3562s] [ 3532.697877] rcu: Stack dump where RCU GP kthread last ran:
[ 3742s] [ 3712.708722] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 3742s] [ 3712.709943] rcu:     1-...!: (61764 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 3742s] [ 3712.710087] rcu: rcu_sched kthread starved for 149861 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 3742s] [ 3712.710195] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 3742s] [ 3712.710286] rcu: RCU grace-period kthread stack dump:
[ 3742s] [ 3712.710380] rcu: Stack dump where RCU GP kthread last ran:
[ 3922s] [ 3892.766529] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 3922s] [ 3892.770375] rcu:     1-...!: (70277 ticks this GP)
idle=cda/1/0x4000000000000000 softirq=72272/72272 fqs=21 
[ 3922s] [ 3892.805972] rcu: rcu_sched kthread starved for 167870 jiffies!
g57669 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
[ 3922s] [ 3892.806225] rcu:     Unless rcu_sched kthread gets sufficient CPU
time, OOM is now expected behavior.
[ 3922s] [ 3892.806499] rcu: RCU grace-period kthread stack dump:


Kernel version: 5.13.4-1.1:
https://github.com/openSUSE/kernel/releases/tag/v5.13.4

Logs:
https://build.opensuse.org/build/openSUSE:Factory:zSystems/standard/s390x/cross-epiphany-gcc11-bootstrap/_log

Latest updates for s390x July 21:
https://build.opensuse.org/package/view_file/openSUSE:Factory:zSystems/cross-epiphany-gcc11-bootstrap/cross-s390x-gcc11.changes?expand=1


You are receiving this mail because: