Bug#495949: grub-common: grub-probe segfaults

Jean-Luc Coulon (f5ibh) jean-luc.coulon at wanadoo.fr
Fri Jul 24 16:31:11 UTC 2009


Hi,

I use now grub-pc 1.96+20090721-4 
I've no more *this* error.
Here is the log of an update-grub command:

[jean-luc at tangerine] % sudo update-grub
Generating grub.cfg ...
Found Debian background: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.31-rc4-k8-1
Found initrd image: /boot/initrd.img-2.6.31-rc4-k8-1
Found linux image: /boot/vmlinuz-2.6.30-k8-3
Found initrd image: /boot/initrd.img-2.6.30-k8-3
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /memtest86+.bin
done

But now, a simple grun-install command sergfaults:

[jean-luc at tangerine] % sudo grub-install /dev/md0                       
/usr/sbin/grub-install: line 323: 17949 Erreur de segmentation  
$grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --
device-map=${device_map} ${install_device}


Regards

Jean-Luc

Le 24/07/2009 17:28:37, Felix Zielcke a écrit :
>
>Am Donnerstag, den 21.08.2008, 16:48 +0200 schrieb Jean-Luc Coulon
>(f5ibh):
>> Hi,
>> 
>> While using update-grub in the kernel update, an error 130 was
>> reported.
>> It appears that there is a segfault in grub-probe.
>> 
>> ------>8---------------------------------------------------------
>> [jean-luc at tangerine] % sudo dpkg --configure -a
>> Setting up linux-image-2.6.26-k8-3 (20080820) ...
>> Running depmod.
>> Finding valid ramdisk creators.
>> Using mkinitramfs-kpkg to build the ramdisk.
>> cryptsetup: WARNING: found more than one resume device candidate:
>>                      /dev/mapper/vg0-swap_lv
>>                      swap:/dev/mapper/vg0-swap_lv
>> Running postinst hook script update-grub.
>> Searching for GRUB installation directory ... found: /boot/grub
>> grub-probe[8856]: segfault at ffffffff00000003 ip 405881 sp
>> 7fff0fa14130 error 4
>> in grub-probe[400000+21000]
>> User postinst hook script [update-grub] exited with value 139
>> dpkg: error processing linux-image-2.6.26-k8-3 (--configure):
>>  subprocess post-installation script returned error exit status 139
>> Errors were encountered while processing:
>>  linux-image-2.6.26-k8-3
>> ------>8---------------------------------------------------------
>> 
>> System is X86_64.
>> /boot is ext3 over a raid1.
>> The other parts of the system are xfs over lvm over raid1.
>> 
>> I've got older versions to test.
>> These version works on the system:
>> 1.96+20080413-1
>> 1.96+20080426-1
>> 1.96+20080429-1
>> 
>> These don't:
>> 1.96+20080724-7
>> 1.96+20080724-8
>> 
>> But 1.96+20080724-7 has been updated on the system on august, 11th
>> without any
>> problem since this update.
>> 
>> Regards
>> 
>> Jean-Luc 
>
>Hi Jean-Luc,
>
>did this ever happen again to you?
>
>-- 
>Felix Zielcke
>
>
>
>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090724/4fd9b4ee/attachment.pgp>


More information about the Pkg-grub-devel mailing list