lkml.org 
[lkml]   [2011]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectFwd: Regression: patch " hvc_console: display printk messages on console." causing infinite loop with 3.2-rc0 + Xen.
    From
    <plain text forwarding>

    Bummer.  Sorry about that.
    Konrad, could you give me a hand figuring out what's up with this -
    I'm not running Zen here.  (If there's a test suite I could have run,
    mea culpa, and please point me in the right direction.)

    The "console [hvc0] enabled" message is coming from register_console()
    in printk.c, and it doesn't have any loops.
    It's called from hvc_console_init(), hvc_instantiate(), and
    hvc_alloc(), none of which have loops.  The call in hvc_alloc() is the
    one I added, so either I've inadvertently made one of the other two
    repeat (I'm guestting hvc_instantiate() is the one you're using), or
    you're infinitely calling hvc_alloc().  There's a calls to hvc_alloc()
    in hvc_xen.c::xen_hvc_init(), and in init_port_console() in
    virtio_console.c, but again, no loops.  Similarly for
    hvc_instantiate().

    So, could I trouble you to put a breakpoint in register_console() and
    send me the stack?

    Thanks,
    Miche

    On Wed, Oct 26, 2011 at 10:48 PM, Greg KH <gregkh@suse.de> wrote:
    >
    > On Thu, Oct 27, 2011 at 01:30:08AM -0400, Konrad Rzeszutek Wilk wrote:
    > > Hey Miche.
    > >
    > > The git commit 361162459f62dc0826b82c9690a741a940f457f0:
    > >
    > >     hvc_console: display printk messages on console.
    > >
    > > is causing an infinite loop when booting Linux under Xen, as so:
    > >
    > > [    2.382984] console [hvc0] enabled
    > > [    2.382984] console [hvc0] enabled
    > > [    2.382984] console [hvc0] enabled
    > > [    2.382984] console [hvc0] enabled
    > > [    2.382984] console [hvc0] enabled
    > > [    2.382984] console [hvc0] enabled
    > > ..
    > >
    > > (see attached file titled bad.log)
    > >
    > > If I use Linus's latest git tree and revert your patch I get the kernel
    > > to bootup (see good.log file),
    >
    > Ick, not good, thanks for letting us know.
    >
    > Miche, want me to just revert this, or do you think you can fix it?
    >
    > thanks,
    >
    > greg k-h
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-10-27 16:53    [W:0.025 / U:61.140 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site