Re: [vpp-dev] Bonding error -- uio_interrupt

2018-08-17 Thread Damjan Marion via Lists.Fd.Io
interesting, works fine for me on c3000, but i use vfio.

Try with vfio, either with enabling iommu or using noiommu mode (kernel 
4.4+)

-- 
Damjan

> On 17 Aug 2018, at 03:22, carlito nueno  wrote:
> 
> Hi,
> 
> I am trying to bond two Intel 82599 on Intel Atom C3000. But I am
> getting uio_interrupt error and BondEthernet0 is down. Each NIC works
> by itself, without bonding.
> 
> [   12.473426] irq 16: nobody cared (try booting with the "irqpoll" option)
> [   12.480149] CPU: 2 PID: 0 Comm: swapper/2 Not tainted
> 4.15.0-20-generic #21-Ubuntu
> [   12.480150] Hardware name: Default string Default string/Default
> string, BIOS R0.10 12/27/2017
> [   12.480152] Call Trace:
> [   12.480154]  
> [   12.480164]  dump_stack+0x63/0x8b
> [   12.480168]  __report_bad_irq+0x35/0xc0
> [   12.480170]  note_interrupt+0x24b/0x2a0
> [   12.480173]  handle_irq_event_percpu+0x54/0x80
> [   12.480175]  handle_irq_event+0x3b/0x60
> [   12.480177]  handle_fasteoi_irq+0x75/0x130
> [   12.480180]  handle_irq+0x20/0x30
> [   12.480183]  do_IRQ+0x46/0xd0
> [   12.480185]  common_interrupt+0x84/0x84
> [   12.480186]  
> [   12.480190] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
> [   12.480191] RSP: 0018:bde940cc7e68 EFLAGS: 0246 ORIG_RAX:
> ffda
> [   12.480194] RAX: a0727fd22880 RBX: 0002e7793c59 RCX: 
> 001f
> [   12.480195] RDX: 0002e7793c59 RSI: fffd3353a7e3 RDI: 
> 
> [   12.480196] RBP: bde940cc7ea8 R08:  R09: 
> 0001
> [   12.480198] R10: bde940cc7e38 R11: 0001 R12: 
> a0727fd2c300
> [   12.480199] R13: 0001 R14: b3571c98 R15: 
> 
> [   12.480202]  ? cpuidle_enter_state+0x97/0x2f0
> [   12.480204]  cpuidle_enter+0x17/0x20
> [   12.480207]  call_cpuidle+0x23/0x40
> [   12.480209]  do_idle+0x18c/0x1f0
> [   12.480211]  cpu_startup_entry+0x73/0x80
> [   12.480213]  start_secondary+0x1a6/0x200
> [   12.480216]  secondary_startup_64+0xa5/0xb0
> [   12.480218] handlers:
> [   12.482499] [<37e500ce>] uio_interrupt [uio]
> [   12.487468] [<37e500ce>] uio_interrupt [uio]
> [   12.492452] [<37e500ce>] uio_interrupt [uio]
> [   12.497427] Disabling IRQ #16
> [  303.382435] irq 17: nobody cared (try booting with the "irqpoll" option)
> [  303.389199] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
> 4.15.0-20-generic #21-Ubuntu
> [  303.389201] Hardware name: Default string Default string/Default
> string, BIOS R0.10 12/27/2017
> [  303.389202] Call Trace:
> [  303.389204]  
> [  303.389212]  dump_stack+0x63/0x8b
> [  303.389216]  __report_bad_irq+0x35/0xc0
> [  303.389219]  note_interrupt+0x24b/0x2a0
> [  303.389221]  handle_irq_event_percpu+0x54/0x80
> [  303.389223]  handle_irq_event+0x3b/0x60
> [  303.389226]  handle_fasteoi_irq+0x75/0x130
> [  303.389228]  handle_irq+0x20/0x30
> [  303.389231]  do_IRQ+0x46/0xd0
> [  303.389233]  common_interrupt+0x84/0x84
> [  303.389234]  
> [  303.389238] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
> [  303.389240] RSP: 0018:b3403e10 EFLAGS: 0246 ORIG_RAX:
> ffd6
> [  303.389242] RAX: a0727fc22880 RBX: 0046a30082e4 RCX: 
> 001f
> [  303.389244] RDX: 0046a30082e4 RSI: fffd3353a7e3 RDI: 
> 
> [  303.389245] RBP: b3403e50 R08:  R09: 
> 0001
> [  303.389246] R10: b3403de0 R11: 0001 R12: 
> a0727fc2c300
> [  303.389247] R13: 0001 R14: b3571c98 R15: 
> 
> [  303.389251]  cpuidle_enter+0x17/0x20
> [  303.389253]  call_cpuidle+0x23/0x40
> [  303.389255]  do_idle+0x18c/0x1f0
> [  303.389257]  cpu_startup_entry+0x73/0x80
> [  303.389260]  rest_init+0xae/0xb0
> [  303.389263]  start_kernel+0x4dc/0x4fd
> [  303.389266]  x86_64_start_reservations+0x24/0x26
> [  303.389267]  x86_64_start_kernel+0x74/0x77
> [  303.389270]  secondary_startup_64+0xa5/0xb0
> [  303.389272] handlers:
> [  303.391558] [<37e500ce>] uio_interrupt [uio]
> 
> vppctl sh hardware-interface shows:
> 
> BondEthernet0  7down  Slave-Idx: 5 6
>  Ethernet address 08:35:71:eb:70:54
>  Ethernet Bonding
>carrier down
>flags: admin-up pmd maybe-multiseg
>rx queues 1, rx desc 1024, tx queues 2, tx desc 1024
>cpu socket 0
> 
> TenGigabitEthernet8/0/05slave TenGigabitEthernet8/0/0
>  Ethernet address 08:35:71:eb:70:54
>  Intel 82599
>carrier down
>flags: pmd maybe-multiseg bond-slave tx-offload intel-phdr-cksum
>rx queues 1, rx desc 1024, tx queues 2, tx desc 1024
>cpu socket 0
> 
> TenGigabitEthernet9/0/06slave TenGigabitEthernet9/0/0
>  Ethernet address 08:35:71:eb:70:54
>  Intel 82599
>carrier down
>flags: pmd maybe-multiseg bond-slave tx-offload intel-phdr-cksum
>rx queues 1, rx desc 1024, tx queues 2, tx desc 1024
>cpu socket 0
> 
> 
> lspic -vvv shows:
> 
> 08:00.0 Ethernet controller: Intel Corporation 

[vpp-dev] Bonding error -- uio_interrupt

2018-08-16 Thread carlito nueno
Hi,

I am trying to bond two Intel 82599 on Intel Atom C3000. But I am
getting uio_interrupt error and BondEthernet0 is down. Each NIC works
by itself, without bonding.

[   12.473426] irq 16: nobody cared (try booting with the "irqpoll" option)
[   12.480149] CPU: 2 PID: 0 Comm: swapper/2 Not tainted
4.15.0-20-generic #21-Ubuntu
[   12.480150] Hardware name: Default string Default string/Default
string, BIOS R0.10 12/27/2017
[   12.480152] Call Trace:
[   12.480154]  
[   12.480164]  dump_stack+0x63/0x8b
[   12.480168]  __report_bad_irq+0x35/0xc0
[   12.480170]  note_interrupt+0x24b/0x2a0
[   12.480173]  handle_irq_event_percpu+0x54/0x80
[   12.480175]  handle_irq_event+0x3b/0x60
[   12.480177]  handle_fasteoi_irq+0x75/0x130
[   12.480180]  handle_irq+0x20/0x30
[   12.480183]  do_IRQ+0x46/0xd0
[   12.480185]  common_interrupt+0x84/0x84
[   12.480186]  
[   12.480190] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
[   12.480191] RSP: 0018:bde940cc7e68 EFLAGS: 0246 ORIG_RAX:
ffda
[   12.480194] RAX: a0727fd22880 RBX: 0002e7793c59 RCX: 001f
[   12.480195] RDX: 0002e7793c59 RSI: fffd3353a7e3 RDI: 
[   12.480196] RBP: bde940cc7ea8 R08:  R09: 0001
[   12.480198] R10: bde940cc7e38 R11: 0001 R12: a0727fd2c300
[   12.480199] R13: 0001 R14: b3571c98 R15: 
[   12.480202]  ? cpuidle_enter_state+0x97/0x2f0
[   12.480204]  cpuidle_enter+0x17/0x20
[   12.480207]  call_cpuidle+0x23/0x40
[   12.480209]  do_idle+0x18c/0x1f0
[   12.480211]  cpu_startup_entry+0x73/0x80
[   12.480213]  start_secondary+0x1a6/0x200
[   12.480216]  secondary_startup_64+0xa5/0xb0
[   12.480218] handlers:
[   12.482499] [<37e500ce>] uio_interrupt [uio]
[   12.487468] [<37e500ce>] uio_interrupt [uio]
[   12.492452] [<37e500ce>] uio_interrupt [uio]
[   12.497427] Disabling IRQ #16
[  303.382435] irq 17: nobody cared (try booting with the "irqpoll" option)
[  303.389199] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
4.15.0-20-generic #21-Ubuntu
[  303.389201] Hardware name: Default string Default string/Default
string, BIOS R0.10 12/27/2017
[  303.389202] Call Trace:
[  303.389204]  
[  303.389212]  dump_stack+0x63/0x8b
[  303.389216]  __report_bad_irq+0x35/0xc0
[  303.389219]  note_interrupt+0x24b/0x2a0
[  303.389221]  handle_irq_event_percpu+0x54/0x80
[  303.389223]  handle_irq_event+0x3b/0x60
[  303.389226]  handle_fasteoi_irq+0x75/0x130
[  303.389228]  handle_irq+0x20/0x30
[  303.389231]  do_IRQ+0x46/0xd0
[  303.389233]  common_interrupt+0x84/0x84
[  303.389234]  
[  303.389238] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0
[  303.389240] RSP: 0018:b3403e10 EFLAGS: 0246 ORIG_RAX:
ffd6
[  303.389242] RAX: a0727fc22880 RBX: 0046a30082e4 RCX: 001f
[  303.389244] RDX: 0046a30082e4 RSI: fffd3353a7e3 RDI: 
[  303.389245] RBP: b3403e50 R08:  R09: 0001
[  303.389246] R10: b3403de0 R11: 0001 R12: a0727fc2c300
[  303.389247] R13: 0001 R14: b3571c98 R15: 
[  303.389251]  cpuidle_enter+0x17/0x20
[  303.389253]  call_cpuidle+0x23/0x40
[  303.389255]  do_idle+0x18c/0x1f0
[  303.389257]  cpu_startup_entry+0x73/0x80
[  303.389260]  rest_init+0xae/0xb0
[  303.389263]  start_kernel+0x4dc/0x4fd
[  303.389266]  x86_64_start_reservations+0x24/0x26
[  303.389267]  x86_64_start_kernel+0x74/0x77
[  303.389270]  secondary_startup_64+0xa5/0xb0
[  303.389272] handlers:
[  303.391558] [<37e500ce>] uio_interrupt [uio]

vppctl sh hardware-interface shows:

BondEthernet0  7down  Slave-Idx: 5 6
  Ethernet address 08:35:71:eb:70:54
  Ethernet Bonding
carrier down
flags: admin-up pmd maybe-multiseg
rx queues 1, rx desc 1024, tx queues 2, tx desc 1024
cpu socket 0

TenGigabitEthernet8/0/05slave TenGigabitEthernet8/0/0
  Ethernet address 08:35:71:eb:70:54
  Intel 82599
carrier down
flags: pmd maybe-multiseg bond-slave tx-offload intel-phdr-cksum
rx queues 1, rx desc 1024, tx queues 2, tx desc 1024
cpu socket 0

TenGigabitEthernet9/0/06slave TenGigabitEthernet9/0/0
  Ethernet address 08:35:71:eb:70:54
  Intel 82599
carrier down
flags: pmd maybe-multiseg bond-slave tx-offload intel-phdr-cksum
rx queues 1, rx desc 1024, tx queues 2, tx desc 1024
cpu socket 0


lspic -vvv shows:

08:00.0 Ethernet controller: Intel Corporation Ethernet Connection
X553 1GbE (rev 11)
Subsystem: Intel Corporation Ethernet Connection X553 1GbE
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
SERR- TAbort-
SERR- -=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10190):