Hi, I have a Debian 9 (stretch) system with a backported rdma-core 17.0-1 package. The system has a mlx4 card (mlx4_ib and mlx4_core kernel modules) and following network configuration in /etc/network/interfaces: ``` auto ib0.dddd iface ib0.dddd inet6 static address fd44:1:5255:: netmask 64 pre-up echo connected > /sys/class/net/$IFACE/mode dad-attempts 600 auto ib1.dddd iface ib1.dddd inet6 static address fd44:2:5255:: ne tmask 64 pre-up echo connected > /sys/class/net/$IFACE/mode dad- attempts 600 ``` The terminal shows following ordering: ``` [FAILED] Failed to start Raise network interfaces. [ OK ] Started Load RDMA modules from /etc/rdma/modules/rdma.conf [ OK ] Started Load RDMA modules from /etc/rdma/modules/infiniband.conf [ OK ] Reached target RDMA Hardware. ``` the networking.service fails with: ``` $ journalctl --no-host -u networking.service [...] Mai 15 13:16:40 ifup[1645]: /bin/sh: 1: cannot create /sys/class/net/ib0.dddd/mode: Directory nonexistent Mai 15 13:16:40 ifup[1645]: ifup: failed to bring up ib0.dddd Mai 15 13:16:40 ifup[1645]: /bin/sh: 1: cannot create /sys/class/net/ib1.dddd/mode: Directory nonexistent Mai 15 13:16:40 ifup[1645]: ifup: failed to bring up ib1.dddd Mai 15 13:16:40 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE Mai 15 13:16:40 systemd[1]: Failed to start Raise network interfaces. Mai 15 13:16:40 systemd[1]: networking.service: Unit entered failed state. Mai 15 13:16:40 systemd[1]: networking.service: Failed with result 'exit-code'. ``` The networking.service fails because it tries to bring up ib0.dddd/ib1.dddd before the rdma-load-modules@infiniband.service loads the ib_ipoib kernel module. networking.service declares that it should run after the network-pre.target and rdma-load-modules@infiniband.servi ce declares to run before network-pre.target. Therefore the order should be rdma-load-modules@infiniband.service -> network-pre.target -> networking.service, but this is obviously not the case. I am writing to this mailing list, because got stuck with debugging this issue and need your help. -- Benjamin Drung System Developer Debian & Ubuntu Developer ProfitBricks GmbH Greifswalder Str. 207 10405 Berlin Email: benjamin.drung@xxxxxxxxxxxxxxxx URL: https://www.profitbricks.de Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg, HRB 125506 B Geschäftsführer: Achim Weiss, Matthias Steinberg, Christoph Steffens -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html