Re: zfs kernel panic, known incompatibilities with clang & CPUTYPE/COPTFLAGS?

From: Dimitry Andric <dim_at_freebsd.org>
Date: Wed, 12 Jun 2013 22:39:53 +0200
On Jun 12, 2013, at 22:30, Alexander Leidinger <Alexander_at_Leidinger.net> wrote:
> I try to update from a pre-clang world (r242511M) to "now" (r251618M).
> The resulting kernel boots, but while starting some jails (with ezjail
> from ports, so fairly late in the boot process) I get a kernel panic
> (IIRC zfs trying to access page 0).

If you are running on i386, it might be a stack overflow?  Try
increasing the stack a little, it might help in that case.

In any case, please try to get a backtrace.


> Before I try to get some time to debug this, I would like to know if
> there are some known incompatibilities with my make.conf settings. With
> gcc I used successfully this:
> ---snip---
> COPTFLAGS= -O2 -pipe
> CPUTYPE?=core2
> ---snip---
> 
> With those settings I first did a buildworld, then a buildkernel with
> the r251618 sources.
> 
> Are there some known issues with those settings? If yes, any suggestions
> what I should use instead? If not, would it be beneficial to try with
> different settings (which ones)?

"-O2 -pipe" is the default setting, so it should work.  I personally
also always use CPUTYPE core2, and I have never seen any panics.  Then
again, I do not usually use jails intensively...

-Dimitry
Received on Wed Jun 12 2013 - 18:39:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC