Bug#586458: grub-pc: unaligned pointer problem with 1.98+20100617
Arthur Marsh
arthur.marsh at internode.on.net
Sat Jun 19 18:13:04 UTC 2010
Package: grub-pc
Version: 1.98+20100617-1
Severity: important
Tags: upstream
I have been reading #grub and the other recent bug comments.
As per Colin's request, this is the extra information.
# debconf-show grub-pc
grub2/kfreebsd_cmdline:
* grub-pc/linux_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:
grub-pc/install_devices_empty: false
* grub-pc/install_devices: /dev/hda
grub-pc/mixed_legacy_and_grub2: true
victoria:/home/amarsh04# cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev devtmpfs rw,relatime,size=187400k,nr_inodes=46850,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/sda7 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda6 /victoria vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdc1 /scsic vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdc5 /scsid vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
/dev/sdd /mnt/usb8gig vfat rw,nosuid,nodev,noexec,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=win95,flush,errors=remount-ro 0 0
victoria:/home/amarsh04# ls -al /boot/grub/stage2
ls: cannot access /boot/grub/stage2: No such file or directory
I had not done anything on grub beyond run updates via aptitude in several
weeks.
I have just run:
# grub-install /dev/sda
Installation finished. No error reported.
I'll reboot and see how I go...
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/sda7 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda6 /victoria vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdc1 /scsic vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdc5 /scsid vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdd /mnt/usb8gig vfat rw,nosuid,nodev,noexec,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=win95,flush,errors=remount-ro 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
if terminal_input console ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_input
terminal console
fi
if terminal_output console ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal console
fi
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.34' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.34 ...'
linux /vmlinuz-2.6.34 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.34
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.34 ...'
linux /vmlinuz-2.6.34 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.34
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33-2-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.33-2-686 ...'
linux /vmlinuz-2.6.33-2-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.33-2-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33-2-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.33-2-686 ...'
linux /vmlinuz-2.6.33-2-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.33-2-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.33 ...'
linux /vmlinuz-2.6.33 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.33
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.33 ...'
linux /vmlinuz-2.6.33 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.33
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-4-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32-4-686 ...'
linux /vmlinuz-2.6.32-4-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-4-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-4-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32-4-686 ...'
linux /vmlinuz-2.6.32-4-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-4-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32 ...'
linux /vmlinuz-2.6.32 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32 ...'
linux /vmlinuz-2.6.32 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-2-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.30-2-686 ...'
linux /vmlinuz-2.6.30-2-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.30-2-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-2-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.30-2-686 ...'
linux /vmlinuz-2.6.30-2-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.30-2-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
linux16 /memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
multiboot /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
multiboot /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.34 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii grub-common 1.98+20100617-1 GRand Unified Bootloader, version
ii libc6 2.11.2-1 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-2 The Linux Kernel Device Mapper use
ii ucf 3.0025 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
-- Configuration Files:
/etc/default/grub changed:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL=console
GRUB_DISABLE_OS_PROBER="true"
-- debconf-show failed
More information about the Pkg-grub-devel
mailing list