[pve-devel] Please help: beginner trying to compile Proxmox kernel 4.15

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Mon Sep 10 22:53:55 CEST 2018


On Mon, Sep 10, 2018 at 06:55:02PM +0700, The Anh Tran wrote:
> [...]
> 
> > /install: target 'debian/pve-kernel-4.15.18-4-pve/lib/modules/4.15.18-4-pve/kernel/drivers/net/ethernet/intel/igb/'
> > is not a directory: No such file or directory//
> > > //debian/rules:99: recipe for target '.install_mark' failed/
> > this is just a symptom of an earlier error, something did not go right earlier.
> > can you please post your whole build log?
> > It's probably to big for the mailing list, so maybe use https://gist.github.com/
> > (or something other, somewhat trustworthy to click on)
> 
> Fresh rebuild still fail at the above step.

I am not sure whether your manual git clones messed anything up or
whether you somehow manage to trigger some error in our Make logic
(entirely possible!), but a plain "make" after

"git clone -b pve-kernel-4.15 git://git.proxmox.com/git/pve-kernel.git"

should and does work (here), as long as you have all the needed
build-dependencies installed. note that libpve-common-perl is actually
required for one of the helper scripts, but not (yet) contained in
debian/control.in (patch incoming sometime this week, unless somebody
beats me to it).

> In previous mail, i have attached 2 build run's logs. To reduce size to fit
> 80KB limit, repetitive outputs from kernel build script has been removed.
> 
> And i also upload to my company hosting:
> https://cloud.tgdd.vn/index.php/s/d6JajWDF7nfmJuh
> 
> And google drive link:
> https://drive.google.com/drive/folders/1YJmu--aOtPBj0iqj_LXKp5mx4lTvih9_?usp=sharing
> 
> > 4.15.18-4-pve     <=    this dir is empty
> > 
> > 4.15.18-4-pve+  <=    this dir has files/

maybe you accidentally added the '+' somewhere while editing/viewing a
file (like the Makefile, debian/rules, the generated file with all the
environment variables, ...)? the path should not contain a '+'!

check an excerpt of a build log here:

  LD [M]  drivers/net/ethernet/intel/e1000/e1000.ko
  LD [M]  drivers/net/ethernet/intel/e1000e/e1000e.ko
  LD [M]  drivers/net/ethernet/intel/fm10k/fm10k.ko
  LD [M]  drivers/net/ethernet/intel/i40e/i40e.ko
  LD [M]  drivers/net/ethernet/intel/i40evf/i40evf.ko
  LD [M]  drivers/net/ethernet/intel/igb/igb.ko
  LD [M]  drivers/net/ethernet/intel/igbvf/igbvf.ko
  LD [M]  drivers/net/ethernet/intel/ixgb/ixgb.ko
  LD [M]  drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  LD [M]  drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
  LD [M]  drivers/net/ethernet/jme.ko
--
  CC       util/dso.o
  CC      /rpool/kerneltest/pve-kernel/build/modules/igb-5.3.5.18/src/igb.mod.o
  CC       util/symbol.o
  CC       util/symbol_fprintf.o
  CC       tests/mmap-basic.o
  LD [M]  /rpool/kerneltest/pve-kernel/build/modules/igb-5.3.5.18/src/igb.ko
make[3]: Leaving directory '/rpool/kerneltest/pve-kernel/build/ubuntu-bionic'
make[2]: Leaving directory '/rpool/kerneltest/pve-kernel/build/modules/igb-5.3.5.18/src'
cp modules/igb-5.3.5.18/src/igb.ko modules/
  CC       util/color.o
  CC       tests/perf-record.o
yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
--
  INSTALL drivers/net/ethernet/intel/e1000/e1000.ko
  INSTALL drivers/net/ethernet/intel/e1000e/e1000e.ko
  INSTALL drivers/net/ethernet/intel/fm10k/fm10k.ko
  INSTALL drivers/net/ethernet/intel/i40e/i40e.ko
  INSTALL drivers/net/ethernet/intel/i40evf/i40evf.ko
  INSTALL drivers/net/ethernet/intel/igb/igb.ko
  INSTALL drivers/net/ethernet/intel/igbvf/igbvf.ko
  INSTALL drivers/net/ethernet/intel/ixgb/ixgb.ko
  INSTALL drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  INSTALL drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
  INSTALL drivers/net/ethernet/jme.ko
--
  INSTALL ubuntu/xr-usb-serial/xr_usb_serial_common.ko
  INSTALL virt/lib/irqbypass.ko
  DEPMOD  4.15.18-4-pve
make[2]: Leaving directory '/rpool/kerneltest/pve-kernel/build/ubuntu-bionic'
## install latest ibg driver
install -m 644 modules/igb.ko debian/pve-kernel-4.15.18-4-pve/lib/modules/4.15.18-4-pve/kernel/drivers/net/ethernet/intel/igb/
# install latest e1000e driver
install -m 644 modules/e1000e.ko debian/pve-kernel-4.15.18-4-pve/lib/modules/4.15.18-4-pve/kernel/drivers/net/ethernet/intel/e1000e/
# install zfs drivers
install -d -m 0755 debian/pve-kernel-4.15.18-4-pve/lib/modules/4.15.18-4-pve/zfs
install -m 644 modules/spl.ko modules/splat.ko modules/zfs.ko modules/zavl.ko modules/znvpair.ko modules/zunicode.ko modules/zcommon.ko modules/zpios.ko modules/icp.ko debian/pve-kernel-4.15.18-4-pve/lib/modules/4.15.18-4-pve/zfs

no 4.15.18-4-pve+ anywhere in the log, as expected.

what does "git status" output in your local working copy of the repo?



More information about the pve-devel mailing list