From owner-freebsd-current@FreeBSD.ORG Sat Jun 15 20:57:47 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 CBB9D1CB; Sat, 15 Jun 2013 20:57:47 +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 8304D193B; Sat, 15 Jun 2013 20:57:47 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45748.dip0.t-ipconnect.de [93.212.87.72]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 48917844AC4; Sat, 15 Jun 2013 22:57:31 +0200 (CEST) Received: from unknown (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id 80B731065; Sat, 15 Jun 2013 22:57:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1371329848; bh=4ML8Q4YgNeWvW51E3RbARKN/6/gQca1rfpW2zT/2ses=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=D1xzKoIfgcjULjtkxkaNyKBJkqjDlZgF2ZYz5uBggzkEreYFnH9zWpKeqZ6Sw8WAq Dx9MM+mXHVBXdkvvx2rsfHlLimUv4/5B9+V7lxML+C31IzhWRAvHuBF0JNHVDLqIfD Dnnuwu9x7kAJlhGxbQghbXZ30mhBvi7lzT/Z4A4EeR5uQLBokHpC8r3jboEKdu5vrl y5dhU+b/UeaVQbZFGI4BxJuCp5XQ5d7inC4eudWU1j1+AKo1GJ4B7AqS8Q+4EmLP+D 5ALOWiJrqrCxf89TfDuwCfoekip6Lglm/cQq1thEcB5PIDY19Fxz+SE8bukP/JZoV+ 7e8QLLI0+32QQ== Date: Sat, 15 Jun 2013 22:57:29 +0200 From: Alexander Leidinger To: Mikolaj Golub Subject: Re: zfs kernel panic, known incompatibilities with clang & CPUTYPE/COPTFLAGS? Message-ID: <20130615225729.00001aa0@unknown> In-Reply-To: <20130615081705.GA3026@gmail.com> References: <20130612223024.00003980@unknown> <20130614230702.00006aa0@unknown> <20130615081705.GA3026@gmail.com> 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: 48917844AC4.AFD20 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.844, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.49, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_71 0.60, TW_EV 0.08, TW_ZF 0.08, T_RP_MATCHES_RCVD -0.01, URIBL_BLOCKED 0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1371934653.58302@bUrw+ThVusKPzVJbU2JV4A X-EBL-Spam-Status: No Cc: Dimitry Andric , 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: Sat, 15 Jun 2013 20:57:47 -0000 On Sat, 15 Jun 2013 11:17:07 +0300 Mikolaj Golub wrote: > On Fri, Jun 14, 2013 at 11:07:02PM +0200, Alexander Leidinger wrote: > > > 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? > > kgdb > l *devfs_ioctl_f+0xf0 I have the old kernel loaded and have the new one in kgdb. It seems it is loading the symbols of the modules for the old kernel. As devfs is not a module, it shouldn't matter here. ---snip--- (kgdb) l *devfs_ioctl_f+0xf0 0xffffffff80346dd0 is in devfs_ioctl_f (/space/system/usr_src/sys/fs/devfs/devfs_vnops.c:757). 752 error = copyout(p, fgn->buf, i); 753 td->td_fpop = fpop; 754 dev_relthread(dev, ref); 755 return (error); 756 } 757 error = dsw->d_ioctl(dev, com, data, fp->f_flag, td); 758 td->td_fpop = NULL; 759 dev_relthread(dev, ref); 760 if (error == ENOIOCTL) 761 error = ENOTTY; ---snip--- I would assume I can not print anything from there with my core-dump, as the backtrace is not usable. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137