Buildresult: powerpc-next/mpc85xx_defconfig+KVM/powerpc-gcc9 built on Mar 20 2020, 21:15
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 20 2020, 21:15
Duration:
0:02:56.561877
Builder:
ka1
Revision:
powerpc/64: Prevent stack protection in early boot (
b3258f133d72af0bb463e198610d47ae57498b00)
Target:
powerpc-next/mpc85xx_defconfig+KVM/powerpc-gcc9
Branch:
powerpc-next
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 warnings (5)
.config:4064:warning: override: reassigning to symbol PPC_E500MC .config:4065: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] arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0)
Full Log
# git rev-parse -q --verify b3258f133d72af0bb463e198610d47ae57498b00^{commit} b3258f133d72af0bb463e198610d47ae57498b00 already have revision, skipping fetch # git checkout -q -f -B kisskb b3258f133d72af0bb463e198610d47ae57498b00 # git clean -qxdf # < git log -1 # commit b3258f133d72af0bb463e198610d47ae57498b00 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Fri Mar 20 14:21:16 2020 +1100 # # powerpc/64: Prevent stack protection in early boot # # The previous commit reduced the amount of code that is run before we # setup a paca. However there are still a few remaining functions that # run with no paca, or worse, with an arbitrary value in r13 that will # be used as a paca pointer. # # In particular the stack protector canary is stored in the paca, so if # stack protector is activated for any of these functions we will read # the stack canary from wherever r13 points. If r13 happens to point # outside of memory we will get a machine check / checkstop. # # For example if we modify initialise_paca() to trigger stack # protection, and then boot in the mambo simulator with r13 poisoned in # skiboot before calling the kernel: # # DEBUG: 19952232: (19952232): INSTRUCTION: PC=0xC0000000191FC1E8: [0x3C4C006D]: addis r2,r12,0x6D [fetch] # DEBUG: 19952236: (19952236): INSTRUCTION: PC=0xC00000001807EAD8: [0x7D8802A6]: mflr r12 [fetch] # FATAL ERROR: 19952276: (19952276): Check Stop for 0:0: Machine Check with ME bit of MSR off # DEBUG: 19952276: (19952276): INSTRUCTION: PC=0xC0000000191FCA7C: [0xE90D0CF8]: ld r8,0xCF8(r13) [Instruction Failed] # INFO: 19952276: (19952277): ** Execution stopped: Mambo Error, Machine Check Stop, ** # systemsim % bt # pc: 0xC0000000191FCA7C initialise_paca+0x54 # lr: 0xC0000000191FC22C early_setup+0x44 # stack:0x00000000198CBED0 0x0 +0x0 # stack:0x00000000198CBF00 0xC0000000191FC22C early_setup+0x44 # stack:0x00000000198CBF90 0x1801C968 +0x1801C968 # # So annotate the relevant functions to ensure stack protection is never # enabled for them. # # Fixes: 06ec27aea9fc ("powerpc/64: add stack protector support") # Cc: stable@vger.kernel.org # v4.20+ # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20200320032116.1024773-2-mpe@ellerman.id.au # < /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 b3258f133d72af0bb463e198610d47ae57498b00 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4064:warning: override: reassigning to symbol PPC_E500MC .config:4065:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_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)) | ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe62994) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe52190) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6716022 Bytes = 6558.62 KiB = 6.40 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6750967 Bytes = 6592.74 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6749865 Bytes = 6591.67 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:55 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6755613 Bytes = 6597.28 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:55 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6750159 Bytes = 6591.95 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753431 Bytes = 6595.15 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6751447 Bytes = 6593.21 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6750835 Bytes = 6592.61 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6750567 Bytes = 6592.35 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6749868 Bytes = 6591.67 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6750648 Bytes = 6592.43 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6750942 Bytes = 6592.72 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6753240 Bytes = 6594.96 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:59 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6749809 Bytes = 6591.61 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6752156 Bytes = 6593.90 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.6.0-rc2-gb3258f133d72 Created: Fri Mar 20 21:17:59 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6749869 Bytes = 6591.67 KiB = 6.44 MiB Load Address: 00f00000 Entry Point: 00f0031c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:56.561877
© Michael Ellerman 2006-2018.