mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Bombe <aeb@debian.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Jan Kara <jack@suse.cz>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [REGRESSION] Boot hang with 939f04bec printk: enable interrupts before calling console_trylock_for_printk()
Date: Thu, 3 Jul 2014 02:57:15 +0200	[thread overview]
Message-ID: <20140703005715.GA3626@amos.fritz.box> (raw)
In-Reply-To: <20140630132030.fa6ac8c8f040e6f5b05071f3@linux-foundation.org>

On Mon, Jun 30, 2014 at 01:20:30PM -0700, Andrew Morton wrote:
> On Sun, 29 Jun 2014 00:50:50 +0200 Andreas Bombe <aeb@debian.org> wrote:
> 
> > None of the post 3.15 kernel boot for me. They all hang at the GRUB
> > screen telling me it loaded and started the kernel, but the kernel
> > itself stops before it prints anything (or even replaces the GRUB
> > background graphics).
> > 
> > I bisected it down to 939f04bec1a4ef6ba4370b0f34b01decc844b1b1 "printk:
> > enable interrupts before calling console_trylock_for_printk()".
> > Reverting that patch on the latest kernel (git 24b414d5a7) allows me to
> > boot normally.
> 
> OK, thanks, I queued the below reversion.  I'll hold off for a week or
> two in case we come up with a fix.
> 
> > I fixed the conflict in the revert by leaving in the "if
> > (in_sched) return printed_len;".
> 
> hm, that might have been buggy - we still need to the lockdep_on() and
> local_irq_restore().  You're a victim of
> someone-stuck-a-random-return-in-the-middle-of-a-function.

To be honest, I just randomly picked one possible conflict resolution to
confirm whether the revert actually helps.

> Please review this and if possible, run-time test it?  Against current
> mainline.

I've applied it (actually I picked the one from your patch series but
they are identical I think) and it does boot. I'm writing this on the
latest kernel + your revert.

  reply	other threads:[~2014-07-03  0:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-28 22:50 Andreas Bombe
2014-06-30 20:20 ` Andrew Morton
2014-07-03  0:57   ` Andreas Bombe [this message]
2014-07-14  8:35 ` Jan Kara
2014-07-16 21:34   ` Andreas Bombe
2014-07-17  8:31     ` Jan Kara
2014-07-18 22:50       ` Andreas Bombe
2014-07-21 10:04         ` Jan Kara
2014-07-22 23:29           ` Andreas Bombe
2014-07-23  7:43             ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140703005715.GA3626@amos.fritz.box \
    --to=aeb@debian.org \
    --cc=akpm@linux-foundation.org \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome