Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 00:20:25 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-current@FreeBSD.org, Dimitry Andric <dim@FreeBSD.org>, fs@FreeBSD.org
Subject:   Re: clang compiled kernel panic when mounting zfs root on i386
Message-ID:  <50CF9AA9.1030808@FreeBSD.org>
In-Reply-To: <50CF16B0.9090104@gmail.com>
References:  <50b37d46.8584440a.735c.ffffb4e6@mx.google.com> <20121126171658.GD3013@kib.kiev.ua> <20121127071243.D1255@besplex.bde.org> <20121129232944.GQ3013@kib.kiev.ua> <50b8a9c5.e64dec0a.1d88.133a@mx.google.com> <20121130164715.GW3013@kib.kiev.ua> <50b9cf0c.0fd9650a.5bbf.ffffb9b3@mx.google.com> <20121203224132.GJ3013@kib.kiev.ua> <50C880D7.1040907@gmail.com> <50C8DC8E.1080204@FreeBSD.org> <50C9AD2C.7000301__8690.12248372219$1355394383$gmane$org@FreeBSD.org> <50CF16B0.9090104@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 17/12/2012 14:57 Volodymyr Kostyrko said the following:
> 13.12.2012 12:25, Andriy Gapon:
>> on 12/12/2012 21:35 Dimitry Andric said the following:
>>> Especially the recursive spa_load and traverse_visitbp calls are scary,
>>> because that can grow out of hand very quickly.  It is probably tricky
>>> to remove the recursion...
>>
>> Re-entering spa_load once is normal and is expected.
>> traverse_visitbp is also expected to recurse depending on data layout.
>> So yeah, it's probably even trickier than teaching clang to allocate smaller
>> stack
>> frames ;-)
> 
> I hit this one again, but this time my world and kernel are compiled with stock
> gcc. Pictures 3 to 5:
> 
> https://picasaweb.google.com/104021007361271711472/I386ZfsDoubleFault
> 
> This happens on mounting root after unclean shutdown. I fixed my pool with
> booting amd64 kernel, after this i386 kernel starts fine.
> 
> Maybe it's just time to accept that ZFS on i386 is not stable? Current handbook
> elaborates on ZFS like it's known to work on i386.

Yes, it is known to work.

It's been already mentioned many times that ZFS works much better on amd64.
It's up to a (potential) user to understand limitations of i386 and to decide
whether to use ZFS, in what situations and how.

You may want to consider using KSTACK_PAGES=4 in your kernel configuration.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50CF9AA9.1030808>