From owner-freebsd-fs@FreeBSD.ORG Mon Feb 23 15:11:21 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCF0E10656FE for ; Mon, 23 Feb 2009 15:11:21 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 73AE98FC0C for ; Mon, 23 Feb 2009 15:11:21 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LbbKK-00059f-Ms for freebsd-fs@freebsd.org; Mon, 23 Feb 2009 13:58:32 +0000 Received: from whiteroom.bfh.ch ([147.87.102.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2009 13:58:32 +0000 Received: from ktk by whiteroom.bfh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2009 13:58:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Adrian Gschwend Date: Mon, 23 Feb 2009 14:58:22 +0100 Organization: netlabs.org Lines: 48 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: whiteroom.bfh.ch User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) Sender: news Subject: kernel panic while writing to a ZFS volume on iSCSI LUN X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 15:11:22 -0000 Hi, I am testing ZFS, iSCSI & snapshots on FreeBSD as I want to use it later for some productive data. While doing an rsync from a maildir with lots of small files, the box crashed. Until then there were about 3.5GB of data transferred Platform: FreeBSD 7.1, i386, install from CD Box: Xeon 3.2 something RAM: 1.5GB 50GB iSCSI LUN on Network Appliance Filer I tried to get some hints out of the dump file according to http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html but I noticed I had to get source first & compile the kernel on my own. The backtrace here is done using a kernel.debug which got compiled out of RELENG_7_1, but it was *not* the same kernel which was running at the time of the crash (kernel was the default one, not the compiled one). Does that make a difference for my case or is that ok like this? Message in /var/log/messages on reboot: - Feb 20 00:01:23 chewbacca savecore: reboot after panic: kmem_malloc(131072): kmem_map too small: 228896768 total allocated Feb 20 00:01:23 chewbacca savecore: writing core to vmcore.0 - backtrace: http://freebsd.pastebin.com/m36e7ddd0 My question is if it is crashing in iSCSI or ZFS code & what I should try to get rid of it :-) thanks Adrian -- Adrian Gschwend @ netlabs.org ktk [a t] netlabs.org ------- Open Source Project http://www.netlabs.org