Re: "Unable to handle kernel paging request for instruction fetch" on P4080

2017-02-01 Thread Thomas De Schampheleire
On Wed, Jan 25, 2017 at 10:46 AM, Thomas De Schampheleire wrote: > Hi, > > We are experiencing kernel panics of the type "Unable to handle kernel paging > request for instruction fetch" but are stuck in our analysis. We would > appreciate any help you can give. > >

"Unable to handle kernel paging request for instruction fetch" on P4080

2017-01-25 Thread Thomas De Schampheleire
Hi, We are experiencing kernel panics of the type "Unable to handle kernel paging request for instruction fetch" but are stuck in our analysis. We would appreciate any help you can give. The problem occurs from time to time on different instances of a particular embedded systems. The kernel is ve

Re: Changing TASK_UNMAPPED_BASE to a low address

2012-10-10 Thread Thomas De Schampheleire
Hi, On Fri, Oct 5, 2012 at 11:47 AM, Thomas De Schampheleire wrote: > Hi, > > The current virtual address space of a 32-bit userspace process looks > like this on powerpc: > # cat /proc/28922/maps > 0010-00102000 r-xp 00:00 0 [vdso] > 0fe7-0ffd800

Changing TASK_UNMAPPED_BASE to a low address

2012-10-05 Thread Thomas De Schampheleire
Hi, The current virtual address space of a 32-bit userspace process looks like this on powerpc: # cat /proc/28922/maps 0010-00102000 r-xp 00:00 0 [vdso] 0fe7-0ffd8000 r-xp 00:01 754/lib/libc-2.10.1.so 0ffd8000-0ffe8000 ---p 00168000 00:01 754/lib/

Re: FW: P4080 device tree problems with fsl dpaa ... RESOLVED.

2011-10-18 Thread Thomas De Schampheleire
Hi Robert, On Tue, Oct 18, 2011 at 11:38 PM, Robert Sciuk wrote: > > > [snip] > >> >> How and what type of packets are you sending? Raw MAC frames, IP? Are >> you using custom code, or can you try things like ping? >> If you are using IP, I trust you checked the Linux configuration (like >> assig

Re: FW: P4080 device tree problems with fsl dpaa ...

2011-10-18 Thread Thomas De Schampheleire
Hi Robert, On Mon, Oct 17, 2011 at 8:34 PM, Robert Sciuk wrote: > > >> -Original Message- >> From: patrickdeping...@gmail.com [mailto:patrickdeping...@gmail.com] On >> Behalf Of Thomas De Schampheleire >> Sent: Monday, October 17, 2011 5:01 AM >>

Re: FW: P4080 device tree problems with fsl dpaa ...

2011-10-17 Thread Thomas De Schampheleire
Hi Robert, On Fri, Oct 14, 2011 at 11:57 PM, Robert Sciuk wrote: > > > -Original Message- > From: Robert Sciuk > Sent: Friday, October 14, 2011 5:27 PM > To: 'devicetree-disc...@lists.ozlabs.org' > Subject: P4080 device tree problems with fsl dpaa ... > > I've just joined the list, and I

Re: softirqs are invoked while bottom halves are masked

2011-07-13 Thread Thomas De Schampheleire
On Tue, Jul 12, 2011 at 2:13 PM, David Miller wrote: > From: David Miller > Date: Tue, 12 Jul 2011 05:08:17 -0700 (PDT) > >> From: Ronny Meeus >> Date: Tue, 12 Jul 2011 14:03:04 +0200 >> >>> but we still see the issue "BUG: sleeping function called from invalid >>> context": >>> >>> [   91.0159

softirqs are invoked while bottom halves are masked (was: Re: [PATCH] [PATCH] Fix deadlock in af_packet while stressing raw ethernet socket interface)

2011-07-12 Thread Thomas De Schampheleire
Hi, I'm adding the linuxppc-dev mailing list since this may be pointing to an irq/softirq problem in the powerpc architecture-specific code... On Tue, Jul 12, 2011 at 8:58 AM, Eric Dumazet wrote: > Le mardi 12 juillet 2011 à 08:38 +0200, Ronny Meeus a écrit : >> On Tue, Jul 12, 2011 at 5:27 AM,

Re: Mapping an executable page

2011-06-22 Thread Thomas De Schampheleire
On Wed, Jun 22, 2011 at 1:40 PM, Tabi Timur-B04825 wrote: > Thomas De Schampheleire wrote: >> I think I can make it more reliable by dummy reading the pages*after* >> I disabled interrupts on that processor, immediately before jumping to >> the boot code. Is that correct? &g

Re: Mapping an executable page

2011-06-22 Thread Thomas De Schampheleire
On Tue, Jun 14, 2011 at 10:26 PM, Scott Wood wrote: > On Tue, 14 Jun 2011 10:56:31 +0200 > Thomas De Schampheleire wrote: > >> * Therefore, to make sure that the mapping I intended with __ioremap() >> is actually reflected in the TLB tables, I added dummy reads of each >

Re: Mapping an executable page

2011-06-22 Thread Thomas De Schampheleire
On Tue, Jun 14, 2011 at 10:07 PM, Timur Tabi wrote: > Timur Tabi wrote: >> Hmmm I find that surprising.  Memory allocated via ioremap() is supposed >> to >> be available in interrupt handlers, where TLB mappings can't be created >> on-the-fly.  I'm not sure that your observation is correct. >

Re: Mapping an executable page

2011-06-22 Thread Thomas De Schampheleire
On Tue, Jun 14, 2011 at 10:02 PM, Timur Tabi wrote: > Thomas De Schampheleire wrote: > >> * However, if you jump to an address in that page, you'll have to make >> sure that the entire code that executes is mapped (make map_size large >> enough). > >

Re: Mapping an executable page

2011-06-14 Thread Thomas De Schampheleire
Hi, On Sun, May 29, 2011 at 4:53 PM, Tabi Timur-B04825 wrote: > On Fri, May 27, 2011 at 8:25 AM, Thomas De Schampheleire > wrote: > >> Although I realize that what I need to achieve is unconventional, what >> is the correct way of mapping a certain address range into memo

Mapping an executable page

2011-05-27 Thread Thomas De Schampheleire
Hi, To cover a specific reset scenario, I need to jump back to the reset vector of a powerpc processor (e500mc core). In order to be able to jump there directly, the code where I jump to should have a TLB mapping associated with it. I tried achieving this as follows: typedef void