From owner-freebsd-current@FreeBSD.ORG Wed Oct 2 16:23:11 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B0BE42E8 for ; Wed, 2 Oct 2013 16:23:11 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 445EC25CE for ; Wed, 2 Oct 2013 16:23:11 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id e11so445703bkh.11 for ; Wed, 02 Oct 2013 09:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tp1FGM3axfeAnk4gqmm/h/VN12V4kotm27OtLf+Gg0Q=; b=Q2WP1qUWksaikt3uJp7q7Z8Q5tg98aEUqrym6vr57ydQZVi9hg5gG+QKnKlC9pveKT 8zvHRBNQ8FOQ2/3nPKZTxlFYBTpWJKxMG+ZyhHQOCcKNQuz14dKdr+y9aiV3tv3wZUzP aklBbIpAgX8SDPdrFnkxu4W+Q/1zECstJXMjJ8BlnlIP32r1M0HsaM15JsdrhujvDO/g p03JGpEv2LYnYIcaVVsYazIcFrtlxnvlhltMC+5guIPu9idfXGBIZf2UYgUJ4Ws4o8/e NvUhucMbW+QGRZTCqkUjvL0sTgUPeQPwQfdhEUAdkPPqHE9tvW85EijItARqvRUyAvOf SdFw== X-Received: by 10.204.167.140 with SMTP id q12mr2960025bky.2.1380730989462; Wed, 02 Oct 2013 09:23:09 -0700 (PDT) Received: from [192.168.1.102] (aad147.neoplus.adsl.tpnet.pl. [83.25.3.147]) by mx.google.com with ESMTPSA id nv4sm1872596bkb.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Oct 2013 09:23:08 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Content-Type: text/plain; charset=iso-8859-2 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi) From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <20130924104658.46313090@laptop.minsk.domain> Date: Wed, 2 Oct 2013 18:23:04 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0B64B6EE-049A-454A-A0B3-96A57EEDD9B3@FreeBSD.org> References: <20130924104658.46313090@laptop.minsk.domain> To: "Sergey V. Dyatko" X-Mailer: Apple Mail (2.1510) 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: Wed, 02 Oct 2013 16:23:11 -0000 Wiadomo=B6=E6 napisana przez "Sergey V. Dyatko" = w dniu 24 wrz 2013, o godz. 09:46: > Hi, >=20 > today I tried to play a bit with new iscsi >=20 > r255812 isn't fully complete fix? >=20 > what I did: > 1) create ctl.conf: > pidfile /var/run/ctld.pid > portal-group example2 { > discovery-auth-group no-authentication > listen 127.0.0.1 > listen 0.0.0.0:3261 > } > target iqn.desktop:target0 { > alias "Testing target" > auth-group no-authentication > portal-group example2 > lun 0 { > path /dev/md0 > blocksize 4096 > # size 4G > } > } > 2) dd if=3D/dev/zero of=3D/path/to/file bs=3D1M count=3D200 > 3) mdconfig -a -t vnode -f /path/to/file > 4) start iscsid and ctld > 5) iscsictl -A -h locahost -t iqn.desktop:target0 (wrong hostname) > 6) iscsictl -A -h localhost -t iqn.desktop:target0=20 >=20 > after [6] /var/log/messages:=20 > Sep 24 10:31:50 tiger kernel: cfiscsi_ioctl_handoff: new connection > from iqn.1994-09.org.freebsd:tiger.minsk.domain (127.0.0.1) to > iqn.desktop:target0=20 > Sep 24 10:31:50 tiger kernel: da0 at iscsi2 bus 0 > scbus6 target 0 lun 0=20 > Sep 24 10:31:50 tiger kernel: da0: Fixed Direct > Access SCSI-5 device=20 > Sep 24 10:31:50 tiger kernel: da0: 200MB (51200 4096 byte sectors: 64H > 32S/T 25C) >=20 > also I see following (step 5, I suppose, how I can cancel it ?):=20 > Sep 24 10:32:08 tiger iscsid[1428]: locahost (iqn.desktop:target0): > failed to connect to locahost: Connection refused > Sep 24 10:32:08 tiger kernel: WARNING: locahost (iqn.desktop:target0): > login timed out after 61 seconds; reconnecting=20 > Sep 24 10:33:10 tiger iscsid[1402]: child process 1428 terminated with > exit status 1=20 > Sep 24 10:33:10 tiger kernel: WARNING: locahost (iqn.desktop:target0): > login timed out after 61 seconds; reconnecting=20 > Sep 24 10:33:10 tiger iscsid[1433]: locahost (iqn.desktop:target0): > failed to connect to locahost: Connection refused >=20 > Ok, seems I can work with that, I can do newfs /dev/da0, mount it and > so on. >=20 > Now i'm trying to tun iscontrol on my laptop (beta1, r255449): > laptop# iscontrol -dt 192.168.9.98 > errno=3D61 > connect: Connection refused > ^C > hm... possible something wrong... trying to reproduce that on = desktop... > run `kldload iscsi_initiator` and got a panic: >=20 > tiger# kgdb /boot/kernel/kernel /var/crash/vmcore.last > -> http://paste.org.ru/?rtc74f Just for the record, this should be fixed with r255855.