All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Simon Fowler <simon@himi.org>
Cc: jsimmons@infradead.org, linux-kernel@vger.kernel.org
Subject: Re: 2.5.70-bk radeonfb oops on boot.
Date: Tue, 10 Jun 2003 21:16:07 -0700	[thread overview]
Message-ID: <20030610211607.2bb55b41.akpm@digeo.com> (raw)
In-Reply-To: <20030611035525.GB2852@himi.org>

Simon Fowler <simon@himi.org> wrote:
>
> > > > 
> > > > It might be worth reverting this chunk, see if that fixes it:
> > > > 
> > > > --- b/drivers/char/mem.c        Thu Jun  5 23:36:40 2003
> > > > +++ b/drivers/char/mem.c        Sun Jun  8 05:02:24 2003
> > > > @@ -716 +716 @@
> > > > -__initcall(chr_dev_init);
> > > > +subsys_initcall(chr_dev_init);
> > > > 
> > > And we have a winner . . . Reverting this hunk fixes the oops.
> > > 
> > 
> > So it's another initcall problem in the PCI layer.
> > 
> > pci_enable_device_bars() is needing things which are not yet set up.  A lot
> > of the PCI initialisation is at subsys_initcall() as well, and you got
> > unlucky with link order.
> > 
> > I expect the below patch will fix this as well.  Could you please put the
> > above change back to normal and see if this one fixes it?
> > 
> I applied this to a clean 2.5.70-bk14 tree, and it failed to boot -
> I've copied the output after switching to the framebuffer:
> 
> --------------------------------------------------
> onsole: switching to colour frame buffer device 160x48
> pty: 256 Unix98 ptys configured.
> block request queues:
>   4/128 requests per read queue
>   4/128 requests per write queue
>   Enter congestion at 15
>   Exit congestion at 17
> PCI: Cannot allocate resource region 0 of device 00:14.0
> PCI: Cannot allocate resource region 2 of device 00:14.0
> --------------------------------------------------
> 
> 00:14.0 is the Radeon.

Thanks for testing.

All the initcall ordering of chardevs versus pci, pci versus pci and who
knows what else is all bollixed up.

Unfortunately I do not have the bandwidth to work on this.


  reply	other threads:[~2003-06-11  4:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10  6:16 2.5.70-bk radeonfb oops on boot Simon Fowler
2003-06-10  6:36 ` Joshua Kwan
2003-06-10  6:48 ` Greg KH
2003-06-10  6:53   ` Simon Fowler
2003-06-10 13:02 ` Simon Fowler
2003-06-10 21:14   ` Andrew Morton
2003-06-11  2:19     ` Simon Fowler
2003-06-11  3:16       ` Andrew Morton
2003-06-11  3:55         ` Simon Fowler
2003-06-11  4:16           ` Andrew Morton [this message]
2003-06-11  5:05             ` Simon Fowler
2003-06-11  7:56               ` Helge Hafting
2003-06-10 13:24 ` Helge Hafting

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=20030610211607.2bb55b41.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=jsimmons@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simon@himi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.