Oops from tcp_collapse() when using splice()
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 82 lines · Karl Hiramoto
Hi, the following oops occurs with both 2.6.28.9 and 2.6.30.9
userspace program is using
splice()on two tcp sockets.Internal error: Oops: 817 [#1] Modules linked in: pppoe pppox br2684 crc_ccitt nf_nat_pptp nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre af_key ixp4xx_crypto ipt_MASQUERADE CPU: 0 Not tainted (2.6.30.9 #1) PC is at tcp_collapse+0x268/0x338 LR is at 0xc2c49640 pc : [<c020be4c>] lr : [<c2c49640>] psr: 80000013sp :
c0323c80ip :c3a09920fp :c0323cb8
r10:20ec0490r9 :00000e2cr8 :c2d117a0
r7 :c2c49620r6 :c2d11780r5 :c2c49600r4 : 00000074 r3 : 00000000 r2 :20ec4594r1 : 00004104 r0 :c2c49600
Flags: Nzcv IRQs on FIQs on ModeSVC_32ISA ARM Segment kernel
Control:000039ffTable:02efc000DAC: 00000017 Process swapper (pid: 0, stack limit =0xc0322260)Stack: (0xc0323c80 to 0xc0324000)3c80:
c3a09920c3a09920c3a098c0ffffc476c3a098c0c3a098c00000059ac2cded803ca0:c2eef054c3a09c20c2eef054c0323cfcc0323cbcc020c114c020bbf020ec04903cc0:20ed15b018295345 00000000c3a09c2000000000000008ecc3a098c00000059a3ce0:c2cded80c2eef054c2cdeda0c2eef054c0323d30c0323d00c020c394c020bf283d00:c2e5ec00ffffffffc3a098c0c2cded800000059ac2eef05400000020c2cdeda03d20:c2eef054c0323d5cc0323d34c02102f8c020c1b400000000c2cded80c3a098c03d40:c2eef054c03576fcc2eef0400000cd2bc0323d8cc0323d60c0215770c020fddc3d60:bf11dcfc00000000c0323d8cc0323d7800000000c2cded80c3a098c0c2eef0543d80:c0323dc8c0323d90c021750cc021574c0a430f2d0000cd2b00000005c0357e583da0:c033dd04c2cded8000000000c03576fcc0358518c033b87000000000c0323dec3dc0:c0323dccc01fb6acc0216e6cc2cded80c2cded80c2eef040c2e5ec00c0357a403de0:c0323e0cc0323df0c01fbb68c01fb55c00000000c01fb55080000000c0357a203e00:c0323e38c0323e10c01fb52cc01fbaf8c2e5ec00c2cded80c0357a20c2cded803e20:c03576fcc2e5ec00c0357a40c0323e64c0323e3cc01fbab8c01fb22c00000000 3e40:c01fb22080000000c0357a20c2cded80c2e5ec0000000800c0323e94c0323e683e60:c01ddf24c01fb86cc2e5c600c0323ecc00000002c033b888ffffbe5e00000040 3e80: 00000000c033b86cc0323ec0c0323e98c01ddff4c01ddb9cc033b88800000040 3ea0: 000001000000012cc033b86cc033b87cffffbe60c0323eecc0323ec4c01e095c3ec0:c01ddf74c03220000000000c00000100 00000001 00000009c034b72c00000000 3ee0:c0323f20c0323ef0c00359dcc01e0900c0323efcc002960800000003 00000000 3f00: 00000008c03426a80001c608690541f10001c49cc0323f30c0323f24c0035c983f20:c003597cc0323f48c0323f34c0020058c0035c60ffffffff0000001fc0323fa03f40:c0323f4cc00209c4c002000cc03273c8c383e300c032200000000000c0021de83f60:c0322000c0021de8c03426a80001c608690541f10001c49cc0323fa0c0323fa43f80:c0323f94c0021cb0c0021dfc60000013 ffffffffc0323fc0c0323fa4c0021cb03fa0:c0021df4c034dfc4c0342450c001dd60c0326344c0323fd0c0323fc4c0263be43fc0:c0021c80c0323ff4c0323fd4c00089c0c0263b98c00083acc001dd60000039fd3fe0:c03426d8c001e16400000000c0323ff800008034c00087bc00000000 00000000Backtrace: [<c020bbe4>] (tcp_collapse+0x0/0x338) from [<c020c114>] (tcp_prune_queue+0x1f8/0x28c) [<c020bf1c>] (tcp_prune_queue+0x0/0x28c) from [<c020c394>] (tcp_data_queue+0x1ec/0xc3c) [<c020c1a8>] (tcp_data_queue+0x0/0xc3c) from [<c02102f8>] (tcp_rcv_established+0x528/0x5e0) [<c020fdd0>] (tcp_rcv_established+0x0/0x5e0) from [<c0215770>] (tcp_v4_do_rcv+0x30/0x1c4) [<c0215740>] (tcp_v4_do_rcv+0x0/0x1c4) from [<c021750c>] (tcp_v4_rcv+0x6ac/0x754) r7:c2eef054 r6:c3a098c0 r5:c2cded80 r4:00000000 [<c0216e60>] (tcp_v4_rcv+0x0/0x754) from [<c01fb6ac>] (ip_local_deliver_finish+0x15c/0x21c) [<c01fb550>] (ip_local_deliver_finish+0x0/0x21c) from [<c01fbb68>] (ip_local_deliver+0x7c/0x88) r8:c0357a40 r7:c2e5ec00 r6:c2eef040 r5:c2cded80 r4:c2cded80 [<c01fbaec>] (ip_local_deliver+0x0/0x88) from [<c01fb52c>] (ip_rcv_finish+0x30c/0x330) r4:c0357a20 [<c01fb220>] (ip_rcv_finish+0x0/0x330) from [<c01fbab8>] (ip_rcv+0x258/0x28c) r8:c0357a40 r7:c2e5ec00 r6:c03576fc r5:c2cded80 r4:c0357a20 [<c01fb860>] (ip_rcv+0x0/0x28c) from [<c01ddf24>] (netif_receive_skb+0x394/0x3d8) r7:00000800 r6:c2e5ec00 r5:c2cded80 r4:c0357a20 [<c01ddb90>] (netif_receive_skb+0x0/0x3d8) from [<c01ddff4>] (process_backlog+0x8c/0xd8) [<c01ddf68>] (process_backlog+0x0/0xd8) from [<c01e095c>] (net_rx_action+0x68/0x188) [<c01e08f4>] (net_rx_action+0x0/0x188) from [<c00359dc>] (__do_softirq+0x6c/0xf8) [<c0035970>] (__do_softirq+0x0/0xf8) from [<c0035c98>] (irq_exit+0x44/0x4c) [<c0035c54>] (irq_exit+0x0/0x4c) from [<c0020058>] (asm_do_IRQ+0x58/0x6c) [<c0020000>] (asm_do_IRQ+0x0/0x6c) from [<c00209c4>] (__irq_svc+0x24/0x80) Exception stack(0xc0323f4c to 0xc0323f94)3f40:
c03273c8c383e300c032200000000000c0021de8
3f60:c0322000c0021de8c03426a80001c608690541f10001c49cc0323fa0c0323fa43f80:c0323f94c0021cb0c0021dfc60000013 ffffffff
r5:0000001f r4:ffffffff
[<c0021de8>] (default_idle+0x0/0x4c) from [<c0021cb0>] (cpu_idle+0x3c/0x58) [<c0021c74>] (cpu_idle+0x0/0x58) from [<c0263be4>] (rest_init+0x58/0x6c)
r7:c0326344 r6:c001dd60 r5:c0342450 r4:c034dfc4
[<c0263b8c>] (rest_init+0x0/0x6c) from [<c00089c0>] (start_kernel+0x210/0x264) [<c00087b0>] (start_kernel+0x0/0x264) from [<00008034>] (0x8034)
r6:c001e164 r5:c03426d8 r4:000039fd
Quoted 1 line
Code: e50b302c e06a1002 5a000002 e3a03000 (e5833000)
If there was any followup to this, I can't find it. I see similar problems with 2.6.33.1:
BUG: failure at net/ipv4/tcp_input.c:4665/tcp_collapse()! Kernel panic - not syncing: BUG! Call Trace: [<20002a20>] microblaze_unwind+0x30/0x50 [<20002724>] show_stack+0x130/0x16c [<20002768>] dump_stack+0x8/0x20 [<2000b5a0>] panic+0x78/0x1f4 [<20177e50>] tcp_collapse+0x358/0x42c [<20178110>] tcp_prune_queue+0x1ec/0x2c8 [<201783d8>] tcp_data_queue+0x1ec/0xd30 [<2017cb78>] tcp_rcv_established+0x724/0x800 [<20182eb8>] tcp_v4_do_rcv+0x34/0x1d8 [<20185014>] tcp_v4_rcv+0x504/0x814 [<2016585c>] ip_local_deliver+0x118/0x1ec [<20165e50>] ip_rcv+0x520/0x5ac [<201468e4>] netif_receive_skb+0x2ec/0x338 [<201469b8>] process_backlog+0x88/0xec [<2014ad20>] net_rx_action+0x84/0x1b8 [<20011244>] __do_softirq+0x94/0x148 [<20011328>] do_softirq+0x30/0x54 [<2001161c>] irq_exit+0x30/0x48 [<2000114c>] do_IRQ+0xcc/0xf8 IRQ [<200d6b40>] strncpy+0x1c/0x30 [<200da618>] strncpy_from_user+0x40/0x88 [<2005a374>] getname+0x84/0xf4 [<2004dff8>] do_sys_open+0x28/0xe4 [<2004e0e4>] sys_open+0x14/0x2c
SYSCALL
[<2d19d33c>] PID 88 [syslogd]
Any suggestions on how to pin this down?
------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"
#include <standard.disclaimer>