<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div> After removing /usr/lib/systemd/systemd-cgroups-agent, all seems to work OK.</div><div><br></div><div>Thank you for your help!</div><div><br></div><div>Best Regards,</div><div>Li Cheng</div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2015-06-17 18:16:06, "eshark" <eshark77@163.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div> With my kdbus broadcast patch, I found that the "systemd" process would endlessly emit the signal "type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released ". What does this signal mean ?</div><div><br></div><div> I searched the source codes, and found that systemd-cgroups-agent would send this signal. But from the log, <span style="line-height: 23.7999992370605px;">systemd-cgroups-agent only send this signal several times , not endlessly.</span></div><div><span style="line-height: 23.7999992370605px;"><br></span></div><div><span style="line-height: 23.7999992370605px;">And I cannot locate the place where "systemd" send such signal. </span></div><div><span style="line-height: 23.7999992370605px;"><br></span></div><div><span style="line-height: 23.7999992370605px;">Following are the logs:</span></div><div><span style="line-height: 23.7999992370605px;"><br></span></div><div><div><27>[ 3.633361@3] systemd-cgroups-agent[196]: Lch-sd_bus_emit_signal org.freedesktop.systemd1.Agent Released</div><div><27>[ 3.633660@2] systemd-cgroups-agent[216]: Lch-sd_bus_emit_signal org.freedesktop.systemd1.Agent Released</div><div><6>[ 3.633989@2] Lch-kdbus_bus_broadcast: conn_dst->id = 0x14, pid = 216, pid name = systemd-cgroups, tid = 216, tid name = systemd-cgroups</div><div><30>[ 3.634008@2] systemd-cgroups-agent[216]: Lch-Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cooki</div><div>e=1 reply_cookie=0 error=n/a</div><div><30>[ 3.648452@0] systemd[1]: Lch-Got message type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cookie</div><div>=0 error=n/a</div><div><6>[ 3.650378@0] EXT4-fs (mmcblk0p9): re-mounted. Opts: (null)</div><div><6>[ 3.652074@3] Lch-kdbus_bus_broadcast: conn_dst->id = 0x12, pid = 196, pid name = systemd-cgroups, tid = 196, tid name = systemd-cgroups</div><div><30>[ 3.652220@3] systemd-cgroups-agent[196]: Lch-Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cooki</div><div>e=1 reply_cookie=0 error=n/a</div><div><6>[ 3.652284@3] Lch-kdbus_bus_broadcast: conn_dst->id = 0x2, pid = 1, pid name = systemd, tid = 1, tid name = systemd</div><div><30>[ 3.653329@3] systemd[1]: Lch-Sent message type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cooki</div><div>e=0 error=n/a</div><div style="line-height: 23.7999992370605px;"><br></div></div><div style="line-height: 23.7999992370605px;"><div style="line-height: 23.7999992370605px;"><30>[ 3.654166@3] systemd[1]: Lch-Got message type=signal sender=:1.20 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cooki</div><div style="line-height: 23.7999992370605px;">e=0 error=n/a</div><div style="line-height: 23.7999992370605px;"><6>[ 3.654642@3] Lch-kdbus_bus_broadcast: conn_dst->id = 0x2, pid = 1, pid name = systemd, tid = 1, tid name = systemd</div><div style="line-height: 23.7999992370605px;"><30>[ 3.654784@3] systemd[1]: Lch-Sent message type=signal sender=:1.20 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cook</div><div style="line-height: 23.7999992370605px;">ie=0 error=n/a</div><div style="line-height: 23.7999992370605px;"><30>[ 3.654958@3] systemd[1]: Lch-Got message type=signal sender=:1.18 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cooki</div><div style="line-height: 23.7999992370605px;">e=0 error=n/a</div><div>.......</div></div><div><span style="line-height: 23.7999992370605px;"><br></span></div><div><div><6>[ 809.109334@1] Lch-kdbus_bus_broadcast: conn_dst->id = 0x2, pid = 1, pid name = systemd, tid = 1, tid name = systemd</div><div><30>[ 809.109397@1] systemd[1]: Lch-Sent message type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cooki</div><div>e=0 error=n/a</div><div><30>[ 809.109481@1] systemd[1]: Lch-Got message type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cookie</div><div>=0 error=n/a</div><div><6>[ 809.109726@1] Lch-kdbus_bus_broadcast: conn_dst->id = 0x2, pid = 1, pid name = systemd, tid = 1, tid name = systemd</div><div><30>[ 809.109789@1] systemd[1]: Lch-Sent message type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cooki</div><div>e=0 error=n/a</div><div><30>[ 809.109872@1] systemd[1]: Lch-Got message type=signal sender=:1.2 destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Released cookie=1 reply_cookie</div><div>=0 error=n/a</div><div style="line-height: 23.7999992370605px;"><br></div></div><div><span style="line-height: 23.7999992370605px;"><br></span></div><br><div>ThanksŁĄ</div><div>Li Cheng</div><br><div style="position:relative;zoom:1"></div><div></div><br>At 2015-06-17 14:11:11, "eshark" <<a href="mailto:eshark77@163.com">eshark77@163.com</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div> I'm so sorry for not giving you more details, I'm a freshman here, but I'll try to do better in the future.</div><div>I will give the answers under each of the questions .</div><pre><br>At 2015-06-16 18:54:23, "David Herrmann" <<a href="mailto:dh.herrmann@gmail.com">dh.herrmann@gmail.com</a>> wrote:
>Hi
>
>On Tue, Jun 16, 2015 at 12:07 PM, eshark <<a href="mailto:eshark77@163.com">eshark77@163.com</a>> wrote:
>> At 2015-06-16 15:54:10, "David Herrmann" <<a href="mailto:dh.herrmann@gmail.com">dh.herrmann@gmail.com</a>> wrote:
>>>Can you be more specific, please? What do you mean by "network module
>>>of our systemd cannot work OK"?
>>
>
<div>>Does this only happen with kdbus?</div><div>Yes. It's OK with DBus.</div><div><span style="line-height: 1.7;">>Does this only happen with you kdbus-patch to make broadcasts being</span></div><div>>sent to oneself?</div><div>Yes. Without modifying kdbus_bus_broadcast(), I can always get the ip.</div><div>>Or does it happen with unmodified kdbus, too?</div><div>Never.</div><div>>What exactly changes?</div><div>I just commented out the following two lines in the kdbus_bus_broadc</div><div>// if (conn_dst->id == kmsg->msg.src_id)</div><div>// continue;</div><div><br></div><div>>Does everything work perfectly well without kdbus?</div><div>As for network, it did work well without my patch.</div><div><br></div><div>>Is the missing DHCP connectivity the only difference you see with kdbus?</div><div>Acctually, I cannot connet to the device by "adb". But I did run "netcfg" in the terminal, and eth0 didn't get ip as before.</div><div><br></div><div>>What kdbus version do you run?</div><div>kdbus-4.1-rc1</div><div>>What kdbus tree do you use?</div><div><a href="https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/" _src="https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/">https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/</a></div><div> </div><div>>What systemd version do you use? (in case of git: which commit?<span style="line-height: 1.7;">)</span></div><div><span style="line-height: 1.7;">systemd v219 </span></div><div>commit: d736e4f3e76daca4ab1b1fc444737e5ee20a27cd</div><div><br></div><div>>Did you pass --enable-kdbus to systemd?</div><div>Yes , I did.</div><div>>What upstream kernel version do you use?</div><div>3.10.33, we back-ported the kdbus to our kernel.</div><div><br></div><div>>Any obscure messages in the system-log that you didn't see before? </div><div><b>From dmesg , I can see that the "systemd" process calls kdbus_bus_broadcast() endlessly, and the condition "</b><span style="line-height: 23.7999992370605px;"><b> if (conn_dst->id == kmsg->msg.src_id)</b></span><span style="line-height: 1.7;"><b>" is always true.</b></span></div><div><span style="line-height: 1.7;"><b>It seems that when booting, the "systemd " process enters a dead loop by sending some signal to the source connection. </b></span></div><div><span style="line-height: 1.7;"><b>So , systemd cannot boot any service , including network.</b></span></div><div><br></div><div>Thanks!</div><div>Li Cheng </div>>...
>
>Please try to paste as much information as possible. Otherwise, it's
>really a hassle to ask for each piece of information separately.
>
>Thanks
>David
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>