lkml.org 
[lkml]   [2008]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH]: libata-scsi: Don't start hotplug work queue if hotplug is disabled
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-07-21 08:21    [W:0.071 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site