grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub-setup Segmentation fault


From: Robert Millan
Subject: Re: grub-setup Segmentation fault
Date: Sat, 4 Aug 2007 11:56:35 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Aug 04, 2007 at 04:37:03AM +0200, Magnus Granberg wrote:
> Starting program: 
> /sbin/grub-setup --directory=/boot/grub --device-map=/boot/grub/device.map 
> /dev/md0
> 
> Program received signal SIGSEGV, Segmentation fault.
> grub_device_open (name=0x0) at kern/device.c:38
> 38            if (*name == '\0')
> (gdb) bt
> #0  grub_device_open (name=0x0) at kern/device.c:38
> #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
> #2  0x0804a0bc in main (argc=Cannot access memory at address 0xb
> ) at util/i386/pc/grub-setup.c:733
> (gdb)

Could you try the attached patch?

-- 
Robert Millan

My spam trap is address@hidden  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.

Attachment: test.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]