Re: [patch 33/38] SCSI: gdth: scan for scsi devices

From: James Bottomley
Date: Fri Feb 22 2008 - 23:15:38 EST


On Sat, 2008-02-23 at 05:02 +0200, Boaz Harrosh wrote:
> On Sat, Feb 23, 2008 at 2:31 AM, Greg KH <gregkh@xxxxxxx> wrote:
> >
> > 2.6.24-stable review patch. If anyone has any objections, please let us
> > know.
> >
> > ------------------
> > From: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
> >
> > commit: 61c92814dc324b541391757062ff02fbf3b08086
> >
> > The patch: "gdth: switch to modern scsi host registration"
> >
> > missed one simple fact when moving a way from scsi_module.c.
> > That is to call scsi_scan_host() on the probed host.
> > With this the gdth driver from 2.6.24 is again able to
> > see drives and boot.
> >
> > Signed-off-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
> > Tested-by: Joerg Dorchain <joerg@xxxxxxxxxxxx>
> > Tested-by: Stefan Priebe <s.priebe@xxxxxxxxxxxxxxxxxx>
> > Tested-by: Jon Chelton <jchelton@xxxxxxxxxxxxx>
> > Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> >
> > ---
> > drivers/scsi/gdth.c | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > --- a/drivers/scsi/gdth.c
> > +++ b/drivers/scsi/gdth.c
> > @@ -4838,6 +4838,9 @@ static int __init gdth_isa_probe_one(ulo
> > if (error)
> > goto out_free_coal_stat;
> > list_add_tail(&ha->list, &gdth_instances);
> > +
> > + scsi_scan_host(shp);
> > +
> > return 0;
> >
> > out_free_coal_stat:
> > @@ -4965,6 +4968,9 @@ static int __init gdth_eisa_probe_one(us
> > if (error)
> > goto out_free_coal_stat;
> > list_add_tail(&ha->list, &gdth_instances);
> > +
> > + scsi_scan_host(shp);
> > +
> > return 0;
> >
> > out_free_ccb_phys:
> > @@ -5102,6 +5108,9 @@ static int __init gdth_pci_probe_one(gdt
> > if (error)
> > goto out_free_coal_stat;
> > list_add_tail(&ha->list, &gdth_instances);
> > +
> > + scsi_scan_host(shp);
> > +
> > return 0;
> >
> > out_free_coal_stat:
> >
> > --
>
> Greg, James Hi
>
> This patch is not enough, and will not return a gdth system to working
> order. With this patch disks
> will show up again, only to crash later. All the 5 patches I sent are
> needed, to return to a working
> state. James please apply to mainline, so they can be accepted into stable.
> of the 5 only 2 I have seen in mainline. 3 are missing.
> (if they were submitted, I might have missed them, as I'm traveling, then sorry)

OK, If I look at mainline plust rc fixes, there are three patches, two
of which were confirmed by testers, and one of which is obvious. Could
you send the missing two to linux-scsi with a Tested-by tag?

Thanks,

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/