Skip to contentSkip to conversation

grub-setup Segmentation fault

DISCUSSION Magnus Granberg 2 participants 2 messages Aug 8, 2007 – Aug 12, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Sounds like I made the wrong guess, then. You need to figure out where's that null pointer coming from. Doesn't seem to be root_dev..

#1 0x08049385 in setup (prefix=0x80670b0 "(md0)(vg-boot)/grub", dir=0x8067008 "/boot/grub",
boot_file=<value optimized out>, core_file=0x805cb2a "core.img",
root=0x8067050 "vg-boot", dest=0x0, must_embed=1)
at util/i386/pc/grub-setup.c:223

Has somthing to do with dest=0x0 ?
If i run on only lvm no raid a get somting like dis
setup (prefix=0x8067070 "(vg-boot)/grub", dir=0x8067008 "/boot/grub", boot_file=0x805cb87 "boot.img",
core_file=0x805cb7e "core.img", root=0x8067060 "vg-boot", dest=0x8067038
"hd0", must_embed=1)

/Magnus

#1 lore raw
Quoted 10 lines · Magnus Granberg
Quoted 2 lines

Sounds like I made the wrong guess, then. You need to figure out where's that null pointer coming from. Doesn't seem to be root_dev..

#1 0x08049385 in setup (prefix=0x80670b0 "(md0)(vg-boot)/grub", dir=0x8067008 "/boot/grub",
boot_file=<value optimized out>, core_file=0x805cb2a "core.img",
root=0x8067050 "vg-boot", dest=0x0, must_embed=1)
at util/i386/pc/grub-setup.c:223

Has somthing to do with dest=0x0 ?

Yes, that null pointer looks suspicious. I'm not very familiar with the RAID/LVM stuff though.

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)