Re: [PATCH]: libata-scsi: Don't start hotplug work queueif hotplug is disabled

From: Chunbo Luo
Date: Mon Jul 21 2008 - 02:19:08 EST


On Mon, 2008-07-21 at 13:40 +0900, Tejun Heo wrote:
> Chunbo Luo wrote:
> >> And this message has nothing to do with SCSI. It's printed by libata
> >> proper for several drivers which don't support ATAPI. Did the patch
> >> really kill the warning messages? Can you please post full boot log
> >> from 2.6.26 w/o the patch?
> >
> > If the drivers don't support ATAPI, the hotplug task cannot find linked device,
> > and it will start the hotplug task again. Which will print messages continously
> > like this.
> >
> > ----------
> > ïata3.00: WARNING: ATAPI is not supported with this driver, device ignored.
> > ïata3.00: WARNING: ATAPI is not supported with this driver, device ignored.
> > ïata3.00: WARNING: ATAPI is not supported with this driver, device ignored.
> > ïata3.00: WARNING: ATAPI is not supported with this driver, device ignored.
> > ...
> > ------------
> >
> > We should find a way to avoid this kind of noisy warning messages.
> >
> > This patch cannot kill the warning messages, but it can avoid the
> > duplicate warning messages.
>
> Hmmm... yeah, indeed. That check is located at rather strange place.
> Can you please test the attached patch?

I tested the attached patch on mpc7448hpc2 ,it worked. It can avoid the
multiple warning messages.

Thanks!
Chunbo
>
> Thanks.
>
--
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/