lkml.org 
[lkml]   [2005]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/29] x86-i8259-shutdown
    On Tue, Jan 25, 2005 at 04:40:14AM -0700, Eric W. Biederman wrote:
    > Cool I wonder how many more bugs work on kexec can flush out?

    BTW, I got your other e-mail with the patch. I'll see if I can try the
    patch sometime in the next few hours.

    > > 3. "Shutdown: hda
    > > Power down."
    > >
    > > You (or I, at least) would expect things to stop here, but we enter the
    > > Twilight Zone instead:
    >
    > So would I.
    >
    > > 4. "Kernel panic - not syncing: Attempted to kill init!" (Nothing this
    > > weird ever happens if I have ACPI enabled. In that case it either
    > > freezes or properly shuts down.)
    >
    > What lines are printed just before that? It would be nice
    > to know which part of the kernel panic if we can.
    >
    > At least if you can reproduce this that would be nice.

    100% reproducible for me:

    ---begin quote---
    Shutdown: hda
    Power down.
    Kernel panic - not syncing: Attempted to kill init!
    ---end quote---

    > I wonder if APM is really disabled at this point. I guess since
    > I have found the ACPI bug we can save the APM bug for later.

    Earlier in boot it says "apm: bios not found" or something like that. I
    can try again without ACPI or APM compiled into the kernel at all and
    see what happens. (IIRC, on all of my systems with working APM, the patch
    doesn't introduce any problems -- shutdown just works.)

    > > If anyone's interested, the source code to my minimal /sbin/init is
    > > here:
    > > http://bugme.osdl.org/attachment.cgi?id=4398&action=view
    >
    > Interesting.
    >
    > I am wondering if you see the same symptoms if you make this
    > your /init in a initcpio.gz. I am wondering if some of the
    > issues might be related to something not being shutdown properly.

    Yeah, I need to give that a try, but it's possible that I won't be able
    to do that for a couple of days.

    > > The problem occurs even with no other kexec patches applied. And
    > > applying all kexec patches except the i8259 shutdown patch fails to
    > > reproduce the problem.
    >
    > Very odd. I was wondering how many test cases had run, before I found
    > the acpi bug above. If the problem was not 100% the correlation with
    > this patch might have been a fluke. I just want to be certain.

    For me, it's absolute 100% correlation over 20-30 test runs or so
    (unfortunately it didn't occur to me to keep an exact count).

    > Well if you can help me track this down I would appreciate it.
    >
    > Do you think you would have time to try some test patches?

    Yes, I should have time to test patches.

    -Barry K. Nathan <barryn@pobox.com>
    -
    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: 2005-03-22 14:09    [W:3.756 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site