Buildresult: powerpc-fixes/mpc85xx_defconfig+KVM/powerpc-gcc9 built on Oct 23 2020, 19:03
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 23 2020, 19:03
Duration:
0:03:46.579155
Builder:
ka1
Revision:
powerpc/pseries: Avoid using addr_to_pfn in real mode (
4ff753feab021242144818b9a3ba011238218145)
Target:
powerpc-fixes/mpc85xx_defconfig+KVM/powerpc-gcc9
Branch:
powerpc-fixes
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
mpc85xx_defconfig+KVM
(
download
)
Log:
Download original
Possible errors
cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mpc8540ads.dtb.dts.tmp: No such file or directory make[2]: *** [scripts/Makefile.lib:326: arch/powerpc/boot/dts/fsl/mpc8540ads.dtb] Error 1 make[1]: *** [arch/powerpc/Makefile:296: zImage] Error 2 make: *** [Makefile:185: __sub-make] Error 2
Possible warnings (3)
.config:4125:warning: override: reassigning to symbol PPC_E500MC .config:4126:warning: override: reassigning to symbol VIRTUALIZATION include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Full Log
# git rev-parse -q --verify 4ff753feab021242144818b9a3ba011238218145^{commit} 4ff753feab021242144818b9a3ba011238218145 already have revision, skipping fetch # git checkout -q -f -B kisskb 4ff753feab021242144818b9a3ba011238218145 # git clean -qxdf # < git log -1 # commit 4ff753feab021242144818b9a3ba011238218145 # Author: Ganesh Goudar <ganeshgr@linux.ibm.com> # Date: Fri Jul 24 12:09:46 2020 +0530 # # powerpc/pseries: Avoid using addr_to_pfn in real mode # # When an UE or memory error exception is encountered the MCE handler # tries to find the pfn using addr_to_pfn() which takes effective # address as an argument, later pfn is used to poison the page where # memory error occurred, recent rework in this area made addr_to_pfn # to run in real mode, which can be fatal as it may try to access # memory outside RMO region. # # Have two helper functions to separate things to be done in real mode # and virtual mode without changing any functionality. This also fixes # the following error as the use of addr_to_pfn is now moved to virtual # mode. # # Without this change following kernel crash is seen on hitting UE. # # [ 485.128036] Oops: Kernel access of bad area, sig: 11 [#1] # [ 485.128040] LE SMP NR_CPUS=2048 NUMA pSeries # [ 485.128047] Modules linked in: # [ 485.128067] CPU: 15 PID: 6536 Comm: insmod Kdump: loaded Tainted: G OE 5.7.0 #22 # [ 485.128074] NIP: c00000000009b24c LR: c0000000000398d8 CTR: c000000000cd57c0 # [ 485.128078] REGS: c000000003f1f970 TRAP: 0300 Tainted: G OE (5.7.0) # [ 485.128082] MSR: 8000000000001003 <SF,ME,RI,LE> CR: 28008284 XER: 00000001 # [ 485.128088] CFAR: c00000000009b190 DAR: c0000001fab00000 DSISR: 40000000 IRQMASK: 1 # [ 485.128088] GPR00: 0000000000000001 c000000003f1fbf0 c000000001634300 0000b0fa01000000 # [ 485.128088] GPR04: d000000002220000 0000000000000000 00000000fab00000 0000000000000022 # [ 485.128088] GPR08: c0000001fab00000 0000000000000000 c0000001fab00000 c000000003f1fc14 # [ 485.128088] GPR12: 0000000000000008 c000000003ff5880 d000000002100008 0000000000000000 # [ 485.128088] GPR16: 000000000000ff20 000000000000fff1 000000000000fff2 d0000000021a1100 # [ 485.128088] GPR20: d000000002200000 c00000015c893c50 c000000000d49b28 c00000015c893c50 # [ 485.128088] GPR24: d0000000021a0d08 c0000000014e5da8 d0000000021a0818 000000000000000a # [ 485.128088] GPR28: 0000000000000008 000000000000000a c0000000017e2970 000000000000000a # [ 485.128125] NIP [c00000000009b24c] __find_linux_pte+0x11c/0x310 # [ 485.128130] LR [c0000000000398d8] addr_to_pfn+0x138/0x170 # [ 485.128133] Call Trace: # [ 485.128135] Instruction dump: # [ 485.128138] 3929ffff 7d4a3378 7c883c36 7d2907b4 794a1564 7d294038 794af082 3900ffff # [ 485.128144] 79291f24 790af00e 78e70020 7d095214 <7c69502a> 2fa30000 419e011c 70690040 # [ 485.128152] ---[ end trace d34b27e29ae0e340 ]--- # # Fixes: 9ca766f9891d ("powerpc/64s/pseries: machine check convert to use common event code") # Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20200724063946.21378-1-ganeshgr@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4ff753feab021242144818b9a3ba011238218145 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4125:warning: override: reassigning to symbol PPC_E500MC .config:4126:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mpc8540ads.dtb.dts.tmp: No such file or directory compilation terminated. make[2]: *** [scripts/Makefile.lib:326: arch/powerpc/boot/dts/fsl/mpc8540ads.dtb] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [arch/powerpc/Makefile:296: zImage] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:03:46.579155
© Michael Ellerman 2006-2018.