Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1342662imm; Tue, 3 Jul 2018 09:28:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe2JQa+WKqBIkIjFPNvWjGLdVYl9B3+oorFc84/+odqZSwV+vcEj7Q880/+gEw4CzAqZejm X-Received: by 2002:a62:4255:: with SMTP id p82-v6mr30677624pfa.227.1530635281859; Tue, 03 Jul 2018 09:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530635281; cv=none; d=google.com; s=arc-20160816; b=l9DqCMfXe+ENkTt+AY1hp4ayVvee2GMT95wEMQbBcUApFmiPQrIlttkJiLa4mBLZ0A KakqGJRowss7G/mJbE9vH03bo70j+6FGXFND23R+R5KNAbMU1vRkeIeLOwdyfXtM1AiW F3lW7CQYk9wQgZM5TOmRT6BhmqUzzIOphxwstlPyHzODlYNEM9SMoKSHb6ymXuzYIQvo jmaGtf9mCyLoROJynFiAR8ThqFO1PSFsnL1zvB9s2rP8nW8CLjJF8eCV672U/0DKuN20 6zaNvOwaY3tEzn40aK7kc38TQtCC7K2v22NdhutRgHofk58aCc2jSxRJFOcTu2omggqz qgCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=srk+LF8gX97ngNwz6J0jlXGIhlzRCdk5r7KFEMHuDeY=; b=cZmMhwDtzLrhub0Ydpuaa6Up58ePEFlXN2lYBHMkJERSlymVWYCxo0+gtOyg2+r+EB XAdtuB6XjJz4uG3XJJZbuIKESbxAswrrpQDFyR/0XrLbapQphWFkjDLBuEoL/spVVZ1N rlle/gALRrO90/kpzn+krXS8RqLYm203v8zccQLHOndbrdtiME9KbWXUMveFEEoLqZyP bIShyNpYAL7FVlL5szhBDZXcV2JIrrihyiBn/9VybL/UQgx+AqdVHxgkTAehpIZSbYXG 5FYoBMbYj+Ivlen7VfYOPk93LfNl+RYRoC9rtmCqMGfTecR77TpptsHqyTSRbjuKm+Cj Gdnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xvu7Zw7y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5-v6si1342447pgb.399.2018.07.03.09.27.47; Tue, 03 Jul 2018 09:28:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xvu7Zw7y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933829AbeGCQ0v (ORCPT + 99 others); Tue, 3 Jul 2018 12:26:51 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:38802 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932520AbeGCQ0t (ORCPT ); Tue, 3 Jul 2018 12:26:49 -0400 Received: by mail-wm0-f68.google.com with SMTP id 69-v6so2932472wmf.3 for ; Tue, 03 Jul 2018 09:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=srk+LF8gX97ngNwz6J0jlXGIhlzRCdk5r7KFEMHuDeY=; b=Xvu7Zw7yPtL415YpNhuVWTUtiwLkkHJDBoqvIlsNo6nSmXt+hvfooBS38y7TZIl+yN mYFQkjIZDHdxGFXIsckKLxz2QKte0R/rnajLWd54B/fKUMX15k2IUTHV+oAd1kDWAltf QqwsuPoRYUS0YF2KpAYu5CfdjvdkPNLrc5i7o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=srk+LF8gX97ngNwz6J0jlXGIhlzRCdk5r7KFEMHuDeY=; b=ESQJXQfmG17R+lUDMTiN/tyENmLOVmrD2MoR6QU6wPm0u64Lol0l2XFte5mnS1p8qb TeAi9At52M9gMHeVE3AiA2sHk1JgaZ8DLZOf1Yy+r3kv9JR5wv0OzPJzNP7PGCwovWt6 io1ssWTlGo7TjLdXzJwITveh6/J42CaQJ/1jEFrtdljnmPCWHhlBFt9c6iB5+Jy87ZUo tP4fd/eQi/5ct5/CUQOJmrKfZemD54P9X0+b3ifW4nJ7mzQ4Yf/lEkE5rmokjpJdkDM3 dxWTGRkf1G+oGnyANHDwZY0U/0HI0fM0xr8JWuGf/YHsaqZ/hQA/iWQcC4D21iOY/Kj1 20qA== X-Gm-Message-State: APt69E1N7Tdge4pJYtEH10EB43NrQytaXw6sIfoQmVDBa/ODXBZGQrb7 h2VV20j88sLANawr1Ez5RzfYUQ== X-Received: by 2002:a1c:6c14:: with SMTP id h20-v6mr11876371wmc.138.1530635207563; Tue, 03 Jul 2018 09:26:47 -0700 (PDT) Received: from [192.168.1.100] (aig34-1-88-167-228-121.fbx.proxad.net. [88.167.228.121]) by smtp.gmail.com with ESMTPSA id e17-v6sm2369677wrr.85.2018.07.03.09.26.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 09:26:46 -0700 (PDT) Subject: Re: [lkp-robot] ee410f15b1 BUG: kernel hang in boot stage To: kernel test robot Cc: Andrew Morton , Linux Memory Management List , linux-kernel@vger.kernel.org, LKP References: <20180703025155.GD32173@nfs> From: Thierry Escande Message-ID: Date: Tue, 3 Jul 2018 18:26:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180703025155.GD32173@nfs> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/07/2018 04:51, kernel test robot wrote: > > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit ee410f15b1418f2f4428e79980674c979081bcb7 > Author: Thierry Escande > AuthorDate: Thu Jun 14 15:28:15 2018 -0700 > Commit: Linus Torvalds > CommitDate: Fri Jun 15 07:55:25 2018 +0900 > > lib/test_printf.c: call wait_for_random_bytes() before plain %p tests This patch is already reverted in Linus tree. It's also been superseded in linux-next by a new version. Regards, Thierry > > If the test_printf module is loaded before the crng is initialized, the > plain 'p' tests will fail because the printed address will not be hashed > and the buffer will contain '(ptrval)' instead. > > This patch adds a call to wait_for_random_bytes() before plain 'p' tests > to make sure the crng is initialized. > > Link: http://lkml.kernel.org/r/20180604113708.11554-1-thierry.escande@linaro.org > Signed-off-by: Thierry Escande > Acked-by: Tobin C. Harding > Reviewed-by: Andrew Morton > Cc: David Miller > Cc: Rasmus Villemoes > Signed-off-by: Andrew Morton > Signed-off-by: Linus Torvalds > > 608dbdfb1f hexagon: drop the unused variable zero_page_mask > ee410f15b1 lib/test_printf.c: call wait_for_random_bytes() before plain %p tests > 883c9ab9eb Merge branch 'parisc-4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux > e3c7283c19 Add linux-next specific files for 20180629 > +-------------------------------+------------+------------+------------+---------------+ > | | 608dbdfb1f | ee410f15b1 | 883c9ab9eb | next-20180629 | > +-------------------------------+------------+------------+------------+---------------+ > | boot_successes | 35 | 0 | 19 | 13 | > | boot_failures | 0 | 15 | | | > | BUG:kernel_hang_in_boot_stage | 0 | 15 | | | > +-------------------------------+------------+------------+------------+---------------+ > > [ 9.488584] ------------- > [ 9.491008] Testing concurrent rhashtable access from 10 threads > [ 21.577749] test 3125 add/delete pairs into rhlist > [ 21.734553] test 3125 random rhlist add/delete operations > [ 21.813107] Started 10 threads, 0 failed, rhltable test returns 0 > BUG: kernel hang in boot stage > > > # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD > git bisect start 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 v4.17 -- > git bisect good a16afaf7928b74c30a4727cdcaa67bd10675a55d # 08:00 G 11 0 0 0 Merge tag 'for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply > git bisect good dc594c39f7a9dcdfd5dbb1a446ac6d06182e2472 # 08:13 G 11 0 0 0 Merge tag 'ceph-for-4.18-rc1' of git://github.com/ceph/ceph-client > git bisect bad 81e97f01371f4e1701feeafe484665112cd9ddc2 # 08:33 B 0 1 15 0 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid > git bisect bad 35773c93817c5f2df264d013978e7551056a063a # 08:55 B 0 1 15 0 Merge branch 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs > git bisect bad 8949170cf48e91da7e4e69a59e2842d81d9a5885 # 09:26 B 0 1 15 0 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm > git bisect bad becfc5e97cbab00b25a592aabc36838ec7217d1f # 09:49 B 0 10 24 0 Merge tag 'drm-next-2018-06-15' of git://anongit.freedesktop.org/drm/drm > git bisect good 7a932516f55cdf430c7cce78df2010ff7db6b874 # 10:21 G 11 0 0 0 Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground > git bisect bad b5d903c2d656e9bc54bc76554a477d796a63120d # 10:44 B 0 1 15 0 Merge branch 'akpm' (patches from Andrew) > git bisect good 3fb3894b84c2e0f83cb1e4f4e960243742e6b3a6 # 11:06 G 10 0 0 0 kernel/relay.c: change return type to vm_fault_t > git bisect good 14f28f5776927be30717986f86b765d49eec392c # 11:20 G 10 0 0 0 ipc: use new return type vm_fault_t > git bisect good fe6bdfc8e1e131720abbe77a2eb990c94c9024cb # 11:44 G 10 0 0 0 mm: fix oom_kill event handling > git bisect good 608dbdfb1f0299f4500e56d62b0d84c44dcfa3be # 11:56 G 11 0 0 0 hexagon: drop the unused variable zero_page_mask > git bisect bad ee410f15b1418f2f4428e79980674c979081bcb7 # 12:16 B 0 1 15 0 lib/test_printf.c: call wait_for_random_bytes() before plain %p tests > # first bad commit: [ee410f15b1418f2f4428e79980674c979081bcb7] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests > git bisect good 608dbdfb1f0299f4500e56d62b0d84c44dcfa3be # 12:42 G 30 0 0 0 hexagon: drop the unused variable zero_page_mask > # extra tests with debug options > git bisect bad ee410f15b1418f2f4428e79980674c979081bcb7 # 13:00 B 0 11 25 0 lib/test_printf.c: call wait_for_random_bytes() before plain %p tests > # extra tests on HEAD of linux-devel/devel-catchup-201807010645 > git bisect bad 52e245677317cd2f35888d20fbdf8f72f1b62841 # 13:00 B 0 33 50 0 0day head guard for 'devel-catchup-201807010645' > # extra tests on tree/branch linus/master > git bisect good 883c9ab9eb595f8542d01e55d29a346c8d96862e # 13:12 G 11 0 0 0 Merge branch 'parisc-4.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux > # extra tests on tree/branch linux-next/master > git bisect good e3c7283c19cd9ba999794f38007389ac83408a78 # 13:42 G 11 0 0 0 Add linux-next specific files for 20180629 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/lkp Intel Corporation >