Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667852 - sys-boot/grub-2.0.2-r3 on sparc fails to boot - ERROR: Last Trap: Fast Data Access MMU Miss
Summary: sys-boot/grub-2.0.2-r3 on sparc fails to boot - ERROR: Last Trap: Fast Data A...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: https://git.savannah.gnu.org/cgit/gru...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2018-10-05 21:19 UTC by Ben Kohler
Modified: 2020-03-01 19:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fully disable PIE (disable-pie.patch,437 bytes, patch)
2018-10-05 21:19 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2018-10-05 21:19:32 UTC
Created attachment 549482 [details, diff]
patch to fully disable PIE

After applying the build fix from bug 667850, GRUB fails to boot on my Sun Fire T2000, with error "ERROR: Last Trap: Fast Data Access MMU Miss".  Found an upstream issue [1] which suggests that PIE is to blame.

A patch was provided by floppym to more completely disable PIE on the build, it has fixed boot for me.

[1] https://github.com/esnowberg/grub2-sparc/issues/8
Comment 1 Mike Gilbert gentoo-dev 2019-04-26 14:31:15 UTC
I would greatly appreciate it if you could report this upstream, and/or send a patch to the grub-devel mailing list.

https://www.gnu.org/software/grub/grub-bugs.html

https://lists.gnu.org/mailman/listinfo/grub-devel
Comment 2 Ben Kohler gentoo-dev 2019-04-26 14:37:11 UTC
I will do that.  There is an open github issue [1] at the grub2-sparc project from the oracle dev who contributes most of the grub sparc fixes, I'll follow up there too.

[1] https://github.com/esnowberg/grub2-sparc/issues/8
Comment 3 Matt Turner gentoo-dev 2020-02-20 06:53:07 UTC
Patch sent upstream.
Comment 4 Matt Turner gentoo-dev 2020-02-28 18:25:02 UTC
Patch is now upstream.
Comment 5 Larry the Git Cow gentoo-dev 2020-03-01 19:29:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88479552ab4e2e28ee122fa7efac6193219c386

commit b88479552ab4e2e28ee122fa7efac6193219c386
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-01 19:27:32 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-01 19:28:32 +0000

    sys-boot/grub-2.05_alpha20200228: add ~sparc
    
    Closes: https://bugs.gentoo.org/667850
    Closes: https://bugs.gentoo.org/667852
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 sys-boot/grub/grub-2.05_alpha20200228.ebuild | 2 +-
 sys-boot/grub/grub-9999.ebuild               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)