[TUTORIAL] Compile Proxmox VE with patched intel-iommu driver to remove RMRR check

Great job @Feni !!!

Comment two things:

1. Is necessary to remove the graphic card before doing this process?

2. In the installation of the required packages there two of them that are missing:

Code:
# pveversion
pve-manager/5.3-11/d4907f84 (running kernel: 4.15.18-11-pve)

# apt-get install git nano screen patch fakeroot build-essential devscripts libncurses5 libncurses5-dev libssl-dev bc flex bison libelf-dev libaudit-dev libgtk2.0-dev libperl-dev libperl-dev asciidoc xmlto gnupg gnupg2 rsync lintian debhelper libibery-dev libdw-dev libnuma-dev libsplang2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libibery-dev
E: Unable to locate package libsplang2-dev
 
  • Like
Reactions: Feni
Hi, thanks for your tutorial !
I have a question, when i run the "make" command i have this messages (like your old post) :

root@pve:/usr/src/pve-kernel# make
gcc --version|grep "6\.3" || false
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
test -f "submodules/ubuntu-bionic/README" || git submodule update --init submodules/ubuntu-bionic
test -f "submodules/zfsonlinux/Makefile" || git submodule update --init submodules/zfsonlinux
(test -f "submodules/zfsonlinux/zfs/upstream/README.markdown" && test -f "submodules/zfsonlinux/spl/upstream/README.markdown") || (cd submodules/zfsonlinux; git submodule update --init)
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_spl
fatal: clone of 'git://git.proxmox.com/git/mirror_spl' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream' failed
Failed to clone 'spl/upstream'. Retry scheduled
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/zfs/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_zfs
fatal: clone of 'git://git.proxmox.com/git/mirror_zfs' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/zfs/upstream' failed
Failed to clone 'zfs/upstream'. Retry scheduled
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_spl
fatal: clone of 'git://git.proxmox.com/git/mirror_spl' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream' failed
Failed to clone 'spl/upstream' a second time, aborting
Makefile:158: recipe for target 'submodule' failed
make: *** [submodule] Error 1
 
Hi, thanks for your tutorial !
I have a question, when i run the "make" command i have this messages (like your old post) :

root@pve:/usr/src/pve-kernel# make
gcc --version|grep "6\.3" || false
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
test -f "submodules/ubuntu-bionic/README" || git submodule update --init submodules/ubuntu-bionic
test -f "submodules/zfsonlinux/Makefile" || git submodule update --init submodules/zfsonlinux
(test -f "submodules/zfsonlinux/zfs/upstream/README.markdown" && test -f "submodules/zfsonlinux/spl/upstream/README.markdown") || (cd submodules/zfsonlinux; git submodule update --init)
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_spl
fatal: clone of 'git://git.proxmox.com/git/mirror_spl' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream' failed
Failed to clone 'spl/upstream'. Retry scheduled
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/zfs/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_zfs
fatal: clone of 'git://git.proxmox.com/git/mirror_zfs' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/zfs/upstream' failed
Failed to clone 'zfs/upstream'. Retry scheduled
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_spl
fatal: clone of 'git://git.proxmox.com/git/mirror_spl' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream' failed
Failed to clone 'spl/upstream' a second time, aborting
Makefile:158: recipe for target 'submodule' failed
make: *** [submodule] Error 1


The HEAD on the master branch is not working, checkout the previous commit:
Code:
git clone -n git://git.proxmox.com/git/pve-kernel.git
git checkout HEAD^
 
Hi all,

I could compile the kernel based on this tutorial, works fine.

But I have a question, after the kernel compilation I modified again the ACS override patch (inserted some debug messages) and tried to recompile again with:
Code:
# make

The compilation has started but after 10 sec it stopped without any error, see:
Code:
# make
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
gcc --version|grep "6\.3" || false
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
test -f "submodules/ubuntu-bionic/README" || git submodule update --init submodules/ubuntu-bionic
test -f "submodules/zfsonlinux/Makefile" || git submodule update --init submodules/zfsonlinux
(test -f "submodules/zfsonlinux/zfs-debian/debian/changelog" && test -f "/debian/changelog") || (cd submodules/zfsonlinux; git submodule update --init)
#


Should I rename the kernel again, clean and recompile? Because it is too much time if I have to do it always. Anyone has any idea why make did not work?

thanks
 
Great job @Feni !!!

Comment two things:

1. Is necessary to remove the graphic card before doing this process?

2. In the installation of the required packages there two of them that are missing:

Code:
# pveversion
pve-manager/5.3-11/d4907f84 (running kernel: 4.15.18-11-pve)

# apt-get install git nano screen patch fakeroot build-essential devscripts libncurses5 libncurses5-dev libssl-dev bc flex bison libelf-dev libaudit-dev libgtk2.0-dev libperl-dev libperl-dev asciidoc xmlto gnupg gnupg2 rsync lintian debhelper libibery-dev libdw-dev libnuma-dev libsplang2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libibery-dev
E: Unable to locate package libsplang2-dev


# apt-get install libiberty-dev libslang2-dev
 
Hi all,

I could compile the kernel based on this tutorial, works fine.

But I have a question, after the kernel compilation I modified again the ACS override patch (inserted some debug messages) and tried to recompile again with:
Code:
# make

The compilation has started but after 10 sec it stopped without any error, see:
Code:
# make
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MEASUREMENT = "hu_HU.UTF-8",
    LC_PAPER = "hu_HU.UTF-8",
    LC_MONETARY = "hu_HU.UTF-8",
    LC_NAME = "hu_HU.UTF-8",
    LC_ADDRESS = "hu_HU.UTF-8",
    LC_NUMERIC = "hu_HU.UTF-8",
    LC_TELEPHONE = "hu_HU.UTF-8",
    LC_IDENTIFICATION = "hu_HU.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
gcc --version|grep "6\.3" || false
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
test -f "submodules/ubuntu-bionic/README" || git submodule update --init submodules/ubuntu-bionic
test -f "submodules/zfsonlinux/Makefile" || git submodule update --init submodules/zfsonlinux
(test -f "submodules/zfsonlinux/zfs-debian/debian/changelog" && test -f "/debian/changelog") || (cd submodules/zfsonlinux; git submodule update --init)
#


Should I rename the kernel again, clean and recompile? Because it is too much time if I have to do it always. Anyone has any idea why make did not work?

thanks

if you edit a patch, you need to rebuild the whole kernel - we don't support incremental builds in our Makefile as we always rebuild from clean source.
 
Hi, thanks for your tutorial !
I have a question, when i run the "make" command i have this messages (like your old post) :

root@pve:/usr/src/pve-kernel# make
gcc --version|grep "6\.3" || false
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
test -f "submodules/ubuntu-bionic/README" || git submodule update --init submodules/ubuntu-bionic
test -f "submodules/zfsonlinux/Makefile" || git submodule update --init submodules/zfsonlinux
(test -f "submodules/zfsonlinux/zfs/upstream/README.markdown" && test -f "submodules/zfsonlinux/spl/upstream/README.markdown") || (cd submodules/zfsonlinux; git submodule update --init)
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_spl
fatal: clone of 'git://git.proxmox.com/git/mirror_spl' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream' failed
Failed to clone 'spl/upstream'. Retry scheduled
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/zfs/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_zfs
fatal: clone of 'git://git.proxmox.com/git/mirror_zfs' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/zfs/upstream' failed
Failed to clone 'zfs/upstream'. Retry scheduled
Cloning into '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream'...
fatal: remote error: access denied or repository not exported: /git/mirror_spl
fatal: clone of 'git://git.proxmox.com/git/mirror_spl' into submodule path '/usr/src/pve-kernel/submodules/zfsonlinux/spl/upstream' failed
Failed to clone 'spl/upstream' a second time, aborting
Makefile:158: recipe for target 'submodule' failed
make: *** [submodule] Error 1

seems like a repo is not exported on our public mirror (yet) - I'll try to get that sorted out ASAP.
 
Hi, thanks for the fix, it's ok for the repo, but i have another error :

Code:
dpkg-buildpackage: info: source package spl-linux
dpkg-buildpackage: info: source version 0.7.13-pve1~bpo2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Proxmox Support Team <support@proxmox                      .com>
 dpkg-source --before-build spl-linux_0.7.13
dpkg-source: info: using options from spl-linux_0.7.13/debian/source/options: --                      extend-diff-ignore=.*
 debian/rules clean
make[2]: Entering directory '/usr/src/pve-kernel/build/modules/tmp/spl-linux_0.7                      .13'
dh clean --with autoreconf --parallel
make[2]: dh: Command not found
debian/rules:11: recipe for target 'clean' failed
make[2]: *** [clean] Error 127
make[2]: Leaving directory '/usr/src/pve-kernel/build/modules/tmp/spl-linux_0.7.                      13'
dpkg-buildpackage: error: debian/rules clean gave error exit status 2
Makefile:66: recipe for target 'spl-linux_0.7.13-pve1~bpo2.dsc' failed
make[1]: *** [spl-linux_0.7.13-pve1~bpo2.dsc] Error 2
make[1]: Leaving directory '/usr/src/pve-kernel/build/modules/tmp'
Makefile:134: recipe for target 'pkg-zfs.prepared' failed
make: *** [pkg-zfs.prepared] Error 2
 
Great job @Feni !!!

Comment two things:

1. Is necessary to remove the graphic card before doing this process?

[/code]
No it is not, just follow the tutorial for RMRR check removal and whatever tutorial you are using for passthrough. :)
 
Hi!

do you have a recommended guide for passthrough?

I compiled the kernel according to your steps, and followed a ton of different guides.

I can get the GPU seen in windows - but can not get rid of the error 43!

Thanks!
 
Hi.

This tutorial is only for the G6 and G7 variant (possibly the G5 too), the G8 and later has other options to deal with RMRR like the one you listed. :)

Did u try it with G5-7 hardware ? Just exclude the slot from RMRR with conrep utility. It's much, much easier than compiling new kernel.

Where did I list xenial? I did not see any mention of it.
You must did it here http://www.jimmdenton.com/proliant-intel-dpdk/
 
One more package to install before changing kernel:
apt-get install python3-sphinx

Finaly, after about 30 days hard fight I have working GPU in VM on HP ProLiant dl380 G7. Thank You for this tutorial.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!