Hello,<br><br>Thank you for your answer. I&#39;ve done all your steps with your .spec, but it seems to be the same :<br><br>Aug 26 12:44:57 lfs1 kernel: scsi3 : iSCSI Initiator over TCP/IP<br>Aug 26 12:44:57 lfs1 kernel: connection1:0: Could not create connection due to crc32c loading error. Make sure the crc32c module is built as a module or into the kernel<br>
Aug 26 12:44:57 lfs1 iscsid: Could not set session1 priority. READ/WRITE throughout and latency could be affected. <br>Aug 26 12:44:57 lfs1 iscsid: Received iferror -12<br>Aug 26 12:44:57 lfs1 iscsid: can&#39;t create connection (0)<br>
<br>root : lfs1 - ~&gt; uname -a<br>Linux lfs1 2.6.18-128.1.14.el5_lustre.1.8.1 #1 SMP Mon Jul 20 07:30:22 MDT 2009 x86_64 x86_64 x86_64 GNU/Linux<br><br>root : lfs1 - ~&gt; rpm -qa | grep iscsi<br>open-iscsi-2.0-871_2.6.18_128.1.14.el5_lustre.1.8.1<br>
<br>I use open-scsi instead of iscsi-initiator but the problem still there.<br>Have you any suggestions? Why don&#39;t you have the problem if you have the same config? do you have crc32c as a module?<br><br>Thanx you<br>
Best regards<br><br>Hindisvik<br><br><br><br><br><br><br><div class="gmail_quote">2009/8/26 Shuichi Ihara <span dir="ltr">&lt;<a href="mailto:ihara@sun.com">ihara@sun.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Yes, it&#39;s now working well on my test environment. I built a rpm for<br>
the patched kernel by myself. Well, you also need to stop default iscsi-initiator<br>
service which is enabled by iscsi-initiator-utils. (/etc/init.d/iscsi stop)<br>
<br>
Try attached my simple rpm spec file and here is a quick procedure.<br>
1. download tarball open-iscsi-2.0-871.tar.gz from <a href="http://www.open-iscsi.org" target="_blank">www.open-iscsi.org</a><br>
2. build open-scsi rpm package with attached spec file<br>
3. uninstall iscsi-initiator-utils package<br>
4. install open-iscsi-2.0-871_xxxx and start initiator by /etc/init.d/open-iscsi start<br>
<br>
<br>
Reykjavik hindisvik wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi,<br>
<br>
Thank you for your answer.<br>
I&#39;ve tried compiling open-isicsi, but it seems to be the same :<br>
Aug 26 10:40:45 lfs1 kernel: connection1:0: Could not create connection due to crc32c loading error. Make sure the crc32c module is built as a module or into the kernel<br>
<br>
I&#39;ve just compiled open-iscsi like that :<br>
make KSRC=/usr/src/kernels/2.6.18-128.1.14.el5_lustre.1.8.1-x86_64<br>
Evrything seemed to be OK. But it&#39;s impossible to mount ISCSI target with this way too...<br>
Have ytou compiled it like that? Evrything works fine for you? Could you tell me the rpm you use?<br>
<br>
Someone have another idea?<br>
<br>
Thank you<br>
<br>
Best regards<br>
<br>
Hindisvik<br>
<br></div>
2009/8/26 Shuichi Ihara &lt;<a href="mailto:ihara@sun.com" target="_blank">ihara@sun.com</a> &lt;mailto:<a href="mailto:ihara@sun.com" target="_blank">ihara@sun.com</a>&gt;&gt;<div class="im"><br>
<br>
<br>
  Hi,<br>
<br>
  I saw that similar problem was posted on ofed list and I got same<br>
  error before.<br>
  <a href="http://lists.openfabrics.org/pipermail/general/2009-June/060027.html" target="_blank">http://lists.openfabrics.org/pipermail/general/2009-June/060027.html</a><br>
<br>
  I&#39;m also using the lustre with iscsi for just testing, but I built<br>
  open-iscsi<br>
  from the tarball and installed it. <a href="http://www.open-iscsi.org/" target="_blank">http://www.open-iscsi.org/</a><br>
<br>
  Hope this helps.<br>
<br>
  Thanks<br>
  -Ihara<br>
<br>
<br>
  Reykjavik hindisvik wrote:<br>
<br>
<br>
<br>
    2009/8/26 Reykjavik hindisvik &lt;<a href="mailto:hindisvik@gmail.com" target="_blank">hindisvik@gmail.com</a><br></div>
    &lt;mailto:<a href="mailto:hindisvik@gmail.com" target="_blank">hindisvik@gmail.com</a>&gt; &lt;mailto:<a href="mailto:hindisvik@gmail.com" target="_blank">hindisvik@gmail.com</a><div><div></div><div class="h5"><br>

    &lt;mailto:<a href="mailto:hindisvik@gmail.com" target="_blank">hindisvik@gmail.com</a>&gt;&gt;&gt;<br>
<br>
<br>
      Hi,<br>
<br>
      Thank you for your answer, it was a great idea to install      kernel-ib-1.4.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm<br>
    since it<br>
      provides me the ISCSI modules needed! Thanx for that.<br>
<br>
      So now, I can start iscsid service and launch :<br>
      iscsiadm -m discovery --type sendtargets --portal 192.168.0.253<br>
      ... but I still have a problem when I want to connect my target :<br>
      iscsiadm -m node -T iqn.2008-07.fr.xxx:xxx.disk1.sys1.xyz -p<br>
      192.168.0.253 -l<br>
<br>
      It gives me the following error :<br>
      iscsiadm: Could not login to [iface: default, target:<br>
      iqn.2008-07.fr.xxx:xxx.disk1.sys1.xyz, portal:<br>
    192.168.0.253,3260]:<br>
      iscsiadm: initiator reported error (9 - internal error)<br>
<br>
      Aug 26 09:19:24 lfs1 kernel: session2: couldn&#39;t create a new<br>
      connection.&lt;6&gt;scsi7 : iSCSI Initiator over TCP/IP<br>
      Aug 26 09:19:24 lfs1 kernel: connection3:0: Could not create<br>
      connection due to crc32c loading error. Make sure the crc32c<br>
    module<br>
      is built as a module or into the kernel<br>
      Aug 26 09:19:24 lfs1 iscsid: received iferror -12<br>
      Aug 26 09:19:24 lfs1 iscsid: can&#39;t create connection (115)<br>
<br>
      It seems there&#39;s a problem with the crc32c module, which is<br>
    needed<br>
      to mount an ISCSI target. If I use a non lustre patched<br>
    kernel like<br>
      : 2.6.18-128.1.14.el5 the module is compiled ionto the kernel and<br>
      everything works fine.<br>
<br>
      What can I do?<br>
      Have someone encountered this problem?<br>
<br>
      Thank you by advance.<br>
<br>
      Best regards,<br>
<br>
      Hindisvik<br>
<br>
<br>
<br>
      2009/8/25 Arne Wiebalck &lt;<a href="mailto:arne.wiebalck@cern.ch" target="_blank">arne.wiebalck@cern.ch</a><br>
    &lt;mailto:<a href="mailto:arne.wiebalck@cern.ch" target="_blank">arne.wiebalck@cern.ch</a>&gt;<br></div></div>
      &lt;mailto:<a href="mailto:arne.wiebalck@cern.ch" target="_blank">arne.wiebalck@cern.ch</a> &lt;mailto:<a href="mailto:arne.wiebalck@cern.ch" target="_blank">arne.wiebalck@cern.ch</a>&gt;&gt;&gt;<div><div></div>
<div class="h5"><br>
<br>
<br>
        Hi Hindisvik,<br>
<br>
        iSCSI support is switched off in the lustre kernels, but<br>
    it should<br>
        be available from the kernel-ib package, see this thread:<br>
<br>
            <a href="http://lists.lustre.org/pipermail/lustre-discuss/2009-July/011068.html" target="_blank">http://lists.lustre.org/pipermail/lustre-discuss/2009-July/011068.html</a><br>
<br>
        I tried that with 1.8.0, but did not succeed: the iSCSI<br>
    modules<br>
        could not be loaded, so I compiled my own kernel in the end.<br>
<br>
        I did not check with 1.8.1, but if you succeed I would be<br>
    very<br>
        interested to know.<br>
<br>
        HTH,<br>
        Arne<br>
<br>
<br>
<br>
<br>
<br>
        Reykjavik hindisvik wrote:<br>
<br>
          Hello,<br>
<br>
          I&#39;ve downloaded the last release of Lustre (1.8.1) in<br>
    rpm :<br>
<br>
          e2fsprogs-1.41.6.sun1-0redhat.rhel5.x86_64.rpm<br>
              *kernel-lustre-2.6.18-128.1.14.el5_lustre.1.8.1.x86_64.rpm*<br>
          lustre-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm<br>
              lustre-client-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm<br>
              lustre-client-modules-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm<br>
              lustre-ldiskfs-3.0.9-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm<br>
              lustre-modules-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm<br>
<br>
          I&#39;d like to use Lustre with a ISCSI storage device,<br>
    and it<br>
          seems this kernel does not support ISCSI (?!)<br>
          (scsi_transport_iscsi.ko). Have someone encouter this<br>
          problem? Is there another version with SCSI support? What<br>
          can I do?<br>
<br>
          Thank you be advance for any suggestion.<br>
<br>
          Best regards<br>
<br>
          Hindisvik<br>
<br>
<br>
<br>
<br>
    ------------------------------------------------------------------------<br>
<br>
    _______________________________________________<br>
    Lustre-discuss mailing list<br>
    <a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br></div></div>
    &lt;mailto:<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a>&gt;<div class="im"><br>
    <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</div></blockquote>
<br>%define kver %(uname -r)<br>
%define kver2 %(echo %kver | sed -e &#39;s/-/_/g&#39;)<br>
Name:      open-iscsi<br>
Version:    2.0<br>
#Release:    871%{?dist}<br>
Release:    871%{?dist}_%{kver2}<br>
Summary:    Open-iSCSI Software Initiator<br>
Group:     System Environment/Daemons<br>
License:    GPLv2<br>
Source0:    %{name}-%{version}.tar.gz<br>
BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)<br>
Requires(post): /sbin/chkconfig<br>
Requires(preun): /sbin/chkconfig<br>
Requires(preun): /sbin/service<br>
<br>
%description<br>
Open-iSCSI is a high-performance, transport independent, multi-platform<br>
implementation of RFC3720 iSCSI.<br>
<br>
%prep<br>
%setup -q<br>
<br>
%build<br>
make<br>
<br>
%install<br>
rm -rf $RPM_BUILD_ROOT<br>
make DESTDIR=${RPM_BUILD_ROOT} install<br>
<br>
%clean<br>
rm -rf $RPM_BUILD_ROOT<br>
<br>
%post<br>
/sbin/chkconfig --add open-iscsi<br>
(cd /lib/modules/%{kver}/; depmod -a)<br>
<br>
%preun<br>
if [ $1 = 0 ]; then<br>
    /sbin/service open-iscsi stop &gt;/dev/null 2&gt;&amp;1<br>
    /sbin/chkconfig --del open-iscsi<br>
fi<br>
(cd /lib/modules/%{kver}/; depmod -a)<br>
<br>
%files<br>
%defattr(-,root,root)<br>
/lib/modules/%{kver}/kernel/drivers/scsi/iscsi_tcp.ko<br>
/lib/modules/%{kver}/kernel/drivers/scsi/libiscsi.ko<br>
/lib/modules/%{kver}/kernel/drivers/scsi/libiscsi_tcp.ko<br>
/lib/modules/%{kver}/kernel/drivers/scsi/scsi_transport_iscsi.ko<br>
/etc/init.d/open-iscsi<br>
/etc/iscsi/ifaces/iface.example<br>
/sbin/iscsi-iname<br>
/sbin/iscsi_discovery<br>
/sbin/iscsiadm<br>
/sbin/iscsid<br>
%doc %{_mandir}/man8/*<br>
<br>
%changelog<br>
<br></blockquote></div><br>