From: Dave Jiang <dave.jiang@intel.com>
To: linux-ntb@googlegroups.com
Subject: Re: Problem with ntb_transport + ntb_netdev
Date: Wed, 11 Jan 2017 09:45:03 -0700 [thread overview]
Message-ID: <422f314a-de5e-06a0-33cd-a6d894db1d61@intel.com> (raw)
In-Reply-To: <6664bf72-a4bb-4081-0fb9-13c66adbec4e@intel.com>
On 01/11/2017 09:42 AM, Dave Jiang wrote:
>
>
> On 01/11/2017 03:08 AM, shlemisto@gmail.com wrote:
>>> Do pings in the other direction work?
>> Similarly
>>> How are the NTBs connected?
>> B2B
>>> And which distro are you running?
>> Ubuntu 16.10 with kernel 4.10.0-rc1 from git
>>> Sometimes
>> Network Manager will yank the IP for no reason if you don't configure it
>> correctly and thus your interface can't route.
>> I stop network-manager service before load the modules and set IP manually.
>>
>>> Also can you dump the stats in debugfs?
>> ntb_hw_intel_info_1 <http://pastebin.com/eyMZzSik> - one side
>> ntb_hw_intel_info_2 <http://pastebin.com/vF94zLBk> - second side
>> ntb_transport_info_1 <http://pastebin.com/Ktq1yAqa> - one side
>> ntb_transport_info_2 <http://pastebin.com/w8r08ezB> - second side
>
> Your secondary BAR2 size is not the same as your primary. They both need
> to be 22. Also all the upstream memory miss is concerning. You should
> have none. You may have signal integrity issues. But fix the bar size
> first and see if that helps.
Also, if you are using Broadwell Xeon D, you should use the kernel from
here and not upstream.
https://github.com/davejiang/linux
branch: davejiang/ntb
>
>>
>> среда, 11 января 2017 г., 1:24:17 UTC+3 пользователь dave.jiang написал:
>>
>> On 01/10/2017 03:03 PM, Jon Mason wrote:
>> > Adding the NTB mailing list
>> >
>> > On Mon, Jan 9, 2017 at 11:27 AM, perplexus <perp...@ya.ru
>> <javascript:>> wrote:
>> >> Hello.
>> >>
>> >> I'm working with NTB (kernel version 4.10) on Xeon D-1527 CPU and
>> have a problem with couple ntb_transport + ntb_netdev.
>> >>
>> >> On the local side I run:
>> >> sudo /etc/init.d/irqbalance stop
>> >> sudo modprobe ntb_transport dyndbg=+p
>> >> sudo modprobe ntb_netdev dyndbg=+p
>> >> sudo ifconfig eth0 192.168.1.1 up
>> >>
>> >> On the remote side I run:
>> >> sudo /etc/init.d/irqbalance stop
>> >> sudo modprobe ntb_transport dyndbg=+p
>> >> sudo modprobe ntb_netdev dyndbg=+p
>> >> sudo ifconfig eth0 192.168.1.2 up
>> >>
>> >> Along with these steps I run ping 192.168.1.2 and get about 2-3
>> successfull transmitted/received packets then get 'Destination host
>> unreacheble'.
>> >>
>> >
>> > Do pings in the other direction work?
>> >
>> How are the NTBs connected? Where did the get the hardware? Also can
>> you
>> dump the stats in debugfs? And which distro are you running? Sometimes
>> Network Manager will yank the IP for no reason if you don't
>> configure it
>> correctly and thus your interface can't route.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "linux-ntb" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to linux-ntb+unsubscribe@googlegroups.com
>> <mailto:linux-ntb+unsubscribe@googlegroups.com>.
>> To post to this group, send email to linux-ntb@googlegroups.com
>> <mailto:linux-ntb@googlegroups.com>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/linux-ntb/c18c3dc2-d242-4352-946e-931ff13e1d28%40googlegroups.com
>> <https://groups.google.com/d/msgid/linux-ntb/c18c3dc2-d242-4352-946e-931ff13e1d28%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout.
>
next prev parent reply other threads:[~2017-01-11 16:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <360341483979222@web10o.yandex.ru>
2017-01-10 22:03 ` Problem with ntb_transport + ntb_netdev Jon Mason
2017-01-10 22:24 ` Dave Jiang
2017-01-11 10:08 ` shlemisto
2017-01-11 15:27 ` shlemisto
2017-01-11 16:42 ` Dave Jiang
2017-01-11 16:45 ` Dave Jiang [this message]
2017-01-12 10:28 ` shlemisto
2017-01-12 15:29 ` shlemisto
2017-01-12 16:37 ` Dave Jiang
2017-01-12 16:58 ` shlemisto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=422f314a-de5e-06a0-33cd-a6d894db1d61@intel.com \
--to=dave.jiang@intel.com \
--cc=linux-ntb@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox