* Is this bad? :-)
@ 2009-05-16 15:51 BandiPat
2009-05-16 16:26 ` Felix Zielcke
0 siblings, 1 reply; 3+ messages in thread
From: BandiPat @ 2009-05-16 15:51 UTC (permalink / raw)
To: Grub2 Development
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is this bad? :-)
2009-05-16 15:51 Is this bad? :-) BandiPat
@ 2009-05-16 16:26 ` Felix Zielcke
2009-05-16 17:32 ` Daniel Nebdal
0 siblings, 1 reply; 3+ messages in thread
From: Felix Zielcke @ 2009-05-16 16:26 UTC (permalink / raw)
To: The development of GRUB 2
Am Samstag, den 16.05.2009, 11:51 -0400 schrieb BandiPat:
> 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.
--
Felix Zielcke
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is this bad? :-)
2009-05-16 16:26 ` Felix Zielcke
@ 2009-05-16 17:32 ` Daniel Nebdal
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Nebdal @ 2009-05-16 17:32 UTC (permalink / raw)
To: The development of GRUB 2
On Sat, May 16, 2009 at 6:26 PM, Felix Zielcke <fzielcke@z-51.de> wrote:
> Am Samstag, den 16.05.2009, 11:51 -0400 schrieb BandiPat:
>> 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.
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?
--
Daniel Nebdal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-16 17:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-16 15:51 Is this bad? :-) BandiPat
2009-05-16 16:26 ` Felix Zielcke
2009-05-16 17:32 ` Daniel Nebdal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.