linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: gregkh-all causes breakage
Date: Fri, 26 Jan 2007 20:56:59 +0000	[thread overview]
Message-ID: <1169845019.3507.10.camel@pim.off.vrfy.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0701261455280.5008-100000@iolanthe.rowland.org>

On Fri, 2007-01-26 at 12:18 -0800, Greg KH wrote:
> On Fri, Jan 26, 2007 at 03:02:31PM -0500, Alan Stern wrote:
> > Greg:
> > 
> > I've found that running with your gregkh-all-2.6.20-rc5.patch (earlier
> > versions too) causes sd_mod not to be loaded automatically when I plug in
> > a USB flash drive.  Somewhat suprisingly, the sg driver _is_ loaded.  
> > This is on a system running FC6.
> > 
> > I have no clear idea of what's behind this.  Maybe some of those class 
> > device changes Kay has been making.  Or could it be that I don't have 
> > inotify enabled (hard to see what difference that would make)?  Or maybe 
> > the udev scripts need updating?
> > 
> > Do you experience the same thing?  Where's a good place to look for 
> > answers?
> 
> Hm, I have the sd_mod build into my kernels as they rely on SATA drives
> :)
> 
> I'll go dig up an older laptop that doesn't have that and see what
> happens.
> 
> Kay, any thoughts?

I don't think sd_mod was ever "autoloaded". On SUSE we just load it
manually in initramfs.

And usually distros ship a udev rule like:
  SUBSYSTEM="scsi_device", ACTION="add", ATTRS{type}="0|7|14", \
    RUN+="/sbin/modprobe sd_mod"

I have no idea what makes FC6 behave differently with the
gregkh-all-2.6.20-rc5.patch.

We should probably just add modaliases to the scsi_device, just like we
added to the ide-devices to load the mid-layer modules.

Thanks,
Kay


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2007-01-26 20:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-26 20:02 gregkh-all causes breakage Alan Stern
2007-01-26 20:18 ` Greg KH
2007-01-26 20:27 ` Andrey Borzenkov
2007-01-26 20:31 ` Andrey Borzenkov
2007-01-26 20:39 ` Greg KH
2007-01-26 20:56 ` Kay Sievers [this message]
2007-01-26 20:59 ` Kay Sievers
2007-01-26 22:10 ` Greg KH
2007-01-27  1:32 ` Alan Stern
2007-01-27 21:38 ` Alan Stern
2007-01-28  0:45 ` Kay Sievers
2007-01-29  8:32 ` Guennadi Liakhovetski
2007-01-29 15:27 ` Alan Stern
2007-01-29 15:48 ` Alan Stern
2007-01-31  8:17 ` Kay Sievers
2007-01-31  8:41 ` Tobias Powalowski

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=1169845019.3507.10.camel@pim.off.vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).