Skip to contentSkip to conversation

unloading bridge fails [2.5.67]

DISCUSSION Nico Schottelius 2 participants 3 messages Apr 18, 2003 – May 5, 2003

lore
Share & tools
lore
#0 lore raw

Hello!

Using plain 2.5.67:

flapp:~ # brctl addbr br0
flapp:~ # brctl addif br0 eth0
flapp:~ # ifconfig br0 23.23.23.23 up
flapp:~ # brctl delif br0 eth0
flapp:~ # ifconfig br0 down

until here it works fine, but now

flapp:~ # brctl delbr br0

simply hangs.

flapp:~ # killall -9 brctl
does not kill it.
After some Minutes the keyboard stops working, only the mouse (ps2) keeps on working. Later the screen gets shifted left or right. SysRq like all other keyboard actions do not work.

flapp:~ # dmesg
[...]
device eth0 left promiscuous mode
unregister_netdevice: waiting for br0 to become free. Usage count = 2
unregister_netdevice: waiting for br0 to become free. Usage count = 2
unregister_netdevice: waiting for br0 to become free. Usage count = 2
unregister_netdevice: waiting for br0 to become free. Usage count = 2
unregister_netdevice: waiting for br0 to become free. Usage count = 2 [...repeated many times...]

This does not happen, when I don't activate the bridge (i don't issue ifconfig br0 up).

Anyone know why ? HowTo solve ?

Nico

Signature · 3 lines
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)
#1 lore raw
Quoted 10 lines · On Thu, 17 Apr 2003 11:34:32 +0200 Nico Schottelius <[email protected]> wrote:

Hello!

Using plain 2.5.67:

flapp:~ # brctl addbr br0 flapp:~ # brctl addif br0 eth0 flapp:~ # ifconfig br0 23.23.23.23 up flapp:~ # brctl delif br0 eth0 flapp:~ # ifconfig br0 down

Quoted 6 lines

until here it works fine, but now

flapp:~ # brctl delbr br0

simply hangs.

I submitted several patches that have been accepted that address this and several other management API issues. Your short set of commands works fine now.

Do you need the patches for 2.5.67 right now, or can you wait till they come out in 2.5.68?

#2 lore raw

Stephen Hemminger [Fri, Apr 18, 2003 at 11:24:19AM -0700]:

Quoted 3 lines

[...]
Do you need the patches for 2.5.67 right now, or can you wait till they come out in 2.5.68?

can wait, i am mostly stress-testing the kernel to find out where problems exist.

Nico

Signature · 3 lines
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)