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://lore.kernel.org/r/20220505184808.24049-3-sreekanth.re...@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.re...@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.peter...@oracle.com>
    (cherry picked from commit 1aa529d400253eda76733dbb95b62f6cca7b274a)
    Signed-off-by: Michael Reed <michael.r...@canonical.com>

commit 3511175b43b74a055ff26a95ba4dbf66f6b068b3
Author: Sumit Saxena <sumit.sax...@broadcom.com>
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://lore.kernel.org/r/20220429211641.642010-9-sumit.sax...@broadcom.com
    Signed-off-by: Sumit Saxena <sumit.sax...@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.peter...@oracle.com>
    (cherry picked from commit f304d35e59958ea4be399f78e5be08d4a0c4db75)
    Signed-off-by: Michael Reed <michael.r...@canonical.com>


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.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1971151

Title:
  [Ubuntu 22.04.1] mpi3mr: Add management application interface(BSG)
  support

Status in linux package in Ubuntu:
  In Progress

Bug description:
  Request to include below mpi3mr driver bug fix patches in Ubuntu
  22.04.1(5.15 kernel). These patches got accepted by the upstream and
  please find the corresponding commit IDs as below:

  ed567615f7ec scsi: mpi3mr: Fix build errors in uapi header scsi_bsg_mpi3mr.h
  dde822e21700 scsi: mpi3mr: Update driver version to 8.0.0.69.0
  04dfa01e77ea scsi: mpi3mr: Add support for NVMe passthrough
  937a6f2c4f2e scsi: mpi3mr: Expose adapter state to sysfs
  83959ce5204a scsi: mpi3mr: Add support for PEL commands
  eb8a3217cd7d scsi: mpi3mr: Add support for MPT commands
  455aac4f7a13 scsi: mpi3mr: Move data structures/definitions from MPI headers 
to uapi header
  a212ebe7d4b1 scsi: mpi3mr: Add support for driver commands
  7fbaf8b0d8b8 scsi: mpi3mr: Add bsg device support

  
  Thanks,
  Sumit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971151/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to