Is this bad? :-)
Just built svn2220 to try, but it seems there might be a problem. Can you guys enlighten or confirm? Here is the resulting error when running grub-install.
# grub-install /dev/sda
/usr/sbin/grub-install: line 307: 679 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}This happened between svn2141 & svn2220
Thanks,
Pat
Am Samstag, den 16.05.2009, 11:51 -0400 schrieb BandiPat:
Quoted 10 lines
Just built svn2220 to try, but it seems there might be a problem. Can you guys enlighten or confirm? Here is the resulting error when running grub-install.
# grub-install /dev/sda /usr/sbin/grub-install: line 307: 679 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}This happened between svn2141 & svn2220
Compile with `CFLAGS="-O0 -g3" ./configure'
then run `ulimit -c unlimited' before running grub-install and you should get a core dump
Then gdb /usr/sbin/grub-setup core' and inside of gdb type bt' to get a backtrace.
This should tell where exactly it crashed.
Signature · 1 line
Felix Zielcke
Quoted 10 lines · Felix Zielcke
Am Samstag, den 16.05.2009, 11:51 -0400 schrieb BandiPat:
Quoted 9 lines
Just built svn2220 to try, but it seems there might be a problem. Can you guys enlighten or confirm? Here is the resulting error when running grub-install.
# grub-install /dev/sda /usr/sbin/grub-install: line 307: 679 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device}
Quoted 8 lines
Quoted 1 line
This happened between svn2141 & svn2220
Compile with `CFLAGS="-O0 -g3" ./configure'
then run `ulimit -c unlimited' before running grub-install and you should get a core dump
Thengdb /usr/sbin/grub-setup core' and inside of gdb typebt' to get a backtrace.
This should tell where exactly it crashed.
I have the same problem, in ubuntu/x86, using a SVN checkout form a few hours ago.
The backtrace looks like this:
Program terminated with signal 11, Segmentation fault. [New process 14357]
#0 0x08049ecc in identify_partmap (disk=0xbfb62248, p=0x8e374c0) at util/i386/pc/grub-setup.c:330
330 dest_partmap = p->partmap->name;
(gdb) bt
#0 0x08049ecc in identify_partmap (disk=0xbfb62248, p=0x8e374c0) at util/i386/pc/grub-setup.c:330
#1 0x0806bd00 in pc_partition_map_iterate (disk=0x8e374c0, hook=0xbfb62248) at partmap/pc.c:151
#2 0x08050dc3 in grub_partition_iterate (hook=0xbfb62248) at kern/partition.c:124
#3 0x080496d9 in setup (dir=0x8e35008 "/boot/grub", boot_file=0x807043c "boot.img", core_file=0x8070433 "core.img",
root=0x8e35110 "hd0,6", dest=0x8e350a8 "hd0", must_embed=0,
force=0) at util/i386/pc/grub-setup.c:333 #4 0x0804a85f in main (argc=4, argv=0xbfb623b4) at util/i386/pc/grub-setup.c:771
(gdb)
I hope that can be of some use?
Signature · 1 line
Daniel Nebdal