Bug#478401: Segment fault on grub-probe

Isaac M. Marcos isaacmarcos100010 at gmail.com
Sat May 3 03:39:54 UTC 2008


El Friday 02 May 2008 14:55:51 Robert Millan escribió:
> On Tue, Apr 29, 2008 at 01:48:30PM -0430, Isaac M. Marcos wrote:
> > > Is this possibly the same issue as http://bugs.debian.org/474343 ?
> >
> > It does not seem so: I don't have VG's with "cero" LV's, grub-common is
> > past 2008413-1.
> >
> > How should I determined that?
>
> Yes, this is possibly the same issue as #474343 (aka #474931, or #477175).
>
> However, I can't determine without a gdb backtrace.  You could provide me
> with one, or maybe it's simpler if you test the patch in
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474931#45 and confirm it
> fixes the problem.
>
> In any case, please don't merge this bug untill we're sure it's the same
> one.
>
> Thanks!

Sorry for the detail, i am new to this things.. Just to be clear:

Downloaded source for grub-common
patch from bug=474931#45 applied to disk/lvm.c		"patch lvm.c lvm.diff"
build grub2_1.96+20080429-1_amd64.deb		"dpkg-buildpackage -uc -b " 
said package installed		"dpkg -i grub-common_1.96+20080429-1_amd64.deb"
run grub-probe -t device sda -------> same segfault.

Questions:
Version of grub-probe didn't change, it's still 1.96, Is it correct?
"grub-probe -v -t device sda" produces a long list:
</quote>
---- at dsktop01:~$ sudo grub-probe -v -t device sda
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda1'
same message 2 times
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda2'
same message 7 times
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda3'
same message 7 times
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda5'
same message 51 times
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda'
grub-probe: info: the size of hd0 is 234441648
grub-probe: info: opening the device `/dev/sda6'
same message 51 times
Volación de segmento
<quote/>

Obviously "Violacion de segmento" is a segfault  :-)
is it correct to probe sda5 and sda6 "52 times"?
does this help in any way?

How do I know the patch is in effect?

Thanks for being patient!!!!

-- 
Isaac M. Marcos





More information about the Pkg-grub-devel mailing list