Bug#776400: grub-ieee1275: ppc64el-disable-vsx.patch applied to 32-bit kernel.img causes exception at 0x20000008 (mtmsrd 0)

Mark Wiprud wip at coryell-wiprud.com
Wed Jan 28 00:06:14 UTC 2015


On Jan 27, 2015, at 2:40 PM, Colin Watson cjwatson at debian.org wrote:
> On Tue, Jan 27, 2015 at 11:17:04AM -0600, Mark wrote:
>> On a powerpc g4 (mac) system I am trying to switch from yaboot to grub.
>> The provided image always faults 8 bytes in. Looking at the patches for
>> grub I see "ppc64el-disable-vsx.patch" http://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/patches/ppc64el-disable-vsx.patch?id=debian/2.02.beta2-20
>> is causing the problem with the "mtmsrd" instruction.
>> 
>> I think the solution is to not apply this patch for 32-bit builds.
> 
> Thanks.  I prefer not to apply patches conditionally.  However, it
> should be sufficient to use the mtmsr instruction rather than mtmsrd;
> the bit we're trying to change is in the bottom 32 bits of the MSR in
> any case.
> 
> Please could you test version 2.02~beta2-21 when it becomes available in
> unstable (I'm preparing the upload now), and report how it behaves for
> you?
> 
> Thanks,
> 
> -- 
> Colin Watson                                       [cjwatson at debian.org]
> 

I have confirmed that the updated build fixes this problem.

Thanks!



More information about the Pkg-grub-devel mailing list