OMV V3.xx Erasmus X86_64 LTS kernels

    • Offizieller Beitrag

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • That's a long process.


    Question: for the "Select Linux kernel config options and drivers to build ", do I have manually download network drivers, UPS ... and compile them too?

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    • Offizieller Beitrag

    When you do the make menuconfig step, you can select drivers to be compiled into the kernel or created as a module. Sometimes, the desired driver is neither. With the newer kernels like 4.5 and 4.6, most drivers should be available.


    I used Gentoo for years and compiling kernels becomes second nature when using it :)

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Go through the manual process a few times and learn what is going on. The script won't add drivers for you that you add with make menuconfig.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • @tinh_x7
    I dont have OMV v2 to test but am positive at 99.99% they would work.
    @pr_bond
    You can find various guides over google like the one @ryecoaaron have link to.
    You are welcome to install and molest any of my released kernels and if you can find ANY intended security hole please report me to moderators so this thread can close to oblivion.
    Have in mind that i compile and use these kernels myself on my production systems so install with confidence that i stand behind my work and i always accept any opinion good or bad
    when is valid and not making assumptions about it beforehand.

    • Offizieller Beitrag

    Ok, but the video for the script does show make menuconfig: https://www.youtube.com/watch?v=Us88qzNL3oI


    I know it executes it. I was just saying it won't enable the drivers for you and that is toughest part of compiling a kernel (which is not tough).

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!


  • Molest?
    LOL.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • It only work if I use sudo, why?


    I got permission denied at the last step of fakeroot:
    I tried this code, and it failed too:

    Code
    make-kpkg --rootcmd fakeroot --initrd --revision=1.0.NAS kernel_image kernel_headers -j 2


    Code
    fakeroot make-kpkg --initrd --revision=1.0.NAS kernel_image kernel_headers -j 2
    exec make kpkg_version=12.036+nmu3 -f /usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=1.0.NAS  INITRD=YES
    ====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
    This is kernel package version 12.036+nmu3.
    test -d debian             || mkdir debian
    mkdir: cannot create directory `debian': Permission denied
    make: *** [debian/stamp/conf/minimal_debian] Error 1
    Failed to create a ./debian directory: No such file or directory at /usr/bin/make-kpkg line 984.


    I got the required packages installed:

    Code
    sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc
    sudo apt-get install kernel-package

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    5 Mal editiert, zuletzt von tinh_x7 ()

  • @demetris
    various guides over google don't interest me, i'am interested of guide of you to check how you do.
    For security reasons, at my works, i need check all unofficial source if any malicious code is present.
    If there are not any problems, I say nothing.
    I have nothing against you, is to be vigilant.
    building kernel is a long, tedious and difficult, you make good job !!

    • Offizieller Beitrag

    It is a permissions issue. Can you build the kernel as root?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I tried root and it worked, but I canceled it in the middle of process.
    I can't find the solution anywhere. I can run as 'sudo' but that defeat the purpose of having 'fakeroot'.
    I tried chown root:root; root:users, but same error.


    By the way, there are many questions during the compilation process, which options should I check 'Yes"?
    Does the directory that I build kernel matter?

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    Einmal editiert, zuletzt von tinh_x7 ()

    • Offizieller Beitrag

    Why are you concerned about building a kernel with root? On Gentoo, you always build as root. I know what fakeroot does because I build the plugins with it. The problem with building the kernel is using where the sources are located (/usr/src/linux) and that is not owned by non-root users. I don't recommend changing it. Building most .deb packages with non-root is fine. Building the kernel package is best left for building with root.


    What questions? If you post the specific question, I can answer better.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I'm currently compiling in /opt/.
    The questions start after I ran the fakeroot make-kpkg --initrd --revision=1.0.NAS kernel_image kernel_headers -j 2.
    There is a lot.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    • Offizieller Beitrag

    Why /opt? If you want to build as a user, build it in a sub-directory of the user's home directory.


    I don't know what those questions are since I have rarely built a kernel the Debian way. Typically I would say take the defaults. If the kernel doesn't build correctly, you can just do it again.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Kernel is building just fine in /home/aaron as aaron. I will post more about the questions when it gets there. I could see it asking a lot of questions if you ran make oldconfig because that asks you about all new modules/drivers/etc that are included in the new kernel but weren't in your old kernel.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!