From owner-freebsd-scsi@FreeBSD.ORG Thu May 19 17:27:50 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4478A106564A for ; Thu, 19 May 2011 17:27:50 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) by mx1.freebsd.org (Postfix) with ESMTP id E24128FC14 for ; Thu, 19 May 2011 17:27:49 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 2FAEA398AB; Thu, 19 May 2011 20:27:48 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id myjX1r+RrsfC; Thu, 19 May 2011 20:27:45 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id 6F21E398AA; Thu, 19 May 2011 20:27:45 +0300 (EEST) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [213.184.43.2]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Thu, 19 May 2011 20:27:45 +0300 Message-ID: <20110519202745.97922qmhf9k10d2c@webmail.raad.tartu.ee> Date: Thu, 19 May 2011 20:27:45 +0300 From: Toomas Aas To: Daniel Braniss References: <20110517223221.42331bryjddv87y8@webmail.raad.tartu.ee> <20110518181109.40330buw2cn4gya0@webmail.raad.tartu.ee> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 213.184.43.2 Cc: freebsd-scsi@freebsd.org Subject: Re: iscsi-2.3.1 on FreeBSD 7.3 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2011 17:27:50 -0000 N, 19 mai 2011 kirjutas Daniel Braniss : > wups, sorry, here is a patch to apply after the previous patch. After applying this additional patch, I have some success. The module loaded ok and I could create a session with my EMC Celerra NX4 iSCSI server (which I couldn't do using the version of iSCSI initiator included with FreeBSD 7.3). /dev/da0 was created and I could successfully fdisk, label, newfs and mount it. Then, for testing purposes, i untar'ed the FreeBSD source tree to this filesystem. Halfway through the process stalled and this message appeared in /var/log/messages: kernel: so_input: out of pdus, wait After it had waited for approximately 8 minutes, I noticed that Apache running on the same server had become unresponsive. Other processes seemed to still be running OK, but as Apache couldn't be stopped even with kill -9, I rebooted the server. During reboot, there was a panic which looked like this: ----------------------------------------------------------------------- 0] ism_stop: terminating 0] ism_stop: n=4 0] ism_stop: final n=3 0] ic_destroy: name=iscsi unit=0 g_vfs_done():da0s1d[WRITE(offset=17168261120, length=4096)]error = 6 /mnt/iscsi: got error 6 while accessing filesystem panic: softdep_deallocate_dependencies: unrecovered I/O error cpuid = 0 Uptime: 35m18s (da0:iscsi0:0:0:2): lost device ----------------------------------------------------------------------- my iscsi.conf is pretty simple at the moment: ----------------------------------------------------------------------- celerra_path1 { TargetName = iqn.1992-05.com.emc:sl7e90837000600000-2; TargetAddress = 192.168.11.1; } ----------------------------------------------------------------------- So, what are pdus and how do I get more of them? ;) -- Toomas Aas