Thread: RE: [mpls-linux-general] Mpls qos and segfault
Status: Beta
Brought to you by:
jleu
|
From: <ram...@wi...> - 2005-05-05 15:45:30
|
Hi I have chosen both MPLS support and MPLS IP supportand spec_nh also. Regards Ramesh.s -----Original Message----- From: Vincent Untz [mailto:vin...@im...]=20 Sent: Thursday, May 05, 2005 1:27 PM To: Ramesh Selvaraj (WT01 - TELECOM SOLUTIONS) Cc: mpl...@li... Subject: Re: [mpls-linux-general] Mpls qos and segfault Hi, Le jeudi 05 mai 2005 =E0 08:47 +0530, ram...@wi... a = =E9crit : > i got segmentation fault while using mpls tool. > i added labelspace as follows >=20 > mpls labelspace add dev eth0 labelspace 0 >=20 > mpls labelspace show >=20 > shows the labelspaces. after that the following ilm command gives=20 > segfault. >=20 > mpls ilm add label gen 1000 labelspace 0 >=20 > dmesg says >=20 >=20 > MPLS DEBUG net/mpls/mpls_ilm.c:146:mpls_ilm_dst_alloc: *Unable to find = > protocol driver for 'AF_INET'* MPLS DEBUG > net/mpls/mpls_ilm.c:157:mpls_ilm_dst_alloc: exit Unable to handle=20 > kernel NULL pointer dereference at virtual address 00000000 printing = eip: > c0322e34 > *pde =3D 00000000 > Oops: 0000 [#1] > .............. > .................. >=20 > now what is the problem, how to rectify that error *Unable to find=20 > protocol driver for 'AF_INET' Did you compile the MPLS IP support in the kernel? Or just the MPLS = support? IIRC, you need to activate MPLS support and then MPLS IP support when = you configure the kernel (it's not done by default). Vincent -- Les gens heureux ne sont pas press=E9s. |
|
From: <ram...@wi...> - 2005-05-10 05:34:08
|
I recompiled the kernel now it's working fine. Now I have one more question. mplsadm tool contains proc support.but in mpls tool in proc, only spech_nh is there. In sysfs/mpls directory I have only debug and version files. Where can I get label,nhlfe entries Other than mpls show command. Thanks in advance, Regards Ramesh.s -----Original Message----- From: James R. Leu [mailto:jl...@mi...]=20 Sent: Tuesday, May 10, 2005 12:25 AM To: Ramesh Selvaraj (WT01 - TELECOM SOLUTIONS) Cc: vin...@im...; mpl...@li... Subject: Re: [mpls-linux-general] Mpls qos and segfault Did you compile it in or as a module? If it is as a module, you need to load the module. On Thu, May 05, 2005 at 09:15:00PM +0530, ram...@wi... wrote: > Hi >=20 > I have chosen both MPLS support and MPLS IP supportand spec_nh also. >=20 > Regards > Ramesh.s >=20 > -----Original Message----- > From: Vincent Untz [mailto:vin...@im...] > Sent: Thursday, May 05, 2005 1:27 PM > To: Ramesh Selvaraj (WT01 - TELECOM SOLUTIONS) > Cc: mpl...@li... > Subject: Re: [mpls-linux-general] Mpls qos and segfault >=20 > Hi, >=20 > Le jeudi 05 mai 2005 ? 08:47 +0530, ram...@wi... a ?crit : > > i got segmentation fault while using mpls tool. > > i added labelspace as follows > >=20 > > mpls labelspace add dev eth0 labelspace 0 > >=20 > > mpls labelspace show > >=20 > > shows the labelspaces. after that the following ilm command gives=20 > > segfault. > >=20 > > mpls ilm add label gen 1000 labelspace 0 > >=20 > > dmesg says > >=20 > >=20 > > MPLS DEBUG net/mpls/mpls_ilm.c:146:mpls_ilm_dst_alloc: *Unable to=20 > > find protocol driver for 'AF_INET'* MPLS DEBUG > > net/mpls/mpls_ilm.c:157:mpls_ilm_dst_alloc: exit Unable to handle=20 > > kernel NULL pointer dereference at virtual address 00000000 printing eip: > > c0322e34 > > *pde =3D 00000000 > > Oops: 0000 [#1] > > .............. > > .................. > >=20 > > now what is the problem, how to rectify that error *Unable to find=20 > > protocol driver for 'AF_INET' >=20 > Did you compile the MPLS IP support in the kernel? Or just the MPLS support? >=20 > IIRC, you need to activate MPLS support and then MPLS IP support when you configure the kernel (it's not done by default). >=20 > Vincent >=20 > -- > Les gens heureux ne sont pas press?s. >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great=20 > events, 4 opportunities to win big! Highest score wins.NEC IT Guy=20 > Games. Play to win an NEC 61 plasma display. Visit=20 > http://www.necitguy.com/?r=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Vincent U. <vin...@im...> - 2005-05-10 06:18:25
Attachments:
smime.p7s
|
Le mardi 10 mai 2005 =C3=A0 11:02 +0530, ram...@wi... a =C3=A9= crit : > I recompiled the kernel now it's working fine. > Now I have one more question. >=20 > mplsadm tool contains proc support.but in mpls tool in proc, only > spech_nh is there. > In sysfs/mpls directory I have only debug and version files. Where can I > get label,nhlfe entries > Other than mpls show command. You can access this information via a netlink socket. The mpls command source code is a good basis if you want to know how to do it. But it might be easier to just parse the output of "mpls show"... Vincent --=20 Les gens heureux ne sont pas press=C3=A9s. |
|
From: James R. L. <jl...@mi...> - 2005-05-10 12:36:20
|
On Tue, May 10, 2005 at 11:02:28AM +0530, ram...@wi... wrote:
>=20
> I recompiled the kernel now it's working fine.
> Now I have one more question.
>=20
> mplsadm tool contains proc support.but in mpls tool in proc, only
> spech_nh is there.
> In sysfs/mpls directory I have only debug and version files. Where can I
> get label,nhlfe entries
> Other than mpls show command.
All of those 'files' have been removed. You can now get the same info with:
mpls ilm show
mpls nhlfe show
mpls labelspace show
mpls xc show
>=20
> Thanks in advance,
>=20
> Regards
> Ramesh.s
>=20
> -----Original Message-----
> From: James R. Leu [mailto:jl...@mi...]
> Sent: Tuesday, May 10, 2005 12:25 AM
> To: Ramesh Selvaraj (WT01 - TELECOM SOLUTIONS)
> Cc: vin...@im...; mpl...@li...
> Subject: Re: [mpls-linux-general] Mpls qos and segfault
>=20
> Did you compile it in or as a module? If it is as a module, you need to
> load the module.
>=20
> On Thu, May 05, 2005 at 09:15:00PM +0530, ram...@wi...
> wrote:
> > Hi
> >
> > I have chosen both MPLS support and MPLS IP supportand spec_nh also.
> >
> > Regards
> > Ramesh.s
> >
> > -----Original Message-----
> > From: Vincent Untz [mailto:vin...@im...]
> > Sent: Thursday, May 05, 2005 1:27 PM
> > To: Ramesh Selvaraj (WT01 - TELECOM SOLUTIONS)
> > Cc: mpl...@li...
> > Subject: Re: [mpls-linux-general] Mpls qos and segfault
> >
> > Hi,
> >
> > Le jeudi 05 mai 2005 ? 08:47 +0530, ram...@wi... a ?crit
> :
> > > i got segmentation fault while using mpls tool.
> > > i added labelspace as follows
> > >
> > > mpls labelspace add dev eth0 labelspace 0
> > >
> > > mpls labelspace show
> > >
> > > shows the labelspaces. after that the following ilm command gives
> > > segfault.
> > >
> > > mpls ilm add label gen 1000 labelspace 0
> > >
> > > dmesg says
> > >
> > >
> > > MPLS DEBUG net/mpls/mpls_ilm.c:146:mpls_ilm_dst_alloc: *Unable to
> > > find protocol driver for 'AF_INET'* MPLS DEBUG
> > > net/mpls/mpls_ilm.c:157:mpls_ilm_dst_alloc: exit Unable to handle
> > > kernel NULL pointer dereference at virtual address 00000000
> printing eip:
> > > c0322e34
> > > *pde =3D 00000000
> > > Oops: 0000 [#1]
> > > ..............
> > > ..................
> > >
> > > now what is the problem, how to rectify that error *Unable to find
> > > protocol driver for 'AF_INET'
> >
> > Did you compile the MPLS IP support in the kernel? Or just the MPLS
> support?
> >
> > IIRC, you need to activate MPLS support and then MPLS IP support when
> you configure the kernel (it's not done by default).
> >
> > Vincent
> >
> > --
> > Les gens heureux ne sont pas press?s.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy Games.
> > Get your fingers limbered up and give it your best shot. 4 great
> > events, 4 opportunities to win big! Highest score wins.NEC IT Guy
> > Games. Play to win an NEC 61 plasma display. Visit
> > http://www.necitguy.com/?r
> > _______________________________________________
> > mpls-linux-general mailing list
> > mpl...@li...
> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
>=20
> --
> James R. Leu
> jl...@mi...
>=20
>=20
>=20
> Confidentiality Notice
>=20
> The information contained in this electronic message and any attachments =
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or=
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or =
Mai...@wi... immediately
> and destroy all copies of this message and any attachments.
--=20
James R. Leu
jl...@mi...
|
|
From: James R. L. <jl...@mi...> - 2005-05-09 18:56:25
|
Did you compile it in or as a module? If it is as a module, you need to load the module. On Thu, May 05, 2005 at 09:15:00PM +0530, ram...@wi... wrote: > Hi >=20 > I have chosen both MPLS support and MPLS IP supportand spec_nh also. >=20 > Regards > Ramesh.s >=20 > -----Original Message----- > From: Vincent Untz [mailto:vin...@im...]=20 > Sent: Thursday, May 05, 2005 1:27 PM > To: Ramesh Selvaraj (WT01 - TELECOM SOLUTIONS) > Cc: mpl...@li... > Subject: Re: [mpls-linux-general] Mpls qos and segfault >=20 > Hi, >=20 > Le jeudi 05 mai 2005 ? 08:47 +0530, ram...@wi... a ?crit : > > i got segmentation fault while using mpls tool. > > i added labelspace as follows > >=20 > > mpls labelspace add dev eth0 labelspace 0 > >=20 > > mpls labelspace show > >=20 > > shows the labelspaces. after that the following ilm command gives=20 > > segfault. > >=20 > > mpls ilm add label gen 1000 labelspace 0 > >=20 > > dmesg says > >=20 > >=20 > > MPLS DEBUG net/mpls/mpls_ilm.c:146:mpls_ilm_dst_alloc: *Unable to find= =20 > > protocol driver for 'AF_INET'* MPLS DEBUG > > net/mpls/mpls_ilm.c:157:mpls_ilm_dst_alloc: exit Unable to handle=20 > > kernel NULL pointer dereference at virtual address 00000000 printing e= ip: > > c0322e34 > > *pde =3D 00000000 > > Oops: 0000 [#1] > > .............. > > .................. > >=20 > > now what is the problem, how to rectify that error *Unable to find=20 > > protocol driver for 'AF_INET' >=20 > Did you compile the MPLS IP support in the kernel? Or just the MPLS suppo= rt? >=20 > IIRC, you need to activate MPLS support and then MPLS IP support when you= configure the kernel (it's not done by default). >=20 > Vincent >=20 > -- > Les gens heureux ne sont pas press?s. >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |