Re: [vpp-dev] Crash when using dns_name_server

2019-08-23 Thread Dave Barach via Lists.Fd.Io
Please try master/latest: https://gerrit.fd.io/r/c/vpp/+/21468 fixed a source of trivial spin-lock bugs. HTH... Dave From: Dave Barach (dbarach) Sent: Thursday, August 22, 2019 12:11 PM To: Carlito Nueno Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] Crash when using dns_name_server NP, sorry

Re: [vpp-dev] Crash when using dns_name_server

2019-08-22 Thread carlito nueno
19 10:55 AM > *To:* Dave Barach (dbarach) > *Cc:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] Crash when using dns_name_server > > > > Thanks Dave! Let me know if you need me do more tests or gather more info. > > > > On Thu, Aug 22, 2019 at 4:48 AM Dave Bar

Re: [vpp-dev] Crash when using dns_name_server

2019-08-22 Thread Dave Barach via Lists.Fd.Io
Nueno Sent: Thursday, August 22, 2019 10:55 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Crash when using dns_name_server Thanks Dave! Let me know if you need me do more tests or gather more info. On Thu, Aug 22, 2019 at 4:48 AM Dave Barach (dbarach) mailto:dbar

Re: [vpp-dev] Crash when using dns_name_server

2019-08-22 Thread carlito nueno
ito Nueno > *Sent:* Wednesday, August 21, 2019 10:03 PM > *To:* Dave Barach (dbarach) > *Cc:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] Crash when using dns_name_server > > > > Hi Dave, > > Sorry about the late reply. > > I used below configs to eliminate mo

Re: [vpp-dev] Crash when using dns_name_server

2019-08-22 Thread Dave Barach via Lists.Fd.Io
Ack. The DNS server has had zero multi-core testing, aside from what you’ve done. I’ll look at it when I can. From: Carlito Nueno Sent: Wednesday, August 21, 2019 10:03 PM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Crash when using dns_name_server Hi Dave, Sorry

Re: [vpp-dev] Crash when using dns_name_server

2019-08-21 Thread carlito nueno
Hi Dave, Sorry about the late reply. I used below configs to eliminate most of the complexity. I did not see binary-api being truncated. Steps: 1. I used basic vpp.conf (see below) without the dns_name_server commands 2. gdb run -c /etc/vpp/startup.conf (see below) 3. sudo vppctl 4. Entered

Re: [vpp-dev] Crash when using dns_name_server

2019-08-17 Thread Dave Barach via Lists.Fd.Io
I am trying to use DNS server and on "ping google.com" VPP is crashing Color me unsurprised. Please fix your configuration, to the point where first-order obvious errors have been eliminated. It looks to me like the "binary-api dns_name_server_add_del 8.8.8.8" command has been truncated: Aug

Re: [vpp-dev] Crash when using dns_name_server

2019-08-17 Thread Dave Wallace
bly work. D. From: vpp-dev@lists.fd.io On Behalf Of Dave Barach via Lists.Fd.Io Sent: Thursday, August 15, 2019 2:54 PM To: anoopnairh...@gmail.com; vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Crash when using dns_name_server Folks, I’ll look at these iss

Re: [vpp-dev] Crash when using dns_name_server

2019-08-16 Thread carlito nueno
won’t get fixed... > > > > To level-set: the DNS name resolver has been lightly used. Nothing would > surprise me at this point. > > > > D. > > > > From: vpp-dev@lists.fd.io On Behalf Of > anoopnairh...@gmail.com > Sent: Thursday, August 15, 2019 1

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread Dave Barach via Lists.Fd.Io
.io Subject: Re: [vpp-dev] Crash when using dns_name_server Folks, I’ll look at these issues. It would be helpful if people would contribute patches, or at least write Jira tickets. If we don’t know it’s broken, it won’t get fixed... To level-set: the DNS name resolver has been lightly used. Noth

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread Dave Barach via Lists.Fd.Io
@lists.fd.io On Behalf Of anoopnairh...@gmail.com Sent: Thursday, August 15, 2019 1:07 PM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Crash when using dns_name_server Hi Carlio, I had faced a similar crash with DNS module while resolving names. The dns_cache_lock is in locked state after

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread anoopnairhere
Hi Carlio, I had faced a similar crash with DNS module while resolving names. The dns_cache_lock is in locked state after initialization. Because of this the first worker thread which attempts to take this lock will find it in "locked" state and spin forever. So the main thread panics when it

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread carlito nueno
gt; To: Carlito Nueno > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] Crash when using dns_name_server > > Did a packet trace and I noticed two things: > > dns4-request: DNS pkts pending upstream name resolution > nat44-out2in: no translation > > > Packet 8 > >

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread Dave Barach via Lists.Fd.Io
- From: vpp-dev@lists.fd.io On Behalf Of carlito nueno Sent: Wednesday, August 14, 2019 11:46 PM To: Carlito Nueno Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Crash when using dns_name_server Did a packet trace and I noticed two things: dns4-request: DNS pkts pending upstream name resolution

Re: [vpp-dev] Crash when using dns_name_server

2019-08-14 Thread carlito nueno
Did a packet trace and I noticed two things: dns4-request: DNS pkts pending upstream name resolution nat44-out2in: no translation Packet 8 00:28:11:659028: dpdk-input lan1 rx queue 0 buffer 0x8aeef: current data 0, length 89, buffer-pool 0, ref-count 1, totlen-nifb 0, trace 0x5

Re: [vpp-dev] Crash when using dns_name_server

2019-08-14 Thread carlito nueno
VPP is not crashing anymore. I didn't change anything. VPP is caching DNS queries [P] DNS query: id 18 no-recur recur-des no-trunc non-auth 2 queries, 0 answers, 0 name-servers, 0 add'l recs Queries: Name: www.apple.com: type A Name: www.apple.com: type But LAN device is not