Re: Linux kernel 3.x problems on PowerMac G5

2013-03-11 Thread Phileas Fogg
On 03/10/2013 01:52 PM, Benjamin Herrenschmidt wrote: On Sun, 2013-03-10 at 11:53 +0100, Phileas Fogg wrote: Good news :) I found the bug. MMU features were not set properly for PPC970MP DD1.0 which, unfortunately, my machine has. Damn, one line fix but one week searching. Linux 3.8.2 boots with

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-10 Thread Benjamin Herrenschmidt
On Sun, 2013-03-10 at 11:53 +0100, Phileas Fogg wrote: > Good news :) I found the bug. > MMU features were not set properly for PPC970MP DD1.0 which, > unfortunately, my machine has. > Damn, one line fix but one week searching. > Linux 3.8.2 boots without problems now :) Nice one ! I didn't think

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-10 Thread Phileas Fogg
Good news :) I found the bug. MMU features were not set properly for PPC970MP DD1.0 which, unfortunately, my machine has. Damn, one line fix but one week searching. Linux 3.8.2 boots without problems now :) Here is my patch: --- arch/powerpc/kernel/cputable.c.old 2013-03-10 11:48:56.559480758

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-10 Thread Phileas Fogg
On 03/10/2013 01:45 AM, Benjamin Herrenschmidt wrote: On Sun, 2013-03-10 at 01:26 +0100, Phileas Fogg wrote: i managed to find the bad commit after a couple of days bisecting. Thanks ! 44ae3ab3358e962039c36ad4ae461ae9fb29596c is the first bad commit commit 44ae3

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-09 Thread Phileas Fogg
On 03/10/2013 01:45 AM, Benjamin Herrenschmidt wrote: Have you verified that if you checkout git at the above commit point, it fails and if you then just revert that commit on top, it works again ? The above should have been mostly a NOP change but I'll have a closer look in case a typo of som

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-09 Thread Benjamin Herrenschmidt
On Sun, 2013-03-10 at 01:26 +0100, Phileas Fogg wrote: > i managed to find the bad commit after a couple of days bisecting. Thanks ! > > 44ae3ab3358e962039c36ad4ae461ae9fb29596c is the first bad commit > commit 44ae3ab3358e962039c36ad4ae461ae9fb29596c > Author: Matt

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-09 Thread Phileas Fogg
On 03/07/2013 09:22 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-03-07 at 21:08 +0100, Phileas Fogg wrote: And the bisect couldn't find the commit which causes hangs on my machine. All commits which were provided by the bisect were bad. And the commit before tha last bad bisect commit was bad

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-07 Thread Phileas Fogg
On 03/07/2013 09:22 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-03-07 at 21:08 +0100, Phileas Fogg wrote: And the bisect couldn't find the commit which causes hangs on my machine. All commits which were provided by the bisect were bad. And the commit before tha last bad bisect commit was bad

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-07 Thread Benjamin Herrenschmidt
On Thu, 2013-03-07 at 21:08 +0100, Phileas Fogg wrote: > And the bisect couldn't find the commit which causes hangs on my > machine. > All commits which were provided by the bisect were bad. > And the commit before tha last bad bisect commit was bad too. > I did bisect several times, and got the sa

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-07 Thread Phileas Fogg
On 03/03/2013 08:24 PM, Benjamin Herrenschmidt wrote: On Sun, 2013-03-03 at 20:16 +0100, Phileas Fogg wrote: Benjamin Herrenschmidt wrote: Thanks. It looks like a bisection might indeed be the way to go... Out of curiosity, have you tried without some of your additional drivers ? Maybe one of

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Benjamin Herrenschmidt
On Sun, 2013-03-03 at 20:16 +0100, Phileas Fogg wrote: > Benjamin Herrenschmidt wrote: > > Thanks. It looks like a bisection might indeed be the way to go... > > > > Out of curiosity, have you tried without some of your additional drivers ? > > Maybe one of them is the culprit... > > > > Cheers, >

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Phileas Fogg
Benjamin Herrenschmidt wrote: Thanks. It looks like a bisection might indeed be the way to go... Out of curiosity, have you tried without some of your additional drivers ? Maybe one of them is the culprit... Cheers, Ben. Not yet, will do. But I tested the official Debian Wheezy RC netinstall

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Benjamin Herrenschmidt
On Sun, 2013-03-03 at 05:16 -0700, Phileas Fogg wrote: > i'm testing currently with slightly modified g5_defconfig. I enabled > the Ralink driver for my USB WLAN NIC and some other stuff, nothing > fancy. Anyways, i'm sending you config for 3.0.67. Linux 3.0.67 hangs on > my machine too. > > I c

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Phileas Fogg
Benjamin Herrenschmidt wrote: On Sat, 2013-03-02 at 15:40 +0100, Phileas Fogg wrote: recently i got a PowerMac G5 and installed Debian Linux 2.6.32 on it. Everything works so far and Debian boots properly. Today i tried to boot Linux 3 on the machine and it doesn't boot. The Linux 3 kernel was

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Benjamin Herrenschmidt
On Sun, 2013-03-03 at 11:23 +0300, Denis Kirjanov wrote: > I'm running 3.7.6 without any problems on my quad core machine. You > have to try to compile with g5_defconfig... Sure but I still want to know what in his config is breaking it, chances are that's something that we should fix :-) Cheers,

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Denis Kirjanov
I'm running 3.7.6 without any problems on my quad core machine. You have to try to compile with g5_defconfig... On 3/3/13, Benjamin Herrenschmidt wrote: > On Sat, 2013-03-02 at 17:22 +0100, Andreas Schwab wrote: >> > Thanks. Then i configured something wrongly probably. >> > I tried Linux 2.6.39.

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-02 Thread Benjamin Herrenschmidt
On Sat, 2013-03-02 at 17:22 +0100, Andreas Schwab wrote: > > Thanks. Then i configured something wrongly probably. > > I tried Linux 2.6.39.4 and it boots too. > > I looked around on the Internet and it seems i'm not the only one > > who has problems with Linux 3.x on my PowerMac G5. > > I have no

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-02 Thread Benjamin Herrenschmidt
On Sat, 2013-03-02 at 15:40 +0100, Phileas Fogg wrote: > recently i got a PowerMac G5 and installed Debian Linux 2.6.32 on it. > Everything works so far and Debian boots properly. > > Today i tried to boot Linux 3 on the machine and it doesn't boot. > The Linux 3 kernel was cross-compiled by me. >

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-02 Thread Andreas Schwab
Phileas Fogg writes: > Aaro Koskinen wrote: >> Hi, >> >> On Sat, Mar 02, 2013 at 03:40:19PM +0100, Phileas Fogg wrote: >>> Have anyone tested Linux 3 kernels on PowerMac G5 recently ? >> >> 3.8 boots normally to shell and is stable on G5 iMac (PowerMac8,1). >> >> A. >> > > Thanks. Then i configur

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-02 Thread Phileas Fogg
Aaro Koskinen wrote: Hi, On Sat, Mar 02, 2013 at 03:40:19PM +0100, Phileas Fogg wrote: Have anyone tested Linux 3 kernels on PowerMac G5 recently ? 3.8 boots normally to shell and is stable on G5 iMac (PowerMac8,1). A. Thanks. Then i configured something wrongly probably. I tried Linux 2.

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-02 Thread Aaro Koskinen
Hi, On Sat, Mar 02, 2013 at 03:40:19PM +0100, Phileas Fogg wrote: > Have anyone tested Linux 3 kernels on PowerMac G5 recently ? 3.8 boots normally to shell and is stable on G5 iMac (PowerMac8,1). A. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozl