Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Steve Johnson <stevej@ridgerun.com>
To: ldavies@oz.agile.tv
Cc: linux-mips <linux-mips@oss.sgi.com>
Subject: Re: Ooops in kmalloc from request_region
Date: Wed, 14 Feb 2001 06:16:08 -0700	[thread overview]
Message-ID: <3A8A8518.F66EBFA3@ridgerun.com> (raw)
In-Reply-To: 3A8A02E6.9030408@agile.tv

Liam,

    You can't call kmalloc that early in the startup process.  Look at main.c,
and init_IRQ comes before any of the memory initialization.

    Steve

Liam Davies wrote:

> I am currently at the stage of calling request_region in my irq_setup
> function.
> The call to request_region does a kmalloc which oops. The box has 256Mb Ram.
>
> Is this the right stage to be doing this call? Is there something that I
> have missed
> in setting up the memory regions or paging?
>

  reply	other threads:[~2001-02-14 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14  4:00 Ooops in kmalloc from request_region Liam Davies
2001-02-14 13:16 ` Steve Johnson [this message]
2001-02-14 13:19   ` Geert Uytterhoeven

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=3A8A8518.F66EBFA3@ridgerun.com \
    --to=stevej@ridgerun.com \
    --cc=ldavies@oz.agile.tv \
    --cc=linux-mips@oss.sgi.com \
    /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