Buildresult: powerpc-fixes/s390-defconfig/s390x-gcc4.6 built on May 15 2019, 00:27
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 15 2019, 00:27
Duration:
0:03:13.758171
Builder:
ka3
Revision:
powerpc/mm: Fix crashes with hugepages & 4K pages (
2d4f9bdc22740d10984b850bdd74a86ad8ed3d23)
Target:
powerpc-fixes/s390-defconfig/s390x-gcc4.6
Branch:
powerpc-fixes
Compiler:
s390x-gcc4.6
(s390x-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
defconfig
(
download
)
Log:
Download original
Possible errors
make[2]: *** [arch/s390/boot/Makefile:63: arch/s390/boot/bzImage] Error 1 make[1]: *** [arch/s390/Makefile:150: bzImage] Error 2 make: *** [Makefile:179: sub-make] Error 2
Possible warnings (16)
warning: The last gc run reported the following. Please correct the root cause warning: There are too many unreachable loose objects; run 'git prune' to remove them. <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] kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] drivers/s390/block/dasd_eckd.c:3829:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' [-Wformat] drivers/s390/block/dasd_eckd.c:3829:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'sector_t' [-Wformat] mm/hugetlb.c:1435:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] drivers/s390/scsi/zfcp_erp.c:262:2: warning: 'erp_action' may be used uninitialized in this function [-Wuninitialized] drivers/net/tun.c:1851:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] drivers/net/tun.c:1764:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized]
Full Log
# git rev-parse -q --verify 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-test warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23^{commit} 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23 # 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/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux-ld --version # < git log --format=%s --max-count=1 2d4f9bdc22740d10984b850bdd74a86ad8ed3d23 # < make -s -j 80 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- defconfig # make -s -j 80 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-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] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/drivers/s390/block/dasd_eckd.c: In function 'dasd_eckd_build_cp_raw': /kisskb/src/drivers/s390/block/dasd_eckd.c:3829:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' [-Wformat] /kisskb/src/drivers/s390/block/dasd_eckd.c:3829:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'sector_t' [-Wformat] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1435:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/s390/scsi/zfcp_erp.c: In function 'zfcp_erp_setup_act': /kisskb/src/drivers/s390/scsi/zfcp_erp.c:262:2: warning: 'erp_action' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1851:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1764:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] awk: line 2: function or never defined awk: line 2: function strtonum never defined /opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux-objcopy: --pad-to: bad number: arch/s390/boot/compressed/vmlinux make[2]: *** [/kisskb/src/arch/s390/boot/Makefile:63: arch/s390/boot/bzImage] Error 1 make[1]: *** [arch/s390/Makefile:150: bzImage] Error 2 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 80 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_s390-defconfig_s390x # Build took: 0:03:13.758171
© Michael Ellerman 2006-2018.