Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub & grub2 both fail to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
redgsturbo
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 283

PostPosted: Tue Jan 17, 2012 9:45 pm    Post subject: grub & grub2 both fail to work Reply with quote

When I emerge grub, it hangs at the below. It just sits there. grub is at 100% CPU utilization the whole time as well. Tried it on 2 sets of hardware, and originally hardened/SELinux profile, then on a vanilla install. Any idea whats going on?

Code:
 * Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to //boot/grub


grub2 9999 fails with:
Code:
reed_solomon.c: Assembler messages:
reed_solomon.c:651: Warning: ignoring changed section attributes for .text
/var/tmp/portage/sys-boot/grub-9999/work/grub-9999/grub-core/boot/i386/pc/startup_raw.S:119: Error: attempt to move .org backwards
make[3]: *** [boot/i386/pc/lzma_decompress_image-startup_raw.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-pc/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-pc/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-pc'
make: *** [all] Error 2
 * ERROR: sys-boot/grub-9999 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =sys-boot/grub-9999',
 * the complete build log and the output of 'emerge -pqv =sys-boot/grub-9999'.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-9999/temp/environment'.
 * S: '/var/tmp/portage/sys-boot/grub-9999/work/grub-9999'


Can't boot the box... any help is appreciated
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Mon Jan 30, 2012 5:05 pm    Post subject: Reply with quote

Look here
https://forums.gentoo.org/viewtopic-p-6910692.html#6910692
Back to top
View user's profile Send private message
schrdlu
n00b
n00b


Joined: 01 Nov 2009
Posts: 61
Location: Adelaide Sth Australia

PostPosted: Fri Mar 02, 2012 7:36 am    Post subject: Re: grub & grub2 both fail to work Reply with quote

redgsturbo wrote:
When I emerge grub, it hangs at the below. It just sits there. grub is at 100% CPU utilization the whole time as well. Tried it on 2 sets of hardware, and originally hardened/SELinux profile, then on a vanilla install. Any idea whats going on?

Code:
 * Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to //boot/grub


grub2 9999 fails with:
Code:
reed_solomon.c: Assembler messages:
reed_solomon.c:651: Warning: ignoring changed section attributes for .text
/var/tmp/portage/sys-boot/grub-9999/work/grub-9999/grub-core/boot/i386/pc/startup_raw.S:119: Error: attempt to move .org backwards
make[3]: *** [boot/i386/pc/lzma_decompress_image-startup_raw.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-pc/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-pc/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-pc'
make: *** [all] Error 2
 * ERROR: sys-boot/grub-9999 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =sys-boot/grub-9999',
 * the complete build log and the output of 'emerge -pqv =sys-boot/grub-9999'.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-9999/temp/environment'.
 * S: '/var/tmp/portage/sys-boot/grub-9999/work/grub-9999'


Can't boot the box... any help is appreciated


Really not enough info for an educated guess...... is your build dir still available ? if not rerun the emerge.
then if it still falls over cp /var/tmp/portage/(grub*****)/temp/[build.log ,environment,+ any other files that seem informational] to your home dir,change permissions on these files to you as group owner. Then run (emerge --info -v) in home. loginto bugs.gentoo.org and check if there are any items relating to this problem. If not then start up another thread. upload the files to the bug as additional files,then sit back and wait. You are more likely to get info from this area than in here as this looks as though it is a bug :evil: .Hope this helps Geoff alias schrdlu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum