Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1686027 > unrolled thread

[PATCH] um: Re-enable verbose panic()

Started byRichard Weinberger <richard@nod.at>
First post2017-07-12 23:00 +0200
Last post2017-07-13 10:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] um: Re-enable verbose panic() Richard Weinberger <richard@nod.at> - 2017-07-12 23:00 +0200
    Re: [PATCH] um: Re-enable verbose panic() kbuild test robot <lkp@intel.com> - 2017-07-13 10:20 +0200

#1686027 — [PATCH] um: Re-enable verbose panic()

FromRichard Weinberger <richard@nod.at>
Date2017-07-12 23:00 +0200
Subject[PATCH] um: Re-enable verbose panic()
Message-ID<u2wTM-4E4-9@gated-at.bofh.it>
Commit 9a93848fe787 ("x86/debug: Implement __WARN() using UD0")
rightfully removed GENERIC_BUG from UML because UML didn't use
that feature.
A side effect of this is that DEBUG_BUGVERBOSE no longer
set and therefore panic() doesn't print a stack trace.

Let's select DEBUG_BUGVERBOSE manually to have a verbose panic()
again.

Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 arch/um/Kconfig.common | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index 85f6dd204ab6..3cb6cd80ee4c 100644
--- a/arch/um/Kconfig.common
+++ b/arch/um/Kconfig.common
@@ -13,6 +13,8 @@ config UML
 	select GENERIC_CLOCKEVENTS
 	select HAVE_GCC_PLUGINS
 	select TTY # Needed for line.c
+	select HAVE_DEBUG_BUGVERBOSE
+	select DEBUG_BUGVERBOSE
 
 config MMU
 	bool
-- 
2.12.3

[toc] | [next] | [standalone]


#1686361

Fromkbuild test robot <lkp@intel.com>
Date2017-07-13 10:20 +0200
Message-ID<u2HvP-37W-3@gated-at.bofh.it>
In reply to#1686027

[Multipart message — attachments visible in raw view] — view raw

Hi Richard,

[auto build test WARNING on uml/linux-next]
[also build test WARNING on v4.12 next-20170713]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Richard-Weinberger/um-Re-enable-verbose-panic/20170713-094737
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git linux-next
config: um-allnoconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=um 

All warnings (new ones prefixed by >>):

warning: (UML) selects DEBUG_BUGVERBOSE which has unmet direct dependencies (BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE))

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web