Problem with MPC8536 and external IRQs when using a loadable kernel module

Mark Pearson Mark.Pearson at bladenetwork.net
Fri Dec 10 12:20:27 EST 2010


Magical - thank you very very much. The patch fixes the problem

Really appreciate the quick response - and I would never have found that in a million years.

Mark

-----Original Message-----
From: Michael Ellerman [mailto:michael at ellerman.id.au] 
Sent: Thursday, December 09, 2010 6:33 PM
To: Mark Pearson
Cc: linuxppc-dev at lists.ozlabs.org
Subject: Re: Problem with MPC8536 and external IRQs when using a loadable kernel module

On Thu, 2010-12-09 at 12:45 -0800, Mark Pearson wrote:
> I have a curious problem. This is on a MPC8636 based platform with 
> 36-bit address space (that may or may not be important).
> 
>  
> 
> I have a very simple driver that registers for one of the external 
> IRQs with a trivial interrupt handler. It works great when built in as 
> part of the kernel.
> 
>  
> 
> However, if I make it a loadable module I get the crash shown below 
> (blade_irq is my IRQ handler).
> 
>  
> 
> -----Console capture ----------------------------------------
> 
> Unable to handle kernel paging request for instruction fetch
                                            ^^^^^^^^^^^^^^^^^

Your interrupt handler isn't mapped executable? Something wrong with module loading?

Do you need 78e2e68a2b79f394b7cd61e07987a8a89af907f7 ?

cheers



Confidentiality Notice: This message and any attachments may contain  privileged and confidential information. If you have reason to believe that you are not the intended recipient or a person responsible for delivering this information to an intended recipient, you are hereby notified that any review, dissemination, distribution, or copying of this message is strictly prohibited. Please contact the sender immediately by reply mail and destroy all copies of the original message.


More information about the Linuxppc-dev mailing list