2d329d2a73
- Fix task limit in emergency.service (same as in dracut-emergency.service) (bsc#1052840) - 95fcoe: Allow bnc2x driver more time to complete DCB negotiation (bsc#1052840) * adds 0549-fcoe-up-Increase-sleeptime-to-13s.patch - 95fcoe: add timeout initqueue entries (bsc#1052840) * adds 0550-95fcoe-add-timeout-initqueue-entries.patch OBS-URL: https://build.opensuse.org/request/show/557319 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=329
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 9353f7e22da71f16a070cb27c139817ba04879c5 Mon Sep 17 00:00:00 2001
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Thu, 17 Aug 2017 10:54:22 +0200
|
|
Subject: [PATCH 1/3] 95fcoe: Switch back to using fipvlan for bnx2fc
|
|
|
|
bnx2fc doesn't _actually_ need fcoemon, so fipvlan is sufficient
|
|
to start the FCoE connection.
|
|
And, in fact, fcoemon is started for every interface, causing
|
|
subsequent invocations to fail with
|
|
|
|
fcoemon[1157]: error 98 address already in use
|
|
|
|
and fcoemon tearing down the connection.
|
|
|
|
References: bsc#1052840
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.com>
|
|
---
|
|
modules.d/95fcoe/fcoe-up.sh | 6 +++++-
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
|
|
index 74bdf819..261bf70c 100755
|
|
--- a/modules.d/95fcoe/fcoe-up.sh
|
|
+++ b/modules.d/95fcoe/fcoe-up.sh
|
|
@@ -57,7 +57,11 @@ if [ "$netdriver" = "bnx2x" ]; then
|
|
udevadm settle --timeout=30
|
|
# Sleep for 3 s to allow dcb negotiation
|
|
sleep 3
|
|
-elif [ "$dcb" = "dcb" ]; then
|
|
+ fipvlan "$netif" -c -s
|
|
+ need_shutdown
|
|
+ exit
|
|
+fi
|
|
+if [ "$dcb" = "dcb" ]; then
|
|
# wait for lldpad to be ready
|
|
i=0
|
|
while [ $i -lt 60 ]; do
|
|
--
|
|
2.13.6
|
|
|