[Bug 229167] [Hyper-V] [Jun 19, 2018] Recently FreeBSD VM panics during boot-up, especially with Mellanox VF configured

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 1 09:30:03 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229167

--- Comment #39 from Wei Hu <weh at microsoft.com> ---
The cause of this problem is mlx4 driver was loaded before the root filesystem.
On larger VM the odds of hitting this increase  as more things are in parallel.

Instead of adding 1 second delay in the driver, I think you can move the driver
loading from /boot/loader.conf to /etc/rc.conf. Remove the line such as
mlx4en_load="YES" in /boot/loader.conf and add following line in /etc/rc.conf:

kld_list="mlx4en mlx4ib"

This way the loading of mlx4 driver would be after the local disks are mounted,
making this problem go away.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list