Buildresult: powerpc-fixes/mips-defconfig/mipsel-gcc5 built on May 15 2019, 00:30
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 15 2019, 00:30
Duration:
0:00:49.013235
Builder:
ka4
Revision:
powerpc/mm: Fix crashes with hugepages & 4K pages (
2d4f9bdc22740d10984b850bdd74a86ad8ed3d23)
Target:
powerpc-fixes/mips-defconfig/mipsel-gcc5
Branch:
powerpc-fixes
Compiler:
mipsel-gcc5
(mipsel-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.26.1)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (12)
<stdin>:1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] <stdin>:1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1403:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] <stdin>:1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1403:2: warning: #warning syscall fspick not implemented [-Wcpp]
Full Log
# git rev-parse -q --verify 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23^{commit} 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23 already have revision, skipping fetch # git checkout -q -f -B kisskb 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23 # git clean -qxdf # < git log -1 # commit 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Tue May 14 23:00:58 2019 +1000 # # powerpc/mm: Fix crashes with hugepages & 4K pages # # The recent commit to cleanup ifdefs in the hugepage initialisation led # to crashes when using 4K pages as reported by Sachin: # # BUG: Kernel NULL pointer dereference at 0x0000001c # Faulting instruction address: 0xc000000001d1e58c # Oops: Kernel access of bad area, sig: 11 [#1] # LE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries # ... # CPU: 3 PID: 4635 Comm: futex_wake04 Tainted: G W O 5.1.0-next-20190507-autotest #1 # NIP: c000000001d1e58c LR: c000000001d1e54c CTR: 0000000000000000 # REGS: c000000004937890 TRAP: 0300 # MSR: 8000000000009033 <SF,EE,ME,IR,DR,RI,LE> CR: 22424822 XER: 00000000 # CFAR: c00000000183e9e0 DAR: 000000000000001c DSISR: 40000000 IRQMASK: 0 # ... # NIP kmem_cache_alloc+0xbc/0x5a0 # LR kmem_cache_alloc+0x7c/0x5a0 # Call Trace: # huge_pte_alloc+0x580/0x950 # hugetlb_fault+0x9a0/0x1250 # handle_mm_fault+0x490/0x4a0 # __do_page_fault+0x77c/0x1f00 # do_page_fault+0x28/0x50 # handle_page_fault+0x18/0x38 # # This is caused by us trying to allocate from a NULL kmem cache in # __hugepte_alloc(). The kmem cache is NULL because it was never # allocated in hugetlbpage_init(), because add_huge_page_size() returned # an error. # # The reason add_huge_page_size() returned an error is a simple typo, we # are calling check_and_get_huge_psize(size) when we should be passing # shift instead. # # The fact that we're able to trigger this path when the kmem caches are # NULL is a separate bug, ie. we should not advertise any hugepage sizes # if we haven't setup the required caches for them. # # This was only seen with 4K pages, with 64K pages we don't need to # allocate any extra kmem caches because the 16M hugepage just occupies # a single entry at the PMD level. # # Fixes: 723f268f19da ("powerpc/mm: cleanup ifdef mess in add_huge_page_size()") # Reported-by: Sachin Sant <sachinp@linux.ibm.com> # Tested-by: Sachin Sant <sachinp@linux.ibm.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23 # < make -s -j 120 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- <stdin>:1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] <stdin>:1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1403:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] <stdin>:1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1403:2: warning: #warning syscall fspick not implemented [-Wcpp] FIT description: Linux 5.1.0-g2d4f9bdc2274 Created: Wed May 15 00:30:57 2019 Image 0 (kernel@0) Description: Linux 5.1.0-g2d4f9bdc2274 Created: Wed May 15 00:30:57 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4645265 Bytes = 4536.39 KiB = 4.43 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80895070 Hash algo: sha1 Hash value: 6b61c175700839599ff842a57df52422eb458b2c Image 1 (fdt@boston) Description: img,boston Device Tree Created: Wed May 15 00:30:57 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Wed May 15 00:30:57 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Wed May 15 00:30:57 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 4603 Bytes = 4.50 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 33e429f316125d86bb863c2fe8d9c42fbcf90bfb Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Wed May 15 00:30:57 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 5162 Bytes = 5.04 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 0c5db3f23ba8b80fafd8c8e4eacfcb8ad62a91ae Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Wed May 15 00:30:57 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel # Build took: 0:00:49.013235
© Michael Ellerman 2006-2018.