[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

kernel crash removing a bridged tun devices



Hi,

I'm bridging a tun device to give my qemu virtual machines network
access.  My script brings up tun0 and addif's it to br0.  When I close
qemu the kernel complains severely.  If I'm running with an smp kernel
my machine hard freezes.

Fedora Core 2, fully updated, i686
Linux version 2.6.8-1.521

dmesg log attached.

anyone know if this is likely due to Fedora additions to the kernel?  Or
should I be posting this upstream. (I should really test it with a
vanilla kernel of course...)  Or is it already know about and I've just
missed the reports.

John.
-- 
GPG: B89C D450 5B2C 74D8 58FB A360 9B06 B5C2 26F0 3047
WEB: http://johnleach.co.uk
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
divert: allocating divert_blk for tun0
device tun0 entered promiscuous mode
br0: port 2(tun0) entering learning state
br0: port 2(tun0) entering disabled state
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1[expected: 0], irqs_disabled():0
 [<0211b765>] __might_sleep+0x82/0x8c
 [<021a5eea>] sysfs_hash_and_remove+0x1c/0x1ce
 [<42a2df32>] br_sysfs_removeif+0x18/0x20 [bridge]
 [<42a2a908>] br_del_if+0x23/0x10b [bridge]
 [<42a2bb27>] br_device_event+0x11f/0x17c [bridge]
 [<0212ccf5>] notifier_call_chain+0x17/0x30
 [<022a0550>] unregister_netdevice+0x178/0x2e9
 [<42ade902>] tun_chr_close+0x55/0x5f [tun]
 [<0216190e>] __fput+0x3f/0xd8
 [<0216012f>] filp_close+0x59/0x5f
 [<021206d1>] put_files_struct+0x56/0xbf
 [<021218ad>] do_exit+0x3f6/0x767
 [<02121ddf>] sys_exit_group+0x0/0xd
bad: scheduling while atomic!
 [<022f3d9d>] schedule+0x2d/0x5a0
 [<0210659e>] dump_stack+0x11/0x13
 [<0211b765>] __might_sleep+0x82/0x8c
 [<021a5ef5>] sysfs_hash_and_remove+0x27/0x1ce
 [<42a2df32>] br_sysfs_removeif+0x18/0x20 [bridge]
 [<42a2a908>] br_del_if+0x23/0x10b [bridge]
 [<42a2bb27>] br_device_event+0x11f/0x17c [bridge]
 [<0212ccf5>] notifier_call_chain+0x17/0x30
 [<022a0550>] unregister_netdevice+0x178/0x2e9
 [<42ade902>] tun_chr_close+0x55/0x5f [tun]
 [<0216190e>] __fput+0x3f/0xd8
 [<0216012f>] filp_close+0x59/0x5f
 [<021206d1>] put_files_struct+0x56/0xbf
 [<021218ad>] do_exit+0x3f6/0x767
 [<02121ddf>] sys_exit_group+0x0/0xd
device tun0 left promiscuous mode
net/bridge/br_if.c:105: spin_lock(net/bridge/br_if.c:33d38280) already locked by net/bridge/br_notify.c/44
br0: port 2(tun0) entering disabled state
net/bridge/br_notify.c:82: spin_unlock(net/bridge/br_if.c:33d38280) not locked
divert: freeing divert_blk for tun0

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]