Bug#293878: grub-install segfaults on amd64

Ole-Morten Duesund Ole-Morten Duesund <olemd@acm.org>, 293878@bugs.debian.org
Sun, 06 Feb 2005 16:32:41 +0100


Package: grub
Version: 0.95+cvs20040624-14
Severity: normal

I have a system running pure64 on a degraded raid1.
Doing a grub-install, or install from within the grub shell
causes a segfault like:

grub[11475]: segfault at 00000000555bcb30 rip 00000000555bcb30 rsp
00000000bc9fc error 15

The following is the grub output from "grub-install /dev/md1" (it is
identical to the result I get with "grub-install /dev/hda" so I doubt
the raid1/md stuff is really relevant)
--- grub.log
/sbin/grub-install: line 516: 11475 Segmentation fault      $grub_shell --batch $no_floppy --device-map=$device_map  >$log_file <<EOF
root $root_drive
setup $force_lba --stage2=$grubdir/stage2 --prefix=$grub_prefix $install_drive
quit
EOF

Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)	/dev/fd0
(hd0)	/dev/hda
(hd1)	/dev/hdb
--- end grub.log

I'll be more than happy to try out solutions as I'm currently stuck
booting from a grub-cd.


Ole-Morten Duesund

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10-9-amd64-k8
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

-- no debconf information