Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754829AbdLOCEg (ORCPT ); Thu, 14 Dec 2017 21:04:36 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37658 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754594AbdLOCEe (ORCPT ); Thu, 14 Dec 2017 21:04:34 -0500 X-Google-Smtp-Source: ACJfBovaaTVD26XzyiiAsNa1sKsIAx6/NjJZ4VKwwFsqvP2zIHXvpPK/4K6MuMgKYVmbxJUdVyNNrRK+24hE3k7XMhw= MIME-Version: 1.0 In-Reply-To: <20171215014417.GA17757@wolff.to> References: <20171214082452.GA16698@wolff.to> <20171214100927.GA26167@localhost.didichuxing.com> <20171214154136.GA12936@wolff.to> <20171215014417.GA17757@wolff.to> From: weiping zhang Date: Fri, 15 Dec 2017 10:04:32 +0800 Message-ID: Subject: Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register") To: Bruno Wolff III Cc: Laura Abbott , Jan Kara , Jens Axboe , linux-mm@kvack.org, Linux Kernel Mailing List , regressions@leemhuis.info, linux-block@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1190 Lines: 30 2017-12-15 9:44 GMT+08:00 Bruno Wolff III : > On Fri, Dec 15, 2017 at 09:22:21 +0800, > weiping zhang wrote: >> >> >> Thanks your testing, but I cann't find WARN_ON in device_add_disk from >> this boot1.log, could you help reproduce that issue? And does this issue >> can be >> triggered at every bootup ? > > > I don't know what you need for the first question. When I am physically at > the machine I can do test reboots. If you have something specific you want > me to try I should be able to. > > Every time I boot with the problem commit, the boot never completes. However > it does seem to get pretty far. I get multiple register dumps every time. > After a while (a few minutes) I reboot to a wrking kernel. > > The output I included is from: journalctl -k -b -1 > If you think it would be better to see more than dmesg output let me know. I just want to know WARN_ON WHAT in device_add_disk, if bdi_register_owner return error code, it may fail at any step of following: bdi_debug_root is NULL bdi->debug_dir is NULL bdi->debug_stats is NULL so I want see the WARN_ON as you paste before, also my DEBUG log will help to find which step fail.