Re: Wierd problem with current GIT version of open-iscsi

2009-07-16 Thread Mike Christie

On 07/15/2009 04:56 PM, Donald Williams wrote:
 Thanks.  It's working on my test VM after running a #depmod -a   However,
 after a reboot you have to do #depmod -a again. Then relogin your targets.

Something else might be wrong then. It should be getting set up in 
/lib/modules/your-kernel/modules.dep.

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



Wierd problem with current GIT version of open-iscsi

2009-07-15 Thread Donald Williams
Mike,

I decided to try the current repository version (as of 3PM, 7/15).  Compiled
and installed w/o issue.  Rebooted and I couldn't connect to my EQL targets.
The login process complained no iSCSI driver.So I installed 2.0-871
from the website tar ball.   Rebooted, same problem.  Tried an older kernel,
2.6.24-23, came up fine.   Installed (stupidly) the git version on that
kernel, reboot, couldn't log in either.  Again, trying to downgrade failed.
 Installed an even older kernel, 2.6.24-22 installed 871 from the tar ball,
that worked fine.   Removed the modified kernels and re-installed one,
2.6.24-24, then installed 871 from tar ball, works fine.
 I'm running ubuntu 8.04 LTS.  2.6.24-24-generic kernel right from ubuntu.

Is this anything you've seen?

 What I see in the log that's different is, non-working configs had these
errors.

Jul 15 15:17:56 ietd-tape kernel: [   73.760376] Loading iSCSI transport
class v2.0-871.
Jul 15 15:17:56 ietd-tape kernel: [   73.789017] iscsi_tcp: Unknown symbol
iscsi_tcp_segment_done
Jul 15 15:17:56 ietd-tape kernel: [   73.789230] iscsi_tcp: Unknown symbol
iscsi_segment_seek_sg
Jul 15 15:17:56 ietd-tape kernel: [   73.789357] iscsi_tcp: Unknown symbol
iscsi_tcp_segment_unmap
Jul 15 15:17:56 ietd-tape kernel: [   73.789771] iscsi_tcp: Unknown symbol
iscsi_tcp_hdr_recv_prep
Jul 15 15:17:56 ietd-tape kernel: [   73.789901] iscsi_tcp: Unknown symbol
iscsi_tcp_cleanup_task
Jul 15 15:17:56 ietd-tape kernel: [   73.790156] iscsi_tcp: Unknown symbol
iscsi_tcp_conn_setup
Jul 15 15:17:56 ietd-tape kernel: [   73.790445] iscsi_tcp: Unknown symbol
iscsi_tcp_r2tpool_alloc
Jul 15 15:17:56 ietd-tape kernel: [   73.790757] iscsi_tcp: Unknown symbol
iscsi_tcp_r2tpool_free
Jul 15 15:17:56 ietd-tape kernel: [   73.790953] iscsi_tcp: Unknown symbol
iscsi_tcp_task_xmit
Jul 15 15:17:56 ietd-tape kernel: [   73.791162] iscsi_tcp: Unknown symbol
iscsi_tcp_recv_skb
Jul 15 15:17:56 ietd-tape kernel: [   73.791348] iscsi_tcp: Unknown symbol
iscsi_segment_init_linear
Jul 15 15:17:56 ietd-tape kernel: [   73.791426] iscsi_tcp: Unknown symbol
iscsi_tcp_conn_get_stats
Jul 15 15:17:56 ietd-tape kernel: [   73.791502] iscsi_tcp: Unknown symbol
iscsi_tcp_task_init
Jul 15 15:17:56 ietd-tape kernel: [   73.791703] iscsi_tcp: Unknown symbol
iscsi_tcp_dgst_header
Jul 15 15:17:56 ietd-tape kernel: [   73.791788] iscsi_tcp: Unknown symbol
iscsi_tcp_conn_teardown

 The last boot up which works shows this:

Jul 15 15:46:39 ietd-tape kernel: [   65.114950] Loading iSCSI transport
class v2.0-724.
Jul 15 15:46:39 ietd-tape kernel: [   65.124429] iscsi: registered transport
(tcp)
Jul 15 15:46:39 ietd-tape kernel: [   65.189444] iscsi: registered transport
(iser)
Jul 15 15:46:39 ietd-tape kernel: [   65.555085] scsi6 : iSCSI Initiator
over TCP/IP
Jul 15 15:46:39 ietd-tape kernel: [   65.599434] scsi7 : iSCSI Initiator
over TCP/IP
Jul 15 15:46:39 ietd-tape kernel: [   65.603998] scsi8 : iSCSI Initiator
over TCP/IP
Jul 15 15:46:39 ietd-tape kernel: [   65.608528] scsi9 : iSCSI Initiator
over TCP/IP
Jul 15 15:46:39 ietd-tape kernel: [   65.613056] scsi10 : iSCSI Initiator
over TCP/IP
Jul 15 15:46:39 ietd-tape kernel: [   65.617812] scsi11 : iSCSI Initiator
over TCP/IP
Jul 15 15:46:40 ietd-tape kernel: [   66.453071] scsi 11:0:0:0:
Direct-Access EQLOGIC  100E-00  4.1  PQ: 0 ANSI: 5
Jul 15 15:46:40 ietd-tape kernel: [   66.453459] sd 11:0:0:0: [sdb]
2097162240 512-byte hardware sectors (1073747 MB)
Jul 15 15:46:40 ietd-tape kernel: [   66.455149] scsi 10:0:0:0:
Direct-Access EQLOGIC  100E-00  4.1  PQ: 0 ANSI: 5
Jul 15 15:46:40 ietd-tape kernel: [   66.455757] sd 10:0:0:0: [sdc]
2097162240 512-byte hardware sectors (1073747 MB)
Jul 15 15:46:40 ietd-tape kernel: [   66.456174] sd 11:0:0:0: [sdb] Write
Protect is off
Jul 15 15:46:40 ietd-tape kernel: [   66.456659] scsi 8:0:0:0: Direct-Access
EQLOGIC  100E-00  4.1  PQ: 0 ANSI: 5
Jul 15 15:46:40 ietd-tape kernel: [   66.457095] sd 11:0:0:0: [sdb] Write
cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jul 15 15:46:40 ietd-tape kernel: [   66.457262] sd 8:0:0:0: [sdd] 524298240
512-byte hardware sectors (268441 MB)
Jul 15 15:46:40 ietd-tape kernel: [   66.457926] scsi 7:0:0:0: Direct-Access
EQLOGIC  100E-00  4.1  PQ: 0 ANSI: 5
Jul 15 15:46:40 ietd-tape kernel: [   66.458148] sd 11:0:0:0: [sdb]
2097162240 512-byte hardware sectors (1073747 MB)
Jul 15 15:46:40 ietd-tape kernel: [   66.458539] sd 10:0:0:0: [sdc] Write
Protect is off
Jul 15 15:46:40 ietd-tape kernel: [   66.458612] sd 7:0:0:0: [sde] 419450880
512-byte hardware sectors (214759 MB)
Jul 15 15:46:40 ietd-tape kernel: [   66.459105] scsi 6:0:0:0: Direct-Access
EQLOGIC  100E-00  4.1  PQ: 0 ANSI: 5
Jul 15 15:46:40 ietd-tape kernel: [   66.461939] sd 11:0:0:0: [sdb] Write
Protect is off
Jul 15 15:46:40 ietd-tape kernel: [   66.462420] sd 8:0:0:0: [sdd] Write
Protect is off
Jul 15 15:46:40 ietd-tape kernel: [   66.462651] sd 11:0:0:0: [sdb] 

Re: Wierd problem with current GIT version of open-iscsi

2009-07-15 Thread Donald Williams
Thanks.  It's working on my test VM after running a #depmod -a   However,
after a reboot you have to do #depmod -a again. Then relogin your targets.

 ext3 filesystem, noatime, read ahead set to 8K, Jumbo frames set to 9000.
It's a few MB slower with standard frames.

A quick 'dt' run with one GbE interface.
r...@ubuntu-804-svr:/src/dt.d# ./dt of=/mnt/test/test.dt bs=8k
pattern=0x3939393
   9393939 disable=compare capacity=5G

Write Statistics:
 Total records processed: 655360 @ 8192 bytes/record (8.000 Kbytes)
 Total bytes transferred: 5368709120 (5242880.000 Kbytes, 5120.000
Mbytes)
  Average transfer rates: 101181853 bytes/sec, 98810.403 Kbytes/sec
 Number I/O's per second: 12351.300
  Total passes completed: 0/1
   Total errors detected: 0/1
  Total elapsed time: 00m53.06s
   Total system time: 00m16.00s
 Total user time: 00m00.13s
   Starting time: Wed Jul 15 17:52:35 2009
 Ending time: Wed Jul 15 17:53:28 2009


Read Statistics:
 Total records processed: 655360 @ 8192 bytes/record (8.000 Kbytes)
 Total bytes transferred: 5368709120 (5242880.000 Kbytes, 5120.000
Mbytes)
  Average transfer rates: 109386901 bytes/sec, 106823.146 Kbytes/sec
 Number I/O's per second: 13352.893
  Total passes completed: 1/1
   Total errors detected: 0/1
  Total elapsed time: 00m49.08s
   Total system time: 00m05.67s
 Total user time: 00m00.03s
   Starting time: Wed Jul 15 17:52:35 2009
 Ending time: Wed Jul 15 17:54:17 2009


Total Statistics:
 Output device/file name: /mnt/test/test.dt (device type=regular)
 Type of I/O's performed: sequential (forward)
Data pattern string used: '0x39393939393939'
   Data pattern read/written: 0x39337830 (data compare disabled)
 Total records processed: 1310720 @ 8192 bytes/record (8.000 Kbytes)
 Total bytes transferred: 10737418240 (10485760.000 Kbytes, 10240.000
Mbytes)
  Average transfer rates: 105124518 bytes/sec, 102660.662 Kbytes/sec
 Number I/O's per second: 12832.583
  Total passes completed: 1/1
   Total errors detected: 0/1
  Total elapsed time: 01m42.14s
   Total system time: 00m21.67s
 Total user time: 00m00.16s
   Starting time: Wed Jul 15 17:52:35 2009
 Ending time: Wed Jul 15 17:54:17 2009

On Wed, Jul 15, 2009 at 4:40 PM, Donald Williams don.e.willi...@gmail.com
wrote:

 I'll try running depmod and see if that helps.
 I'm not great a hacking Makefiles.   I'll see what I can do.
  I'm going to use a test VM this time though.  Not my server.  :-D
 Thx.

 On Wed, Jul 15, 2009 at 4:25 PM, Mike Christie micha...@cs.wisc.edu
wrote:

 Donald Williams wrote:
  Mike,
 
  I decided to try the current repository version (as of 3PM, 7/15).
 Compiled
  and installed w/o issue.  Rebooted and I couldn't connect to my EQL
targets.
  The login process complained no iSCSI driver.So I installed
2.0-871
  from the website tar ball.   Rebooted, same problem.  Tried an older
kernel,
  2.6.24-23, came up fine.   Installed (stupidly) the git version on that
  kernel, reboot, couldn't log in either.  Again, trying to downgrade
failed.
   Installed an even older kernel, 2.6.24-22 installed 871 from the tar
ball,
  that worked fine.   Removed the modified kernels and re-installed one,
  2.6.24-24, then installed 871 from tar ball, works fine.
   I'm running ubuntu 8.04 LTS.  2.6.24-24-generic kernel right from
ubuntu.
 
  Is this anything you've seen?
 
   What I see in the log that's different is, non-working configs had
these
  errors.
 
  Jul 15 15:17:56 ietd-tape kernel: [   73.760376] Loading iSCSI
transport
  class v2.0-871.
  Jul 15 15:17:56 ietd-tape kernel: [   73.789017] iscsi_tcp: Unknown
symbol
  iscsi_tcp_segment_done

 I think you or the Makefile just needs to run depmod.

 There is a new iscsi module, so there is now

 iscsi_tcp
 libiscsi_tcp
 libiscsi
 scsi_transport_iscsi

 The above error log messages indicated that you are using a newer
 iscsi_tcp module but the libiscsi_tcp is not getting loaded.

 I think we have been getting lucky and since the older modules were the
 same as the distro they got loaded right. Now with the new module we
 should probably add a depmod in the Makefile somewhere. Do you by any
 chance know how to hack Makefiles?

 


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