Comment 28 for bug 1971151

Revision history for this message
Michael Reed (mreed8855) wrote : Re: [Ubuntu 22.04.1] mpi3mr: Add management application interface(BSG) support

Hi Sumit

I did link an older version of the source but the debs were built from the correct source below:

https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/jammy/+ref/mpi3mr_bsg_support

It is inconsequential because the patch that updates the version is included in the debs and in both source versions.

 git --no-pager log | grep -B 10 -i "Update driver version to 8.0.0.69.0"
    Link: https://<email address hidden>
    Signed-off-by: Sreekanth Reddy <email address hidden>
    Signed-off-by: Martin K. Petersen <email address hidden>
    (cherry picked from commit 1aa529d400253eda76733dbb95b62f6cca7b274a)
    Signed-off-by: Michael Reed <email address hidden>

commit 3511175b43b74a055ff26a95ba4dbf66f6b068b3
Author: Sumit Saxena <email address hidden>
Date: Fri Apr 29 17:16:41 2022 -0400

    scsi: mpi3mr: Update driver version to 8.0.0.69.0
^C
ubuntu@toadsworth:~/code_bsg/latest_08/jammy$ git --no-pager log | grep -A 10 -i "Update driver version to 8.0.0.69.0"
    scsi: mpi3mr: Update driver version to 8.0.0.69.0

    BugLink: https://bugs.launchpad.net/bugs/1971151

    Link: https://<email address hidden>
    Signed-off-by: Sumit Saxena <email address hidden>
    Signed-off-by: Martin K. Petersen <email address hidden>
    (cherry picked from commit f304d35e59958ea4be399f78e5be08d4a0c4db75)
    Signed-off-by: Michael Reed <email address hidden>

I think I do know what happened as to why the latest version of the driver did not load. I suspect that the kernel I built is older than the current version of the kernel that is deployed in new installs of Jammy. If this is the case it may not properly install or become the default kernel to boot when it is installed. The way to fix this is to modify grub so you can properly install and then select the older kernel.

Steps
1. Modify /etc/default/grub.d/50-curtin-settings.cfg and change GRUB_DISABLE_OS_PROBER="true" to false.

2. Modify /etc/default/grub and change GRUB_TIMEOUT_STYLE=hidden to menu and GRUB_TIMEOUT=0 to 1.

3. Sudo grub-update2

4. Reinstall the kernel debs. sudo dpkg -i (this should also re-run update-grub2)

5. Reboot and from console select the correct kernel 5.15.0-47-generic #53

6. This is not the ideal way to do this, and in the future I will rename the built kernel in such a way that will prevent this from happening, however it should work fine for testing purposes. If you have any issues let me know.