From owner-freebsd-fs@freebsd.org Thu Dec 10 17:35:20 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 431E79D76EC for ; Thu, 10 Dec 2015 17:35:20 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D5C181B2C for ; Thu, 10 Dec 2015 17:35:19 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wmww144 with SMTP id w144so34624127wmw.0 for ; Thu, 10 Dec 2015 09:35:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=Wcx8JiPRsLnH7X2kWpP0CKp5xuuf/ZTwadzBWxQ5ocE=; b=eoMi0vg4xG2/8gcGp9mtfgkzX7PI01lxY47TDMqFFA0GHx7fpxKiCcUK+3/ll26QZF HbjcloZDdrTvjKW/b/ybY5Ik5flrFgekAJRNZfJya7vOM9MJAG1uyXDcoKzcoOnsOHjp QOQfACvnCmV3p6jDaF7/GrlYtii09+BFJd8JiAhVYesDRFkNH9XjanP27eaRx9+ZUt8x U29GEe4ac8F5q0z6i+uku0cvGpZCjkSgPz/zRatChv9TORP1Qr8EyGQXOkCO7aUuxfIX JP+2vStqzRN4wNhfD6NVECqW567aESA0W+ij5W2TfCFK+TgcUr7U+OSFsLOm8EkCRSMx 3PVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Wcx8JiPRsLnH7X2kWpP0CKp5xuuf/ZTwadzBWxQ5ocE=; b=JUznfzcCnyKs9mJ4hKXzu87O8nh7k4B+nIAlzOtjXcDmwt1oUu4RXz1ehlczx+9xE2 P7O02U/wfnlq9k3Q16RIWgazPoW9ZZ7uQp4mz1j2vqtuVtRMkqtlRYeXHBVZft+eKgp7 ARVrxQQ7z05v3fm9rCaLiBhuG+edh2W837ZTPkl6yFjaS4w4m6pWYg8V1j/LLjYp2EME gMDzP5pqGPW0qFJzfo4+66UFLhNKU5CtzzRIcLXHNy7hU5H6AmtthnWGDOiZM2TaVR+M GUy51CVb8IaQRG0yqubxca+449OnqqK/obhdJ8Z8cbn5QZOg681+3OsuO2Unv2sdQ/sz B8DA== X-Gm-Message-State: ALoCoQm2Qo39giWH6plxhh4WOWmi0qcxF6oF23W3KbCbJTtwS8EmIqowZRGS6AaRTnZC4v1H5J/y946WQRG1oTsBHuQDDIhvcw== X-Received: by 10.28.216.201 with SMTP id p192mr308457wmg.29.1449768918030; Thu, 10 Dec 2015 09:35:18 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id gj2sm13379323wjb.40.2015.12.10.09.35.16 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Dec 2015 09:35:17 -0800 (PST) Subject: Re: 10.2-stable, zvol + ctld = crash To: freebsd-fs@freebsd.org References: <505527C6-FB20-47C1-B159-02F5084FBFF7@alumni.chalmers.se> <5669ADC3.8020808@multiplay.co.uk> <72DA880F-91E8-40B8-9EAB-D2265C32BFEA@alumni.chalmers.se> From: Steven Hartland Message-ID: <5669B7D4.9010303@multiplay.co.uk> Date: Thu, 10 Dec 2015 17:35:16 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <72DA880F-91E8-40B8-9EAB-D2265C32BFEA@alumni.chalmers.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 17:35:20 -0000 dumpdev="AUTO" only works if you have swap configured. You can if its properly configured with: sysctl kern.shutdown.dumpdevname, if its blank then its not configured. dumpdir defaults to /var/crash so no need to set that. On 10/12/2015 17:16, mxb wrote: > No core found, but system is configured to do that: > > dumpdev="AUTO" > dumpdir="/var/crash” > > Only minfree ascii file found. > >> On 10 dec. 2015, at 17:52, Steven Hartland wrote: >> >> As a workaround you can disable TRIM: >> sysctl vfs.zfs.trim.enabled=1 >> >> Could you get parameter details on args frame #6 and #8 from the kernel core please for further investigation please. >> >> On 10/12/2015 16:41, mxb wrote: >>> Hey, >>> just got panic and reboot: >>> >>> >>> Dec 10 17:22:32 nas kernel: panic: solaris assert: start < end, file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c, line: 219 >>> Dec 10 17:22:32 nas kernel: cpuid = 6 >>> Dec 10 17:22:32 nas kernel: KDB: stack backtrace: >>> Dec 10 17:22:32 nas kernel: #0 0xffffffff80981be0 at kdb_backtrace+0x60 >>> Dec 10 17:22:32 nas kernel: #1 0xffffffff80945716 at vpanic+0x126 >>> Dec 10 17:22:32 nas kernel: #2 0xffffffff809455e3 at panic+0x43 >>> Dec 10 17:22:32 nas kernel: #3 0xffffffff81c931fd at assfail+0x1d >>> Dec 10 17:22:32 nas kernel: #4 0xffffffff81a6cd01 at trim_map_segment_add+0x41 >>> Dec 10 17:22:32 nas kernel: #5 0xffffffff81a6c1ef at trim_map_free_locked+0x9f >>> Dec 10 17:22:32 nas kernel: #6 0xffffffff81a6c128 at trim_map_free+0x98 >>> Dec 10 17:22:32 nas kernel: #7 0xffffffff819b8af0 at arc_release+0x100 >>> Dec 10 17:22:32 nas kernel: #8 0xffffffff819c1b27 at dbuf_dirty+0x357 >>> Dec 10 17:22:32 nas kernel: #9 0xffffffff819c90dc at dmu_write+0xfc >>> Dec 10 17:22:32 nas kernel: #10 0xffffffff81a6900f at zvol_strategy+0x23f >>> Dec 10 17:22:32 nas kernel: #11 0xffffffff81a67531 at zvol_geom_start+0x51 >>> Dec 10 17:22:32 nas kernel: #12 0xffffffff808a551e at g_io_request+0x38e >>> Dec 10 17:22:32 nas kernel: #13 0xffffffff81e34d5d at ctl_be_block_dispatch_dev+0x20d >>> Dec 10 17:22:32 nas kernel: #14 0xffffffff81e356fd at ctl_be_block_worker+0x5d >>> Dec 10 17:22:32 nas kernel: #15 0xffffffff809901d5 at taskqueue_run_locked+0xe5 >>> Dec 10 17:22:32 nas kernel: #16 0xffffffff80990c68 at taskqueue_thread_loop+0xa8 >>> Dec 10 17:22:32 nas kernel: #17 0xffffffff8090f07a at fork_exit+0x9a >>> >>> >>> This is FreeBSD 10.2-STABLE #0 r289883: Sat Oct 24 23:14:33 CEST 2015 >>> >>> Any ideas? >>> >>> Several ZVOLs are exported to ESXi 6.x. >>> LUN 2 was added, iSCSI configured on ESX and initiated, ctld restart. >>> >>> root@nas:~ # cat /etc/ctl.conf >>> >>> portal-group pg0 { >>> discovery-auth-group no-authentication >>> listen 0.0.0.0 >>> } >>> >>> target iqn.2015-03.com.unixconn:target0 { >>> auth-group no-authentication >>> portal-group pg0 >>> >>> lun 0 { >>> path /dev/zvol/zfspool/iscsi0 >>> size 250G >>> } >>> >>> lun 1 { >>> path /dev/zvol/zfspool/grey_timemachine0 >>> size 500G >>> } >>> >>> lun 2 { >>> path /dev/zvol/zfspool/vcenter >>> size 200G >>> } >>> >>> } >>> >>> //mxb >>> >>> _______________________________________________ >>> freebsd-fs@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"