public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian McMenamin <adrian@newgolddream.dyndns.info>
To: linux-sh@vger.kernel.org
Subject: Re: Kernel fails on Dreamcast - results of bisection
Date: Thu, 26 Mar 2009 00:01:55 +0000	[thread overview]
Message-ID: <1238025715.12857.5.camel@localhost.localdomain> (raw)
In-Reply-To: <1237675045.27611.23.camel@localhost.localdomain>

On Mon, 2009-03-23 at 12:49 +0900, Magnus Damm wrote:
> On Sun, Mar 22, 2009 at 7:37 AM, Adrian McMenamin
> <adrian@newgolddream.dyndns.info> wrote:
> > 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>
> 
> Unless you have some dreamcast specific timer dependencies I really
> doubt that this patch is the cause of your problems. How about
> creating a smaller kernel? Take the defconfig and remove for instance
> cpufreq, mtd and all filesystems except whatever your rootfs is on.
> 


Well, I have done that and got the same results. I cannot actually
reproduce the udev script breakage, but can reproduce the OOM condition.

But I'll wait until all this is sucked into the .30-rc series and try
another bisection. The previous one was difficult because so many of the
bisected kernels were a priori broken due to issues with DMA that meant
make files had to be hacked to get them beyond an immediate breakage and
to the point where the OOM condition might be observed.

Whilst this wasn't an issue at the end of the process (ie the kernel
waiting to go into mainline doesn't have this DMA issue) it my be that
the true source of the breakage has been obscured.

When we get to the rc series I am assuming that won't be an issue...


      parent reply	other threads:[~2009-03-26  0: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
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 [this message]

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=1238025715.12857.5.camel@localhost.localdomain \
    --to=adrian@newgolddream.dyndns.info \
    --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