You are not logged in.

#1 2013-07-12 19:08:15

mc33
Member
From: Plano, TX
Registered: 2013-07-12
Posts: 12

[SOLVED] Timed out waiting for device sys-subsystem-net-devices-

I just did my first install of Arch, and I am getting the two messages below about a minute after I login to console:

[ TIME ] Timed out waiting for device sys-subsystem-net-devices-<interface>.device.
[DEPEND] Dependency failed for <Description='description of manual netctl profile'>.

I have read the required reading in the netctl ArchWiki and, specifically, have performed the wiki recommendations as per below:

SPECIAL UNITS
-------------
netctl.service::
    When started, this unit tries to start the profiles that were
    running when the unit was last stopped. In some cases, the interface
    a profile binds to might not be available yet, when netctl.service
    tries to bring a profile up. A simple, hackish, solution is to do:
--------------------------------------------------------------------
echo "[[ -t 0 ]] || sleep 3" > /etc/netctl/interfaces/<interface>
chmod 755 /etc/netctl/interfaces/<interface>
--------------------------------------------------------------------
    A more concise solution is to first enable a profile through netctl
    and then disable it again through systemctl:
--------------------------------------------------------------------
netctl enable <profile>
systemctl disable netctl@<profile>
--------------------------------------------------------------------
    This way the unit configuration file for the profile remains in
    existence, while the profile is not enabled.

The interface that is giving notice is an external usb wifi adapter I used during initial installation. It is no longer plugged in because I have successfully activated the builtin wifi adapter and no longer need it.

I have researched this quite a bit and cannot seem to find a solution.

Any help would be greatly appreciated.

edit: changed tags

Last edited by mc33 (2013-07-12 20:44:33)

Offline

#2 2013-07-12 19:49:39

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Please use quote tags and code tags rather than bold and italics. 

Presumably, you have something enabled to a given interface that doesn't exist.  In this case, it is likely that you have netctl set up to start a profile that is bound said non-existent interface.  Please compare the enabled services (particularly the netctl ones) with the actual inteface names (you can see what you really have with "ip a").

Keep in mind that you may not have known you enabled a systemd.service if you are using netctl.  This is because netctl is designed to interface with systemd, so that if you do something like "netctl enable <profile>", that is the same as doing "systemctl enable netctl@profile.service".  The netctl profiles use the BindsTo= systemd configuration to ensure that the profile in question is not started before the given interface is up.  Hence it is timing out, waiting for something that doesn't exist.

Welcome to the forums.  Remember, code tags and quote tags!

Offline

#3 2013-07-12 20:42:39

mc33
Member
From: Plano, TX
Registered: 2013-07-12
Posts: 12

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Thanks for the reply.

After reading your suggestions and rereading the netctl - ArchWiki, I was able to resolve the issue with the following command:

netctl disable <profile>

Simple fix, but I'm quite new with a lot to learn. Thanks, again!

Offline

#4 2013-07-12 20:54:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Hey, no problem... and those are some very nice code and quote blocks!

Offline

#5 2013-07-18 08:31:53

stefanwelte
Member
Registered: 2012-06-15
Posts: 10

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

I recently changed interface naming scheme (wlan0 doesn't exist anymore), now i get similar error message after one minute:

[ TIME ] Timed out waiting for device sys-subsystem-net-devices-wlan0.device.

I set up my netctl configuration for automatic operation with netctl-ifplugd for wired interface (enp2s0) and netctl-auto for wireless  interface (wlp6s5), described here: Netctl-Archwiki-Automatic-operation; it's working perfectly.

I am not able to examine, why above message appears, cause there is no systemctl unit file for it; there is only:

netctl-auto@wlp6s5.service                                       loaded active exited    Automatic wireless network connection using netctl profiles
netctl-ifplugd@enp2s0.service                                    loaded active running   Automatic wired network connection using netctl profiles
netctl@wlan\x2dtest.service                                      loaded active exited    Networking for netctl profile wlan-test

Additionly, any profile in /etc/netctl contains the old interface name "wlan0".
So, how to stop this timeout message?

Thanks,
Stefan

Offline

#6 2013-07-19 02:59:19

mc33
Member
From: Plano, TX
Registered: 2013-07-12
Posts: 12

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Have you tried disabling the profile that wlan0 was originally configured to? Using this command:

netctl disable <profile>

Offline

#7 2013-07-22 15:56:58

stefanwelte
Member
Registered: 2012-06-15
Posts: 10

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

mc33 wrote:

Have you tried disabling the profile that wlan0 was originally configured to? Using this command:

netctl disable <profile>

I cannot remember what profile it was, cause there are too much in my /etc/netctl-folder; additionally, I converted all old interface names into new ones in all profile-files, so maybe disabling via above command wouldn't work?

How can I examine, which profile i have to disable?

Thanks,
Stefan

Offline

#8 2013-07-22 17:46:52

mc33
Member
From: Plano, TX
Registered: 2013-07-12
Posts: 12

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

To determine which profile your missing interface is bound to, we can follow the recommendations found in this post. Here is the pertinent command:

grep -ir <interface> /etc/systemd/*

If it returns, for example:

/etc/systemd/system/netctl@test\x2dnetwork.service:BindsTo=sys-subsystem-net-devices-<interface>.device
/etc/systemd/system/netctl@test\x2dnetwork.service:After=sys-subsystem-net-devices-<interface>.device

This tells us we need to disable the test-network profile. [test\x2dnetwork]

To do this, we would simply:

netctl disable test-network

Offline

#9 2013-07-24 13:52:04

stefanwelte
Member
Registered: 2012-06-15
Posts: 10

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Many thanks mc33,
examination of profile causing the messages one minute after startup was successful, also disabling that profile.

Stefan

Offline

#10 2013-07-24 16:42:33

mc33
Member
From: Plano, TX
Registered: 2013-07-12
Posts: 12

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

You're welcome. Glad to help.

Offline

#11 2016-06-29 19:55:25

Tazmain
Member
Registered: 2014-08-29
Posts: 6

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

I am having the same issue, the above did not solve it, it was after a kernel update to version 4.5 that I saw this happening

Offline

#12 2016-06-29 20:43:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,137
Website

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Tazmain wrote:

I am having the same issue, the above did not solve it, it was after a kernel update to version 4.5 that I saw this happening

Same issue, but what exact error message? https://bbs.archlinux.org/viewtopic.php?id=57855

What is "the above"? Please describe what you have tried.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2016-07-24 18:18:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,137
Website

Re: [SOLVED] Timed out waiting for device sys-subsystem-net-devices-

Don't bother. Necro.

Closing...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB