From owner-freebsd-current@FreeBSD.ORG Fri Jun 14 21:07:28 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B08DFC88; Fri, 14 Jun 2013 21:07:28 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC0718FB; Fri, 14 Jun 2013 21:07:28 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45385.dip0.t-ipconnect.de [93.212.83.133]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 5A302844AC4; Fri, 14 Jun 2013 23:07:05 +0200 (CEST) Received: from unknown (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id 29A8C1055; Fri, 14 Jun 2013 23:07:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1371244022; bh=yuqON7cgxNW5wspgXtuurrI96Gr4SYX9vOKOhONggM8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=yeZz4jMfja8/d1Lx+oqk87SHkrJSpNQClHsxomKt7RaOrjFZAdb3p51R5sS9zpT4E HlTYRKsHVhQuWNEHiLJtMvzRIHpCNvBofdowJdCe82aJ3Tf9LuozXWohdRzQihkstj rgdaCSkzt1viQCuRb92PMrQwVuZlzkVkj00pFrAz8FfBLWzNTbcYynzpBMEZDzS7fL VwSIg091B4pM+CiTX8SelhCFZAaYShVo+pPW6mvxUiGtotZn901+yQzuM10KMeZgS9 n40uz6Iis1EUYaOUC5r/1msqZI+zot2cyeBXEp6MEnXCdIzXU6ioyEksmMfFA4mzgy F+/841GDqCzJw== Date: Fri, 14 Jun 2013 23:07:02 +0200 From: Alexander Leidinger To: Dimitry Andric Subject: Re: zfs kernel panic, known incompatibilities with clang & CPUTYPE/COPTFLAGS? Message-ID: <20130614230702.00006aa0@unknown> In-Reply-To: References: <20130612223024.00003980@unknown> X-Mailer: Claws Mail 3.9.1-2-g66aa06 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 5A302844AC4.AF7ED X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.143, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.19, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_ZF 0.08, TW_ZJ 0.08, T_RP_MATCHES_RCVD -0.01, URIBL_BLOCKED 0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1371848827.63039@96SEK3A0excNOeYbt8ZWUQ X-EBL-Spam-Status: No Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 21:07:28 -0000 On Wed, 12 Jun 2013 22:39:53 +0200 Dimitry Andric wrote: > On Jun 12, 2013, at 22:30, Alexander Leidinger > 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. The bt in the minidump is useless, but I made a bt directly in the kernel debugger: ---snip--- Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x0 fault code = supervisor read instruction, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xffffff839e79d930 frame pointer = 0x28:0xffffff839e79d9e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2183 (zfs) db> bt Tracing pid 2356 uart_sab82532_class() at 0 devfs_ioctl_f() at devfs_ioctl_f+0xf0 kern_ioctl() at kern_ioctl+0x1d7 sys_ioctl() at sys_ioctl+0x142 ---snip--- Anyone with a pointer to an explanation how to convert those pointers into source locations? The minidump is available at http://www.leidinger.net/test/core.txt.1.bz2 unfortunately the bt in there is crap. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137