Date: Wed, 2 Oct 2013 18:23:04 +0200 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@FreeBSD.org> To: "Sergey V. Dyatko" <sergey.dyatko@gmail.com> Cc: current@freebsd.org Subject: Re: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi) Message-ID: <0B64B6EE-049A-454A-A0B3-96A57EEDD9B3@FreeBSD.org> In-Reply-To: <20130924104658.46313090@laptop.minsk.domain> References: <20130924104658.46313090@laptop.minsk.domain>
next in thread | previous in thread | raw e-mail | index | archive | help
Wiadomo=B6=E6 napisana przez "Sergey V. Dyatko" = <sergey.dyatko@gmail.com> 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: <FREEBSD CTLDISK 0001> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B64B6EE-049A-454A-A0B3-96A57EEDD9B3>