Hi,

--- On Wed, Jun 10, 2009 at 7:36 PM, Srinivas
G.<sriniv...@esntechnologies.co.in> wrote:
| 6)      I have copied all the modules into the following path.
|        /lib/modules/2.6.28/kernel/drivers/scsi
\--

Why? You can just insmod them directly.

---
| 7)      Then reboot the system
\--

Err! Why are you rebooting? The point of making them as modules is
that you can load (insmod or modprobe) or unload (rmmod) them at
run-time without having to reboot.

---
| 8)      Then, I have inserted a thumb drive. Then I am NOT able to see
| the debug statements that I added in the scsi.c and hosts.c files.
\--

But, did you check if the modules were loaded? Can you post lsmod output?

Also remember that SCSI Primary Commands-2 (SPC-2) specification, and
SCSI Block Commands – 2 (SBC-2) commands are used by USB, and Linux
USB subsystem follows *SCSI emulation* for communication with mass
storage devices.

---
| Note: I have done almost the same procedure for the usb/storage drivers
| and I was able to see the debug messages there.
\--

Because usb_storage module is used:
http://lxr.linux.no/linux+v2.6.28/drivers/usb/storage/Kconfig#L9

---
| and I was not able to load scsi_mod as a module.
\--

You should have mentioned how you loaded the module, and what
output/error message you got. As mentioned earlier, check and post
lsmod output.

---
| When I opened
| menuconfig and checked for SCSI Device Support, I was not able to change
| it to module. The sign was "-*-". What does this sign signify.
\--

The module that it "depends" on hasn't been enabled (BLOCK) in the
configuration, perhaps?

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to