Re: [systemd-devel] Error timeout while starting Arch

2020-06-30 Thread Lennart Poettering
On Mo, 29.06.20 12:03, Marcos Alonso (marcos3...@gmail.com) wrote:

> Hi, I installed Arch and it all works good except that I have to wait for a
> timeout on startup.
> That´s what I find in the journal:
>
> -- Logs begin at Wed 2020-06-10 22:59:26 CEST, end at Mon 2020-06-29
> 11:58:14 CEST. --
> Jun 29 11:56:44 masarch kernel: platform MSFT0101:00: failed to claim
> resource 1: [mem 0xfed4-0xfed40fff]
> Jun 29 11:56:44 masarch kernel: acpi MSFT0101:00: platform device creation
> failed: -16
> Jun 29 11:58:14 masarch systemd[1]: Timed out waiting for device
> /sys/subsystem/net/devices/service.

Some unit is pulling the unit
'sys-subsystem-net-devices-service.device' into the initial
transaction, which then waits for it to appear. Figure out which unit
is responsible for that. Use "systemctl show
sys-subsystem-net-devices-service.device" and have a look for the
WantedBy= and RequiredBy= fields.

The unit name looks fishy, this almost certainly indicates some
incorrect unit file or other bug in the unit responsible.

Lennart

--
Lennart Poettering, Berlin
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Error timeout while starting Arch

2020-06-29 Thread Reindl Harald


Am 29.06.20 um 12:03 schrieb Marcos Alonso:
> Hi, I installed Arch and it all works good except that I have to wait
> for a timeout on startup.
> That´s what I find in the journal:
> 
> -- Logs begin at Wed 2020-06-10 22:59:26 CEST, end at Mon 2020-06-29
> 11:58:14 CEST. --
> Jun 29 11:56:44 masarch kernel: platform MSFT0101:00: failed to claim
> resource 1: [mem 0xfed4-0xfed40fff]
> Jun 29 11:56:44 masarch kernel: acpi MSFT0101:00: platform device
> creation failed: -16
> Jun 29 11:58:14 masarch systemd[1]: Timed out waiting for device
> /sys/subsystem/net/devices/service.
> -- Subject: A start job for unit
> sys-subsystem-net-devices-service.device has failed
> -- Defined-By: systemd
> -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- A start job for unit sys-subsystem-net-devices-service.device has
> finished with a failure.
> --
> -- The job identifier is 91 and the job result is timeout.

sounds like an arch specific issue given that a network card called
"service" is unlikely to be generic

your error: sys-subsystem-net-devices-service.device

the last part is normally the name of the interface:
sys-subsystem-net-devices-vpn.device

sys-subsystem-net-devices-wan.device

additionally normally

---

just look at the output of

[root@srv-rhsoft:~]$ systemctl list-units | grep sys-subsystem-net-devices
sys-subsystem-net-devices-br\x2dguest.device
 loaded active plugged
/sys/subsystem/net/devices/br-guest
sys-subsystem-net-devices-br\x2dlan.device
 loaded active plugged
/sys/subsystem/net/devices/br-lan
sys-subsystem-net-devices-br\x2dwan.device
 loaded active plugged
/sys/subsystem/net/devices/br-wan
sys-subsystem-net-devices-lan\x2dguest.device
 loaded active plugged   82580
Gigabit Network Connection (NC365T 4-port Ethernet Server Adapter)
sys-subsystem-net-devices-lan\x2dspare1.device
 loaded active plugged   82580
Gigabit Network Connection (NC365T 4-port Ethernet Server Adapter)
sys-subsystem-net-devices-lan\x2dspare2.device
 loaded active plugged   82580
Gigabit Network Connection (NC365T 4-port Ethernet Server Adapter)
sys-subsystem-net-devices-lan\x2dtv.device
 loaded active plugged   82580
Gigabit Network Connection (NC365T 4-port Ethernet Server Adapter)
sys-subsystem-net-devices-poe\x2dphone.device
 loaded active plugged
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
sys-subsystem-net-devices-poe\x2dspare.device
 loaded active plugged
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
sys-subsystem-net-devices-vmnet1.device
 loaded active plugged
/sys/subsystem/net/devices/vmnet1
sys-subsystem-net-devices-vmnet8.device
 loaded active plugged
/sys/subsystem/net/devices/vmnet8
sys-subsystem-net-devices-vpn.device
 loaded active plugged
/sys/subsystem/net/devices/vpn
sys-subsystem-net-devices-wan.device
 loaded active plugged   82579LM
Gigabit Network Connection (Lewisville)
sys-subsystem-net-devices-wlan0.device
 loaded active plugged   AR5418
Wireless Network Adapter [AR5008E 802.11(a)bgn] (PCI-Express) (DWA-556
Xtreme N PCI Express Desktop Adapter)
sys-subsystem-net-devices-wlan1.device
 loaded active plugged   AR5418
Wireless Network Adapter [AR5008E 802.11(a)bgn] (PCI-Express) (DWA-556
Xtreme N PCI Express Desktop Adapter)
[root@srv-rhsoft:~]$

---

[root@srv-rhsoft:~]$ ip a | grep mtu
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
2: poe-spare:  mtu 1500 qdisc
fq_codel master br-lan state DOWN group default qlen 1000
3: poe-phone:  mtu 1500 qdisc fq_codel master
br-lan state UP group default qlen 1000
4: lan-guest:  mtu 1500 qdisc mq master
br-guest state DOWN group default qlen 1000
5: lan-spare2:  mtu 1500 qdisc mq
master br-lan state DOWN group default qlen 1000
6: wan:  mtu 1500 qdisc hfsc master br-wan state
UP group default qlen 1000
7: lan-spare1:  mtu 1500 qdisc mq
master br-lan state DOWN group default qlen 1000
8: lan-tv:  mtu 1500 qdisc mq master
br-lan state UP group default qlen 1000
9: wlan0:  mtu 1500 qdisc noqueue
master br-lan state UP group default qlen 1000
10: vmnet1:  mtu 1500 qdisc fq_codel master
br-wan state UNKNOWN group default qlen 1000
11: vmnet8:  mtu 1500 qdisc fq_codel
state UNKNOWN group default qlen 1000
12: br-wan:  mtu 1500 qdisc noqueue state UP
group default qlen 1000
13: vpn:  mtu 1400 qdisc noqueue state
UNKNOWN group default qlen 1000
14: br-lan:  mtu 1500