<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - devbind no longer works unless VFIO_UNSAFE is enabled"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1596">1596</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>devbind no longer works unless VFIO_UNSAFE is enabled
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stephen@networkplumber.org
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">Debian (and probably lots of other distributions), do not enable unsafe VFIO
option (CONFIG_VFIO_NOIOMMU). If that is true, then the module parameter does
not exist.

This causes DPDK devbind to fail:
Error: failed to check unsafe noiommu mode - Cannot open
/sys/module/vfio/parameters/enable_unsafe_noiommu_mode: [Errno 2] No such file
or directory: '/sys/module/vfio/parameters/enable_unsafe_noiommu_mode'


This regression is caused by the commit.

commit 6ca0f1c8450d6e28926cad33c6500ad487f4cfdb
Author: Fidaullah Noonari <<a href="mailto:fidaullah.noonari@emumba.com">fidaullah.noonari@emumba.com</a>>
Date:   Wed Oct 2 11:13:12 2024 -0700

    usertools/devbind: support VFIO non-IOMMU mode

    This patch adds noiommu option to dpdk-devbind.
    If the no IOMMU is detected, then if noiommu flag is set
    the vfio-pci unsafe_noiommu_mode flag is set.

    Signed-off-by: Fidaullah Noonari <<a href="mailto:fidaullah.noonari@emumba.com">fidaullah.noonari@emumba.com</a>>
    Signed-off-by: Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>>
    Acked-by: Bruce Richardson <<a href="mailto:bruce.richardson@intel.com">bruce.richardson@intel.com</a>>
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1596">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>