From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: Kernel fails on Dreamcast - results of bisection
Date: Sun, 22 Mar 2009 11:01:50 +0000 [thread overview]
Message-ID: <20090322110149.GA1226@linux-sh.org> (raw)
In-Reply-To: <1237675045.27611.23.camel@localhost.localdomain>
On Sat, Mar 21, 2009 at 11:39:25PM +0000, Adrian McMenamin wrote:
> On Sat, 2009-03-21 at 22:37 +0000, Adrian McMenamin wrote:
> > I bisected the kernel in your (Paul's) git as I knew that it was not
> > working well on the Dreamcast
> ....
>
> > This is the result of the bisection. I cannot see what bit of this patch
> > is causing the difficulties but I'm pretty sure that this is where it
> > is. The actual problem is a race condition, as it does not happen on
> > every boot...
> >
> > adrian@bossclass:~/lethal-repo$ git bisect good
> > 955c0778723501cc16fec40501cd54b7e72d3e74 is first bad commit
> > commit 955c0778723501cc16fec40501cd54b7e72d3e74
> > Author: Magnus Damm <damm@igel.co.jp>
> > Date: Thu Jan 22 09:55:31 2009 +0000
> >
> > sh: rework clocksource and sched_clock
> >
> > Rework and simplify the sched_clock and clocksource code. Instead
> > of registering the clocksource in a shared file we move it into the
> > tmu driver. Also, add code to handle sched_clock in the case of no
> > clocksource.
> >
> > Signed-off-by: Magnus Damm <damm@igel.co.jp>
> > Signed-off-by: Paul Mundt <lethal@linux-sh.org>
> >
> >
>
> To test this further I reverted this commit and it does indeed seem to
> fix the problem - the next line on the console in systems that boot (as
> opposed to fail) is indeed one about the System Clock.
>
> (I am now getting a lot of messages about failures of the udev script -
> possibly because I have just turned a lot of debugging stuff on - in any
> case the system does boot and works with that commit reverted).
>
> I don't pretend to know why Magnus's patch is breaking the Dreamcast,
> but I am pretty sure it is. Could it be reverted before being pushed
> upstream while we wait for one that works?
>
Please test with it reverted and with no changes to the defconfig. If you
are randomly going to change variables, then the bug report is
speculation at best. If you are going to make config changes at the same
time that you revert changes, you are not debugging the problem at hand.
It is not even worth looking at this until you are sure the same scenario
exists without config changes.
next prev parent reply other threads:[~2009-03-22 11:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-21 22:37 Kernel fails on Dreamcast - results of bisection Adrian McMenamin
2009-03-21 23:39 ` Adrian McMenamin
2009-03-22 11:01 ` Paul Mundt [this message]
2009-03-22 11:13 ` Paul Mundt
2009-03-22 11:49 ` Adrian McMenamin
2009-03-22 13:49 ` Adrian McMenamin
2009-03-22 15:43 ` Paul Mundt
2009-03-22 18:30 ` Adrian McMenamin
2009-03-23 1:18 ` Paul Mundt
2009-03-23 3:49 ` Magnus Damm
2009-03-26 0:01 ` Adrian McMenamin
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=20090322110149.GA1226@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.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