Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2023 04:32:30 +0000
From:      John <jwd@freebsd.org>
To:        "Freebsd-Net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   kernel crash: devctl set driver -f mlx5_core6 ppt
Message-ID:  <ZRZTXuCS9GS-pu4Q@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi Folks,

   Working against 13.2-STABLE.

   I have a chance to get some bhyve VMs running on new hardware
with Mellanox 100Gb/s cards. After creating VF entries with iovctl
at boottime, a devctl command to detach the mlx5 driver and attach
the ppt driver causes the kernel to crash:

 # devctl set driver -f mlx5_core6 ppt

backtrace here: https://people.freebsd.org/~jwd/mlx5.dump.txt

   If I create the VF in ppt mode I can correctly detach
the ppt driver and attach the mlx5 driver.

   Also of note, if multiple VFs are created and a single
VF is targeted for the detach operation, all VFs are operated
on. It seems the VFs are not seen as individual entities
but a group of children in detach_method().

   Thoughts?

Thanks,
John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZRZTXuCS9GS-pu4Q>