Bug#495949: grub-common: grub-probe segfaults
Felix Zielcke
fzielcke at z-51.de
Thu Aug 21 15:52:46 UTC 2008
Am Donnerstag, den 21.08.2008, 17:35 +0200 schrieb Jean-Luc Coulon
(f5ibh):
> As I old, I've nothing removed:
>
Ok just though you misunderstood me, well I even hoped that.
Do you have maybe other mdraid super blocks lying around on other
partitions
`mdadm --zero-superblock /dev/sdxy' would get rid of them.
GRUB and grub-probe use the superblock directly they find on the disk.
Even grub-probe doestn't use at all the informations from the assembled
RAIDs it could get from kernel (for example /proc/mdstat)
If this doestn't solve your problem then please do a debug compile with:
apt-get build-dep grub2
apt-get source grub2
DEB_BUILD_OPTIONS=nostrip,noopt,debug dpkg-buildpackage -b
You may need a `deb-src' line in /etc/apt/sources.list for this.
It's just the same as the `deb' one, just with `-src'
grub-probe is in grub-common
To get the core file you need to do `ulimit -c unlimited' first.
I don't know where the core file then be placed but maybe it just
segfaults ifyou just run `grub-probe /'
Then you should have a `core' file in your current directory.
Else do `find / -name "*core*"'
Would be very good if you would forward this to grub-devel at gnu.org (but
you need to subscribe first) and the /usr/sbin/grub-probe else the
corefile is useless.
More information about the Pkg-grub-devel
mailing list