linux-mips
[Top] [All Lists]

Ooops in kmalloc from request_region

To: linux-mips <linux-mips@oss.sgi.com>
Subject: Ooops in kmalloc from request_region
From: Liam Davies <ldavies@agile.tv>
Date: Wed, 14 Feb 2001 14:00:38 +1000
Reply-to: ldavies@oz.agile.tv
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; m18) Gecko/20010131 Netscape6/6.01

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?


Thanks
Liam Davies



Unable to handle kernel paging request at virtual address 10003278, epc == 80035314, ra == 800a1d60
Oops in fault.c:do_page_fault, line 172:


static void __init cobalt_irq_setup(void)
{
      set_cp0_status(ST0_IM, 0);

      set_except_vector(0, cobalt_handle_int);

---->> request_region(0xb0000020, 0x20, "pic1");
      request_region(0xb00000A0, 0x20, "pic2");
...


<Prev in Thread] Current Thread [Next in Thread>