From: Wei Y. <yj...@cn...> - 2010-04-26 04:01:32
|
> Attached is what I'll be applying. > I have tested this with the patch, and it is OK. > -vlad > > > Wei Yongjun wrote: > >>> Hi George >>> >>> Could you provide a sample oops backtrace. I'd like >>> to capture it in the commit message. >>> >>> >> Here it is. >> >> ------------[ cut here ]------------ >> kernel BUG at kernel/timer.c:790! >> invalid opcode: 0000 [#1] SMP >> last sysfs file: /sys/module/ipv6/initstate >> Modules linked in: sha256_generic sctp libcrc32c ipv6 dm_multipath uinput 8139too i2c_piix4 8139cp mii i2c_core pcspkr virtio_net joydev floppy virtio_blk virtio_pci [last unloaded: scsi_wait_scan] >> >> Pid: 0, comm: swapper Not tainted 2.6.34-rc4 #15 /Bochs >> EIP: 0060:[<c044a2ef>] EFLAGS: 00010286 CPU: 0 >> EIP is at add_timer+0xd/0x1b >> EAX: cecbab14 EBX: 000000f0 ECX: c0957b1c EDX: 03595cf4 >> ESI: cecba800 EDI: cf276f00 EBP: c0957aa0 ESP: c0957aa0 >> DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 >> Process swapper (pid: 0, ti=c0956000 task=c0988ba0 task.ti=c0956000) >> Stack: >> c0957ae0 d1851214 c0ab62e4 c0ab5f26 0500ffff 00000004 00000005 00000004 >> <0> 00000000 d18694fd 00000004 1666b892 cecba800 cecba800 c0957b14 00000004 >> <0> c0957b94 d1851b11 ceda8b00 cecba800 cf276f00 00000001 c0957b14 000000d0 >> Call Trace: >> [<d1851214>] ? sctp_side_effects+0x607/0xdfc [sctp] >> [<d1851b11>] ? sctp_do_sm+0x108/0x159 [sctp] >> [<d1863386>] ? sctp_pname+0x0/0x1d [sctp] >> [<d1861a56>] ? sctp_primitive_ASCONF+0x36/0x3b [sctp] >> [<d185657c>] ? sctp_process_asconf_ack+0x2a4/0x2d3 [sctp] >> [<d184e35c>] ? sctp_sf_do_asconf_ack+0x1dd/0x2b4 [sctp] >> [<d1851ac1>] ? sctp_do_sm+0xb8/0x159 [sctp] >> [<d1863334>] ? sctp_cname+0x0/0x52 [sctp] >> [<d1854377>] ? sctp_assoc_bh_rcv+0xac/0xe1 [sctp] >> [<d1858f0f>] ? sctp_inq_push+0x2d/0x30 [sctp] >> [<d186329d>] ? sctp_rcv+0x797/0x82e [sctp] >> [<c075fa2d>] ? ipv4_confirm+0x117/0x124 >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f392>] ? ip_local_deliver_finish+0x112/0x16c >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f429>] ? NF_HOOK.clone.1+0x3d/0x44 >> [<c072f46e>] ? ip_local_deliver+0x3e/0x44 >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f123>] ? ip_rcv_finish+0x296/0x2be >> [<c072ee8d>] ? ip_rcv_finish+0x0/0x2be >> [<c072f429>] ? NF_HOOK.clone.1+0x3d/0x44 >> [<c072f629>] ? ip_rcv+0x1b5/0x1dc >> [<c072ee8d>] ? ip_rcv_finish+0x0/0x2be >> [<c0708753>] ? netif_receive_skb+0x38a/0x3a5 >> [<d08a9f44>] ? cp_rx_poll+0x21a/0x326 [8139cp] >> [<c070898e>] ? net_rx_action+0x97/0x18d >> [<c0443e55>] ? __do_softirq+0xb1/0x157 >> [<c0443f31>] ? do_softirq+0x36/0x41 >> [<c044404f>] ? irq_exit+0x2e/0x61 >> [<c0409df5>] ? do_IRQ+0x8b/0x9f >> [<c04090b0>] ? common_interrupt+0x30/0x38 >> [<c0426298>] ? native_safe_halt+0xa/0xc >> [<c040e826>] ? default_idle+0x3f/0x5f >> [<c0407d23>] ? cpu_idle+0x96/0xaf >> [<c0780e1f>] ? rest_init+0x67/0x69 >> [<c09e291e>] ? start_kernel+0x34b/0x350 >> [<c09e20da>] ? i386_start_kernel+0xc9/0xd0 >> Code: 38 00 74 0a 39 50 08 b9 01 00 00 00 74 0c 31 c9 6a 00 e8 61 fe ff ff 89 c1 58 89 c8 c9 c3 55 89 e5 0f 1f 44 00 00 83 38 00 74 04 <0f> 0b eb fe 8b 50 08 e8 c0 ff ff ff 5d c3 55 89 e5 0f 1f 44 00 >> EIP: [<c044a2ef>] add_timer+0xd/0x1b SS:ESP 0068:c0957aa0 >> ---[ end trace 7a1b369984a508fe ]--- >> Kernel panic - not syncing: Fatal exception in interrupt >> Pid: 0, comm: swapper Tainted: G D 2.6.34-rc4 #15 >> Call Trace: >> [<c079271a>] ? printk+0x14/0x1a >> [<c0792690>] panic+0x3d/0xb3 >> [<c079568b>] oops_end+0x97/0xa6 >> [<c040b0b5>] die+0x58/0x5e >> [<c0794f70>] do_trap+0x8e/0xa7 >> [<c0409775>] ? do_invalid_op+0x0/0x85 >> [<c04097f0>] do_invalid_op+0x7b/0x85 >> [<c044a2ef>] ? add_timer+0xd/0x1b >> [<c05ac43d>] ? string+0x38/0x8a >> [<c05ac43d>] ? string+0x38/0x8a >> [<c05ad23d>] ? vsnprintf+0x81/0x24c >> [<c045851d>] ? spin_unlock_irqrestore+0xd/0xf >> [<c043ecf2>] ? spin_unlock_irqrestore+0xd/0xf >> [<c0794d17>] error_code+0x73/0x78 >> [<d186007b>] ? sctp_getsockopt+0x1af/0xf07 [sctp] >> [<c044a2ef>] ? add_timer+0xd/0x1b >> [<d1851214>] sctp_side_effects+0x607/0xdfc [sctp] >> [<d1851b11>] sctp_do_sm+0x108/0x159 [sctp] >> [<d1863386>] ? sctp_pname+0x0/0x1d [sctp] >> [<d1861a56>] sctp_primitive_ASCONF+0x36/0x3b [sctp] >> [<d185657c>] sctp_process_asconf_ack+0x2a4/0x2d3 [sctp] >> [<d184e35c>] sctp_sf_do_asconf_ack+0x1dd/0x2b4 [sctp] >> [<d1851ac1>] sctp_do_sm+0xb8/0x159 [sctp] >> [<d1863334>] ? sctp_cname+0x0/0x52 [sctp] >> [<d1854377>] sctp_assoc_bh_rcv+0xac/0xe1 [sctp] >> [<d1858f0f>] sctp_inq_push+0x2d/0x30 [sctp] >> [<d186329d>] sctp_rcv+0x797/0x82e [sctp] >> [<c075fa2d>] ? ipv4_confirm+0x117/0x124 >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f392>] ip_local_deliver_finish+0x112/0x16c >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f429>] NF_HOOK.clone.1+0x3d/0x44 >> [<c072f46e>] ip_local_deliver+0x3e/0x44 >> [<c072f280>] ? ip_local_deliver_finish+0x0/0x16c >> [<c072f123>] ip_rcv_finish+0x296/0x2be >> [<c072ee8d>] ? ip_rcv_finish+0x0/0x2be >> [<c072f429>] NF_HOOK.clone.1+0x3d/0x44 >> [<c072f629>] ip_rcv+0x1b5/0x1dc >> [<c072ee8d>] ? ip_rcv_finish+0x0/0x2be >> [<c0708753>] netif_receive_skb+0x38a/0x3a5 >> [<d08a9f44>] cp_rx_poll+0x21a/0x326 [8139cp] >> [<c070898e>] net_rx_action+0x97/0x18d >> [<c0443e55>] __do_softirq+0xb1/0x157 >> [<c0443f31>] do_softirq+0x36/0x41 >> [<c044404f>] irq_exit+0x2e/0x61 >> [<c0409df5>] do_IRQ+0x8b/0x9f >> [<c04090b0>] common_interrupt+0x30/0x38 >> [<c0426298>] ? native_safe_halt+0xa/0xc >> [<c040e826>] default_idle+0x3f/0x5f >> [<c0407d23>] cpu_idle+0x96/0xaf >> [<c0780e1f>] rest_init+0x67/0x69 >> [<c09e291e>] start_kernel+0x34b/0x350 >> [<c09e20da>] i386_start_kernel+0xc9/0xd0 >> >> >> >>> Thanks >>> -vlad >>> >>> Georgios Cheimonidis wrote: >>> >>> >>>> Hello! >>>> >>>> By reading the archives of the mailing list, I understood that the >>>> latest source code which includes all the patches can be found at David >>>> Miller's net-2.6 development tree. I have downloaded and compiled the >>>> kernel code found there. I am currently doing some tests with the >>>> dynamic address reconfiguration features of SCTP. The thing is that I am >>>> facing a problem, not only when using this kernel but many other kernels >>>> that I have tested so far, including 2.6.31, 2.6.32, 2.6.33. >>>> Specifically, the kernel crashes (and I have to hard reset the computer) >>>> when I am trying to set the peer's primary just after adding a new IP >>>> address to the association, or when I am trying to set the peer's >>>> primary and then delete an IP address from the association. The only >>>> solution to my problem so far was to use the patch described here: >>>> http://sourceforge.net/tracker/?func=detail&aid=2849028&group_id=26529&atid=387570 >>>> <http://sourceforge.net/tracker/?func=detail&aid=2849028&group_id=26529&atid=387570> >>>> . Using this patch I did not experience any crashes. However, this >>>> patch, from my understanding, is not included even in the latest source >>>> code. Is it OK to use this patch together with the latest source code >>>> from David Miller or there are some compatibility or stability issues? >>>> If there are any issues with this patch then what could be a solution to >>>> this problem? In my opinion, this is quite a serious problem, since it >>>> puts severe limitations on the use of the dynamic address >>>> reconfiguration features of lksctp. >>>> >>>> Thanks in advance, >>>> George >>>> ------------------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Lksctp-developers mailing list >>>> Lks...@li... >>>> https://lists.sourceforge.net/lists/listinfo/lksctp-developers >>>> >>>> >>>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Lksctp-developers mailing list >>> Lks...@li... >>> https://lists.sourceforge.net/lists/listinfo/lksctp-developers >>> >>> >>> >>> >> |