[clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch

Test Rat ttsestt at gmail.com
Fri Aug 5 05:08:25 UTC 2011


Pawel Worach <pawel.worach at gmail.com> writes:

> On Aug 1, 2011, at 14:24, Test Rat wrote:
>
>> Anyone else? I can still reproduce with trunk r136607.
>> boot and gptboot seem to be unaffected.
>> 
>> IIRC, with previous clang import it just stuck during boot
>> without any error messages.
>
> 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.


More information about the freebsd-current mailing list