version has been updated in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233532 when running "nvmupdate" 6.80 the system reboots NIC: X710-DA2 -------- # nvmupdate Intel(R) Ethernet NVM Update Tool NVMUpdate version 1.32.20.30 Copyright (C) 2013 - 2018 Intel Corporation. WARNING: To avoid damage to your device, do not stop the update or reboot or power off the system during this update. Inventory in progress. Please wait ------ ---> system reboots "nvmupdate -v" output: ----------- Intel(R) Ethernet NVM Update Tool NVMUpdate version 1.32.20.30 Copyright (C) 2013 - 2018 Intel Corporation. Version: QV SDK - 2.32.20.28 ixl - 2.1.0-k ----------- "nvmupdate -l nvmupdate.log" also causes a reboot and does not generate a log file. "nvmupate -i" also causes a reboot. FreeBSD 12.0-RELEASE dev.ixl.0.fw_version: fw 6.0.48442 api 1.7 nvm 6.01 etid 800035cf oem 1.262.0
Maintainer informed via mail
Created attachment 200243 [details] Patch to ixl(4)'s nvmupdate ioctl handling Could you try this patch to ixl? This problem doesn't show up on all of my systems, so this issue requires more debugging for a root cause, but this does solve the issue on a machine I had that was rebooting.
I can test and provide feedback once this is available as binary update.
the fix will only be committed if someone tests it 8-} Teufelskreis 8-)
The blame is actually on both sides - the driver and the tool. This patch fixes the driver bug and workarounds problem with the nvmupdate: https://reviews.freebsd.org/D18817
A commit references this bug: Author: erj Date: Thu Jan 24 01:08:37 UTC 2019 New revision: 343372 URL: https://svnweb.freebsd.org/changeset/base/343372 Log: ixl(4): Fix handling data passed with ioctl from NVM update tool From Krzysztof: Ensure that the entire data buffer passed from the NVM update tool is copied in to kernel space and copied back out to user space using copyin() and copyout(). PR: 234104 Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com> Reported by: Finn <ixbug@riseup.net> MFC after: 5 days Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D18817 Changes: head/sys/dev/ixl/ixl_pf_main.c
A commit references this bug: Author: marius Date: Wed Feb 13 16:02:52 UTC 2019 New revision: 344104 URL: https://svnweb.freebsd.org/changeset/base/344104 Log: MFC: r343372 ixl(4): Fix handling data passed with ioctl from NVM update tool From Krzysztof: Ensure that the entire data buffer passed from the NVM update tool is copied in to kernel space and copied back out to user space using copyin() and copyout(). PR: 234104 Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com> Reported by: Finn <ixbug@riseup.net> Differential Revision: https://reviews.freebsd.org/D18817 Changes: _U stable/12/ stable/12/sys/dev/ixl/ixl_pf_main.c
A commit references this bug: Author: marius Date: Wed Feb 13 16:02:56 UTC 2019 New revision: 344105 URL: https://svnweb.freebsd.org/changeset/base/344105 Log: MFC: r343372 ixl(4): Fix handling data passed with ioctl from NVM update tool From Krzysztof: Ensure that the entire data buffer passed from the NVM update tool is copied in to kernel space and copied back out to user space using copyin() and copyout(). PR: 234104 Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com> Reported by: Finn <ixbug@riseup.net> Differential Revision: https://reviews.freebsd.org/D18817 Changes: _U stable/11/ stable/11/sys/dev/ixl/ixl_pf_main.c
Close; thanks for the report!