Buildresult: powerpc-next/ppc44x_defconfig/powerpc-gcc9 built on Mar 17 2020, 03:20
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 17 2020, 03:20
Duration:
0:01:27.082093
Builder:
blade4b
Revision:
powerpc/64: Prevent stack protection in early boot (
99793e64b815ec88daa9955c6347bd541e78543b)
Target:
powerpc-next/ppc44x_defconfig/powerpc-gcc9
Branch:
powerpc-next
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
ppc44x_defconfig
(
download
)
Log:
Download original
Possible warnings (6)
arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
Full Log
# git rev-parse -q --verify 99793e64b815ec88daa9955c6347bd541e78543b^{commit} 99793e64b815ec88daa9955c6347bd541e78543b already have revision, skipping fetch # git checkout -q -f -B kisskb 99793e64b815ec88daa9955c6347bd541e78543b # git clean -qxdf # < git log -1 # commit 99793e64b815ec88daa9955c6347bd541e78543b # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Mon Mar 16 22:32:32 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> # < /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 99793e64b815ec88daa9955c6347bd541e78543b # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x649c10) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x65a2f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3109952 Bytes = 3037.06 KiB = 2.97 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148058 Bytes = 3074.28 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007000bc Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148169 Bytes = 3074.38 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 007001bc Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148073 Bytes = 3074.29 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701620 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3147953 Bytes = 3074.17 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701640 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148096 Bytes = 3074.31 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701650 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148335 Bytes = 3074.55 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701640 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3147968 Bytes = 3074.19 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701630 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148159 Bytes = 3074.37 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701640 Image Name: Linux-5.6.0-rc2-g99793e64b815 Created: Tue Mar 17 03:21:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3148054 Bytes = 3074.27 KiB = 3.00 MiB Load Address: 00700000 Entry Point: 00701640 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc9 # Build took: 0:01:27.082093
© Michael Ellerman 2006-2018.