Bug 204 - Crash on Vmware esxi host when dpdk guest reboots.
Summary: Crash on Vmware esxi host when dpdk guest reboots.
Status: CONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: core (show other bugs)
Version: 18.11
Hardware: x86 Other
: Normal major
Target Milestone: ---
Assignee: beilei.xing
URL:
Depends on:
Blocks:
 
Reported: 2019-02-01 18:18 CET by girish potti
Modified: 2019-03-16 14:51 CET (History)
1 user (show)



Attachments
attachment-19217-0.html (2.14 KB, text/html)
2019-02-04 06:42 CET, Stephen Hemminger
Details

Description girish potti 2019-02-01 18:18:19 CET
Running Vmware esxi 6.5 with i40en driver 1.7.11 . Guest running debian8.0 with either dpdk 18.05.1 or dpdk18.11 (lts) .

When the guest is rebooted occasionally we see the crash on esxi host and the guest is shut down.

vmware-9.log:2018-09-24T00:57:09.434Z| vmx| I120+ PCI passthru device 0000:03:0e.0 caused an IOMMU fault type 4 at address 0x7881ba04e3000. Powering off the virtual machine. If the problem persists please contact the device's vendor.```

The Device 0000:03:0e.0 is a fortville 25g nic. The guests have vfs as adapters running dpdk.

If we dont have dpdk running on guest(just the linux vfs driver)  this issue doesnt happen on host.
Comment 1 Stephen Hemminger 2019-02-04 06:42:03 CET
Created attachment 29 [details]
attachment-19217-0.html

Anything that crashes a host is a host bug. The host can never trust the
guest to be well behaved. These are serious  often with security
implications. Hopefully VMware will or has already addressed it.

On Sat, Feb 2, 2019, 6:18 AM <bugzilla@dpdk.org wrote:

> https://bugs.dpdk.org/show_bug.cgi?id=204
>
>             Bug ID: 204
>            Summary: Crash on Vmware esxi host when dpdk guest reboots.
>            Product: DPDK
>            Version: 18.11
>           Hardware: x86
>                 OS: Other
>             Status: CONFIRMED
>           Severity: major
>           Priority: Normal
>          Component: core
>           Assignee: dev@dpdk.org
>           Reporter: girish_potti@affirmednetworks.com
>   Target Milestone: ---
>
> Running Vmware esxi 6.5 with i40en driver 1.7.11 . Guest running debian8.0
> with
> either dpdk 18.05.1 or dpdk18.11 (lts) .
>
> When the guest is rebooted occasionally we see the crash on esxi host and
> the
> guest is shut down.
>
> vmware-9.log:2018-09-24T00:57:09.434Z| vmx| I120+ PCI passthru device
> 0000:03:0e.0 caused an IOMMU fault type 4 at address 0x7881ba04e3000.
> Powering
> off the virtual machine. If the problem persists please contact the
> device's
> vendor.```
>
> The Device 0000:03:0e.0 is a fortville 25g nic. The guests have vfs as
> adapters
> running dpdk.
>
> If we dont have dpdk running on guest(just the linux vfs driver)  this
> issue
> doesnt happen on host.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 girish potti 2019-02-11 15:49:47 CET
The i40e host driver is causing this.Vmware just shuts the card off when i40e host driver detects the problem.
I think Intel should look at that too.
Comment 3 Ajit Khaparde 2019-03-16 14:51:08 CET
can you take a look? Thanks

Note You need to log in before you can comment on or make changes to this bug.