public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chunbo Luo <chunbo.luo@windriver.com>
To: Tejun Heo <tj@kernel.org>
Cc: linux-kernel@vger.kernel.org, jeff@garzik.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH]: libata-scsi: Don't start hotplug work queue if	hotplug is	disabled
Date: Mon, 21 Jul 2008 14:16:02 +0800	[thread overview]
Message-ID: <1216620962.29890.3.camel@pek-cluo> (raw)
In-Reply-To: <48841331.60008@kernel.org>

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.
> 

      reply	other threads:[~2008-07-21  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-27  2:20 [PATCH]: libata-scsi: Don't start hotplug work queue if hotplug is disabled Chunbo Luo
2008-07-18 13:33 ` Tejun Heo
2008-07-21  3:03   ` Chunbo Luo
2008-07-21  4:40     ` Tejun Heo
2008-07-21  6:16       ` Chunbo Luo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1216620962.29890.3.camel@pek-cluo \
    --to=chunbo.luo@windriver.com \
    --cc=akpm@linux-foundation.org \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox