linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Issues with SCSI modules.
Date: Fri, 30 Mar 2007 14:26:26 +0000	[thread overview]
Message-ID: <20070330142626.GA23085@kroah.com> (raw)
In-Reply-To: <C5065F118AFB3D478B052FC1E9810D9C389C4E@tec-mail.ttec.soc-soft.com>

On Fri, Mar 30, 2007 at 05:55:15PM +0530, Krishna Prasad G. wrote:
> Hi,
> 
>  
> 
> This is regarding SCSI kernel modules (scsi_mod, sd_mod - disk modules).
> 
>  
> 
> System Configuration:
> 
> ------------------------------
> 
>  
> 
> Kernel: 2.6.14.3 ppc GNU/Linux
> 
> OS: Debian GNU/Linux 3.1
> 
> UDEV version: 056
> 
>  
> 
> On inserting USB Mass Storage Device following messages are generated
> (/var/log/messages):
> 
>  
> 
> Dec 16 16:24:04 kernel: [ 2480.307174] scsi0 : SCSI emulation for USB
> Mass Storage devices
> 
> Dec 16 16:24:09 kernel: [ 2485.324002]   Vendor: sz.zeyan  Model: USB
> Flash Drive   Rev: %%z!Y
> 
> Dec 16 16:24:09 kernel: [ 2485.334402]   Type:   Direct-Access
> ANSI SCSI revision: 02
> 
> Dec 16 16:24:09 kernel: [ 2485.365767] SCSI device sda: 257280 512-byte
> hdwr sectors (132 MB)
> 
> Dec 16 16:24:09 kernel: [ 2485.376937] sda: Write Protect is off
> 
> Dec 16 16:24:09 kernel: [ 2485.411969] SCSI device sda: 257280 512-byte
> hdwr sectors (132 MB)
> 
> Dec 16 16:24:09 kernel: [ 2485.422894] sda: Write Protect is off
> 
> Dec 16 16:24:09 kernel: [ 2485.431777]  sda: sda1
> 
> Dec 16 16:24:09 kernel: [ 2485.445774] Attached scsi removable disk sda
> at scsi0, channel 0, id 0, lun 0
> 
> Dec 16 16:24:10 scsi.agent[3897]:      sd_mod: can't be loaded (for
> disk)
> 
>  
> 
> I am not able to get "add" event from /etc/udev/rules.d/udev.rules!!

Why not?  Have you run udevmonitor to see if you are?

> Please take a look at last line. I think without having this module
> (sd_mod.ko) SCSI disk support is not possible.

Then build that module :)

But odds are, you have build scsi disk support into your kernel, which
based on the log file, looks to be true.

So I don't see the problem here, your disk is being discovered just
fine.  What is wrong?

thanks,

greg k-h

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

  reply	other threads:[~2007-03-30 14:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 12:37 Issues with SCSI modules Krishna Prasad G.
2007-03-30 14:26 ` Greg KH [this message]
2007-04-02  4:45 ` Krishna Prasad G.

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=20070330142626.GA23085@kroah.com \
    --to=greg@kroah.com \
    --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).