Message ID | 513C6641.2010308@mail.ru (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
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 anybody shipped a DD1.0 chip ! :-) Looks like some typo/thinko in the cputable and you are one of the very rare victims of it. I'll fix that up. Regarding the IDE problem, can you shoot a note to Tejun who wrote that patch (and CC me) ? I do recommend switching to libata but we should still fix the problem with legacy IDE. Cheers, Ben.
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 without problems now :) > > Nice one ! I didn't think anybody shipped a DD1.0 chip ! :-) > > Looks like some typo/thinko in the cputable and you are one of the very > rare victims of it. I'll fix that up. Regarding the IDE problem, can you > shoot a note to Tejun who wrote that patch (and CC me) ? I do recommend > switching to libata but we should still fix the problem with legacy IDE. > > Cheers, > Ben. > > > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev > The IDE-CD bug appears to be already fixed. I tested g5_defconfig with Linux 3.8.2 and it boots OK. I think i saw a commit regarding this issue in git. Regards
--- arch/powerpc/kernel/cputable.c.old 2013-03-10 11:48:56.559480758 +0100 +++ arch/powerpc/kernel/cputable.c 2013-03-10 11:41:07.522786804 +0100 @@ -275,7 +275,7 @@ .cpu_features = CPU_FTRS_PPC970, .cpu_user_features = COMMON_USER_POWER4 | PPC_FEATURE_HAS_ALTIVEC_COMP, - .mmu_features = MMU_FTR_HPTE_TABLE, + .mmu_features = MMU_FTRS_PPC970, .icache_bsize = 128, .dcache_bsize = 128, .num_pmcs = 8,