[Bridge] bridge Oops

Ling Frank ufwt at hotmail.com
Wed Jul 14 17:56:12 PDT 2004


hello,I use kernel 2.4.24 + ebtables.
i use bridge and use iptables control user use network!
when i use send many udp packet,some time kernel oops!
help me!
thanks!

attachs:

ip addr:
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 
1000
    link/ether 00:04:75:99:cd:ad brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 
1000
    link/ether 00:e0:4c:52:54:04 brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc noqueue
    link/ether 00:04:75:99:cd:ad brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.141/24 brd 192.168.0.255 scope global br0

brctl show:
bridge name     bridge id               STP enabled     interfaces
br0             8000.00047599cdad       yes             eth0
                                                        eth1
[root at localhost root]# iptables -n -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
DROP       udp  -- !127.0.0.1            0.0.0.0/0          udp dpt:514
DROP       tcp  -- !127.0.0.1            0.0.0.0/0          tcp dpt:3306

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0          tcp spt:53
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0          tcp dpt:53
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0          udp spt:53
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0          udp dpt:53
ACCEPT     all  --  0.0.0.0/0            192.168.0.253      limit: avg 
769/sec burst 737
ACCEPT     all  --  192.168.0.253        0.0.0.0/0
ACCEPT     all  --  0.0.0.0/0            192.168.0.119      limit: avg 
769/sec burst 737
ACCEPT     all  --  192.168.0.119        0.0.0.0/0
ACCEPT     all  --  0.0.0.0/0            192.168.0.115      limit: avg 
769/sec burst 737
ACCEPT     all  --  192.168.0.115        0.0.0.0/0
ACCEPT     all  --  0.0.0.0/0            192.168.0.102      limit: avg 
769/sec burst 737
ACCEPT     all  --  192.168.0.102        0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

[root at localhost root]# iptables -n -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  192.168.0.102        0.0.0.0/0
ACCEPT     all  --  192.168.0.115        0.0.0.0/0
ACCEPT     all  --  192.168.0.119        0.0.0.0/0
ACCEPT     all  --  192.168.0.253        0.0.0.0/0
DROP       tcp  --  0.0.0.0/0            0.0.0.0/0          tcp dpt:80 
flags:0x16/0x02 #conn/32 > 2
REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0          tcp dpt:80 
redir ports 81

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  0.0.0.0/0            0.0.0.0/0          
to:192.168.0.141

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

message:
Jul 15 04:02:01 localhost kernel: Unable to handle kernel paging request at 
virtual address 19040128
Jul 15 04:02:01 localhost kernel: Unable to handle kernel paging request at 
virtual address 19040128
Jul 15 04:02:01 localhost kernel:  printing eip:
Jul 15 04:02:01 localhost kernel: c880ed02
Jul 15 04:02:01 localhost kernel: *pde = 00000000
Jul 15 04:02:01 localhost kernel: *pde = 00000000
Jul 15 04:02:01 localhost kernel: Oops: 0000
Jul 15 04:02:01 localhost kernel: CPU:    0
Jul 15 04:02:01 localhost kernel: EIP:    
0010:[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-1061630/96] 
   Not tainted
Jul 15 04:02:01 localhost kernel: EIP:    0010:[<c880ed02>]    Not tainted
Jul 15 04:02:01 localhost kernel: EFLAGS: 00010203
Jul 15 04:02:01 localhost kernel: eax: 19040100   ebx: 19040100   ecx: 
c115cf3c   edx: 31b84500
Jul 15 04:02:01 localhost kernel: esi: c7ca3480   edi: 00000000   ebp: 
00000000   esp: c28a5d08
Jul 15 04:02:01 localhost kernel: ds: 0018   es: 0018   ss: 0018
Jul 15 04:02:01 localhost kernel: Process mktemp (pid: 2735, 
stackpage=c28a5000)
Jul 15 04:02:01 localhost kernel: Stack: c7ca3480 c28a5d1c c28a4000 
c54b8740 00000286 00000000 c115cf20 00000030 
Jul 15 04:02:01 localhost kernel:        c0284ab8 00000c97 c882050d 
c11e7260 c115cf20 00000030 c013f122 c115cf20 
Jul 15 04:02:01 localhost kernel:        00000030 00000000 c115cf20 
c0134337 c115cf20 00000030 c28a4000 00000bb8 
Jul 15 04:02:01 localhost kernel: Call Trace:    
[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-989939/96] 
[try_to_release_page+82/112] [shrink_cache+759/928] [shrink_caches+61/96] 
[try_to_free_pages_zone+98/256]
Jul 15 04:02:01 localhost kernel: Call Trace:    [<c882050d>] [<c013f122>] 
[<c0134337>] [<c013457d>] [<c0134602>]
Jul 15 04:02:01 localhost kernel:   [try_to_free_pages+78/112] 
[free_more_memory+23/64] [getblk+79/112] 
[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-993544/96] 
[ip_rcv_finish+0/592] [bridge:__insmod_bridge_S.data_L1240+760/1240]
Jul 15 04:02:01 localhost kernel:   [<c01346ee>] [<c013e727>] [<c013eacf>] 
[<c881f6f8>] [<c0200160>] [<c8919eb8>]
Jul 15 04:02:01 localhost kernel:   [ip_rcv+414/608] 
[netif_receive_skb+328/560] [process_backlog+109/272] 
[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-980321/96] 
[do_IRQ+158/160] 
[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-979616/96]

Jul 15 04:02:01 localhost kernel:   [<c01fff2e>] [<c01e8838>] [<c01e898d>] 
[<c8822a9f>] [<c010a7de>] [<c8822d60>]
Jul 15 04:02:01 localhost kernel:   [lookup_hash+159/208] 
[lookup_create+67/128] [sys_mkdir+125/240] [system_call+51/56]
Jul 15 04:02:01 localhost kernel:   [<c014815f>] [<c01489a3>] [<c0148ead>] 
[<c01090ef>]
Jul 15 04:02:01 localhost kernel: 
Jul 15 04:02:01 localhost kernel: Code: 8b 5b 28 f6 40 19 04 75 26 39 f3 75 
f1 f7 44 24 34 50 00 00 
Jul 15 05:14:29 localhost kernel:  <6>NETDEV WATCHDOG: eth1: transmit timed 
out
Jul 15 05:14:29 localhost kernel: eth1: link up, 10Mbps, half-duplex, lpa 
0x0000
Jul 15 05:14:29 localhost kernel: eth1: Promiscuous mode enabled.
Jul 15 05:18:05 localhost kernel: NETDEV WATCHDOG: eth1: transmit timed out
....
Jul 15 05:18:05 localhost kernel: eth1: link up, 10Mbps, half-duplex, lpa 
0x0000
Jul 15 05:18:05 localhost kernel: eth1: Promiscuous mode enabled.
Jul 15 05:21:59 localhost kernel: NETDEV WATCHDOG: eth1: transmit timed out
Jul 15 05:21:59 localhost kernel: eth1: link up, 10Mbps, half-duplex, lpa 
0x0000
Jul 15 05:21:59 localhost kernel: eth1: Promiscuous mode enabled.
Jul 15 07:45:56 localhost kernel: Unable to handle kernel paging request at 
virtual address a9c0d428
Jul 15 07:45:56 localhost kernel: Unable to handle kernel paging request at 
virtual address a9c0d428
Jul 15 07:45:56 localhost kernel:  printing eip:
Jul 15 07:45:56 localhost kernel: c01528e8
Jul 15 07:45:56 localhost kernel: *pde = 00000000
Jul 15 07:45:56 localhost kernel: *pde = 00000000
Jul 15 07:45:56 localhost kernel: Oops: 0000
Jul 15 07:45:56 localhost kernel: CPU:    0
Jul 15 07:45:56 localhost kernel: EIP:    0010:[find_inode+40/128]    Not 
tainted
Jul 15 07:45:56 localhost kernel: EIP:    0010:[<c01528e8>]    Not tainted
Jul 15 07:45:56 localhost kernel: EFLAGS: 00010293
Jul 15 07:45:56 localhost kernel: eax: 00000000   ebx: a9c0d400   ecx: 
0000000d   edx: c7ee0000
Jul 15 07:45:56 localhost kernel: esi: 00000000   edi: c7eeaa08   ebp: 
00077aff   esp: c4dcfea4
Jul 15 07:45:56 localhost kernel: ds: 0018   es: 0018   ss: 0018
Jul 15 07:45:56 localhost kernel: Process bash (pid: 916, 
stackpage=c4dcf000)
Jul 15 07:45:56 localhost kernel: Stack: 00000002 c7715620 c1193800 
00001fff c7eeaa08 c1193800 00077aff c0152d04 
Jul 15 07:45:56 localhost kernel:        c1193800 00077aff c7eeaa08 
00000000 00000000 00077aff c770fbc0 c775c0a0 
Jul 15 07:45:56 localhost kernel:        c770fbc0 c8822d9c c1193800 
00077aff 00000000 00000000 c7725958 fffffff4 
Jul 15 07:45:56 localhost kernel: Call Trace:    [iget4+84/240] 
[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-979556/96] 
[real_lookup+199/240] [link_path_walk+1466/1760] [path_lookup+57/64]
Jul 15 07:45:56 localhost kernel: Call Trace:    [<c0152d04>] [<c8822d9c>] 
[<c01475b7>] [<c0147cca>] [<c0147fa9>]
Jul 15 07:45:56 localhost kernel:   [__user_walk+73/96] [sys_stat64+31/144] 
[system_call+51/56]
Jul 15 07:45:56 localhost kernel:   [<c0148249>] [<c014473f>] [<c01090ef>]
Jul 15 07:45:56 localhost kernel: 
Jul 15 07:45:56 localhost kernel: Code: 39 6b 28 89 de 75 f1 8b 44 24 20 39 
83 a0 00 00 00 75 e5 8b 
Jul 15 07:50:21 localhost kernel:  <6>NETDEV WATCHDOG: eth1: transmit timed 
out

ksymoops:

 Unable to handle kernel paging request at virtual address 19040128
 Unable to handle kernel paging request at virtual address 19040128
 c880ed02
 *pde = 00000000
 *pde = 00000000
 Oops: 0000
 CPU:    0
 EIP:    
0010:[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-1061630/96] 
   Not tainted
 EIP:    0010:[<c880ed02>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
 EFLAGS: 00010203
 eax: 19040100   ebx: 19040100   ecx: c115cf3c   edx: 31b84500
 esi: c7ca3480   edi: 00000000   ebp: 00000000   esp: c28a5d08
 ds: 0018   es: 0018   ss: 0018
 Process mktemp (pid: 2735, stackpage=c28a5000)
 Stack: c7ca3480 c28a5d1c c28a4000 c54b8740 00000286 00000000 c115cf20 
00000030
        c0284ab8 00000c97 c882050d c11e7260 c115cf20 00000030 c013f122 
c115cf20
        00000030 00000000 c115cf20 c0134337 c115cf20 00000030 c28a4000 
00000bb8
 Call Trace:    
[bridge:__insmod_bridge_O/lib/modules/2.4.24ts-1/kernel/net/bridge/+-989939/96] 
[try_to_release_page+82/112] [shrink_cache+759/928] [shrink_caches+61/96] 
[try_to_free_pages_zone+98/256]
 Call Trace:    [<c882050d>] [<c013f122>] [<c0134337>] [<c013457d>] 
[<c0134602>]
   [<c01346ee>] [<c013e727>] [<c013eacf>] [<c881f6f8>] [<c0200160>] 
[<c8919eb8>]
   [<c01fff2e>] [<c01e8838>] [<c01e898d>] [<c8822a9f>] [<c010a7de>] 
[<c8822d60>]
   [<c014815f>] [<c01489a3>] [<c0148ead>] [<c01090ef>]
 Code: 8b 5b 28 f6 40 19 04 75 26 39 f3 75 f1 f7 44 24 34 50 00 00


>>EIP; c880ed02 <[jbd]journal_try_to_free_buffers+32/c0>   <=====

>>eax; 19040100 Before first symbol
>>ebx; 19040100 Before first symbol
>>ecx; c115cf3c <_end+e306c4/84e07e8>
>>edx; 31b84500 Before first symbol
>>esi; c7ca3480 <_end+7976c08/84e07e8>
>>esp; c28a5d08 <_end+2579490/84e07e8>

Trace; c882050d <[ext3].text.start+54ad/cb7d>
Trace; c013f122 <try_to_release_page+52/70>
Trace; c0134337 <shrink_cache+2f7/3a0>
Trace; c013457d <shrink_caches+3d/60>
Trace; c0134602 <try_to_free_pages_zone+62/100>
Trace; c01346ee <try_to_free_pages+4e/70>
Trace; c013e727 <free_more_memory+17/40>
Trace; c013eacf <getblk+4f/70>
Trace; c881f6f8 <[ext3].text.start+4698/cb7d>
Trace; c0200160 <ip_rcv_finish+0/250>
Trace; c8919eb8 <[bridge]br_nf_ops+78/e0>
Trace; c01fff2e <ip_rcv+19e/260>
Trace; c01e8838 <netif_receive_skb+148/230>
Trace; c01e898d <process_backlog+6d/110>
Trace; c8822a9f <[ext3].text.start+7a3f/cb7d>
Trace; c010a7de <do_IRQ+9e/a0>
Trace; c8822d60 <[ext3].text.start+7d00/cb7d>
Trace; c014815f <lookup_hash+9f/d0>
Trace; c01489a3 <lookup_create+43/80>
Trace; c0148ead <sys_mkdir+7d/f0>
Trace; c01090ef <system_call+33/38>

Code;  c880ed02 <[jbd]journal_try_to_free_buffers+32/c0>
00000000 <_EIP>:
Code;  c880ed02 <[jbd]journal_try_to_free_buffers+32/c0>   <=====
   0:   8b 5b 28                  mov    0x28(%ebx),%ebx   <=====
Code;  c880ed05 <[jbd]journal_try_to_free_buffers+35/c0>
   3:   f6 40 19 04               testb  $0x4,0x19(%eax)
Code;  c880ed09 <[jbd]journal_try_to_free_buffers+39/c0>
   7:   75 26                     jne    2f <_EIP+0x2f>
Code;  c880ed0b <[jbd]journal_try_to_free_buffers+3b/c0>
   9:   39 f3                     cmp    %esi,%ebx
Code;  c880ed0d <[jbd]journal_try_to_free_buffers+3d/c0>
   b:   75 f1                     jne    fffffffe <_EIP+0xfffffffe>
Code;  c880ed0f <[jbd]journal_try_to_free_buffers+3f/c0>
   d:   f7 44 24 34 50 00 00      testl  $0x50,0x34(%esp,1)
Code;  c880ed16 <[jbd]journal_try_to_free_buffers+46/c0>
  14:   00

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn  




More information about the Bridge mailing list