[PATCH] Fix incorrect address reference in btrfs

2014-08-14 Thread Michael Chang
We encountered a weird random kernel initrd unpacking error on btrfs and finally found it was caused by incorrect address reference in range check for type GRUB_BTRFS_EXTENT_REGULAR and the entire result is unpredictable. This is a quick fix to make the address reference to the grub_btrfs_entent_d

Re: [PATCH] Fix incorrect address reference in btrfs

2014-08-14 Thread Michael Chang
CC Takashi and Jeff On Thu, Aug 14, 2014 at 06:17:45PM +0800, Michael Chang wrote: > We encountered a weird random kernel initrd unpacking error on btrfs > and finally found it was caused by incorrect address reference in range > check for type GRUB_BTRFS_EXTENT_REGULAR and the entire result is >

Two grub problems on FreeBSD

2014-08-14 Thread Beeblebrox
1. gettext is consistently problematic on Freebsd: # grub-mkconfig -o output.file => grub-mkconfig: gettext_print: not found 2. grub no longer recognizes latest version of zfs file systems # grub-probe -d dev/ada1p1 => grub-probe: error: unknown filesystem. -- FreeBSD_amd64_11-Current_RadeonKMS

Re: Two grub problems on FreeBSD

2014-08-14 Thread Andrei Borzenkov
В Thu, 14 Aug 2014 16:17:24 +0300 Beeblebrox пишет: > > 1. gettext is consistently problematic on Freebsd: > # grub-mkconfig -o output.file => > grub-mkconfig: gettext_print: not found > Fixed but how did you manage to not have grub-probe? > 2. grub no longer recognizes latest version of zfs

Re: Two grub problems on FreeBSD

2014-08-14 Thread Beeblebrox
> Fixed but how did you manage to not have grub-probe? Sorry, what? Did you mean gnu_gettext? (it's installed) > > 2. grub no longer recognizes latest version of zfs file systems > > # grub-probe -d dev/ada1p1 => > > grub-probe: error: unknown filesystem. > Do you mean - it recognized it before

Re: Two grub problems on FreeBSD

2014-08-14 Thread Andrei Borzenkov
В Thu, 14 Aug 2014 20:35:15 +0300 Beeblebrox пишет: > > > Fixed but how did you manage to not have grub-probe? > Sorry, what? The only place where this error happens is when grub-probe is not found. > Did you mean gnu_gettext? (it's installed) > > > > 2. grub no longer recognizes latest vers

Re: Two grub problems on FreeBSD

2014-08-14 Thread Beeblebrox
> So please try to bisect grub to find which commit broke it. The last > commit related to zfs was Wed Dec 18 23:39:49 2013 so it must be > something else (or something changed in your environment - compiler, > linker ...) That's not the issue - the commit that "broke it" was a zpool upgrade some