Bug#721504: booting from zfs fails with checksum verification failed

2013-09-01 Thread Christoph Egger
Package: grub-pc
Version: 2.00-18
Severity: grave

Upgrading grub from -15 to -18 causes a immediate boot failure. Grub gets
into rescue mode with checksum verification failed and `insmod normal`
fails with the same message. Booting into a live system the zfs imports
just fine and after downgrading grub everything's back to normal.

  Christoph

-- Package-specific info:

*** BEGIN /proc/mounts
/dev/da0s1 /mnt/passport ext2fs rw 0 0
*** END /proc/mounts

*** BEGIN /boot/grub/device.map
*** 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 [ x${feature_menuentry_id} = xy ]; then
  menuentry_id_option=--id
else
  menuentry_id_option=
fi

export menuentry_id_option

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
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
insmod all_video
  else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  d610af6cf49f9371
else
  search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
font=/root/@/usr/share/grub/unicode.pf2
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
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_kfreebsd ###
menuentry 'Debian GNU/kFreeBSD' --class debian --class gnu-kfreebsd --class gnu 
--class os $menuentry_id_option 'kfreebsd-simple-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  d610af6cf49f9371
else
  search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo'Loading kernel of FreeBSD 10.0-0-amd64 ...'
kfreebsd/root/@/boot/kfreebsd-10.0-0-amd64.gz 
kfreebsd_loadenv/root/@/boot/device.hints
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  d610af6cf49f9371
else
  search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  d610af6cf49f9371
else
  search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module /root/@/boot/zfs/zpool.cache 
type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  d610af6cf49f9371
else
  search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
kfreebsd_module_elf /root/@/lib/modules/10.0-0-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:base/root
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.vfs.zfs.trim_disable=0
set kFreeBSD.kern.hz=100
set kFreeBSD.hint.atrtc.0.clock=0
set kFreeBSD.hint.p4tcc.0.disabled=1
set kFreeBSD.hint.acpi_throttle.0.disabled=1
set kFreeBSD.hint.apic.0.clock=0
}
submenu 'Advanced options for Debian GNU/kFreeBSD' $menuentry_id_option 
'kfreebsd-advanced-d610af6cf49f9371' {
menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 10.0-0-amd64' --class 
debian --class gnu-kfreebsd --class gnu --class os $menuentry_id_option 
'kfreebsd-10.0-0-amd64-advanced-d610af6cf49f9371' {
insmod part_msdos
insmod zfs
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  d610af6cf49f9371
else
  search --no-floppy --fs-uuid --set=root d610af6cf49f9371
fi
echo'Loading kernel of FreeBSD 

Bug#721504: booting from zfs fails with checksum verification failed

2013-09-01 Thread Colin Watson
On Sun, Sep 01, 2013 at 01:40:29PM +0200, Christoph Egger wrote:
 Upgrading grub from -15 to -18 causes a immediate boot failure. Grub gets
 into rescue mode with checksum verification failed and `insmod normal`
 fails with the same message. Booting into a live system the zfs imports
 just fine and after downgrading grub everything's back to normal.

There weren't any ZFS-related changes in this window, as far as I know.
I'll probably need help from somebody with a system they can debug in
place to figure this out.

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#721504: booting from zfs fails with checksum verification failed

2013-09-01 Thread Christoph Egger
Hi!

Colin Watson cjwat...@debian.org writes:
 On Sun, Sep 01, 2013 at 01:40:29PM +0200, Christoph Egger wrote:
 Upgrading grub from -15 to -18 causes a immediate boot failure. Grub gets
 into rescue mode with checksum verification failed and `insmod normal`
 fails with the same message. Booting into a live system the zfs imports
 just fine and after downgrading grub everything's back to normal.

 There weren't any ZFS-related changes in this window, as far as I know.
 I'll probably need help from somebody with a system they can debug in
 place to figure this out.

Hmm. I did a `zpool scrub` as well which I shouldn't have done for
narrowing down the bug. I'll retry with -18 and bisect (if I can figure
that out on bzr) this down. Just need to keep this system working untill
tomorrow evening ;-)

  Christoph


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org