Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

Sam Morris sam at robots.org.uk
Wed May 9 11:37:03 UTC 2007


Here's a better backtrace, obtained one I patched the build system to
respect DEB_BUILD_OPTIONS=noopt:

        #0  0x08048eb9 in probe (path=0xbfdd6e50 "/boot/grub")
            at /tmp/x/grub2-1.95+20070507/util/i386/pc/grub-probe.c:129
                device_name = 0x806a138 "md0"
                drive_name = 0x806e408 "md0"
                dev = (grub_device_t) 0x806a028
                fs = (grub_fs_t) 0x805a315
        #1  0x08049433 in main (argc=5, argv=0xbfdd52b4)
            at /tmp/x/grub2-1.95+20070507/util/i386/pc/grub-probe.c:281
                dev_map = 0x806a008 "/boot/grub/device.map"
                path = 0xbfdd6e50 "/boot/grub"

The segfault happens because dev->disk->partition == NULL

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070509/9584f33c/attachment.pgp


More information about the Pkg-grub-devel mailing list