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=3D229167

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

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

kld_list=3D"mlx4en mlx4ib"

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

--=20
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>