Hi ,
Let me rephrase my problem with more details and some history.
We are running an application on a system which does NAT''ting and
shaping. TC and iptable rules are added and deleted at runtime.
A TC rule will be,
tc class add dev eth1 parent 1:1 classid 1:5001 htb rate 256kbit ceil 256kbit
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip src 10.1.1.1
match ip flowid 1:5001
At peak some 700 to 800 such rules will be present.
Same rules for the other inteface. Deleting a rule is flush out all the rules
and reapply :) ( handler could have been used to delete a particular rule, but
we have not yet upgraded )
We had ext3 filesystem installed at he beginning. But regularly the box would go
down with a kernel panic. The stack trace when this occured is attached.
We then moved to resiserfs filesystem. This time although there was no kernel
panic, the box hanged
with junk messages printed in all our application logs. The box doesnt even
respond on the console. Hard reboot is the only thing we can do.
Pls find all the details given below. Any suggestions/solutions are welcome.
Regards
Jayesh
System details :
Kernel version : 2.4.23
HTB init, kernel part version 3.13
SCSI Adaptec storage controllers
1 GB RAM
lspci
-----------
00:00.0 Host bridge: Intel Corp.: Unknown device 254c (rev 01)
00:02.0 PCI bridge: Intel Corp. e7500 HI_B Virtual PCI-to-PCI Bridge (F0) (rev
01)
00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CA IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
01:02.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
02:1c.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04)
02:1d.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04)
02:1e.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04)
02:1f.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04)
03:01.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
03:02.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
04:01.0 Ethernet controller: Intel Corp.: Unknown device 100f (rev 01)
04:04.0 SCSI storage controller: Adaptec: Unknown device 801f (rev 03)
04:04.1 SCSI storage controller: Adaptec: Unknown device 801f (rev 03)
Ksymoops output with ext3 filesystem
-----------------------------
Dec 21 06:57:02 theseus kernel: kernel BUG at checkpoint.c:587!
Dec 21 06:57:02 theseus kernel: invalid operand: 0000
Dec 21 06:57:02 theseus kernel: CPU: 0
Dec 21 06:57:02 theseus kernel: EIP: 0010:[<c01662ec>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Dec 21 06:57:02 theseus kernel: EFLAGS: 00010292
Dec 21 06:57:02 theseus kernel: eax: 00000069 ebx: f6c46660 ecx: fffffffe
edx: 00000000
Dec 21 06:57:02 theseus kernel: esi: f7ecc660 edi: f6c46660 ebp: e03fdc10
esp: f7de9e1c
Dec 21 06:57:02 theseus kernel: ds: 0018 es: 0018 ss: 0018
Dec 21 06:57:02 theseus kernel: Process kjournald (pid: 11, stackpage=f7de9000)
Dec 21 06:57:02 theseus kernel: Stack: c0257500 c02558c6 c025583d 0000024b
c02558a9 f6c46660 c0166173 f7ecc660
Dec 21 06:57:02 theseus kernel: f6c46660 cd59ce60 e03fdc10 c0165b6f
e03fdc10 e03fdc10 c01660fb e03fdc10
Dec 21 06:57:02 theseus kernel: 00000012 f19f0540 f19f0540 f19f0d40
f7ecc660 00000000 f7ecc660 c01643ef
Dec 21 06:57:02 theseus kernel: Call Trace: [<c0166173>]
[<c0165b6f>] [<c01660fb>] [<c01643ef>] [<c020036c>]
Dec 21 06:57:02 theseus kernel: [<c0109cea>] [<c011a94b>]
[<c0109e9c>] [<c01142c3>] [<c0166e26>] [<c0166d00>]
Dec 21 06:57:02 theseus kernel: [<c0107136>] [<c0166d20>]
Dec 21 06:57:02 theseus kernel: Code: 0f 0b 4b 02 3d 58 25 c0 83 c4 14 8b 53 1c
85 d2 74 29 68 a0
>>EIP; c01662ec <__journal_drop_transaction+5c/282> <====Trace;
c0166173 <__journal_remove_checkpoint+53/80>
Trace; c0165b6f <__try_to_free_cp_buf+1f/40>
Trace; c01660fb <__journal_clean_checkpoint_list+5b/80>
Trace; c01643ef <journal_commit_transaction+19f/fd4>
Trace; c020036c <net_rx_action+6c/100>
Trace; c0109cea <handle_IRQ_event+3a/70>
Trace; c011a94b <do_softirq+4b/90>
Trace; c0109e9c <do_IRQ+9c/b0>
Trace; c01142c3 <schedule+2e3/310>
Trace; c0166e26 <kjournald+106/1b0>
Trace; c0166d00 <commit_timeout+0/10>
Trace; c0107136 <arch_kernel_thread+26/30>
Trace; c0166d20 <kjournald+0/1b0>
Code; c01662ec <__journal_drop_transaction+5c/282>
00000000 <_EIP>:
Code; c01662ec <__journal_drop_transaction+5c/282> <==== 0: 0f
0b ud2a <====Code; c01662ee
<__journal_drop_transaction+5e/282>
2: 4b dec %ebx
Code; c01662ef <__journal_drop_transaction+5f/282>
3: 02 3d 58 25 c0 83 add 0x83c02558,%bh
Code; c01662f5 <__journal_drop_transaction+65/282>
9: c4 14 8b les (%ebx,%ecx,4),%edx
Code; c01662f8 <__journal_drop_transaction+68/282>
c: 53 push %ebx
Code; c01662f9 <__journal_drop_transaction+69/282>
d: 1c 85 sbb $0x85,%al
Code; c01662fb <__journal_drop_transaction+6b/282>
f: d2 (bad)
Code; c01662fc <__journal_drop_transaction+6c/282>
10: 74 29 je 3b <_EIP+0x3b> c0166327
<__journal_drop_transaction+97/282>
Code; c01662fe <__journal_drop_transaction+6e/282>
12: 68 a0 00 00 00 push $0xa0
-------------------------------------------------
Still single? Click here to find the perfect match.
bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: lartc.org