public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: PATCH: Multiprobe sanitizer
Date: Thu, 17 Aug 2006 08:44:34 -0700	[thread overview]
Message-ID: <20060817154434.GC7070@kroah.com> (raw)
In-Reply-To: <1155819861.4494.61.camel@laptopd505.fenrus.org>

On Thu, Aug 17, 2006 at 03:04:21PM +0200, Arjan van de Ven wrote:
> On Thu, 2006-08-17 at 14:37 +0200, Benjamin Herrenschmidt wrote:
> > On Thu, 2006-08-17 at 05:22 -0700, Greg KH wrote:
> > > On Thu, Aug 17, 2006 at 02:12:57PM +0200, Benjamin Herrenschmidt wrote:
> > > > On Thu, 2006-08-17 at 05:00 -0700, Greg KH wrote:
> > > > > On Thu, Aug 17, 2006 at 11:24:35AM +0200, Benjamin Herrenschmidt wrote:
> > > > > > Probe ordering is fragile and completely defeated with busses that are
> > > > > > already probed asynchronously (like USB or firewire), and things can
> > > > > > only get worse. Thus we need to look for generic solutions, the trick of
> > > > > > maintaining probe ordering will work around problems today but we'll
> > > > > > still hit the wall in an increasing number of cases in the future.
> > > > > 
> > > > > That's exactly why udev was created :)
> > > > > 
> > > > > It can handle bus ordering issues already today just fine, and distros
> > > > > use it this way in shipping, "enterprise ready" products.
> > > > 
> > > > Only up to a certain point and for certain drivers... but yeah. 
> > > 
> > > What drivers are not supported by this?  Seriously, have we missed any?
> > 
> > udev will not create stable names for a bunch of things... at least not
> > with the default config that comes with distros. On my shuttle with the
> > built-in USB card reader, whatever config comes up with the box will
> > cause the machine to boot or fail to boot due to sda not beeing what
> > it's expected to be, and udev is of no help because it won't create
> > stable device names. 
> 
> that's what mount by label is for though..
> 
> (which isn't a udev but a distro thing)

No, it's a udev thing too, look in /dev/disk/by-label/ and use that in
your fstab.

So yes, udev already handles this for block devices and input devices.
It is simple to add new rules for other subsystems as people find that
they need them.

thanks,

greg k-h

  parent reply	other threads:[~2006-08-17 15:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 16:42 PATCH: Multiprobe sanitizer Alan Cox
2006-08-16 22:26 ` Greg KH
2006-08-17  0:36   ` Alan Cox
2006-08-17  6:57     ` Benjamin Herrenschmidt
2006-08-17  7:00       ` Arjan van de Ven
2006-08-17  8:41       ` Alan Cox
2006-08-17  9:24         ` Benjamin Herrenschmidt
2006-08-17 12:00           ` Greg KH
2006-08-17 12:12             ` Benjamin Herrenschmidt
2006-08-17 12:22               ` Greg KH
2006-08-17 12:37                 ` Benjamin Herrenschmidt
2006-08-17 13:04                   ` Arjan van de Ven
2006-08-17 13:10                     ` Benjamin Herrenschmidt
2006-08-17 15:44                     ` Greg KH [this message]
2006-08-17 14:43                 ` Olaf Hering
2006-08-17 15:42                   ` Greg KH
2006-08-17 11:58     ` Greg KH

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=20060817154434.GC7070@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arjan@infradead.org \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.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