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

The Anh Tran trtheanh at gmail.com
Tue Sep 11 11:54:46 CEST 2018


Dear Teams,

On 9/11/2018 3:53 AM, Fabian Grünbichler wrote:
> 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).
>
> 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
> kernel-4.15.18-4-pve/lib/modules/4.15.18-4-pve/zfs
...........remove for clarity ...........
> 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?
>
Today i download newest Debian 9 template, 9.5-1, spawn a new container.

Re-run build script again, pull latest from git.

/compile-pve:/source# cd mirror_ubuntu-bionic-kernel///
//compile-pve:/source/mirror_ubuntu-bionic-kernel# git status -uno//
//On branch master//
//Your branch is up-to-date with 'origin/master'.//
//nothing to commit (use -u to show untracked files)//
/

/compile-pve:/source/zfsonlinux# git status -uno/

/On branch master//
//Your branch is up-to-date with 'origin/master'.//
//nothing to commit (use -u to show untracked files)//
/

/compile-pve:/source# git clone -b pve-kernel-4.15 
git://git.proxmox.com/git/pve-kernel.git//
/

/compile-pve:/source# cd pve-kernel/

/compile-pve:/source/pve-kernel#
/

/cd ../pve-kernel/git status -uno//
//On branch pve-kernel-4.15//
//Your branch is up-to-date with 'origin/pve-kernel-4.15'.//
//nothing to commit (use -u to show untracked files)//
/

Make still error at "wrong directory" message

File *builld/ubuntu-bionic/include/config/kernel.release* has this content:

4.15.18-4-pve+

Most of .o and .ko files also have "-pve+" in their version string.

I'm looking for which script generate that "-pve+" suffix.


I've uploaded putty log to google drive:

https://drive.google.com/open?id=1YJmu--aOtPBj0iqj_LXKp5mx4lTvih9_


Best regards.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the pve-devel mailing list