You are not logged in.

#1 2013-04-22 16:29:16

dragonauta
Member
Registered: 2012-05-15
Posts: 313
Website

dbus messages (solved)

Hi, my system is fully updated.

Today I noticed these messages on /var/log/everything.log

Apr 22 19:21:14 koi dbus-daemon[239]: dbus[239]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 22 19:21:14 koi dbus[239]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 22 19:21:14 koi dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.ModemManager1.service' for details.
Apr 22 19:21:14 koi NetworkManager[236]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.ModemManager1.service' for details.
Apr 22 19:21:14 koi dbus-daemon[239]: dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.ModemManager1.service' for details.

These are related packages versions:
networkmanager 0.9.8.0-3
systemd 201-2
dbus 1.6.8-6

Can't find anything on logs, except that message, and

$ systemctl status dbus-org.freedesktop.ModemManager1.service
dbus-org.freedesktop.ModemManager1.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

If I try to run:

$ sudo systemctl start dbus-org.freedesktop.ModemManager1.service
Failed to issue method call: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.ModemManager1.service' for details.

any hint?

EDIT: marking solved

Last edited by dragonauta (2013-05-01 07:26:46)


me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#2 2013-04-22 17:18:49

oliver
Administrator
Registered: 2010-11-04
Posts: 2,209

Re: dbus messages (solved)

Do you have modemmanager installed?  I'm guessing not, but I think the "problem" would go away if you did.  Not saying you should - just seems like a bit of flaky programming where it lets it fail if it's not there

Offline

#3 2013-04-22 17:49:41

dragonauta
Member
Registered: 2012-05-15
Posts: 313
Website

Re: dbus messages (solved)

Thanks Oliver, I had modemmanager since I installed AB. (maybe it was installed as dependecy)
I re-installed modemmanager, but keep getting same error.

If I try to remove I get:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: networkmanager: requires modemmanager

Weird that I have no use for modemmanager... I'm on PC connected by wired LAN

If I remove
modemmanager-0.7.990-3
network-manager-applet-0.9.8.0-2
networkmanager-0.9.8.0-3
networkmanager-openvpn-0.9.8.0-1

When I try to install last three, modemmanager gets dragged in again.

Last edited by dragonauta (2013-04-22 17:53:04)


me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#4 2013-04-22 23:01:31

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,906

Re: dbus messages (solved)

Update your system again [another systemd update, systemd-202-2] modemmanager is a dep of networkmanager. Been many Gnome updates so many take a few days for it to settle down again.


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artixlinux.org/migrate.php

Offline

#5 2013-04-23 05:42:59

dragonauta
Member
Registered: 2012-05-15
Posts: 313
Website

Re: dbus messages (solved)

Will wait then:

# pacman -Syyu
:: Synchronizing package databases...
 core                     106,2 KiB   550K/s 00:00 [######################] 100%
 extra                   1517,4 KiB  1426K/s 00:01 [######################] 100%
 community               1942,2 KiB  1364K/s 00:01 [######################] 100%
 multilib                 104,0 KiB   510K/s 00:00 [######################] 100%
:: Starting full system upgrade...
 there is nothing to do

me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#6 2013-04-26 01:36:31

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,906

Re: dbus messages (solved)

Update

pacman -Ssi modemmanager
extra/modemmanager 0.7.990-4 [installed]
    Mobile broadband modem management service

See if that solves the problem...


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artixlinux.org/migrate.php

Offline

#7 2013-04-26 03:21:57

vali
Member
Registered: 2013-04-26
Posts: 1

Re: dbus messages (solved)

Hi,

You should try to run the command:

systemctl enable ModemManager

and than reboot your PC/Laptop.

Hope that helps.

Offline

#8 2013-04-26 07:42:34

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,906

Re: dbus messages (solved)

I found that by enabling/starting service I could then disable and then stop it, hopefully removing the error....


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artixlinux.org/migrate.php

Offline

#9 2013-04-30 14:33:28

dragonauta
Member
Registered: 2012-05-15
Posts: 313
Website

Re: dbus messages (solved)

As I had a very 'dirty' system, because moving to systemd:
NetworkManager started almost at 50s, journalctl was not working...

I decided to reinstall AB using archbang-rc-04.04.2013-x86_64.iso

I got it working in no time but found some post-installation problems (I will post them later under RC forum as a feedback).

Ok, using journalctl -u NetworkManager, saw this:

abr 30 14:20:00 koi NetworkManager[194]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
abr 30 14:20:00 koi NetworkManager[194]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
abr 30 14:20:00 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
abr 30 14:20:02 koi NetworkManager[194]: <info> (enp3s0): carrier now ON (device state 20)
abr 30 14:22:01 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
abr 30 14:24:01 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
abr 30 14:26:01 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
abr 30 14:28:01 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
abr 30 14:30:01 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
abr 30 14:32:01 koi NetworkManager[194]: <warn> error poking ModemManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or d
$ systemd-analyze blame
          9.748s NetworkManager.service
          4.656s polkit.service
          4.021s NetworkManager-wait-online.service
          2.267s systemd-fsck-root.service
          2.067s systemd-logind.service
          1.326s systemd-vconsole-setup.service
           955ms rtkit-daemon.service
           922ms dev-hugepages.mount
           861ms sys-kernel-debug.mount
           807ms dev-mqueue.mount
           719ms systemd-modules-load.service
           696ms systemd-static-nodes.service
           689ms systemd-udev-trigger.service
           578ms tmp.mount
           481ms systemd-fsck@dev-disk-by\x2duuid-754265a4\x2d6958\x2d47ae\x2d9333\x2d45d16c4749bc.service
           334ms systemd-sysctl.service
           291ms systemd-remount-fs.service
           207ms home.mount
           166ms systemd-user-sessions.service
           136ms dev-disk-by\x2duuid-ee7dc339\x2d6f69\x2d4a8a\x2d835a\x2d8e4f9d6bc4dc.swap
           127ms sys-kernel-config.mount
           116ms systemd-journal-flush.service
           100ms alsa-restore.service
            64ms systemd-udevd.service
            57ms atd.service
            52ms systemd-random-seed-load.service
            13ms systemd-tmpfiles-setup.service
$ systemd-analyze time
Startup finished in 1.635s (kernel) + 18.567s (userspace) = 20.202s

I Enable/Start ModemManager, then reboot:
systemd-analyze blame says
         10.180s ModemManager.service
          9.923s NetworkManager.service
and pretty much the same time than before.

In journal I saw:

abr 30 17:15:19 koi systemd[1]: Starting Modem Manager...
abr 30 17:15:19 koi ModemManager[787]: <info>  ModemManager (version 0.7.990) starting...
abr 30 17:15:19 koi systemd[1]: Started Modem Manager.
abr 30 17:15:19 koi NetworkManager[193]: <info> ModemManager disappeared from bus
abr 30 17:15:19 koi NetworkManager[193]: <info> ModemManager available in the bus
abr 30 17:15:22 koi ModemManager[787]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin

Looking for 03:00.0 device (lspci -v) and... It is my onboard ethernet card!!
Why ModemManager wants my ethernet card?
Why I have to enable this service that I DON'T USE
If I stop/disable/reboot, errors from first post appears again.
I was googling but no luck yet
Problem is that those messages about ModemManager are populating my journal at every 2 minutes rate.


EDIT
Seems that ModemManager won't f*ck again.
1 and a half hour and no messages from MM.

Last edited by dragonauta (2013-04-30 15:54:54)


me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#10 2013-04-30 18:01:20

dragonauta
Member
Registered: 2012-05-15
Posts: 313
Website

Re: dbus messages (solved)

Ok, got solution!
FINALLY!!!

as per this post: http://osdir.com/ml/networkmanager-list … 00188.html

modem-manager is implemented as a D-Bus service and it's autostarted by D-Bus
when a call is made on it. NetworkManager pokes it every 2 minutes and thus
restarts it.

You can disable modem-manager by removing D-Bus service file
/usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service

Instead removing I moved to another place, restarted NetworkManager.service and voila!
Hope this help someone with same issue


me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#11 2013-04-30 20:03:06

mike4ca
Happy (Arch|Manjaro)[B,b]ang User
From: Iowa, USA
Registered: 2011-10-17
Posts: 435

Re: dbus messages (solved)

Don't forget to mark it solved if you found the solution!


Free Software Foundation member 10865

Offline

#12 2013-04-30 23:06:07

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,906

Re: dbus messages (solved)

http://forums.linuxmint.com/viewtopic.php?t=101010&f=42

Not sure why Arch has it a dependency rather than an optional install. Not sure how you would implement this as a fix in ArchBang feel its more of a post install should need arises.


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artixlinux.org/migrate.php

Offline

#13 2013-05-01 07:45:00

dragonauta
Member
Registered: 2012-05-15
Posts: 313
Website

Re: dbus messages (solved)

Of course it is a post install step.

Maybe this weird ModemManager behavior its related to my specific hardware.
As I noticed every 2 minutes my logs where populated with warnings.

Would be nice a warning on our wiki about disabling ModemManager if you don't need it


me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#14 2013-05-01 08:30:01

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,906

Re: dbus messages (solved)

https://bbs.archlinux.org/viewtopic.php?id=162043

You are not the only one having problems but rebuilding NetworkManager seems a little hardcore....


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org Artix information https://artixlinux.org/migrate.php

Offline

Board footer

Powered by FluxBB