I tried this patch and iscsid ends up in a tightloop in the kernel. I attempted some basic debugging and it definitely gets beyond my previous issue but then locks.
I also attempted to change the patch around such that the netlink socket that gets create per net namespace is kept with the namespace and accessed off that structure. I wanted to avoid the locking. While this works, it appears to crash elsewhere sometime after nlmsg_multicast(no stacktrace gets generated unfortunately). I had some general questions after doing this. Is the traversal of and send on the per net namespace sockets needed? I'm new to the code, but it seems like these might need to be isolated from one another? On Fri, Jan 6, 2012 at 1:21 AM, Mike Christie <[email protected]> wrote: > On 01/05/2012 08:38 PM, Mike Christie wrote: > > On 12/28/2011 02:36 AM, Mike Christie wrote: > >> On 12/22/2011 04:44 PM, pmullaney wrote: > >>> Hi all, > >>> > >>> Running into problems running under lxc. I am running iscsid in the > >>> container and when it > >>> attempts to connect to the netlink iscsi socket it is getting a > >>> connection refused(111) and > >>> the following in the log: > >>> > >>> sendmsg: bug? ctrl_fd 5 > >>> > >>> which causes iscsid to exit. > >>> > >>> Any thoughts on what could be wrong? > >>> > >> > >> The iscsi netlink code never returns 111/ECONNREFUSED. > >> > >> It looks like the netlink code will return this when the netlink socket > >> is not setup. > >> > > > > Ok, I think we need to modify the iscsi netlink socket to support > > multiple namespaces. > > > > Have not been able to get this working in fedora 16 exactly, so this is > > just a guess based on looking at the code and git commits. > > > > Here is a patch that should implement the needed functionality on the > netlink side. It is not optimal though, but should give us an idea if we > are on the right track. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
