* Issues with SCSI modules.
@ 2007-03-30 12:37 Krishna Prasad G.
2007-03-30 14:26 ` Greg KH
2007-04-02 4:45 ` Krishna Prasad G.
0 siblings, 2 replies; 3+ messages in thread
From: Krishna Prasad G. @ 2007-03-30 12:37 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 2609 bytes --]
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!!
Please take a look at last line. I think without having this module
(sd_mod.ko) SCSI disk support is not possible.
Following are the modules available under the following directory:
/lib/modules/2.6.14.3/kernel/drivers/scsi# ls -la
total 392
drwxr-xr-x 2 root root 4096 Apr 7 2006 .
drwxr-xr-x 18 root root 4096 Apr 7 2006 ..
-rw-r--r-- 1 root root 23139 Apr 7 2006 ch.ko
-rw-r--r-- 1 root root 22714 Apr 7 2006 ide-scsi.ko
-rw-r--r-- 1 root root 64352 Apr 7 2006 osst.ko
-rw-r--r-- 1 root root 38356 Apr 7 2006 scsi_debug.ko
-rw-r--r-- 1 root root 38437 Apr 7 2006 scsi_transport_fc.ko
-rw-r--r-- 1 root root 16441 Apr 7 2006 scsi_transport_iscsi.ko
-rw-r--r-- 1 root root 29406 Apr 7 2006 scsi_transport_spi.ko
-rw-r--r-- 1 root root 51109 Apr 7 2006 sg.ko
-rw-r--r-- 1 root root 22210 Apr 7 2006 sr_mod.ko
-rw-r--r-- 1 root root 49844 Apr 7 2006 st.ko
"scsi_mod.ko" and "sd_mod.ko" are not available.
Hotplug is installed and working.
I had gone through this link: http://linuxgazette.net/133/tag.html ----
section "Modules" for more information.
Please help in this regard.
Regards,
KP
Application Layer, TTEC
Toshiba Embedded Software (India) Pvt Ltd
[-- Attachment #1.2: Type: text/html, Size: 13715 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
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=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Issues with SCSI modules.
2007-03-30 12:37 Issues with SCSI modules Krishna Prasad G.
@ 2007-03-30 14:26 ` Greg KH
2007-04-02 4:45 ` Krishna Prasad G.
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2007-03-30 14:26 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Issues with SCSI modules.
2007-03-30 12:37 Issues with SCSI modules Krishna Prasad G.
2007-03-30 14:26 ` Greg KH
@ 2007-04-02 4:45 ` Krishna Prasad G.
1 sibling, 0 replies; 3+ messages in thread
From: Krishna Prasad G. @ 2007-04-02 4:45 UTC (permalink / raw)
To: linux-hotplug
Hi Greg,
Thanks for your quick reply.
I don't have "udevmonitor" binary for Debian, I need to download.
Regards,
KP
Application Layer, TTEC
Toshiba Embedded Software (India) Pvt Ltd
-----Original Message-----
From: Greg KH [mailto:greg@kroah.com]
Sent: Friday, March 30, 2007 7:56 PM
To: Krishna Prasad G.
Cc: linux-hotplug-devel@lists.sourceforge.net; gregkh@us.ibm.com
Subject: Re: Issues with SCSI modules.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-02 4:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 12:37 Issues with SCSI modules Krishna Prasad G.
2007-03-30 14:26 ` Greg KH
2007-04-02 4:45 ` Krishna Prasad G.
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).