Announcement

Collapse
No announcement yet.

Multiples Errors whens installing reconfigured kernel because of dkms intend to patch with nvidia driver.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Errors] Multiples Errors whens installing reconfigured kernel because of dkms intend to patch with nvidia driver.

    Hi,

    hello, I have recently installed a kubuntu 23.x after numerous setbacks and problems with wubuntu, debian, to try to obtain both a kernel 6.5 minimum for the detection of my thrustmasters and an nvidia driver for my rtx 2070 super . With this version I hit the jackpot, thank you for your work guys. As I am struggling I also want to have my cores configured with SMP and a Core2/xeon type (i9 9900k x8/x16, to play also flight sim. and maybe making a bit of work...a little bit...yearhh okay...less than it...), and adding some of minor good stuff for a bi system machine. my final objective is to obtain a game machine for playing. they is lots of work to do. in fact, at this time, i see too more problems and personal data security issues in windows. I want to try avoid it definitively. may be it is the time to do this with this distrib.
    but i never build a kernel at this new fashion( 9 years ago ... don't laugth...). And when i have problem i am lost to perform corrections.

    UC: i9 9900k / AORUS Z390 elite / 32Gram / RTX 2070 super /nvme/ssd/ uname 6.5.0-17-generic

    - downloaded sources linux-6.5.0 folder with linux-image-6.5.0.17.
    - i config it with this config file:
    Code:
    ...
    # Processor type and features
    #
    CONFIG_SMP=y
    CONFIG_X86_X2APIC=y
    CONFIG_X86_MPPARSE=y
    # CONFIG_GOLDFISH is not set
    CONFIG_X86_CPU_RESCTRL=y
    CONFIG_X86_EXTENDED_PLATFORM=y
    CONFIG_X86_NUMACHIP=y
    CONFIG_X86_VSMP=y
    CONFIG_X86_UV=y
    # CONFIG_X86_GOLDFISH is not set
    # CONFIG_X86_INTEL_MID is not set
    CONFIG_X86_INTEL_LPSS=y
    CONFIG_X86_AMD_PLATFORM_DEVICE=y
    CONFIG_IOSF_MBI=y
    CONFIG_IOSF_MBI_DEBUG=y
    CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
    CONFIG_SCHED_OMIT_FRAME_POINTER=y
    CONFIG_HYPERVISOR_GUEST=y
    CONFIG_PARAVIRT=y
    CONFIG_PARAVIRT_XXL=y
    # CONFIG_PARAVIRT_DEBUG is not set
    CONFIG_PARAVIRT_SPINLOCKS=y
    CONFIG_X86_HV_CALLBACK_VECTOR=y
    CONFIG_XEN=y
    CONFIG_XEN_PV=y
    CONFIG_XEN_512GB=y
    CONFIG_XEN_PV_SMP=y
    CONFIG_XEN_PV_DOM0=y
    CONFIG_XEN_PVHVM=y
    CONFIG_XEN_PVHVM_SMP=y
    CONFIG_XEN_PVHVM_GUEST=y
    CONFIG_XEN_SAVE_RESTORE=y
    # CONFIG_XEN_DEBUG_FS is not set
    CONFIG_XEN_PVH=y
    CONFIG_XEN_DOM0=y
    CONFIG_XEN_PV_MSR_SAFE=y
    CONFIG_KVM_GUEST=y
    CONFIG_ARCH_CPUIDLE_HALTPOLL=y
    CONFIG_PVH=y
    # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
    CONFIG_PARAVIRT_CLOCK=y
    CONFIG_JAILHOUSE_GUEST=y
    CONFIG_ACRN_GUEST=y
    CONFIG_INTEL_TDX_GUEST=y
    # CONFIG_MK8 is not set
    # CONFIG_MPSC is not set
    CONFIG_MCORE2=y
    # CONFIG_MATOM is not set
    # CONFIG_GENERIC_CPU is not set
    CONFIG_X86_INTERNODE_CACHE_SHIFT=12
    CONFIG_X86_L1_CACHE_SHIFT=6
    CONFIG_X86_INTEL_USERCOPY=y
    CONFIG_X86_USE_PPRO_CHECKSUM=y
    CONFIG_X86_P6_NOP=y
    CONFIG_X86_TSC=y
    CONFIG_X86_CMPXCHG64=y
    CONFIG_X86_CMOV=y
    CONFIG_X86_MINIMUM_CPU_FAMILY=64
    CONFIG_X86_DEBUGCTLMSR=y
    CONFIG_IA32_FEAT_CTL=y
    CONFIG_X86_VMX_FEATURE_NAMES=y
    CONFIG_PROCESSOR_SELECT=y
    CONFIG_CPU_SUP_INTEL=y
    CONFIG_CPU_SUP_AMD=y
    CONFIG_CPU_SUP_HYGON=y
    CONFIG_CPU_SUP_CENTAUR=y
    CONFIG_CPU_SUP_ZHAOXIN=y
    CONFIG_HPET_TIMER=y
    CONFIG_HPET_EMULATE_RTC=y
    CONFIG_DMI=y
    CONFIG_GART_IOMMU=y
    CONFIG_BOOT_VESA_SUPPORT=y
    CONFIG_MAXSMP=y
    CONFIG_NR_CPUS_RANGE_BEGIN=8192
    CONFIG_NR_CPUS_RANGE_END=8192
    CONFIG_NR_CPUS_DEFAULT=8192
    CONFIG_NR_CPUS=8192
    CONFIG_SCHED_CLUSTER=y
    CONFIG_SCHED_SMT=y
    CONFIG_SCHED_MC=y
    CONFIG_SCHED_MC_PRIO=y
    CONFIG_X86_LOCAL_APIC=y
    CONFIG_X86_IO_APIC=y
    CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
    CONFIG_X86_MCE=y
    CONFIG_X86_MCELOG_LEGACY=y
    CONFIG_X86_MCE_INTEL=y
    CONFIG_X86_MCE_AMD=y
    CONFIG_X86_MCE_THRESHOLD=y
    CONFIG_X86_MCE_INJECT=m​
    ​...
    if you think it would be better i'am listening to you...

    -Compiling it correctly. but it seems to compile it with 6.5.8 suffix instead of 0.
    -installing modules work perfectly
    - make install hurt me, i loose some teeth in the war...:

    Code:
    root@FLY-ENGINE:/usr/src/linux-6.5.0# sudo make install
     INSTALL /boot
    run-parts: executing /etc/kernel/postinst.d/dkms 6.5.8-Xeon /boot/vmlinuz-6.5.8-Xeon
    * dkms: running auto installation service for kernel 6.5.8-Xeon
    Sign command: /usr/bin/kmodsign
    Signing key: /var/lib/shim-signed/mok/MOK.priv
    Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
    
    Building module:
    Cleaning build area...(bad exit status: 2)
    unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.5.8-Xeon IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.5.8-Xeon/build LD=/u
    sr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules...(bad exit status: 2)
    ERROR (dkms apport): kernel package linux-headers-6.5.8-Xeon is not supported
    Error! Bad return status for module build on kernel: 6.5.8-Xeon (x86_64)
    Consult /var/lib/dkms/nvidia/535.154.05/build/make.log for more information.
    dkms autoinstall on 6.5.8-Xeon/x86_64 failed for nvidia(10)
    Error! One or more modules failed to install during autoinstall.
    Refer to previous errors for more information.
    * dkms: autoinstall for kernel 6.5.8-Xeon
    [fail]  
    run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
    make[1]: *** [arch/x86/Makefile:292: install] Error 1
    make: *** [Makefile:234: __sub-make] Error 2
    so now there is a big mess in /boot:
    Code:
    config-6.5.0-17-generic  config-6.5.8-Xeon.old
    initrd.img
    initrd.img.old
    memtest86+ia32.efi
    System.map-6.5.0-17-generic
    System.map-6.5.8-Xeon.old
    vmlinuz-6.5.0-9-generic
    vmlinuz.old
    config-6.5.0-9-generic
    efi
    initrd.img-6.5.0-17-generic
    lost+found
    memtest86+x64.bin
    System.map-6.5.0-9-generic
    vmlinuz
    vmlinuz-6.5.8-Xeon
    config-6.5.8-Xeon
    grub
    initrd.img-6.5.0-9-generic
    memtest86+ia32.bin
    memtest86+x64.efi
    System.map-6.5.8-Xeon
    vmlinuz-6.5.0-17-generic
    vmlinuz-6.5.8-Xeon.old​
    my poor tooths. I want to take the original kernel, and apply install of non free package as dkms want, and finaly retrieve a linux-image-6.5.0-17-i9 adapted to my motocyclette.

    could you tell me please where i have made a mistake, and if you can explain why ?
    thanks in advance.



    Last edited by Snowhog; Feb 22, 2024, 04:06 PM.

    #2
    Just a notice: the most recent kernel for 23.10 is 6.5.0-21-generic.
    Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
    Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

    get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
    install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

    Comment


      #3
      i do not choose suffix but i said " -Compiling it correctly. but it seems to compile it with 6.5.(8) suffix instead of (0)".

      Comment

      Working...
      X