ixgbevf: Unable to start - perhaps the PF Driver isn't up yet

didi8206050 2016-10-25 04:12:00
I try to enable ixgbevf, the procedure is here:

1. enabled SR-IOV support in BIOS
2. enable IOMMU support: intel_iommu=on
3. create /etc/modprobe.d/ixgbe.conf, and the content is: options ixgbe max_vfs=32
4. Rebuild the initramfs image to include the file /etc/modprobe.d/ixgbe.conf: sudo lsinitrd /boot/initramfs-3.10.0-327.13.1.el7.x86_64.img /etc/modprobe.d/ixgbe.conf

And when I lspci | grep Virtual, it displays like this:

03:13.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:13.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:13.3 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:13.4 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:13.5 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:13.6 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:13.7 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:14.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:14.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:14.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:14.3 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:14.4 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
03:14.5 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

But the new vNIC from SR-IOV cannot be brought up, after "dmesg | grep ixgbe", it says:

[50764.133959] ixgbe 0000:03:00.1: VF 31 has no MAC address assigned, you may have to assign one manually
[50764.144463] ixgbevf 0000:03:17.7: MAC address not assigned by administrator.
[50764.144466] ixgbevf 0000:03:17.7: Assigning random MAC address
[50764.145075] ixgbevf 0000:03:17.7: irq 201 for MSI/MSI-X
[50764.145085] ixgbevf 0000:03:17.7: irq 202 for MSI/MSI-X
[50764.145095] ixgbevf 0000:03:17.7: irq 203 for MSI/MSI-X
[50764.152328] ixgbevf 0000:03:17.7: d2:d8:eb:3a:3f:6f
[50764.152332] ixgbevf 0000:03:17.7: MAC: 1
[50764.152335] ixgbevf 0000:03:17.7: Intel(R) 82599 Virtual Function
[50903.592942] ixgbevf: Unable to start - perhaps the PF Driver isn't up yet
[51711.601500] ixgbevf: Unable to start - perhaps the PF Driver isn't up yet
[51996.541689] ixgbe 0000:03:00.1: removed PHC on enp3s0f1
[52003.338050] ixgbe 0000:03:00.1: registered PHC device on enp3s0f1
[52003.500846] ixgbe 0000:03:00.1 enp3s0f1: detected SFP+: 6
[52007.242533] ixgbe 0000:03:00.1 enp3s0f1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[52007.342597] ixgbe 0000:03:00.1 enp3s0f1: NIC Link is Down
[52007.943083] ixgbe 0000:03:00.1 enp3s0f1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[52008.043112] ixgbe 0000:03:00.1 enp3s0f1: NIC Link is Down
[52008.343389] ixgbe 0000:03:00.1 enp3s0f1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[52011.331147] ixgbevf: Unable to start - perhaps the PF Driver isn't up yet


My NIC is Intel 82599, the driver is ixgbe and ixgbevf, my operation system is centos:7. I'v no idea, does anybody know the problem?
...全文
1886 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
为幸福写歌 2018-06-25
  • 打赏
  • 举报
回复
你好,能请问你一个有关SR-IOV的问题吗

750

社区成员

发帖
与我相关
我的任务
社区描述
虚拟化相关技术讨论专区
社区管理员
  • 虚拟化社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧