Skip to contentSkip to conversation

Still getting segmentation fault!

DISCUSSION BandiPat 4 participants 6 messages May 17, 2009 – May 19, 2009

lore
Share & tools
lore

BandiPat

author
#0 lore raw

root[Y]# grub-install /dev/sda --recheck

/usr/sbin/grub-install: line 307: 478 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}

Daniel provided a backtrace earlier in the "Is this bad?" topic, so do you need more to run down the problem?

Thanks,
Pat

Signature · 3 lines
       ---Zenwalk v6.x--Linux 2.6.29---
        Registered Linux User #225206
"Ever tried Zen computing?"  http://www.zenwalk.org
author
#1 lore raw
Quoted 11 lines · BandiPat

root[Y]# grub-install /dev/sda --recheck

/usr/sbin/grub-install: line 307: 478 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir}
--device-map=${device_map} ${install_device}

Daniel provided a backtrace earlier in the "Is this bad?" topic, so do you need more to run down the problem?

Thanks,
Pat

========
Sorry, replying to my own email, but didn't know if this might be significant as well. Thinking maybe the only thing that didn't complete was the MBR writing, I tried rebooting to see if I got any errors. I did get a rescue prompt, but couldn't do anything from it. Here is the error: grub_parser_execute not found

Hopefully helpful,
Pat

#2 lore raw
Quoted 7 lines · BandiPat
Quoted 6 lines · BandiPat

root[Y]# grub-install /dev/sda --recheck

/usr/sbin/grub-install: line 307:   478 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}

Same error here. Reverting back to git prior to May 05 fixes the issue.

Thanks,
Jeff.

author
#3 lore raw
Quoted 4 lines · Jeff Chua
Quoted 3 lines · BandiPat
Quoted 2 lines · BandiPat

root[Y]# grub-install /dev/sda --recheck

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

/usr/sbin/grub-install: line 307: 478 Segmentation fault $grub_setup
${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}

Same error here. Reverting back to git prior to May 05 fixes the issue.

Thanks,
Jeff.

---------------
Has there been any progress made on getting the segmentation problem fixed? I've only tested to svn2225, but you guys have made several changes since then. Was one of those patches a fix for this problem?

Thanks
Pat

#4 lore raw

Am Dienstag, den 19.05.2009, 12:18 -0400 schrieb BandiPat:

Quoted 9 lines
Quoted 8 lines · Jeff Chua
Quoted 6 lines · BandiPat
Quoted 5 lines · BandiPat

root[Y]# grub-install /dev/sda --recheck

/usr/sbin/grub-install: line 307: 478 Segmentation fault $grub_setup
${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}

Quoted 8 lines
Quoted 4 lines

Same error here. Reverting back to git prior to May 05 fixes the issue.

Thanks,
Jeff.

---------------
Has there been any progress made on getting the segmentation problem fixed? I've only tested to svn2225, but you guys have made several changes since then. Was one of those patches a fix for this problem?

No.
I'm not at all familiar with the partition code, so I don't have a clue how to fix this best.

Signature · 1 line
Felix Zielcke
#5 lore raw
In reply to BandiPat

Quoting BandiPat <[email protected]>:

Quoted 10 lines
Quoted 9 lines · Jeff Chua
Quoted 6 lines · BandiPat
Quoted 5 lines · BandiPat

root[Y]# grub-install /dev/sda --recheck

/usr/sbin/grub-install: line 307: 478 Segmentation fault $grub_setup
${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}

Same error here. Reverting back to git prior to May 05 fixes the issue.

I guess the reason is because identify_partmap() in util/i386/pc/grub-setup.c got NESTED_FUNC_ATTR, but the grub_partition_iterate() prototype didn't get updated.

Either we need another round of NESTED_FUNC_ATTR propagation, or we should actually take a different approach here, as discussed recently.

Signature · 2 lines
Regards,
Pavel Roskin