Linux Header 3.13.11-1-amd64-vyos


#1

How can I download the the linux header?

We are installing inside virtuozzo VM and want to install the parallels too, however it requires the kernel source to properly install.

Thanks


#2

That is not supported.
VyOS use custom kernel
This likely will not work


#3

So in an attempt to find a solution I tried it on 1.2, I got further but still ran into issues. I was able to install the Linux header on 1.2 but now I ran into the following issues, not sure if there is a solution or I’m just running into a dead end.

Thu Sep 28 01:09:06 UTC 2017
Start installation or upgrade of Guest Tools
new version of virtuozzo tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
Start installation of prl_eth kernel module
make: Entering directory '/usr/lib/parallels-tools/kmods'
awk: fatal: cannot open file `/lib/modules/4.4.47-amd64-vyos/build/include/generated/uapi/linux/version.h' for reading (No such file or directory)
cd prl_eth/pvmnet && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
awk: fatal: cannot open file `/lib/modules/4.4.47-amd64-vyos/build/include/generated/uapi/linux/version.h' for reading (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: too many arguments
Makefile:47: *** Unsupported kernel version  in /lib/modules/4.4.47-amd64-vyos/build.  Stop.
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
Makefile.kmods:22: recipe for target 'installme' failed
make: *** [installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2017-09-28T01:09:06+0000: execCmd: ./install --install [143]
2017-09-28T01:09:06+0000: Error: An error occurred when installing Virtuozzo Tools. Please go to /var/log/parallels-tools-install.log for more information.
2017-09-28T01:09:09+0000: Exiting with code 1

#4

some progress but still not working

After running the following commands

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/linux /lib/modules/$(uname -r)/build/include/
sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated /lib/modules/$(uname -r)/build/include/generated

it fixes the previous errors but now I have new ones

Fri Sep 29 19:29:47 UTC 2017
Start installation or upgrade of Guest Tools
new version of virtuozzo tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
Start installation of prl_eth kernel module
make: Entering directory '/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make -C /lib/modules/4.4.47-amd64-vyos/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory '/lib/modules/4.4.47-amd64-vyos/build'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory '/lib/modules/4.4.47-amd64-vyos/build'
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Makefile.v26:11: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
Makefile.kmods:22: recipe for target 'installme' failed
make: *** [installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2017-09-29T19:29:47+0000: execCmd: ./install --install [143]
2017-09-29T19:29:47+0000: Error: An error occurred when installing Virtuozzo Tools. Please go to /var/log/parallels-tools-install.log for more information.
2017-09-29T19:29:49+0000: Exiting with code 1