Re: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

From: Edward Tomasz Napierała <trasz_at_FreeBSD.org>
Date: Wed, 2 Oct 2013 18:23:04 +0200
Wiadomość napisana przez "Sergey V. Dyatko" <sergey.dyatko_at_gmail.com> w dniu 24 wrz 2013, o godz. 09:46:
> 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: <FREEBSD CTLDISK 0001> 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

Just for the record, this should be fixed with r255855.
Received on Wed Oct 02 2013 - 14:23:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC