Thanks For the esteemed support. On Thu, Oct 22, 2015 at 5:46 PM, abhishek jain <[email protected]> wrote:
> Hi Michael > > We applied the below patch and I'm able to ping the gw for the VM. > > diff vr_host_interface.c > /home/ashu/contrail/vrouter/linux/vr_host_interface.c > 116c116 > < #elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,14,00)) > --- > > #elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)) > 119,120c119 > < skb_set_hash(skb, val, PKT_HASH_TYPE_L3); > < // skb->hash = val; > --- > > skb->hash = val; > 575d573 > < #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,13,00)) > 577,579d574 > < #else > < rxhash = skb_get_hash(skb); > > > On Tue, Oct 20, 2015 at 7:14 PM, abhishek jain <[email protected]> > wrote: > >> Hi Michael >> >> I applied the above patch at functions vr_skb_set_rxhash and >> linux_get_rxq respectively but still I'm facing the same kernel crash issue. >> >> Is there any other change required which is missing? >> >> On Mon, Oct 19, 2015 at 8:42 PM, abhishek jain <[email protected]> >> wrote: >> >>> Hi Michael >>> >>> I'll not be able to upgrade to kernel 3.13. >>> I'll apply patch,compile the vrouter again and let you know. >>> >>> >>> >>> On Mon, Oct 19, 2015 at 8:34 PM, Michael Henkel <[email protected]> >>> wrote: >>> >>>> Hi Abishek, >>>> >>>> Can you upgrade to 3.13.0-40? If not you’ll have to apply the patch I >>>> sent you and recompile the vrouter kernel module. >>>> >>>> Regards, >>>> Michael >>>> >>>> From: abhishek jain >>>> Date: Monday 19 October 2015 at 17:01 >>>> To: birdman >>>> Cc: "[email protected]" >>>> Subject: Re: [opencontrail-dev] kernel panic with opencontrail VM >>>> >>>> Hi Michael >>>> >>>> >>>> Thanks for the quick reply. >>>> I'm using contrail version 2.20 and the kernel version which I'm using >>>> is Linux-3.12. >>>> >>>> >>>> >>>> On Mon, Oct 19, 2015 at 8:17 PM, Michael Henkel <[email protected]> >>>> wrote: >>>> >>>>> What kernel version and opencontrail version are you on? >>>>> I remember similar issues with past kernels. Here is what I did in >>>>> order to fix it: >>>>> >>>>> >>>>> https://github.com/michaelhenkel/contrail-1404-upgrade/blob/master/vrouter_patch.diff >>>>> >>>>> From: Dev on behalf of abhishek jain >>>>> Date: Monday 19 October 2015 at 16:42 >>>>> To: "[email protected]" >>>>> Subject: [opencontrail-dev] kernel panic with opencontrail VM >>>>> >>>>> Hi Team >>>>> >>>>> >>>>> I'm able to boot VM on compute node with opencontrail vrouter plugin >>>>> running,able to access the console and configure Ip on the VM. >>>>> However when I'm trying to ping outside world from the VM,there is a >>>>> kernel panic and my machine is getting reboot. >>>>> >>>>> I'm facing below logs >>>>> >>>>> Unable to handle kernel paging request for unknown fault >>>>> Faulting instruction address: 0x8000000000be2ff0 >>>>> Oops: Kernel access of bad area, sig: 7 [#1] >>>>> SMP NR_CPUS=24 CoreNet Generic >>>>> Modules linked in: vrouter(O) nfsd exportfs >>>>> CPU: 0 PID: 7945 Comm: kvm Tainted: G O >>>>> 3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6 #1 >>>>> task: c000000179b0c100 ti: c00000017ffac000 task.ti: c0000001475e4000 >>>>> NIP: 8000000000be2ff0 LR: 8000000000be2fd8 CTR: 8000000000bc51e4 >>>>> REGS: c00000017ffaf590 TRAP: 0600 Tainted: G O >>>>> (3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6) >>>>> MSR: 0000000080029000 <CE,EE,ME> CR: 84022248 XER: 20000000 >>>>> SOFTE: 1 >>>>> DEAR: c00000006b4ad04b, ESR: 0000000000800000 >>>>> >>>>> GPR00: 8000000000be33d0 c00000017ffaf810 8000000000c01b98 >>>>> 0000000000000062 >>>>> GPR04: c00000006b4ad000 0000000000000018 0000000000000000 >>>>> 0000000000004000 >>>>> GPR08: 0000000000000001 c00000006b4ad04b 8000000000bc51e4 >>>>> c00000000002ad80 >>>>> GPR12: 8000000000bee0d0 c00000000fff4000 000000001062a9ac >>>>> 000000000000000f >>>>> GPR16: 0000000000000100 0000000000000100 c000000000d010c0 >>>>> 0000000000000018 >>>>> GPR20: 0000000000000000 0000000000000001 00000000000086dd >>>>> 00000000000088a8 >>>>> GPR24: 0000000000000062 00000000000115a0 8000000000bfb7d8 >>>>> 0000000000000062 >>>>> GPR28: 8000000000bfb8c0 c00000017ffafa90 c00000006b4ad000 >>>>> c0000001779db468 >>>>> NIP [8000000000be2ff0] .vr_flow_lookup+0x10c/0x7f4 [vrouter] >>>>> LR [8000000000be2fd8] .vr_flow_lookup+0xf4/0x7f4 [vrouter] >>>>> Call Trace: >>>>> [c00000017ffaf810] [8000000000be33d0] .vr_flow_lookup+0x4ec/0x7f4 >>>>> [vrouter] (unreliable) >>>>> [c00000017ffaf8e0] [8000000000bdd960] .vr_inet_flow_lookup+0x164/0x2d0 >>>>> [vrouter] >>>>> [c00000017ffaf9a0] [8000000000be37ac] .vr_flow_forward+0xd4/0xe0 >>>>> [vrouter] >>>>> [c00000017ffafa20] [8000000000bd6d48] .vr_virtual_input+0xa0/0x148 >>>>> [vrouter] >>>>> [c00000017ffafac0] [8000000000bd8d44] .vm_rx+0x14c/0x19c [vrouter] >>>>> [c00000017ffafb70] [8000000000bc9d60] .linux_rx_handler+0x290/0x954 >>>>> [vrouter] >>>>> [c00000017ffafc30] [c00000000067e904] >>>>> .__netif_receive_skb_core+0x634/0x770 >>>>> [c00000017ffafd20] [c000000000681950] .process_backlog+0xf4/0x228 >>>>> [c00000017ffafdf0] [c0000000006810b8] .net_rx_action+0x208/0x2c8 >>>>> [c00000017ffafea0] [c00000000006b0dc] .__do_softirq+0x158/0x284 >>>>> [c00000017ffaff90] [c000000000014f20] .call_do_softirq+0x14/0x24 >>>>> [c0000001475e77a0] [c000000000005ef0] .do_softirq+0xd0/0xfc >>>>> [c0000001475e7830] [c00000000006aa80] .local_bh_enable+0xa4/0xac >>>>> [c0000001475e78b0] [c0000000006809c4] .netif_rx_ni+0x28/0x40 >>>>> [c0000001475e7930] [c0000000003f8f60] .tun_get_user+0x440/0x8fc >>>>> [c0000001475e7a30] [c0000000003f953c] .tun_chr_aio_write+0x8c/0xcc >>>>> [c0000001475e7ac0] [c000000000140fe0] .do_sync_readv_writev+0x8c/0x10c >>>>> [c0000001475e7bd0] [c0000000001419e8] >>>>> .compat_do_readv_writev+0x110/0x284 >>>>> [c0000001475e7d20] [c000000000141c30] .compat_writev+0x50/0x84 >>>>> [c0000001475e7d90] [c000000000142e70] .compat_SyS_writev+0x58/0xac >>>>> [c0000001475e7e30] [c000000000000598] system_call+0x38/0xc4 >>>>> Instruction dump: >>>>> 83210070 e9490000 f8410028 7d4903a6 e8490008 4e800421 e8410028 >>>>> 393e004b >>>>> 7c0004ac 7c7b1a14 7f604828 7f7b1a14 <7f60492d> 40a2fff4 4c00012c >>>>> e93c0000 >>>>> ---[ end trace 24972e6a5e03c19a ]--- >>>>> >>>>> Please help me regarding this. >>>>> >>>>> >>>>> Thanks >>>>> Abhishek Jain >>>>> >>>> >>>> >>> >> >
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
