Hi, I am using SuSE SP1 with kernel 2.6.16.46-0.12.
I meet some troubles, I have created bond0 with eth0 and eth1, and it is effective.
But, when I excute “service network restart”, the system network will collapse as belowing output:
ifdown bond0
bond0
— blank…
/var/log/message:
Dec 27 17:56:12 MV-MM1 ifdown: bond0
Dec 27 17:56:12 MV-MM1 syslog-ng[6525]: Changing permissions on special file /dev/xconsole
Dec 27 17:56:12 MV-MM1 syslog-ng[6525]: Changing permissions on special file /dev/tty10
Dec 27 17:56:14 MV-MM1 kernel: bonding: bond0: released all slaves
Dec 27 17:56:14 MV-MM1 syslog-ng[6525]: io.c: do_write: write() failed (errno 22), Invalid argument
Dec 27 17:56:14 MV-MM1 kernel: klogd 1.4.1, ---------- state change ----------
Dec 27 17:56:14 MV-MM1 syslog-ng[6525]: Connection broken to AF_INET(10.25.125.10:514), reopening in 60 seconds
Dec 27 17:56:14 MV-MM1 kernel: bonding: bond0 is being deleted…
Dec 27 17:56:14 MV-MM1 kernel: LLT INFO V-14-1-10205 link 1 (bond0) node 1 in trouble
Dec 27 17:56:20 MV-MM1 kernel: LLT INFO V-14-1-10032 link 1 (bond0) node 1 inactive 8 sec (32767) <------VCS message, it is not important
Dec 27 17:56:21 MV-MM1 kernel: LLT INFO V-14-1-10032 link 1 (bond0) node 1 inactive 9 sec (32767)
Dec 27 17:56:22 MV-MM1 kernel: LLT INFO V-14-1-10032 link 1 (bond0) node 1 inactive 10 sec (32767)
Dec 27 17:56:23 MV-MM1 kernel: LLT INFO V-14-1-10032 link 1 (bond0) node 1 inactive 11 sec (32767)
Dec 27 17:56:24 MV-MM1 kernel: LLT INFO V-14-1-10032 link 1 (bond0) node 1 inactive 12 sec (32767)
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
Dec 27 17:56:24 MV-MM1 kernel: unregister_netdevice: waiting for bond0 to become free. Usage count = 1
And I googled some workaround:
-
disable ipv6
-
upgrade kernel version
Unfortunately, the issue is still.
If I remove bond, just use eth0 or eth1, “service network restart” is very ok. And I am sure ifcfg-bon0 was configured right.
there is some strac when “service network restart” as bonding is made:
…
8042 close(4) = 0
8042 exit_group(0) = ?
7971 <… wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 8042
7971 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
7971 — SIGCHLD (Child exited) @ 0 (0) —
7971 wait4(-1, 0x7fffaebe7674, WNOHANG, NULL) = -1 ECHILD (No child processes)
7971 rt_sigreturn(0xffffffffffffffff) = 0
7971 rt_sigaction(SIGINT, {0x43ffbb, [], SA_RESTORER, 0x2b46fc4b7c10}, {0x42e931, [], SA_RESTORER, 0x2b46fc4b7c10}, 8) = 0
7971 open("/sys/class/net/bonding_masters", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
7971 fcntl(1, F_GETFD) = 0
7971 fcntl(1, F_DUPFD, 10) = 10
7971 fcntl(1, F_GETFD) = 0
7971 fcntl(10, F_SETFD, FD_CLOEXEC) = 0
7971 close(1) = 0
7971 dup2(3, 1) = 1
7971 close(3) = 0
7971 write(1, "-bond0
", 7 <---------------- breakpoint
Someone can help me ?