Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 2024 21:12:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262301] [ctl] Cannot "kldunload ctl"
Message-ID:  <bug-262301-227-lXuur2MSmn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262301-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262301-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262301

BB Lister <bblister@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bblister@gmail.com

--- Comment #1 from BB Lister <bblister@gmail.com> ---
This problem still exists in

14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 GENERIC amd64



and it causes a strange mallfunction because if the process misbehaves and I
kill -9 then I cannot even start it. I receive the error that the shares
already exist.

# ctld -d
ctld: obtaining previously configured CTL luns from the kernel
ctld: CTL port 0 "camsim" wasn't managed by ctld;
ctld: CTL port 1 "ioctl" wasn't managed by ctld;
ctld: CTL port 2 "tpc" wasn't managed by ctld;
ctld: found CTL lun 0 "iqn.2012-06.gr.XXXXX:target500,lun,0"
ctld: found CTL lun 1 "iqn.2012-06.gr.XXXXX:iscsi2tb,lun,0"
ctld: obtaining configuration from /etc/ctl.conf
ctld: auth-group "default" not defined; going with defaults
ctld: portal-group "default" not defined; going with defaults
ctld: opening pidfile /var/run/ctld.pid
ctld: modifying lun "iqn.2012-06.gr.XXXXXX:target500,lun,0", CTL lun 0
ctld: modifying lun "iqn.2012-06.gr.XXXXX:iscsi2tb,lun,0", CTL lun 1
ctld: adding port "pg0-iqn.2012-06.XXXXXX:target500"
ctld: error returned from port creation request: target
"iqn.2012-06.XXXXXX:target500" for portal group tag 257 already exists
ctld: failed to update port pg0-iqn.2012-06.XXXXXX:target500
ctld: adding port "pg0-iqn.2012-06.XXXXXXXX:iscsi2tb"
ctld: error returned from port creation request: target
"iqn.2012-06.XXXXXXXX:iscsi2tb" for portal group tag 257 already exists
ctld: failed to update port pg0-iqn.2012-06.XXXXXXx:iscsi2tb
ctld: not listening on portal-group "default", not assigned to any target
ctld: listening on 0.0.0.0, portal-group "pg0"
ctld: listening on [::], portal-group "pg0"



and it exists. no client can connect to this. Rebooting the machine is not =
an
option.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262301-227-lXuur2MSmn>