Dear Kannan, Thanks Kannan, for the information. However, please find the response to your questions below.
> Why? You can just insmod them directly. > 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. Yes. Generally, I use modprobe -r to unload the modules and modprobe -a to load the modules. However, in case of scsi_mod.ko module, they are lot of depend modules are available. I do not know, how to unload all the depended modules at one time. So, I have chosen to reboot the system. FYI, please find the lsmod output Module Size Used by usb_storage 139936 0 g_file_storage 43248 0 dummy_hcd 20364 1 g_file_storage autofs4 25732 2 hidp 17024 2 rfcomm 34064 0 l2cap 23296 10 hidp,rfcomm bluetooth 55396 5 hidp,rfcomm,l2cap sunrpc 173632 1 iptable_filter 6784 0 ip_tables 13712 1 iptable_filter ip6t_REJECT 7552 1 xt_tcpudp 7040 7 ip6table_filter 6656 1 ip6_tables 14992 1 ip6table_filter x_tables 18052 4 ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables dm_mirror 16768 0 dm_region_hash 14592 1 dm_mirror dm_log 12932 2 dm_mirror,dm_region_hash dm_multipath 17676 0 dm_mod 53320 3 dm_mirror,dm_log,dm_multipath rfkill 14412 0 input_polldev 7944 0 sbs 15624 0 sbshc 9472 1 sbs battery 14724 0 ac 8452 0 ipv6 224500 21 ip6t_REJECT lp 13188 0 snd_intel8x0 31260 1 snd_ac97_codec 97184 1 snd_intel8x0 ac97_bus 5888 1 snd_ac97_codec snd_seq_dummy 6788 0 snd_seq_oss 30464 0 snd_seq_midi_event 10880 1 snd_seq_oss snd_seq 47664 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 10764 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 38144 0 snd_mixer_oss 17024 1 snd_pcm_oss snd_pcm 68740 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss tg3 113156 0 snd_timer 22152 2 snd_seq,snd_pcm sg 29620 0 libphy 23936 1 tg3 dcdbas 11040 0 snd 52772 11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer parport_pc 27812 1 serio_raw 9092 0 rtc_cmos 13868 0 rtc_core 18460 1 rtc_cmos button 10384 0 soundcore 10848 1 snd parport 35820 2 lp,parport_pc snd_page_alloc 12424 2 snd_intel8x0,snd_pcm rtc_lib 7040 1 rtc_core i2c_i801 12432 0 pcspkr 6656 0 i2c_core 25748 1 i2c_i801 ata_piix 24836 2 libata 156000 1 ata_piix sd_mod 27800 3 scsi_mod 142484 4 usb_storage,sg,libata,sd_mod ext3 112520 1 jbd 45588 1 ext3 uhci_hcd 23440 0 ohci_hcd 24336 0 ehci_hcd 33932 0 > But, did you check if the modules were loaded? Can you post lsmod > output? Yes. I have checked and the required modules were loaded. Please see above for 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 To get the debug messages from storage drivers, I have enabled some of the options in the make memuconfig menu. I brief, my question is, how can I get the debug messages from SCSI files like hosts.c, scsi.c etc. These files are existing in the /usr/src/kernels/linux-2.6.28/drivers/scsi directory. Any suggestions will be greatly appreciated. > --- > | 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? This is related to the Fedora Core 10 system where as all the above procedure is related to the CENTOS 5.2 system. However, my question here is (on Fedora Core 10), I am not able to set the scsi_mod as a MODULE in the make menuconfig. So, how can I set it as a MODULE? Any ideas may be helpful to me. Thanks and Regards, Srinivas G
_______________________________________________ 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