I'm having a heck of a time trying to patch the kernel, which I am doing to support eth_ipoib.
It seems I am missing a package, a problem with the kernel's Makefile scripts, or I'm missing a few screws... It's driving me there, anyway.
So I am working in the path:
I've applied my patches and now ready to compile:
ERRORS encountered:
(1) no file at /fs/aufs/magic.mk
I installed all of the aufs packages i saw in the package manager
This didn't immediately resolve the issue, but I noticed aufs sources at /usr/src/ so I created a symbolic link where it was missing in the linux-headers
This allowed the script to move forward
(2) no file at Documentation/Makefile
touching the missing file gets the script moving forward again.
3) TAR commands
From here I cannot make out whats wrong.
@ line 72:
I am desperate to get eth_ipoib working and your your help in this matter would be greatly appreciated.
It seems I am missing a package, a problem with the kernel's Makefile scripts, or I'm missing a few screws... It's driving me there, anyway.
So I am working in the path:
Code:
/usr/src/linux-headers-5.0.18-1-pve/
I've applied my patches and now ready to compile:
Code:
make -j8 deb-pkg LOCALVERSION=-custom
ERRORS encountered:
(1) no file at /fs/aufs/magic.mk
Code:
scripts/kconfig/conf --syncconfig Kconfig
UPD include/config/kernel.release
make clean
CLEAN .
fs/aufs/Makefile:3: fs/aufs/magic.mk: No such file or directory
make[4]: *** No rule to make target 'fs/aufs/magic.mk'. Stop.
make[3]: *** [scripts/Makefile.clean:88: fs/aufs] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:1402: _clean_fs] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/package/Makefile:70: deb-pkg] Error 2
make: *** [Makefile:1443: deb-pkg] Error 2
I installed all of the aufs packages i saw in the package manager
Code:
apt-get install aufs-dev aufs-dkms aufs-tools
This didn't immediately resolve the issue, but I noticed aufs sources at /usr/src/ so I created a symbolic link where it was missing in the linux-headers
Code:
ln -s /usr/src/aufs-4.19+20190211/fs/aufs/magic.mk magic.mk
This allowed the script to move forward
(2) no file at Documentation/Makefile
Code:
UPD include/config/kernel.release
make clean
scripts/Makefile.clean:15: Documentation/Makefile: No such file or directory
make[3]: *** No rule to make target 'Documentation/Makefile'. Stop.
make[2]: *** [Makefile:1402: _clean_Documentation] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/package/Makefile:70: deb-pkg] Error 2
make: *** [Makefile:1443: deb-pkg] Error 2
scripts/package/Makefile:127: *** missing separator. Stop.
make: *** [Makefile:1443: deb-pkg] Error 2
touching the missing file gets the script moving forward again.
Code:
mkdir Documentation && touch Documentation/Makefile
3) TAR commands
Code:
make clean
/bin/bash ./scripts/package/mkdebian
TAR linux-5.0.18-1-pve-custom.tar.gz
tar: COPYING: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
make[1]: *** [scripts/package/Makefile:72: deb-pkg] Error 2
make: *** [Makefile:1443: deb-pkg] Error 2
From here I cannot make out whats wrong.
@ line 72:
Code:
$(call cmd,src_tar,$(KDEB_SOURCENAME))
origversion=$$(dpkg-parsechangelog -SVersion |sed 's/-[^-]*$$//');\
mv $(KDEB_SOURCENAME).tar.gz $(KDEB_SOURCENAME)_$${origversion}.orig.tar.gz
+dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) -i.git -us -uc
I am desperate to get eth_ipoib working and your your help in this matter would be greatly appreciated.