DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] OS hang when running helloworld example with two I210 NICs
@ 2017-03-15 16:55 Michal Michalowski
  2017-03-21 12:19 ` Hunt, David
  0 siblings, 1 reply; 10+ messages in thread
From: Michal Michalowski @ 2017-03-15 16:55 UTC (permalink / raw)
  To: users

HI,

I have problem running helloworld example. The OS hangs and the only way
forward is to poweroff the box.

DPDK version 16.11.1
OS: Ubuntu 16.04 and 14.04
NICs:
18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
Connection (rev 03)
24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
Connection (rev 03)

The problem only appears when I have two NICs present. If I bind at
least one of them to uio_pci_generic and run helloworld the OS hangs.
If I try to use igb_uio the system hangs when binding the device.

I have narrowed it down a bit. The OS hangs when
e1000_get_media_type_82575 is executed. Line:   ctrl_ext =
E1000_READ_REG(hw, E1000_CTRL_EXT);
That line is reading memory mapped from resource0 of the device.

I have reproduced behaviour just by binding the device to
uio_pci_generic and putting it in "bus master" mode and the reading from
it's resour0.

The behaviour is not reproducible with just one NIC in place. Also if
the devices use igb driver and are in "bus master" I can read from
resource0.

Has anyone encountered similar problem?

Cheers,
Michal

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-15 16:55 [dpdk-users] OS hang when running helloworld example with two I210 NICs Michal Michalowski
@ 2017-03-21 12:19 ` Hunt, David
  2017-03-21 12:46   ` Michal Michalowski
  0 siblings, 1 reply; 10+ messages in thread
From: Hunt, David @ 2017-03-21 12:19 UTC (permalink / raw)
  To: Michal Michalowski, users

On 15/3/2017 4:55 PM, Michal Michalowski wrote:
> HI,
>
> I have problem running helloworld example. The OS hangs and the only way
> forward is to poweroff the box.
>
> DPDK version 16.11.1
> OS: Ubuntu 16.04 and 14.04
> NICs:
> 18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
> Connection (rev 03)
> 24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
> Connection (rev 03)
>
> The problem only appears when I have two NICs present. If I bind at
> least one of them to uio_pci_generic and run helloworld the OS hangs.
> If I try to use igb_uio the system hangs when binding the device.
>
> I have narrowed it down a bit. The OS hangs when
> e1000_get_media_type_82575 is executed. Line:   ctrl_ext =
> E1000_READ_REG(hw, E1000_CTRL_EXT);
> That line is reading memory mapped from resource0 of the device.
>
> I have reproduced behaviour just by binding the device to
> uio_pci_generic and putting it in "bus master" mode and the reading from
> it's resour0.
>
> The behaviour is not reproducible with just one NIC in place. Also if
> the devices use igb driver and are in "bus master" I can read from
> resource0.
>
> Has anyone encountered similar problem?
>
> Cheers,
> Michal

Michal,

    Could you post up the output of 'lspci -v' for the two cards?
('lspci -v -s 18:00' and 'lspci -v -s 24:00' should do it).
I'm interested in the "Memory at" output.

I'm using a board here with some i211's with Ubuntu 16.04 and DPDK 
16.11.1. All OK so far with igb_uio and helloworld.

Regards,
Dave.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 12:19 ` Hunt, David
@ 2017-03-21 12:46   ` Michal Michalowski
  2017-03-21 13:17     ` Hunt, David
  0 siblings, 1 reply; 10+ messages in thread
From: Michal Michalowski @ 2017-03-21 12:46 UTC (permalink / raw)
  To: Hunt, David, users

Hi David,

Here is the output of lscpi after NICs after the are configured for DPDK:

michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 18:00
18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
        Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
        Physical Slot: 4
        Flags: fast devsel, IRQ 16
        Memory at f3300000 (32-bit, non-prefetchable) [size=1M]
        Memory at f3400000 (32-bit, non-prefetchable) [size=16K]
        [virtual] Expansion ROM at f8000000 [disabled] [size=1M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=5 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number a0-36-9f-ff-ff-d5-07-3b
        Capabilities: [1a0] Transaction Processing Hints
        Kernel driver in use: uio_pci_generic

michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 24:00
24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
        Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
        Physical Slot: 1
        Flags: fast devsel, IRQ 16
        Memory at f3100000 (32-bit, non-prefetchable) [size=1M]
        Memory at f3200000 (32-bit, non-prefetchable) [size=16K]
        [virtual] Expansion ROM at f8200000 [disabled] [size=1M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=5 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number a0-36-9f-ff-ff-d5-06-12
        Capabilities: [1a0] Transaction Processing Hints
        Kernel driver in use: uio_pci_generic


Cheers,
Michal
________________________________________
From: Hunt, David [david.hunt@intel.com]
Sent: 21 March 2017 13:19
To: Michal Michalowski; users@dpdk.org
Subject: Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs

On 15/3/2017 4:55 PM, Michal Michalowski wrote:
> HI,
>
> I have problem running helloworld example. The OS hangs and the only way
> forward is to poweroff the box.
>
> DPDK version 16.11.1
> OS: Ubuntu 16.04 and 14.04
> NICs:
> 18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
> Connection (rev 03)
> 24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
> Connection (rev 03)
>
> The problem only appears when I have two NICs present. If I bind at
> least one of them to uio_pci_generic and run helloworld the OS hangs.
> If I try to use igb_uio the system hangs when binding the device.
>
> I have narrowed it down a bit. The OS hangs when
> e1000_get_media_type_82575 is executed. Line:   ctrl_ext =
> E1000_READ_REG(hw, E1000_CTRL_EXT);
> That line is reading memory mapped from resource0 of the device.
>
> I have reproduced behaviour just by binding the device to
> uio_pci_generic and putting it in "bus master" mode and the reading from
> it's resour0.
>
> The behaviour is not reproducible with just one NIC in place. Also if
> the devices use igb driver and are in "bus master" I can read from
> resource0.
>
> Has anyone encountered similar problem?
>
> Cheers,
> Michal

Michal,

    Could you post up the output of 'lspci -v' for the two cards?
('lspci -v -s 18:00' and 'lspci -v -s 24:00' should do it).
I'm interested in the "Memory at" output.

I'm using a board here with some i211's with Ubuntu 16.04 and DPDK
16.11.1. All OK so far with igb_uio and helloworld.

Regards,
Dave.



This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 12:46   ` Michal Michalowski
@ 2017-03-21 13:17     ` Hunt, David
  2017-03-21 13:52       ` Michal Michalowski
  2017-03-21 13:59       ` Hunt, David
  0 siblings, 2 replies; 10+ messages in thread
From: Hunt, David @ 2017-03-21 13:17 UTC (permalink / raw)
  To: Michal Michalowski, users



On 21/3/2017 12:46 PM, Michal Michalowski wrote:
> Hi David,
>
> Here is the output of lscpi after NICs after the are configured for DPDK:
>
> michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 18:00
> 18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
>          Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
>          Physical Slot: 4
>          Flags: fast devsel, IRQ 16
>          Memory at f3300000 (32-bit, non-prefetchable) [size=1M]
>          Memory at f3400000 (32-bit, non-prefetchable) [size=16K]
>          [virtual] Expansion ROM at f8000000 [disabled] [size=1M]
>          Capabilities: [40] Power Management version 3
>          Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>          Capabilities: [70] MSI-X: Enable- Count=5 Masked-
>          Capabilities: [a0] Express Endpoint, MSI 00
>          Capabilities: [100] Advanced Error Reporting
>          Capabilities: [140] Device Serial Number a0-36-9f-ff-ff-d5-07-3b
>          Capabilities: [1a0] Transaction Processing Hints
>          Kernel driver in use: uio_pci_generic
>
> michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 24:00
> 24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
>          Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
>          Physical Slot: 1
>          Flags: fast devsel, IRQ 16
>          Memory at f3100000 (32-bit, non-prefetchable) [size=1M]
>          Memory at f3200000 (32-bit, non-prefetchable) [size=16K]
>          [virtual] Expansion ROM at f8200000 [disabled] [size=1M]
>          Capabilities: [40] Power Management version 3
>          Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>          Capabilities: [70] MSI-X: Enable- Count=5 Masked-
>          Capabilities: [a0] Express Endpoint, MSI 00
>          Capabilities: [100] Advanced Error Reporting
>          Capabilities: [140] Device Serial Number a0-36-9f-ff-ff-d5-06-12
>          Capabilities: [1a0] Transaction Processing Hints
>          Kernel driver in use: uio_pci_generic
>
>
> Cheers,
> Michal

Hi Michal,
     When I bind my interfaces to igb_uio, I maintain the bus master 
flag. Can you describe the hardware layout? Are you using any kind of 
PCI multiplexer/riser?
   Also, what is the output to 'lcpci -t'? That might give us some 
additional interesting information.
Regards,
Dave.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 13:17     ` Hunt, David
@ 2017-03-21 13:52       ` Michal Michalowski
  2017-03-21 14:46         ` Hunt, David
  2017-03-21 13:59       ` Hunt, David
  1 sibling, 1 reply; 10+ messages in thread
From: Michal Michalowski @ 2017-03-21 13:52 UTC (permalink / raw)
  To: Hunt, David, users

Hi,

I do not use any PCI riser or multiplexer. I have 4 PCIe slots.
1) PCIe x1           -    NIC1 (24:00)
2) PCIe x16         -    Graphics card
3) PCIe x1           -    disabled
4) PCIe x4           -   NIC2 (18:00)


Output of lscpi is:
michal@michal-HP-Z200-Workstation:~$ sudo lspci -t
-+-[0000:3f]-+-00.0
 |           +-00.1
 |           +-02.0
 |           +-02.1
 |           +-03.0
 |           +-03.1
 |           +-03.2
 |           +-03.4
 |           +-04.0
 |           +-04.1
 |           +-04.2
 |           +-04.3
 |           +-05.0
 |           +-05.1
 |           +-05.2
 |           \-05.3
 \-[0000:00]-+-00.0
             +-03.0-[01]--+-00.0
             |            \-00.1
             +-08.0
             +-08.1
             +-08.2
             +-08.3
             +-10.0
             +-10.1
             +-16.0
             +-16.3
             +-19.0
             +-1a.0
             +-1b.0
             +-1c.0-[18]----00.0
             +-1c.4-[24]----00.0
             +-1d.0
             +-1e.0-[10]----00.0
             +-1f.0
             \-1f.2

Cheers,
Michal

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 13:17     ` Hunt, David
  2017-03-21 13:52       ` Michal Michalowski
@ 2017-03-21 13:59       ` Hunt, David
  2017-03-21 14:01         ` Hunt, David
  1 sibling, 1 reply; 10+ messages in thread
From: Hunt, David @ 2017-03-21 13:59 UTC (permalink / raw)
  To: Michal Michalowski, users



On 21/3/2017 1:17 PM, Hunt, David wrote:
>
>
> On 21/3/2017 12:46 PM, Michal Michalowski wrote:
>> Hi David,
>>
>> Here is the output of lscpi after NICs after the are configured for 
>> DPDK:
>>
>> michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 18:00
>> 18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network 
>> Connection (rev 03)
>>          Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
>>          Physical Slot: 4
>>          Flags: fast devsel, IRQ 16
>>          Memory at f3300000 (32-bit, non-prefetchable) [size=1M]
>>          Memory at f3400000 (32-bit, non-prefetchable) [size=16K]
>>          [virtual] Expansion ROM at f8000000 [disabled] [size=1M]
>>          Capabilities: [40] Power Management version 3
>>          Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>>          Capabilities: [70] MSI-X: Enable- Count=5 Masked-
>>          Capabilities: [a0] Express Endpoint, MSI 00
>>          Capabilities: [100] Advanced Error Reporting
>>          Capabilities: [140] Device Serial Number 
>> a0-36-9f-ff-ff-d5-07-3b
>>          Capabilities: [1a0] Transaction Processing Hints
>>          Kernel driver in use: uio_pci_generic
>>
>> michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 24:00
>> 24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network 
>> Connection (rev 03)
>>          Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
>>          Physical Slot: 1
>>          Flags: fast devsel, IRQ 16
>>          Memory at f3100000 (32-bit, non-prefetchable) [size=1M]
>>          Memory at f3200000 (32-bit, non-prefetchable) [size=16K]
>>          [virtual] Expansion ROM at f8200000 [disabled] [size=1M]
>>          Capabilities: [40] Power Management version 3
>>          Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>>          Capabilities: [70] MSI-X: Enable- Count=5 Masked-
>>          Capabilities: [a0] Express Endpoint, MSI 00
>>          Capabilities: [100] Advanced Error Reporting
>>          Capabilities: [140] Device Serial Number 
>> a0-36-9f-ff-ff-d5-06-12
>>          Capabilities: [1a0] Transaction Processing Hints
>>          Kernel driver in use: uio_pci_generic
>>
>>
>> Cheers,
>> Michal
>
> Hi Michal,
>     When I bind my interfaces to igb_uio, I maintain the bus master 
> flag. Can you describe the hardware layout? Are you using any kind of 
> PCI multiplexer/riser?
>   Also, what is the output to 'lcpci -t'? That might give us some 
> additional interesting information.
> Regards,
> Dave 

Michal,
    I looked a bit deeper into the specs of the HP-Z200 workstation. It 
has only 1 PCI gen2, and the rest are PCI gen1. Only one of the 16x 
slots is gen2.
Could you confirm in which slots a single NIC will work? You can use 
"lspci -vvv -s 18:00 | grep LinkSta" to see the speeds when its installed.
Does a single NIC work in all slots?
Does it only work on the Gen2 16x slot?
If you put 2 NICS in 2 gen1 slots, do any of them work?
Regards,
Dave.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 13:59       ` Hunt, David
@ 2017-03-21 14:01         ` Hunt, David
  0 siblings, 0 replies; 10+ messages in thread
From: Hunt, David @ 2017-03-21 14:01 UTC (permalink / raw)
  To: Michal Michalowski, users



On 21/3/2017 1:59 PM, Hunt, David wrote:
>
>
> On 21/3/2017 1:17 PM, Hunt, David wrote:
>>
>>
>> On 21/3/2017 12:46 PM, Michal Michalowski wrote:
>>> Hi David,
>>>
>>> Here is the output of lscpi after NICs after the are configured for 
>>> DPDK:
>>>
>>> michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 18:00
>>> 18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network 
>>> Connection (rev 03)
>>>          Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
>>>          Physical Slot: 4
>>>          Flags: fast devsel, IRQ 16
>>>          Memory at f3300000 (32-bit, non-prefetchable) [size=1M]
>>>          Memory at f3400000 (32-bit, non-prefetchable) [size=16K]
>>>          [virtual] Expansion ROM at f8000000 [disabled] [size=1M]
>>>          Capabilities: [40] Power Management version 3
>>>          Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>>>          Capabilities: [70] MSI-X: Enable- Count=5 Masked-
>>>          Capabilities: [a0] Express Endpoint, MSI 00
>>>          Capabilities: [100] Advanced Error Reporting
>>>          Capabilities: [140] Device Serial Number 
>>> a0-36-9f-ff-ff-d5-07-3b
>>>          Capabilities: [1a0] Transaction Processing Hints
>>>          Kernel driver in use: uio_pci_generic
>>>
>>> michal@michal-HP-Z200-Workstation:~$ sudo lspci -vs 24:00
>>> 24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network 
>>> Connection (rev 03)
>>>          Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
>>>          Physical Slot: 1
>>>          Flags: fast devsel, IRQ 16
>>>          Memory at f3100000 (32-bit, non-prefetchable) [size=1M]
>>>          Memory at f3200000 (32-bit, non-prefetchable) [size=16K]
>>>          [virtual] Expansion ROM at f8200000 [disabled] [size=1M]
>>>          Capabilities: [40] Power Management version 3
>>>          Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>>>          Capabilities: [70] MSI-X: Enable- Count=5 Masked-
>>>          Capabilities: [a0] Express Endpoint, MSI 00
>>>          Capabilities: [100] Advanced Error Reporting
>>>          Capabilities: [140] Device Serial Number 
>>> a0-36-9f-ff-ff-d5-06-12
>>>          Capabilities: [1a0] Transaction Processing Hints
>>>          Kernel driver in use: uio_pci_generic
>>>
>>>
>>> Cheers,
>>> Michal
>>
>> Hi Michal,
>>     When I bind my interfaces to igb_uio, I maintain the bus master 
>> flag. Can you describe the hardware layout? Are you using any kind of 
>> PCI multiplexer/riser?
>>   Also, what is the output to 'lcpci -t'? That might give us some 
>> additional interesting information.
>> Regards,
>> Dave 
>
> Michal,
>    I looked a bit deeper into the specs of the HP-Z200 workstation. It 
> has only 1 PCI gen2, and the rest are PCI gen1. Only one of the 16x 
> slots is gen2.
> Could you confirm in which slots a single NIC will work? You can use 
> "lspci -vvv -s 18:00 | grep LinkSta" to see the speeds when its 
> installed.
> Does a single NIC work in all slots?
> Does it only work on the Gen2 16x slot?
> If you put 2 NICS in 2 gen1 slots, do any of them work?
> Regards,
> Dave.
>

Ignore this mail :)
I sent it before you replied saying the gen2 slot is used by the 
graphics card.

I'll look at the lspci -t output now.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 13:52       ` Michal Michalowski
@ 2017-03-21 14:46         ` Hunt, David
  2017-03-21 15:05           ` Michal Michalowski
  0 siblings, 1 reply; 10+ messages in thread
From: Hunt, David @ 2017-03-21 14:46 UTC (permalink / raw)
  To: Michal Michalowski, users

On 21/3/2017 1:52 PM, Michal Michalowski wrote:

> Hi,
>
> I do not use any PCI riser or multiplexer. I have 4 PCIe slots.
> 1) PCIe x1           -    NIC1 (24:00)
> 2) PCIe x16         -    Graphics card
> 3) PCIe x1           -    disabled
> 4) PCIe x4           -   NIC2 (18:00)
>
>
> Output of lscpi is:
> michal@michal-HP-Z200-Workstation:~$ sudo lspci -t
> -+-[0000:3f]-+-00.0
>   |           +-00.1
>   |           +-02.0
>   |           +-02.1
>   |           +-03.0
>   |           +-03.1
>   |           +-03.2
>   |           +-03.4
>   |           +-04.0
>   |           +-04.1
>   |           +-04.2
>   |           +-04.3
>   |           +-05.0
>   |           +-05.1
>   |           +-05.2
>   |           \-05.3
>   \-[0000:00]-+-00.0
>               +-03.0-[01]--+-00.0
>               |            \-00.1
>               +-08.0
>               +-08.1
>               +-08.2
>               +-08.3
>               +-10.0
>               +-10.1
>               +-16.0
>               +-16.3
>               +-19.0
>               +-1a.0
>               +-1b.0
>               +-1c.0-[18]----00.0
>               +-1c.4-[24]----00.0
>               +-1d.0
>               +-1e.0-[10]----00.0
>               +-1f.0
>               \-1f.2
>
> Cheers,
> Michal

Michal,
    Looks OK to me. At this point I don't know what's causing your 
issue. And it's likely that if you switched those NICs into a more 
modern server (the Z200 is quite old at this stage), it's likely that 
everything would just work. All I can suggest at this stage is to maybe 
get your hands on a PCIe x1 GFX card to free up the x16 slot, and try 
using the gen2 x16 and the x4 for the NICs.
Dave.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 14:46         ` Hunt, David
@ 2017-03-21 15:05           ` Michal Michalowski
  2017-03-22 14:38             ` Michal Michalowski
  0 siblings, 1 reply; 10+ messages in thread
From: Michal Michalowski @ 2017-03-21 15:05 UTC (permalink / raw)
  To: Hunt, David, users

Hi Dave,

Yes this is pretty old box. I'll try your suggestion as soon as I get x1 graphics card and let you know.

Thanks for help.

Michal




________________________________________
From: Hunt, David [david.hunt@intel.com]
Sent: 21 March 2017 15:46
To: Michal Michalowski; users@dpdk.org
Subject: Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs

On 21/3/2017 1:52 PM, Michal Michalowski wrote:

> Hi,
>
> I do not use any PCI riser or multiplexer. I have 4 PCIe slots.
> 1) PCIe x1           -    NIC1 (24:00)
> 2) PCIe x16         -    Graphics card
> 3) PCIe x1           -    disabled
> 4) PCIe x4           -   NIC2 (18:00)
>
>
> Output of lscpi is:
> michal@michal-HP-Z200-Workstation:~$ sudo lspci -t
> -+-[0000:3f]-+-00.0
>   |           +-00.1
>   |           +-02.0
>   |           +-02.1
>   |           +-03.0
>   |           +-03.1
>   |           +-03.2
>   |           +-03.4
>   |           +-04.0
>   |           +-04.1
>   |           +-04.2
>   |           +-04.3
>   |           +-05.0
>   |           +-05.1
>   |           +-05.2
>   |           \-05.3
>   \-[0000:00]-+-00.0
>               +-03.0-[01]--+-00.0
>               |            \-00.1
>               +-08.0
>               +-08.1
>               +-08.2
>               +-08.3
>               +-10.0
>               +-10.1
>               +-16.0
>               +-16.3
>               +-19.0
>               +-1a.0
>               +-1b.0
>               +-1c.0-[18]----00.0
>               +-1c.4-[24]----00.0
>               +-1d.0
>               +-1e.0-[10]----00.0
>               +-1f.0
>               \-1f.2
>
> Cheers,
> Michal

Michal,
    Looks OK to me. At this point I don't know what's causing your
issue. And it's likely that if you switched those NICs into a more
modern server (the Z200 is quite old at this stage), it's likely that
everything would just work. All I can suggest at this stage is to maybe
get your hands on a PCIe x1 GFX card to free up the x16 slot, and try
using the gen2 x16 and the x4 for the NICs.
Dave.



This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs
  2017-03-21 15:05           ` Michal Michalowski
@ 2017-03-22 14:38             ` Michal Michalowski
  0 siblings, 0 replies; 10+ messages in thread
From: Michal Michalowski @ 2017-03-22 14:38 UTC (permalink / raw)
  To: Hunt, David, users

Hi Dave,

I have tried your suggestion and it works if one NIC is x16 and the other in x4.

Thanks again,
Michal
________________________________________
From: users [users-bounces@dpdk.org] On Behalf Of Michal Michalowski [michalm@openet.com]
Sent: 21 March 2017 16:05
To: Hunt, David; users@dpdk.org
Subject: Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs

Hi Dave,

Yes this is pretty old box. I'll try your suggestion as soon as I get x1 graphics card and let you know.

Thanks for help.

Michal




________________________________________
From: Hunt, David [david.hunt@intel.com]
Sent: 21 March 2017 15:46
To: Michal Michalowski; users@dpdk.org
Subject: Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs

On 21/3/2017 1:52 PM, Michal Michalowski wrote:

> Hi,
>
> I do not use any PCI riser or multiplexer. I have 4 PCIe slots.
> 1) PCIe x1           -    NIC1 (24:00)
> 2) PCIe x16         -    Graphics card
> 3) PCIe x1           -    disabled
> 4) PCIe x4           -   NIC2 (18:00)
>
>
> Output of lscpi is:
> michal@michal-HP-Z200-Workstation:~$ sudo lspci -t
> -+-[0000:3f]-+-00.0
>   |           +-00.1
>   |           +-02.0
>   |           +-02.1
>   |           +-03.0
>   |           +-03.1
>   |           +-03.2
>   |           +-03.4
>   |           +-04.0
>   |           +-04.1
>   |           +-04.2
>   |           +-04.3
>   |           +-05.0
>   |           +-05.1
>   |           +-05.2
>   |           \-05.3
>   \-[0000:00]-+-00.0
>               +-03.0-[01]--+-00.0
>               |            \-00.1
>               +-08.0
>               +-08.1
>               +-08.2
>               +-08.3
>               +-10.0
>               +-10.1
>               +-16.0
>               +-16.3
>               +-19.0
>               +-1a.0
>               +-1b.0
>               +-1c.0-[18]----00.0
>               +-1c.4-[24]----00.0
>               +-1d.0
>               +-1e.0-[10]----00.0
>               +-1f.0
>               \-1f.2
>
> Cheers,
> Michal

Michal,
    Looks OK to me. At this point I don't know what's causing your
issue. And it's likely that if you switched those NICs into a more
modern server (the Z200 is quite old at this stage), it's likely that
everything would just work. All I can suggest at this stage is to maybe
get your hands on a PCIe x1 GFX card to free up the x16 slot, and try
using the gen2 x16 and the x4 for the NICs.
Dave.



This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-03-22 14:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 16:55 [dpdk-users] OS hang when running helloworld example with two I210 NICs Michal Michalowski
2017-03-21 12:19 ` Hunt, David
2017-03-21 12:46   ` Michal Michalowski
2017-03-21 13:17     ` Hunt, David
2017-03-21 13:52       ` Michal Michalowski
2017-03-21 14:46         ` Hunt, David
2017-03-21 15:05           ` Michal Michalowski
2017-03-22 14:38             ` Michal Michalowski
2017-03-21 13:59       ` Hunt, David
2017-03-21 14:01         ` Hunt, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).