All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: "Joseph P. Garcia" <jpgarcia@execpc.com>,
	<linuxppc-dev@lists.linuxppc.org>
Subject: Re: 2.4.10-ben0 doesn't see ide1
Date: Sun, 30 Sep 2001 19:51:48 +0200	[thread overview]
Message-ID: <20010930175148.29787@smtp.wanadoo.fr> (raw)
In-Reply-To: <20010930122211.2cf9b2f7.jpgarcia@execpc.com>


>Rack this up as an OF bug on some systems I think.  I got it too
>(Wallstreet2/300).  The OF IDE nodes request what look like twice memory
>as much as they need.  Linux doesn't even use most of it anyway.
>
>The two ide busses in my system have resources 0x10000 apart, while they
>both reserve a size of 0x20000 (IIRC).  Since BenH's recent kernels
>reserve space based on OF, and then request it realistically, in this
>situation, it will fail on half of the resource allocation.  Even though
>we don't use the overlapping area...
>
>Quick fix? halve all the resource sizes of the ide nodes. (DMA's space
>also does this).  I don't know what the long term fix would be.

Ok, thanks for figuring out what was breaking request_OF_node on
those machines, I didn't yet had a chance to look at it in more
details ;)

A "good" fix would probably be to fixup OF ranges early during
boot, but for now, I think just limiting how much memory is
requested will be enough.

BTW. Once that's fixed, does media bay works on lombard & wallstreet
machines with my new kernel ? I rewrote the media bay driver but
didn't yet have a chance to test it on anything but Pismo.

Also, Joseph, did you notice similar problem with other OF resources
ranges or is this specific to IDE ?

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-09-30 17:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-30 10:04 2.4.10-ben0 doesn't see ide1 Jan Nieuwenhuizen
2001-09-30 17:22 ` Joseph P. Garcia
2001-09-30 17:51   ` Benjamin Herrenschmidt [this message]
2001-09-30 18:13     ` Joseph P. Garcia
2001-09-30 19:12       ` Benjamin Herrenschmidt
2001-09-30 19:39         ` Joseph P. Garcia
2001-10-01 12:28           ` Benjamin Herrenschmidt
2001-10-01  8:08     ` Michael Schmitz
2001-10-01 18:00   ` Jan Nieuwenhuizen

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=20010930175148.29787@smtp.wanadoo.fr \
    --to=benh@kernel.crashing.org \
    --cc=jpgarcia@execpc.com \
    --cc=linuxppc-dev@lists.linuxppc.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.