Re: perf PPC: kernel panic with callchains and context switch events

2011-07-24 Thread Benjamin Herrenschmidt
On Sun, 2011-07-24 at 11:18 -0600, David Ahern wrote: > On 07/20/2011 03:57 PM, David Ahern wrote: > > I am hoping someone familiar with PPC can help understand a panic that > > is generated when capturing callchains with context switch events. > > > > Call trace is below. The short of it is that

[PATCH] perf: powerpc: Disable pagefaults during callchain stack read

2011-07-24 Thread Anton Blanchard
Hi David, > > I am hoping someone familiar with PPC can help understand a panic > > that is generated when capturing callchains with context switch > > events. > > > > Call trace is below. The short of it is that walking the callchain > > generates a page fault. To handle the page fault the mmap_

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Benjamin Herrenschmidt
On Sun, 2011-07-24 at 14:37 +0200, Michael Büsch wrote: > On Sun, 24 Jul 2011 22:13:34 +1000 > Benjamin Herrenschmidt wrote: > > > I'm booting zImage.pmac. > > > > Ah that might make it easier... I don't remember where it links, can you > > show me the program headers out of readelf -a of the zIm

Re: perf PPC: kernel panic with callchains and context switch events

2011-07-24 Thread David Ahern
On 07/20/2011 03:57 PM, David Ahern wrote: > I am hoping someone familiar with PPC can help understand a panic that > is generated when capturing callchains with context switch events. > > Call trace is below. The short of it is that walking the callchain > generates a page fault. To handle the pa

Re: [PATCH 2/5] hugetlb: add phys addr to struct huge_bootmem_page

2011-07-24 Thread Tabi Timur-B04825
On Thu, Jun 30, 2011 at 1:50 PM, Becky Bruce wrote: > Because there was no bootmem allocation in the normal case - the non-highmem > version stores data structure in the huge page itself.  This is perfectly > fine as long > as you have a mapping.  Since this isn't true for HIGHMEM pages, I alloc

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Michael Büsch
On Sun, 24 Jul 2011 22:13:34 +1000 Benjamin Herrenschmidt wrote: > > I'm booting zImage.pmac. > > Ah that might make it easier... I don't remember where it links, can you > show me the program headers out of readelf -a of the zImage ? As I recompiled stuff, here's the current failure log: http:/

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Benjamin Herrenschmidt
On Sun, 2011-07-24 at 14:10 +0200, Michael Büsch wrote: > On Sun, 24 Jul 2011 22:07:30 +1000 > Benjamin Herrenschmidt wrote: > > > On Sat, 2011-07-23 at 22:20 +0200, Michael Büsch wrote: > > > Linux 3.0 fails to boot _very_ early on my Powerbook G4. See the > > > yaboot/OF screenshot: > > > http:

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Michael Büsch
On Sun, 24 Jul 2011 22:07:30 +1000 Benjamin Herrenschmidt wrote: > On Sat, 2011-07-23 at 22:20 +0200, Michael Büsch wrote: > > Linux 3.0 fails to boot _very_ early on my Powerbook G4. See the > > yaboot/OF screenshot: > > http://bues.ch/misc/linux-3.0-pbook.jpg > > > > Linux 2.6.39.2 boots fine.

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Benjamin Herrenschmidt
On Sat, 2011-07-23 at 22:20 +0200, Michael Büsch wrote: > Linux 3.0 fails to boot _very_ early on my Powerbook G4. See the > yaboot/OF screenshot: > http://bues.ch/misc/linux-3.0-pbook.jpg > > Linux 2.6.39.2 boots fine. > Does somebody have an idea? Interesting, that's before it even kills OF. Ar

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Michael Büsch
On Sun, 24 Jul 2011 10:06:03 +0200 Andreas Schwab wrote: > Michael Büsch writes: > > > Linux 3.0 fails to boot _very_ early on my Powerbook G4. See the > > yaboot/OF screenshot: > > http://bues.ch/misc/linux-3.0-pbook.jpg > > > > Linux 2.6.39.2 boots fine. > > Does somebody have an idea? > > P

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-24 Thread Andreas Schwab
Michael Büsch writes: > Linux 3.0 fails to boot _very_ early on my Powerbook G4. See the > yaboot/OF screenshot: > http://bues.ch/misc/linux-3.0-pbook.jpg > > Linux 2.6.39.2 boots fine. > Does somebody have an idea? Perhaps your image is getting too large? Andreas. -- Andreas Schwab, sch...@l