Date: Thu, 20 Dec 2012 11:26:14 +0100 From: Henri Hennebert <hlh@restart.be> To: Andriy Gapon <avg@freebsd.org> Cc: fs@freebsd.org Subject: Re: clang compiled kernel panic when mounting zfs root on i386 Message-ID: <50D2E7C6.1030201@restart.be> In-Reply-To: <50CF9AA9.1030808@FreeBSD.org> 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> <50CF9AA9.1030808@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/17/2012 23:20, Andriy Gapon wrote: > 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. 'options KSTACK_PAGES=4' allow my 9.1-STABLE to mount the root fs from zfs. I think it whould be useful to add this trick to /usr/src/UPDATING for other i386 users. Thanks a lot Henri >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50D2E7C6.1030201>