Re: Help: Driver not found Problem

2009-11-12 Thread bjornnoss



On 11 Nov, 17:24, Mike Christie micha...@cs.wisc.edu wrote:
 Could you tell me when you run make install or depmod -a does a file in
 /lib/modules/$your_kernel/modules.dep get updated or created? In that
 file do you see some info for libiscsi_tcp? When you reboot your system
 is the file still there?

It works fine after reboot, so any changes the first depmod -a did is
still there.
And if a now (when its working) run depmod -a again, all the
timestamps on the files i the /lib/modules/$your_kernel/ dir is
updated, but the filesizes is the same.
Output of cat modules.dep | grep -B 2 -A 2 iscsi_tcp :
/lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/qla1280.ko: /
lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/ips.ko: /lib/
modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/iscsi_tcp.ko: /
lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/libiscsi.ko /lib/
modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/
scsi_transport_iscsi.ko /lib/modules/2.6.26-2-openvz-amd64/kernel/
drivers/scsi/scsi_mod.ko
/lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/mvsas.ko: /lib/
modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/libsas/libsas.ko /
lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/ata/libata.ko /lib/
modules/2.6.26-2-openvz-amd64/kernel/drivers/acpi/dock.ko /lib/modules/
2.6.26-2-openvz-amd64/kernel/drivers/base/firmware_class.ko /lib/
modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/
scsi_transport_sas.ko /lib/modules/2.6.26-2-openvz-amd64/kernel/
drivers/scsi/scsi_mod.ko
/lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/BusLogic.ko: /
lib/modules/2.6.26-2-openvz-amd64/kernel/drivers/scsi/scsi_mod.ko

does this help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: Help: Driver not found Problem

2009-11-11 Thread bjornnoss



On 29 Okt, 19:01, Mike Christie micha...@cs.wisc.edu wrote:
 Lee Amy wrote:

  It builds well but when I want to load the module it always shows the
  error messages I pasted.

  Could you tell me how to deal with it?

 I am still trying to figure that out :)

 If after you do make install if you do a

 depmod -a

 then try modprobe iscsi_tcp does that load all the modules
 iscsi_tcp
 libiscsi_tcp
 libiscsi
 scsi_transport_iscsi

 ?

Hi, I had the exact same problem as Eric and I tried to do: depmod -a;
modprobe iscsi_tcp and it seems to work:
lsmod | grep iscsi_tcp
iscsi_tcp  17036  0
libiscsi_tcp   22148  1 iscsi_tcp
libiscsi   45712  2 iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi36512  3 iscsi_tcp,libiscsi
scsi_mod  161016  10
iscsi_tcp,libiscsi,scsi_transport_iscsi,sg,sr_mod,usb_storage,ses,sd_mod,libata,megaraid_sas

So thank you...

Why did it not work the first time, and do have have to issue the
depmod -a command after every reboot of the system before modprobe
iscsi_tcp witch is done in the open-iscsi startup script? Any other
things a have to be awere of befause of this?

Enviroment: Debian Lenny x64
iSCSI: Dell PowerVault MD3000i

-bjornoss
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---