Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Aug 2011 11:04:11 +0400
From:      Test Rat <ttsestt@gmail.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch
Message-ID:  <86zkjld7o4.fsf@gmail.com>
References:  <86zkjtwc8r.fsf@gmail.com> <B9C820F7-EAD7-4AB8-903A-06CEF17240CA@gmail.com> <86vcucfnt3.fsf@gmail.com> <4E3DCFC8.7000802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> writes:

> On 2011-08-05 07:08, Test Rat wrote:
>> Pawel Worach<pawel.worach@gmail.com>  writes:
> ...
>>> A workaround for the hang on boot and "error 1 lba X" failures is the
>>> following patch, it would be interesting if it also makes the
>>> zfs_alloc/free error go away too.
>> After applying the patch zfsboot and gptzfsboot boot successfully.
>> Tested both inside qemu and only gptzfsboot on a living system.
>
> Hi,
>
> Can you please try the following alternative patch, which should fix the
> problem without disabling -mrtd?  E.g. revert the previous patch, then
> apply this one.

It boots fine after applying either of patches. I've made sure
the bug appeared again before testing the new patch.

zfsboot and gptzfsboot built with gcc still boot, too.

> Of course, if any other posters in this thread that had problems with
> gptzfsboot (or 'plain' zfsboot) can also confirm this patch works, it
> would be nice. :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zkjld7o4.fsf>