Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2021 09:30:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 229167] [Hyper-V] [Jun 19, 2018] Recently FreeBSD VM panics during boot-up, especially with Mellanox VF configured
Message-ID:  <bug-229167-27103-KM86aewixZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229167-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229167-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #39 from Wei Hu <weh@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229167-27103-KM86aewixZ>