systemd upgrade --> no more networking!

Ask questions about Arch Linux ARM. Please search before making a new topic.

systemd upgrade --> no more networking!

Postby gadou » Wed Mar 05, 2014 10:48 am

Hi I just upgraded systemd to 210-2 and upon reboot my (wired) network connection is no longer working (this is arch on an Allwinner Cubietruck device); dev name and MAC address are the same, but somehow the automatic start of eth0 won't work.

In dmesg I get these:$this->bbcode_second_pass_quote('', '[') 5.667422] systemd[1]: Configuration file /etc/systemd/system/netctl@eth0.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[ 5.927678] systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
[ 156.203561] eth0: PHY ID 001cc915 at 0 IRQ 0 (sunxi_gmac-0:00) active
[ 156.215669] eth0: PHY ID 001cc915 at 1 IRQ 0 (sunxi_gmac-0:01)
[ 166.408901] eth0: no IPv6 routers present

and "netctl/sysctl status" says something about "Dependency failed for Automatic wired...".
I tried to configure from scratch along https://wiki.archlinux.org/index.php/netctl but then
$this->bbcode_second_pass_code('', 'netctl start eth0')does nothing! Only after "netctl stop-all" and "netctl reenable eth0" can I start the service. Unfortunately this doesn't work upon next reboot: again no networking.
Ho should I re-setup my wired connection?

Thanks for your help
gadou
 
Posts: 5
Joined: Sat Feb 08, 2014 10:22 pm

Re: systemd upgrade --> no more networking!

Postby muskatnuss » Fri Mar 07, 2014 1:09 pm

Hi, I have the same problem (Dependency failed) after this upgrade with a cubieboard 1 (1GB RAM)
$this->bbcode_second_pass_code('', 'journalctl -xn') gives $this->bbcode_second_pass_code('', '...
timed out waiting for device sys-subsystem-net-device-eth0.device
...')
I disabled netctl and tested with dhcpcd:
$this->bbcode_second_pass_code('', 'systemctl start dhcpcd@eth0') give the same error.

But it works with manual dhcpcd
$this->bbcode_second_pass_code('', 'dhcpcd eth0') -> works
muskatnuss
 
Posts: 2
Joined: Fri Mar 07, 2014 12:50 pm

Re: systemd upgrade --> no more networking!

Postby planeteater » Fri Mar 07, 2014 2:20 pm

$this->bbcode_second_pass_quote('gadou', '
')I tried to configure from scratch along https://wiki.archlinux.org/index.php/netctl but then
$this->bbcode_second_pass_code('', 'netctl start eth0')does nothing! Only after "netctl stop-all" and "netctl reenable eth0" can I start the service.

eth0 is a very suspicious name for a netctl profile. Did You really copy one of the example ethernet-* profiles from /etc/netctl/examples to /etc/netctl, then renamed it to eth0?
planeteater
 
Posts: 26
Joined: Sat Dec 29, 2012 2:44 pm

Re: systemd upgrade --> no more networking!

Postby WarheadsSE » Fri Mar 07, 2014 2:24 pm

Many people name them like that, as confusing as it can be!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: systemd upgrade --> no more networking!

Postby muskatnuss » Fri Mar 07, 2014 3:47 pm

Hi,

I solved my problem by disabling netctl and enabling systemd-networkd.service.
$this->bbcode_second_pass_code('', 'systemctl disable {all netctl services}') and then I followed this instruction: https://wiki.archlinux.org/index.php/Network_configuration#Dynamic_IP_address
muskatnuss
 
Posts: 2
Joined: Fri Mar 07, 2014 12:50 pm

Re: systemd upgrade --> no more networking!

Postby Yenal » Sun Mar 09, 2014 8:14 am

having the same issue with Wandboard and Freescale Kernel 3.0.35-4.1

but it's worse.. dev-ttymxc0.device is also affected, so I dont have access to serial console anymore and arch freezes at
[ TIME ] Timed out waiting for device dev-ttymxc0.device.
[DEPEND] Dependency failed for Serial Getty on ttymxc0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Yenal
 
Posts: 18
Joined: Wed Jan 29, 2014 6:31 pm

Re: systemd upgrade --> no more networking!

Postby raumzeit » Sun Mar 09, 2014 4:45 pm

@Yenal

You are using linux-wandboard-fsl, right? I had the same problem but solved it by recompiling the kernel with proper config. If you used the PKGBUILD of CrawX before, you could use my PKGBUILD instead (https://github.com/RaumZeit/PKGBUILDs/tree/master/core/linux-wandboard-fsl). This is essentially the same but sets all configs to comply with latest systemd. However, I didn't check the provides array in my PKGBUILD, so it may be necessary for you to merge CrawX's provides in order to not break any of your package dependencies...

Edit: As far as I remember, the config parameters in question are:

$this->bbcode_second_pass_code('', '
CONFIG_FHANDLE=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
')

Both are not activated in CrawX's config...
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: systemd upgrade --> no more networking!

Postby Yenal » Mon Mar 10, 2014 8:27 am

Thx for the info, yes if you mean the kernel from Yocto (dora branch) (meta-fsl-arm-extra) ..which is the github wandboard-org kernel
tried with both 4.0.0 and 4.1.0

with this config: https://gist.github.com/Yenals/9461158

..but it must be another parameter, because it was compiled with:
CONFIG_FHANDLE=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_CGROUPS=y
----------
edit:
solved the problem by using kernel from Yocto master branch ..and Arch boots without problems after systemd upgrade

I rebuild the kernel in ../build/tmp/work/wandboard_quad-poky-linux-gnueabi/linux-wandboard/3.0.35-r0/git/ without many config modifications using linaro-toolchain-binaries 4.8 to get uImage instead of zImage
(note: at least it's maybe a good idea to activate acl for ext4 to prevent systemd-journald: Failed to read ACL on /var/log/journal/... errors)
Last edited by Yenal on Mon Mar 10, 2014 9:05 pm, edited 1 time in total.
Yenal
 
Posts: 18
Joined: Wed Jan 29, 2014 6:31 pm

Re: systemd upgrade --> no more networking!

Postby moonman » Mon Mar 10, 2014 2:13 pm

Here's the full list of requirements: http://cgit.freedesktop.org/systemd/systemd/tree/README
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: systemd upgrade --> no more networking!

Postby vostreltsov » Tue Mar 11, 2014 9:18 am

Does anybody experience problems with wireless connections?

I'm running arch arm on a raspberry pi. If I have the wlan0 profile enabled, after reboot it fails to authenticate:
$this->bbcode_second_pass_code('', '
netctl@econex\x2dwlan.service - Networking for netctl profile econex-wlan
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:02:59 MST; 29s ago
Docs: man:netctl.profile(5)
Process: 395 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 395 (code=exited, status=1/FAILURE)

Dec 31 17:02:30 alarmpi network[395]: Starting network profile 'econex-wlan'...
Dec 31 17:02:58 alarmpi network[395]: WPA association/authentication failed for interface 'wlan0'
Dec 31 17:02:59 alarmpi network[395]: Failed to bring the network up for profile 'econex-wlan'
Dec 31 17:02:59 alarmpi systemd[1]: netctl@econex\x2dwlan.service: main process exited, code=exited, status=1/FAILURE
Dec 31 17:02:59 alarmpi systemd[1]: Failed to start Networking for netctl profile econex-wlan.
Dec 31 17:02:59 alarmpi systemd[1]: Unit netctl@econex\x2dwlan.service entered failed state.
')

But if I run wifi-menu (which uses the exactly same profile) it authenticates normally:
$this->bbcode_second_pass_code('', '
netctl@econex\x2dwlan.service - Networking for netctl profile econex-wlan
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: active (exited) since Wed 1969-12-31 17:03:56 MST; 24s ago
Docs: man:netctl.profile(5)
Process: 1134 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
Main PID: 1134 (code=exited, status=0/SUCCESS)

Dec 31 17:03:44 alarmpi network[1134]: Starting network profile 'econex-wlan'...
Dec 31 17:03:56 alarmpi network[1134]: Started network profile 'econex-wlan'
Dec 31 17:03:56 alarmpi systemd[1]: Started Networking for netctl profile econex-wlan.
')
Any ideas?
vostreltsov
 
Posts: 2
Joined: Tue Mar 11, 2014 8:53 am

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 9 guests