On Fri, Jul 29, 2011 at 10:22:27AM -0400, Fajar A. Nugraha wrote:
> On Fri, Jul 29, 2011 at 4:57 PM, Hans Rosenfeld <hans.rosenf...@amd.com> 
> wrote:
> > I've noticed this behaviour this morning and have been debugging it
> > since. I found out that, for some unknown reason, grub fails to get the
> > disk geometry, assumes 0 sectors/track and then does a divide-by-zero.
> >
> > I don't think this is a zfs issue.
> 
> If the problem is on zfs code in grub/grub2, then it should be zfs issue, 
> right?

I thought that due to the geometry stuff the zfs code never runs, but
after some more debugging I know that was wrong. These are in fact two
unrelated problems.

> Anyway, for comparison purposes, with ubuntu + grub2 + zfsonlinux
> (which can force ashift at pool creation time) + zfs root,  grub2
> won't even install on pools with ashift=12, while it works just fine
> with ashift=9. There were also booting problems if you've scrubbed
> rpool.
> 
> Does zfs code for grub/grub2 also depend on Oracle releasing updates,
> or is it simply a matter of no one with enough skill have looked into
> it yet?

I'm working on a patch for grub that fixes the ashift=12 issue. I'm
probably not going to fix the div-by-zero reboot.


Hans


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to