Autoloading depends on your distro configuration.  The kernel won't request
the module automatically, but my udev has the following:

ACTION=="add", SUBSYSTEM=="scsi_device", SYSFS{type}=="0|7|14", \
        RUN+="modprobe sd_mod"

My udev is older than yours (095-17) so I would assume that you have the
same rule.  But, it could have been added by my distro.

Matt

On Sat, Dec 22, 2007 at 06:39:52AM -0800, Steve Sakoman wrote:
> Matt,
> 
> You hit it on the first try!  Everything works if I manually load
> sd_mod.
> 
> Should sd_mod be loading automatically?  Or should I add it
> to /etc/modules?  Currently I'm only autoloading ohci-hcd and everything
> else USB needs seems to be pulled in as needed.
> 
> Thanks!
> 
> Steve
> 
> On Sat, 2007-12-22 at 00:05 -0800, Matthew Dharm wrote:
> > Is sd_mod getting loaded?  What happens if you load it manually?
> > 
> > Matt
> > 
> > On Fri, Dec 21, 2007 at 11:51:42PM -0800, Steve Sakoman wrote:
> > > I'm working on an OpenEmbedded port for gumstix modules (PXA270 based)
> > > and running into an issue with USB storage devices.
> > > 
> > > I am using a 2.6.21 kernel and udev-115.
> > > 
> > > Other devices seem to work fine:  USB keyboards, Bluetooth dongles, etc.
> > > 
> > > However when I insert a USB storage device the mount process doesn't
> > > quite complete:
> > > 
> > > <6>usb 1-2.3: new full speed USB device using pxa27x-ohci and address 6
> > > <6>usb 1-2.3: configuration #1 chosen from 1 choice
> > > <6>scsi2 : SCSI emulation for USB Mass Storage devices
> > > <7>usb-storage: device found at 6
> > > <7>usb-storage: waiting for device to settle before scanning
> > > <5>scsi 2:0:0:0: Direct-Access     USB      2.0 Flash Drive  0.00 PQ: 0
> > > ANSI: 2
> > > <7>usb-storage: device scan complete
> > > 
> > > And nothing further--the expected sda device is never created.
> > > 
> > > This is new territory for me.  Any advice on where I should begin
> > > looking?  Is this a udev thing?
> > > 
> > > Thanks!
> > > 
> > > Steve
> > > 
> > > 
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> > > the body of a message to [EMAIL PROTECTED]
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

Dudes! May the Open Source be with you.
                                        -- Eric S. Raymond
User Friendly, 12/3/1998

Attachment: pgpi1SRr2S1XI.pgp
Description: PGP signature

Reply via email to