[mpt3sas, UBSAN] 6.5-rc won't boot

Koba Ko koba.ko at canonical.com
Wed Jul 26 04:54:52 UTC 2023


hi Sune,
would you please have a try with this test kernel?
https://drive.google.com/drive/folders/1oqqOSKVitYN9CgFTpYM77RAZHDKGQNN1?usp=sharing

I added some checks for the size
still need to contact the author and discuss the root cause.

Thanks
Koba Ko

On Wed, Jul 26, 2023 at 12:44 AM Juerg Haefliger
<juerg.haefliger at canonical.com> wrote:
>
> On Tue, 25 Jul 2023 04:08:08 +0200
> Sune Mølgaard <sune at molgaard.org> wrote:
>
> > I don't know if this is specific to the Ubuntu-build mainline builds or
> > comes from upstream, but asking here first:
> >
> > This is output from attempted boot of 6.5-rc3 from kernel-ppa, but it is
> > similar to rcs 1 and 2:
> >
> > UBSAN: array-index-out-of-bounds in /home/kerne1/COD/linux/drivers/scsi/npt3sas/mpt3sas_scsih.c:4667:12
> > index 1 is out of range for type ’MPI12_EVENT_SAS_TOPO_PHY_ENTRY [1]'
> >
> > UBSAN: array-index—out-of-bounds in /home/kerne1/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih-c:4023:12
> > index 1 is out of range for type 'MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]'
> >
> > UBSAN: array-index—out-of-bounds in /home/kernel/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih_c:6810:36
> > index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
> >
> > UBSAN: array-index—out—of-bounds in /home/kerne1/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih_c:6598:38
> > index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
> >
> > UBSAN: array-index—out—of-bounds in /home/kerne1/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih_c:6602:36
> > index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
> >
> > UBSAN: array-index—out—of—bounds in /home/kernel/COD/linux-drivers/scsi/mpt3sas/mpt3sas_scsih.c:6619:7
> > index 1 is out of range for type 'MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
> >
> > UBSAN: array-index—out—of—bounds in /home/kernel/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih.c:6666:21
> > index 1 is out of range for type ’MPI2_SAS_IO_UNIT0_PHY_DATA [1]'
> >
> > UBSAN: array-index—out—of—bounds in /home/kernel/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7649:32
> > index 1 is out of range for type ’MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]'
> >
> > UBSAN: array-index-out-of—bounds in /home/kernel/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7651:23
> > index 1 is out of range for type ’MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]'
> >
> > UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/scsi/mpt3sas/mpt3sas_scsih.c:7655:12
> > index 1 is out of range for type ’MPI2_EVENT_SAS_TOPO_PHY_ENTRY [1]'
> >
> > Timed out for waiting the udey queue being empty.
> >
> > Please advise as to what additional info to provide and as for taking
> > this upstream if this is not the right list.
>
> It's most likely an upstream issue. Can you identify the last known good
> kernel by trying older mainline builds: v6.4, v6.3, v6.2, ... so we can
> narrow it down.
>
> ...Juerg
>
>
> > /sune
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list