All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Clayton <chris2553-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: James Bottomley
	<James.Bottomley-JuX6DAaQMKPCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
Cc: Stefan Richter
	<stefanr-MtYdepGKPcBMYopoZt5u/LNAH6kLmebB@public.gmane.org>,
	Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>,
	Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>,
	"Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: 2,6.26-rc4-git2 - long pause during boot
Date: Fri, 13 Jun 2008 06:56:42 +0000	[thread overview]
Message-ID: <200806130656.43016.chris2553@googlemail.com> (raw)
In-Reply-To: <1213212965.3461.12.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>

Hi James,

On Wednesday 11 June 2008, James Bottomley wrote:
> On Wed, 2008-06-11 at 21:29 +0200, Stefan Richter wrote:
> > James Bottomley wrote:
> > > On Wed, 2008-06-11 at 12:15 -0700, Greg KH wrote:
> > >> On Wed, Jun 11, 2008 at 06:58:05PM +0000, Chris Clayton wrote:
> > >>> Jun 11 17:48:13 upstairs udevd-event[1457]: wait_for_sysfs: wait for
> > >>> '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:0a.2/usb11/11-2/11-2:1.
> > >>>0/host4/ioerr_cnt' for 20 mseconds Jun 11 17:48:18 upstairs last
> > >>> message repeated 236 times
> > >>
> > >> This doesn't look good.  It looks like a udev rule in your system is
> > >> looking for a file that will never show up.  That's a short way to a
> > >> long delay time :)
> > >>
> > >> Try commenting out the rule that does this and see if things are
> > >> fixed.
> > >
> > > Actually, there's something seriously wrong here:  ioerr_cnt is a
> > > property of the device, not of the host (as in it will never appear
> > > under .../host4 but under .../host4/targetX:X:X/4:X:X:X/ioerr_cnt).
> > > Perhaps an investigation of why udevd-event is looking under host4/ is
> > > in order.
> >
> > So the change which commit b0ed43360fdca227048d88a08290365cb681c1a8
> > "[SCSI] add scsi_host and scsi_target to scsi_bus" introduced is leading
> > the udev scripts onto a wrong trail?
>
> Yes, I think so ... what it does is make us get bus events for the
> target as well as the lun, whereas without it we only get them for the
> lun.  I think something is misparsing the new target event and this is
> where the trouble is coming from.
>

I assume that since we now the source of this problem, you can create it at 
will. I only mention because if you need me to test a patch, it will have to be 
before Tuesday, June 17 - I go on holiday (vacation) on that day.

Thanks

Chris
> James



-- 
Beauty is in the eye of the beerholder.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Chris Clayton <chris2553@googlemail.com>
To: James Bottomley <James.Bottomley@hansenpartnership.com>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>,
	Greg KH <greg@kroah.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-scsi@vger.kernel.org, Hannes Reinecke <hare@suse.de>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	linux-usb@vger.kernel.org
Subject: Re: 2,6.26-rc4-git2 - long pause during boot
Date: Fri, 13 Jun 2008 06:56:42 +0000	[thread overview]
Message-ID: <200806130656.43016.chris2553@googlemail.com> (raw)
In-Reply-To: <1213212965.3461.12.camel@localhost.localdomain>

Hi James,

On Wednesday 11 June 2008, James Bottomley wrote:
> On Wed, 2008-06-11 at 21:29 +0200, Stefan Richter wrote:
> > James Bottomley wrote:
> > > On Wed, 2008-06-11 at 12:15 -0700, Greg KH wrote:
> > >> On Wed, Jun 11, 2008 at 06:58:05PM +0000, Chris Clayton wrote:
> > >>> Jun 11 17:48:13 upstairs udevd-event[1457]: wait_for_sysfs: wait for
> > >>> '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:0a.2/usb11/11-2/11-2:1.
> > >>>0/host4/ioerr_cnt' for 20 mseconds Jun 11 17:48:18 upstairs last
> > >>> message repeated 236 times
> > >>
> > >> This doesn't look good.  It looks like a udev rule in your system is
> > >> looking for a file that will never show up.  That's a short way to a
> > >> long delay time :)
> > >>
> > >> Try commenting out the rule that does this and see if things are
> > >> fixed.
> > >
> > > Actually, there's something seriously wrong here:  ioerr_cnt is a
> > > property of the device, not of the host (as in it will never appear
> > > under .../host4 but under .../host4/targetX:X:X/4:X:X:X/ioerr_cnt).
> > > Perhaps an investigation of why udevd-event is looking under host4/ is
> > > in order.
> >
> > So the change which commit b0ed43360fdca227048d88a08290365cb681c1a8
> > "[SCSI] add scsi_host and scsi_target to scsi_bus" introduced is leading
> > the udev scripts onto a wrong trail?
>
> Yes, I think so ... what it does is make us get bus events for the
> target as well as the lun, whereas without it we only get them for the
> lun.  I think something is misparsing the new target event and this is
> where the trouble is coming from.
>

I assume that since we now the source of this problem, you can create it at 
will. I only mention because if you need me to test a patch, it will have to be 
before Tuesday, June 17 - I go on holiday (vacation) on that day.

Thanks

Chris
> James



-- 
Beauty is in the eye of the beerholder.

  parent reply	other threads:[~2008-06-13  6:56 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01  4:15 2,6.26-rc4-git2 - long pause during boot Chris Clayton
2008-06-06  5:17 ` Andrew Morton
2008-06-06  6:07   ` Chris Clayton
2008-06-06  6:21     ` Andrew Morton
2008-06-06  6:25       ` Andrew Morton
2008-06-06 15:22         ` James Bottomley
2008-06-06 18:03           ` Andrew Morton
2008-06-06 18:40             ` James Bottomley
2008-06-06 18:40               ` James Bottomley
2008-06-07  5:16               ` Chris Clayton
     [not found]               ` <1212777612.16182.21.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-06-08  6:19                 ` Chris Clayton
2008-06-08  6:19                   ` Chris Clayton
     [not found]                   ` <200806080619.17531.chris2553-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2008-06-08 18:37                     ` James Bottomley
2008-06-08 18:37                       ` James Bottomley
2008-06-09 23:07                       ` Greg KH
     [not found]                         ` <20080609230747.GD23391-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2008-06-10 18:49                           ` Chris Clayton
2008-06-10 18:49                             ` Chris Clayton
     [not found]                       ` <1212950276.3574.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-06-10 22:06                         ` Chris Clayton
2008-06-10 22:06                           ` Chris Clayton
2008-06-10 22:19                           ` Alan Stern
2008-06-10 22:19                             ` Alan Stern
2008-06-11 18:58                           ` Chris Clayton
2008-06-11 19:15                             ` Greg KH
2008-06-11 19:24                               ` James Bottomley
2008-06-11 19:29                                 ` Stefan Richter
2008-06-11 19:36                                   ` James Bottomley
     [not found]                                     ` <1213212965.3461.12.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-06-13  6:56                                       ` Chris Clayton [this message]
2008-06-13  6:56                                         ` Chris Clayton
2008-06-13 14:12                                         ` James Bottomley
2008-06-11 19:33                                 ` Greg KH
2008-06-11 19:51                               ` Chris Clayton
2008-06-11 21:04                                 ` Stefan Richter
2008-06-11 21:46                                 ` Stefan Richter
     [not found]                                   ` <485047C1.3020200-MtYdepGKPcBMYopoZt5u/LNAH6kLmebB@public.gmane.org>
2008-06-11 22:03                                     ` Stefan Richter
2008-06-11 22:03                                       ` Stefan Richter
     [not found]                                       ` <48504B94.9050100-MtYdepGKPcBMYopoZt5u/LNAH6kLmebB@public.gmane.org>
2008-06-14  6:03                                         ` Chris Clayton
2008-06-14  6:03                                           ` Chris Clayton
2008-06-09 14:46                     ` Alan Stern
2008-06-09 14:46                       ` Alan Stern
2008-06-09 19:10                       ` Stefan Richter
2008-06-09 19:10                         ` Stefan Richter
2008-06-09 19:40                         ` Alan Stern
2008-06-09 19:40                           ` Alan Stern
2008-06-09 21:35                           ` Chris Clayton
2008-06-09 21:35                             ` Chris Clayton
2008-06-10 19:00                         ` Chris Clayton
2008-06-10 19:00                           ` Chris Clayton
2008-06-10 19:38                           ` Stefan Richter
2008-06-10 19:38                             ` Stefan Richter
2008-06-06 14:11     ` James Bottomley
2008-06-06 14:42       ` Rafael J. Wysocki
2008-06-06 17:42         ` Chris Clayton
2008-06-06 17:35       ` Chris Clayton
2008-06-09  4:51         ` Grant Grundler
2008-06-10 18:46           ` Chris Clayton
2008-06-06 10:45   ` Rafael J. Wysocki

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=200806130656.43016.chris2553@googlemail.com \
    --to=chris2553-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
    --cc=James.Bottomley-JuX6DAaQMKPCXq6kfMZ53/egYHeGw8Jk@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org \
    --cc=hare-l3A5Bk7waGM@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rjw-KKrjLPT3xs0@public.gmane.org \
    --cc=stefanr-MtYdepGKPcBMYopoZt5u/LNAH6kLmebB@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.