From owner-freebsd-current@FreeBSD.ORG Tue Sep 24 07:46:54 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 0CFECA4B; Tue, 24 Sep 2013 07:46:54 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7634E2846; Tue, 24 Sep 2013 07:46:53 +0000 (UTC) Received: by mail-ee0-f49.google.com with SMTP id d41so2233227eek.22 for ; Tue, 24 Sep 2013 00:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=4EH1UBR4O/IF3++Qq8V4wY7TzuJ1Z7lZVTv4YuhWA8Q=; b=OBr170A6h0h9qlGddE6YNn2pgAA5PSECO8QGoM6Fh7vPc7VKc61Wa+CzkxXIA+eScr 5RTNTQpoO0fHInQEUoL9Fux0oWfrKXjpLuLVE3PnrA/fNKKR9RhcrAX3wQPZjBT8GSe3 kXV00yUwIVzjXBqDMqbBui/Hn/RhqU/Yb+kCJTUMxSLFtsOpa410f76TjWLumCcmMDud 4mw8ATpOFOGrhaChYfaS9ADZLcD5okv7/4MAFOuyvygISZVzHdJKB4FoS4lTKuZi9Gxl lxSm2ysn/x2Ld4HRbkRJsN3JXWP3DeCwxeRj1FDUsd06SJbtBcfyFW67oJX7acSmJwpD CJoA== X-Received: by 10.14.241.74 with SMTP id f50mr44563854eer.29.1380008811629; Tue, 24 Sep 2013 00:46:51 -0700 (PDT) Received: from laptop.minsk.domain (m-s.agava.net. [195.222.84.203]) by mx.google.com with ESMTPSA id z12sm50379567eev.6.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 24 Sep 2013 00:46:51 -0700 (PDT) Date: Tue, 24 Sep 2013 10:46:58 +0300 From: "Sergey V. Dyatko" To: Subject: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi) Message-ID: <20130924104658.46313090@laptop.minsk.domain> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: trasz@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: Tue, 24 Sep 2013 07:46:54 -0000 Hi, today I tried to play a bit with new iscsi r255812 isn't fully complete fix? 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=/dev/zero of=/path/to/file bs=1M count=200 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 after [6] /var/log/messages: 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 Sep 24 10:31:50 tiger kernel: da0 at iscsi2 bus 0 scbus6 target 0 lun 0 Sep 24 10:31:50 tiger kernel: da0: Fixed Direct Access SCSI-5 device Sep 24 10:31:50 tiger kernel: da0: 200MB (51200 4096 byte sectors: 64H 32S/T 25C) also I see following (step 5, I suppose, how I can cancel it ?): 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 Sep 24 10:33:10 tiger iscsid[1402]: child process 1428 terminated with exit status 1 Sep 24 10:33:10 tiger kernel: WARNING: locahost (iqn.desktop:target0): login timed out after 61 seconds; reconnecting Sep 24 10:33:10 tiger iscsid[1433]: locahost (iqn.desktop:target0): failed to connect to locahost: Connection refused Ok, seems I can work with that, I can do newfs /dev/da0, mount it and so on. Now i'm trying to tun iscontrol on my laptop (beta1, r255449): laptop# iscontrol -dt 192.168.9.98 errno=61 connect: Connection refused ^C hm... possible something wrong... trying to reproduce that on desktop... run `kldload iscsi_initiator` and got a panic: tiger# kgdb /boot/kernel/kernel /var/crash/vmcore.last -> http://paste.org.ru/?rtc74f I can provide additional information if you need it -- wbr, tiger