From: Ingo Molnar <mingo@elte.hu>
To: Michael D Labriola <mlabriol@gdeb.com>, Matthew Garrett <mjg@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, linux-kernel@vger.kernel.org,
Kushal Koolwal <kushalkoolwal@gmail.com>,
support@versalogic.com, michael.d.labriola@gmail.com
Subject: Re: Reboot hangs on VersaLogic Ocelot
Date: Mon, 16 Jan 2012 08:53:48 +0100 [thread overview]
Message-ID: <20120116075348.GF15641@elte.hu> (raw)
In-Reply-To: <OFE7865F25.43E4BFD2-ON85257984.0057CD12-85257984.0058D31D@gdeb.com>
(Cc:-ed Matthew Garrett)
* Michael D Labriola <mlabriol@gdeb.com> wrote:
> I've been troubleshooting a VersaLogic Ocelot SBC that's been
> hanging on reboot ever since I upgraded its BIOS. The
> conclusion I've come to is that commit e19e074 (x86: Fix
> reboot problem on VersaLogic Menlow boards) needs to be
> reverted.
>
> My system was rebooting fine (kernel v3.2) prior to upgrading
> the BIOS, but it turns out that the DMI string being looked
> for in the VersaLogic reboot quirk wasn't added until I
> upgraded the BIOS.
>
> Here's a summary of the behavior I encountered on my system
> (VL-EPMs-21a rev 1.00 w/ BIOS 6.5.102)
>
> - v2.6.37 reboot=bios is needed
>
> - v2.6.38-rc1: behavior changed, reboot=acpi is needed, reboot=kbd and
> reboot=bios result in system hang.
>
> - v2.6.38: VersaLogic patch (e19e074 x86: Fix reboot problem on
> VersaLogic Menlow boards) was applied prior to v2.6.38-rc7. This
> patch sets a quirk for VersaLogic Menlow boards that forces the use
> of reboot=bios, which doesn't work anymore. As far as I can tell,
> there's no way to override this faulty quirk, as it seems to take
> precedence over the reboot= argument.
That's another bug i'd argue - the user specifying something on
the boot command line should *always* override the kernel's
built-in defaults.
> - v3.2: It seems that commit 660e34c (x86: Reorder reboot method
> preferences) changed the default reboot method to acpi prior to
> v3.0-rc1, which means the default behavior is appropriate for the
> Ocelot. After reverting commit e19e074, my system reboots perfectly
> w/out passing any reboot= arguments. I confirmed that this is a
> true statement for all 3 versions of the Ocelot's BIOS.
And this works for the older BIOS version as well, the one which
motivated commit e19e074?
Please send a patch that removes the quirk (not named a revert -
as technically the old quirk did solve problems), with the
changelog containing your (excellent) bug analysis and the test
coverage above, plus a signoff?
Matthew, do you concur? Looks like your reordering changes
actively improved the default behavior and we can start removing
quirks.
Thanks,
Ingo
next prev parent reply other threads:[~2012-01-16 7:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 16:10 Michael D Labriola
2012-01-16 7:53 ` Ingo Molnar [this message]
2012-01-16 16:51 ` Michael D Labriola
[not found] ` <OF8925048E.BDB4D255-ON85257987.005AFEB7-85257987.005C9188@LocalDomain>
2012-01-16 17:20 ` Michael D Labriola
2012-01-16 21:29 ` Matthew Garrett
2012-01-17 8:57 ` Ingo Molnar
2012-01-17 14:22 ` Michael D Labriola
[not found] ` <OFE7567546.E048E2ED-ON85257988.004E1300-85257988.004EF54C@LocalDomain>
2012-01-17 15:24 ` Michael D Labriola
2012-01-16 21:30 ` Matthew Garrett
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=20120116075348.GF15641@elte.hu \
--to=mingo@elte.hu \
--cc=hpa@zytor.com \
--cc=kushalkoolwal@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.d.labriola@gmail.com \
--cc=mingo@redhat.com \
--cc=mjg@redhat.com \
--cc=mlabriol@gdeb.com \
--cc=support@versalogic.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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