Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
[opensuse] kvm pci passthrough not working
  • From: mlus <mlus@xxxxxxxxx>
  • Date: Sat, 10 Jun 2017 09:20:09 +0900
  • Message-id: <>
I use kvm openSUSE-42.2 as host and debian(jessie) as guest.

Host PC has 2 NIC, one for openSUSE and other for debian(pci passthrough).

Intel Corporation 82541PI Gigabit Ethernet assign to openSUSE.
Intel Corporation 82579LM Gigabit Network assign to debian.

Until kernel update to 4.4.70-18.9-default , debian recognize 82579LM
and use it.
After update, debian fail ifup eth0.

debian # lsmod | grep e1000e
e1000e 220778 0
ptp 17692 1 e1000e

debian # modprobe -rv e1000e
rmmod e1000e
rmmod ptp
rmmod pps_core

debian # modprobe -v e1000e
insmod /lib/modules/3.16.0-4-amd64/kernel/drivers/pps/pps_core.ko
[ 138.684256] pps_core: LinuxPPS API ver. 1 registered
[ 138.685331] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@xxxxxxxx>
insmod /lib/modules/3.16.0-4-amd64/kernel/drivers/ptp/ptp.ko
[ 138.688870] PTP clock support registered
[ 138.697285] e1000e: Intel(R) PRO/1000 Network Driver -
[ 138.698337] e1000e: Copyright(c) 1999 - 2016 Intel Corporation.

debian # ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

eth0 not found

debian# ip link set eth0 up
Cannot find device "eth0"

At first, I thought that 82579LM Hardware problem.
Then I did these command from openSUSE console.
# virsh shutdown debian
# systemctl stop libvirtd.service

openSUSE# modprobe -r vfio_iommu_type1
rmmod vfio_iommu_type1

openSUSE # modprobe -rv vfio_pci
rmmod vfio_pci
rmmod vfio
rmmod vfio_virqfd

openSUSE # modprobe e1000e

And, start YaST, setup e1000e (eth1) IPaddress.
Then 82579LM work well.

I think this is new kernel problem.

How can I use pci passthrou correctly ?

Thak you.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages