From: Patrick McHardy <kaber@trash.net>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Jay Vosburgh <fubar@us.ibm.com>,
"David S. Miller" <davem@davemloft.net>,
bonding-devel@lists.sf.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: BUG: bonding module can only be loaded once
Date: Tue, 09 Jun 2009 17:33:07 +0200 [thread overview]
Message-ID: <4A2E80B3.6010600@trash.net> (raw)
In-Reply-To: <20090609080232.45f81833@nehalam>
Stephen Hemminger wrote:
>> --- a/drivers/net/bonding/bond_main.c
>> +++ b/drivers/net/bonding/bond_main.c
>> @@ -5203,7 +5203,7 @@ static int __init bonding_init(void)
>>
>> res = bond_create_sysfs();
>> if (res)
>> - goto err;
>> + pr_info("Loading bonding module without sysfs interface\n");
>>
>> register_netdevice_notifier(&bond_netdev_notifier);
>> register_inetaddr_notifier(&bond_inetaddr_notifier);
>
> That only makes it limp along, and there still are warnings.
> The point is that who ever added the WARN() in proc and sysfs, effectively
> broke a bonding usage model.
It did already dump the stack before that change, didn't it?
In any case, this is not the first time this has been broken and the
fundamental reason is in my opinion that the bonding interface is
broken to begin with. The module aliasing thing is complete crap
and should have been phased out long ago. At this point its probably
not worth anymore to migrate people to the sysfs interface though,
the best thing would be to add an rtnl_link interface and phase out
both.
next prev parent reply other threads:[~2009-06-09 15:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-08 22:11 BUG: bonding module can only be loaded once Stephen Hemminger
2009-06-09 12:06 ` Arnd Bergmann
2009-06-09 15:02 ` Stephen Hemminger
2009-06-09 15:33 ` Patrick McHardy [this message]
2009-06-09 16:14 ` Jay Vosburgh
2009-06-09 16:27 ` Patrick McHardy
2009-06-09 17:23 ` [PATCH] bonding: fix multiple module load problem Stephen Hemminger
2009-06-09 17:37 ` [Bonding-devel] " Jay Vosburgh
2009-06-09 17:24 ` [Bonding-devel] BUG: bonding module can only be loaded once Jay Vosburgh
2009-06-09 22:14 ` Patrick McHardy
2009-06-10 13:19 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A2E80B3.6010600@trash.net \
--to=kaber@trash.net \
--cc=arnd@arndb.de \
--cc=bonding-devel@lists.sf.net \
--cc=davem@davemloft.net \
--cc=fubar@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).