Results 1 to 6 of 6

Thread: Errors updating with dmks driver

  1. #1
    Join Date
    Mar 2016
    Beans
    191
    Distro
    Lubuntu 20.04 Focal Fossa

    Errors updating with dmks driver

    I just updated my system and got:

    Code:
    /etc/kernel/header_postinst.d/dkms:
     * dkms: running auto installation service for kernel 5.4.0-71-generic
    
    Kernel preparation unnecessary for this kernel.  Skipping...
    
    Building module:
    cleaning build area...
    make -j4 KERNELRELEASE=5.4.0-71-generic -C /lib/modules/5.4.0-71-generic/build M=/var/lib/dkms/aacraid/1.2.1.60001/build....
    Signing module:
     - /var/lib/dkms/aacraid/1.2.1.60001/5.4.0-71-generic/x86_64/module/aacraid.ko
    Secure Boot not enabled on this system.
    cleaning build area...
    
    DKMS: build completed.
    
    aacraid.ko:
    Running module version sanity check.
    Error! Module version 1.2.1.60001 for aacraid.ko
    is not newer than what is already found in kernel 5.4.0-71-generic (1.2.1[50877]-custom).
    You may override by specifying --force.
    
    depmod...
    
    Warning: Unable to find an initial ram disk that I know how to handle.
    Will not try to make an initrd.
    
    DKMS: install completed.
       ...done.
    I' m confused here because I would think that 1.2.1.60001 is more recent that 1.2.1[50877]???

    Please can you tell me what I need to do command by command to resolve this?

    TiA David

  2. #2
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Errors updating with dmks driver

    I'm no server expert and don't work with RAID, so my input can only be of the general sort. The question here is: what have you done to your system? Lubuntu does not default to RAID. Therefore, you had to have installed it manually. It also seems like you installed a custom driver.

    As a general observation, it is not possible to help with incomplete or insufficient info. Even for those with more RAID expertise than I have (who will hopefully jump in here), it is necessary to understand:

    1. what else you've installed,
    2. how you installed it,
    3. what your system HW setup is,
    4. what you are trying to achieve,
    5. what the system is used for, etc.

  3. #3
    Join Date
    Mar 2016
    Beans
    191
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Errors updating with dmks driver

    Meh! I just have an Adaptec Raid card ASR-8885 (which is supported by LUbuntu out of the box), but so resolve a problem with the driver that comes with the kernel I installed the latest driver from Adaptec's website:

    <https://storage.microsemi.com/en-us/downloads/linux_source/linux_source_code/productid=asr-8885&dn=adaptec+raid+8885.php>

    The driver I installed was the dmks one.

    David

  4. #4
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Errors updating with dmks driver

    If you replace a kernel module by installing a driver from an external source, then an update will naturally refuse to update that kernel module. After all, you presumably chose to replace the module for your own good reasons, and it would be potentially highly disruptive if the update process were to second guess you. What would it even use to "update"? The update process is both straightforward and primitive. It has no insight into your thinking or motives and will only update modules/apps/services after it has checked the previous version to ensure that all conforms to expectations.

    If you want the latest kernel module in the repos, then I suppose you must back out your custom driver and install the repo driver.

    CAUTION:

    I have already noted that I have no RAID expertise. I do not know what this will do to your install. If you want to proceed on this advice, then make sure you have all of your data backed up and are prepared to reinstall from scratch if necessary.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    11,995
    Distro
    Ubuntu

    Re: Errors updating with dmks driver

    Note that the system probably sees one version as 1.6 and the other as 15,
    so to the system 15 is bigger and newer than 1.6.
    You might need to manually remove the old first and then installing the new one.

    I have already noted that I have no RAID expertise. I do not know what this will do to your install. If you want to proceed on this advice, then make sure you have all of your data backed up and are prepared to reinstall from scratch if necessary.
    Me too.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Mar 2016
    Beans
    191
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Errors updating with dmks driver

    Let us be clear here, the raid driver I downloaded and installed from the Microsemi (Adaptec) website (after advice from Adaptec Tech Support) is the latest version and fixes a problem with drive spin down (array downgraded on spin-up). The version supplied with the kernel is back level.

    All I am asking is how I can nicely ask the system to ignore the fact that it incorrectly believes the driver I manually installed to be down level (which it isn't) and to use that instead of the version built into the kernel.

    Surely not a big ask.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •