Re: [openib-general] [openfabrics-ewg] OFED 1.1-RC7 build problem on SLES10

2006-10-18 Thread Erez Zilber
When I ran the install script without having the kernel sources rpm on 
SLES 10, I had to wait several minutes before it failed. Shouldn't the 
script check such dependencies before starting the build process?

Erez

Vladimir Sokolovsky wrote:
>
> Hi,
> OFED installation script check that the directory
> /lib/modules/`uname -r`/build/ and the file
> /lib/modules/`uname -r`/build/Makefle exist.
> It does not check for kernel-source RPM because of kernels from
> kernel.org support.
>
>
> --
>
> Regards,
> Vladimir
>
> On Tue, 2006-10-17 at 15:45 -0700, Scott Weitzenkamp (sweitzen) wrote:
> > You need the kernel-source RPM, I guess the OFED install.sh should check
> > for that RPM.
> >
> > svbu-qa-opteron-1:~ # uname -a
> > Linux svbu-qa-opteron-1 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC
> > 2006 i68
> > 6 athlon i386 GNU/Linux
> > svbu-qa-opteron-1:~ # rpm -qa | fgrep kernel
> > kernel-source-2.6.16.21-0.8
> > kernel-smp-2.6.16.21-0.8
> > kernel-ib-1.1-2.6.16.21_0.8_smp
> > kernel-ib-devel-1.1-2.6.16.21_0.8_smp
> > svbu-qa-opteron-1:~ # ls /usr/src/linux-2.6.16.21-0.8-obj/i386/smp
> > .config Makefilearch include2
> > .kernelrelease  Module.symvers  include  scripts
> >
> > Scott Weitzenkamp
> > SQA and Release Manager
> > Server Virtualization Business Unit
> > Cisco Systems
> > 
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Chris Dennett
> > > Sent: Tuesday, October 17, 2006 12:46 PM
> > > To: [EMAIL PROTECTED]; openib-general@openib.org
> > > Subject: [openib-general] OFED 1.1-RC7 build problem on SLES10
> > >
> > > I've been trying to install OFED 1.1 RC7 on an x86 server
> > > with a fresh install
> > > of SLES10 (32-bit).  It errors out when trying to build the
> > > kernel modules. 
> > > I've included what I think are the relevant log messages
> > > below.  I've tried
> > > installing everything (minus iser and tvflash) or just the
> > > modules needed for
> > > SRP.  I've installed 1.1 RC7 successfully on other RedHat
> > > servers without any
> > > problems.  I am installing as root.  Any help would be appreciated.
> > >
> > > Thanks.
> > >
> > > -Chris
> > >
> > > ==
> > > + make kernel
> > > Building kernel modules
> > > Kernel version: 2.6.16.21-0.8-smp
> > > Modules directory: //lib/modules/2.6.16.21-0.8-smp
> > > Kernel sources: /lib/modules/2.6.16.21-0.8-smp/build
> > > env EXTRA_CFLAGS=" -I/var/tmp/OFEDRPM/BUILD/openib-1.1/include
> > > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include \
> > >
> > > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/ipoib \
> > >
> > > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/debug" \
> > > make -C /lib/modules/2.6.16.21-0.8-smp/build
> > > SUBDIRS="/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband"
> > > KERNELRELEASE=2.6.16.21-0.8-smp \
> > > EXTRAVERSION=.21-0.8-smp V=1  \
> > > CONFIG_INFINIBAND=m \
> > > CONFIG_INFINIBAND_IPOIB=m \
> > > CONFIG_INFINIBAND_SDP= \
> > > CONFIG_INFINIBAND_SRP=m \
> > > CONFIG_INFINIBAND_USER_MAD=m \
> > > CONFIG_INFINIBAND_USER_ACCESS=m \
> > > CONFIG_INFINIBAND_ADDR_TRANS=y \
> > > CONFIG_INFINIBAND_MTHCA=m \
> > > CONFIG_INFINIBAND_IPOIB_DEBUG=y \
> > > CONFIG_INFINIBAND_ISER= \
> > > CONFIG_INFINIBAND_EHCA= \
> > > CONFIG_INFINIBAND_RDS= \
> > > CONFIG_INFINIBAND_RDS_DEBUG= \
> > > CONFIG_INFINIBAND_IPOIB_DEBUG_DATA= \
> > > CONFIG_INFINIBAND_SDP_SEND_ZCOPY= \
> > > CONFIG_INFINIBAND_SDP_RECV_ZCOPY= \
> > > CONFIG_INFINIBAND_SDP_DEBUG= \
> > > CONFIG_INFINIBAND_SDP_DEBUG_DATA= \
> > > CONFIG_INFINIBAND_IPATH= \
> > > CONFIG_INFINIBAND_MTHCA_DEBUG=y \
> > > CONFIG_INFINIBAND_MADEYE= \
> > > LINUXINCLUDE='-I/var/tmp/OFEDRPM/BUILD/openib-1.1/include \
> > >
> > > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include \
> > > -Iinclude \
> > > $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
> > > -include include/linux/autoconf.h \
> > > -include
> > > /var/tmp/OFEDRPM/BUILD/openib-1.1/include/linux/autoconf.h \
> > > ' \
> > > modules
> > > make[1]: Entering directory
> > > `/usr/src/linux-2.6.16.21-0.8-obj/i386/smp'
> > > make[1]: *** No rule to make target `modules'.  Stop.
> > > make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.8-obj/i386/smp'
> > > make: *** [kernel] Error 2
> > > error: Bad exit status from /var/tmp/rpm-tmp.92052 (%install)
> > >
> > >
> > > RPM build errors:
> > > user vlad does not exist - using root
> > > group mtl does not exist - using root
> > > user vlad does not exist - using root
> > > group mtl does not exist - using root
> > > Bad exit status from /var/tmp/rpm-tmp.92052 (%install)
> > > ERROR: Failed executing "rp

Re: [openib-general] [openfabrics-ewg] OFED 1.1-RC7 build problem on SLES10

2006-10-18 Thread Vladimir Sokolovsky
Hi,
OFED installation script check that the directory 
/lib/modules/`uname -r`/build/ and the file 
/lib/modules/`uname -r`/build/Makefle exist. 
It does not check for kernel-source RPM because of kernels from
kernel.org support.


-- 

Regards,
Vladimir

On Tue, 2006-10-17 at 15:45 -0700, Scott Weitzenkamp (sweitzen) wrote:
> You need the kernel-source RPM, I guess the OFED install.sh should check
> for that RPM.
> 
> svbu-qa-opteron-1:~ # uname -a
> Linux svbu-qa-opteron-1 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC
> 2006 i68
> 6 athlon i386 GNU/Linux
> svbu-qa-opteron-1:~ # rpm -qa | fgrep kernel
> kernel-source-2.6.16.21-0.8
> kernel-smp-2.6.16.21-0.8
> kernel-ib-1.1-2.6.16.21_0.8_smp
> kernel-ib-devel-1.1-2.6.16.21_0.8_smp
> svbu-qa-opteron-1:~ # ls /usr/src/linux-2.6.16.21-0.8-obj/i386/smp
> .config Makefilearch include2
> .kernelrelease  Module.symvers  include  scripts
> 
> Scott Weitzenkamp
> SQA and Release Manager
> Server Virtualization Business Unit
> Cisco Systems
>  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Chris Dennett
> > Sent: Tuesday, October 17, 2006 12:46 PM
> > To: [EMAIL PROTECTED]; openib-general@openib.org
> > Subject: [openib-general] OFED 1.1-RC7 build problem on SLES10
> > 
> > I've been trying to install OFED 1.1 RC7 on an x86 server 
> > with a fresh install 
> > of SLES10 (32-bit).  It errors out when trying to build the 
> > kernel modules.  
> > I've included what I think are the relevant log messages 
> > below.  I've tried 
> > installing everything (minus iser and tvflash) or just the 
> > modules needed for 
> > SRP.  I've installed 1.1 RC7 successfully on other RedHat 
> > servers without any 
> > problems.  I am installing as root.  Any help would be appreciated.
> > 
> > Thanks.
> > 
> > -Chris
> > 
> > ==
> > + make kernel
> > Building kernel modules
> > Kernel version: 2.6.16.21-0.8-smp
> > Modules directory: //lib/modules/2.6.16.21-0.8-smp
> > Kernel sources: /lib/modules/2.6.16.21-0.8-smp/build
> > env EXTRA_CFLAGS=" -I/var/tmp/OFEDRPM/BUILD/openib-1.1/include 
> > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include \
> > 
> > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/ipoib \
> > 
> > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/debug" \
> > make -C /lib/modules/2.6.16.21-0.8-smp/build 
> > SUBDIRS="/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband" 
> > KERNELRELEASE=2.6.16.21-0.8-smp \
> > EXTRAVERSION=.21-0.8-smp V=1  \
> > CONFIG_INFINIBAND=m \
> > CONFIG_INFINIBAND_IPOIB=m \
> > CONFIG_INFINIBAND_SDP= \
> > CONFIG_INFINIBAND_SRP=m \
> > CONFIG_INFINIBAND_USER_MAD=m \
> > CONFIG_INFINIBAND_USER_ACCESS=m \
> > CONFIG_INFINIBAND_ADDR_TRANS=y \
> > CONFIG_INFINIBAND_MTHCA=m \
> > CONFIG_INFINIBAND_IPOIB_DEBUG=y \
> > CONFIG_INFINIBAND_ISER= \
> > CONFIG_INFINIBAND_EHCA= \
> > CONFIG_INFINIBAND_RDS= \
> > CONFIG_INFINIBAND_RDS_DEBUG= \
> > CONFIG_INFINIBAND_IPOIB_DEBUG_DATA= \
> > CONFIG_INFINIBAND_SDP_SEND_ZCOPY= \
> > CONFIG_INFINIBAND_SDP_RECV_ZCOPY= \
> > CONFIG_INFINIBAND_SDP_DEBUG= \
> > CONFIG_INFINIBAND_SDP_DEBUG_DATA= \
> > CONFIG_INFINIBAND_IPATH= \
> > CONFIG_INFINIBAND_MTHCA_DEBUG=y \
> > CONFIG_INFINIBAND_MADEYE= \
> > LINUXINCLUDE='-I/var/tmp/OFEDRPM/BUILD/openib-1.1/include \
> > 
> > -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include \
> > -Iinclude \
> > $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
> > -include include/linux/autoconf.h \
> > -include 
> > /var/tmp/OFEDRPM/BUILD/openib-1.1/include/linux/autoconf.h \
> > ' \
> > modules
> > make[1]: Entering directory 
> > `/usr/src/linux-2.6.16.21-0.8-obj/i386/smp'
> > make[1]: *** No rule to make target `modules'.  Stop.
> > make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.8-obj/i386/smp'
> > make: *** [kernel] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.92052 (%install)
> > 
> > 
> > RPM build errors:
> > user vlad does not exist - using root
> > group mtl does not exist - using root
> > user vlad does not exist - using root
> > group mtl does not exist - using root
> > Bad exit status from /var/tmp/rpm-tmp.92052 (%install)
> > ERROR: Failed executing "rpmbuild --rebuild --define '_topdir 
> > /var/tmp/OFEDRPM' --define '_prefix /usr/local/ofed' --define 
> > 'build_root 
> > /var/tmp/OFED' --define 'configure_options --with-libibcommon 
> > --with-libibmad 
> > --with-libibumad --with-libibverbs --with-libmthca --with-opensm 
> > --with-librdmacm --with-openib-diags --with-srptools --with-mstflint 
> > --with-perftest --with-ipoib-mod --with-mthca-mod --with-srp-mod 
> > --with-core-mod --with-us

Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread glebn
On Tue, Oct 17, 2006 at 06:48:22PM +0200, Michael S. Tsirkin wrote:
> Quoting r. [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > Subject: Re: [openfabrics-ewg] OFED 1.1 RC7 fork() issue.
> > 
> > On Tue, Oct 17, 2006 at 10:34:23AM -0500, Tang, Changqing wrote:
> > > 
> > > >3. Fork support from kernel 2.6.12 and above is available 
> > > >provided that applications do not use threads. The fork() is 
> > > >supported as long as parent process does not run before child 
> > > >exits or calls exec().
> > > 
> > > After fork(), in child, before exec(), can we call printf(), putenv(),
> > > or even re-direct stdout/stderr ?
> > > 
> > Child can do whatever he wants (except using verbs), but parent can't use
> > verbs until child exits() or execs().
> 
> Or even write to registered pages at all.
> 
Right. Forgot that. So parent better be doing nothing, but waiting.

--
Gleb.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Michael S. Tsirkin
Quoting r. [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Subject: Re: [openfabrics-ewg] OFED 1.1 RC7 fork() issue.
> 
> On Tue, Oct 17, 2006 at 10:34:23AM -0500, Tang, Changqing wrote:
> > 
> > >3. Fork support from kernel 2.6.12 and above is available 
> > >provided that applications do not use threads. The fork() is 
> > >supported as long as parent process does not run before child 
> > >exits or calls exec().
> > 
> > After fork(), in child, before exec(), can we call printf(), putenv(),
> > or even re-direct stdout/stderr ?
> > 
> Child can do whatever he wants (except using verbs), but parent can't use
> verbs until child exits() or execs().

Or even write to registered pages at all.

-- 
MST

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Tang, Changqing

Thanks for the clarification. --CQ


>>   
>You need to make a difference between full fork support that 
>will be available only in libibverbs1.1 and the system /fork & 
>exec fork support that is depend on the kernel only and 
>available from kernel 2.6.12.
>
>See also the explanation from Gleb on this
>
>Tziporet
>

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Tziporet Koren
Tang, Changqing wrote:
> Thanks, I still use 2.6.9-34, Or Gerlitz told me that fork() support is
> only in libibverbs1.1 which is not released yet. Both OFED 1.0 and 1.1
> use libibverbs1.0, is it still true ?
>
> --CQ
>
>
>   
You need to make a difference between full fork support that will be 
available only in libibverbs1.1 and the system /fork & exec fork support 
that is depend on the kernel only and available from kernel 2.6.12.

See also the explanation from Gleb on this

Tziporet

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread glebn
On Tue, Oct 17, 2006 at 10:34:23AM -0500, Tang, Changqing wrote:
> 
> >3. Fork support from kernel 2.6.12 and above is available 
> >provided that applications do not use threads. The fork() is 
> >supported as long as parent process does not run before child 
> >exits or calls exec().
> 
> After fork(), in child, before exec(), can we call printf(), putenv(),
> or even re-direct stdout/stderr ?
> 
Child can do whatever he wants (except using verbs), but parent can't use
verbs until child exits() or execs().

--
Gleb.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Tang, Changqing

>3. Fork support from kernel 2.6.12 and above is available 
>provided that applications do not use threads. The fork() is 
>supported as long as parent process does not run before child 
>exits or calls exec().

After fork(), in child, before exec(), can we call printf(), putenv(),
or even re-direct stdout/stderr ?

--CQ


>The former can be achieved by calling wait(childpid) the later 
>can be achieved by application specific means.  Posix system() 
>call is supported.
>
>Something along those lines.
>
>--
>   Gleb.
>
>___
>openib-general mailing list
>openib-general@openib.org
>http://openib.org/mailman/listinfo/openib-general
>
>To unsubscribe, please visit 
>http://openib.org/mailman/listinfo/openib-general
>
>

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread glebn
On Tue, Oct 17, 2006 at 04:03:27PM +0200, Tziporet Koren wrote:
> > system() works because parent calls wait(). fork() and immediate
> exec()
> > may very well fail. I propose to fix the release notes.
> 
> Hi Gleb,
> Can you send me the correct description for the RN. 
> 

3. Fork support from kernel 2.6.12 and above is available provided
that applications do not use threads. The fork() is supported as long
as parent process does not run before child exits or calls exec().
The former can be achieved by calling wait(childpid) the later can be
achieved by application specific means.  Posix system() call is
supported.

Something along those lines.

--
Gleb.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread glebn
On Tue, Oct 17, 2006 at 09:02:19AM -0500, Tang, Changqing wrote:
> >>> 
> >> What kernel are you testing? system() should work (in non threaded 
> >> apps at
> >> least) with modern kernel.
> >>
> >> --
> >>Gleb.
> >>
> >> ___
> >>   
> >
> >
> > From the OFED release notes:
> >
> >3. Fork support from kernel 2.6.12 and above is available provided that
> >   applications do not use threads. Only system() or fork() 
> >and immediate
> >   exec() are supported.
> 
> Thanks, I still use 2.6.9-34, Or Gerlitz told me that fork() support is
> only in libibverbs1.1 which is not released yet. Both OFED 1.0 and 1.1
> use libibverbs1.0, is it still true ?
> 
There will be no fork support for kernel 2.6.9 in libibverbs1.1. 2.6.9
lacks interface libibverbs needs. The interface was included in kernel
2.6.16 or .17

--
Gleb.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Tziporet Koren
> system() works because parent calls wait(). fork() and immediate
exec()
> may very well fail. I propose to fix the release notes.

Hi Gleb,
Can you send me the correct description for the RN. 

Thanks,
Tziporet

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Tang, Changqing
>>> 
>> What kernel are you testing? system() should work (in non threaded 
>> apps at
>> least) with modern kernel.
>>
>> --
>>  Gleb.
>>
>> ___
>>   
>
>
> From the OFED release notes:
>
>3. Fork support from kernel 2.6.12 and above is available provided that
>   applications do not use threads. Only system() or fork() 
>and immediate
>   exec() are supported.

Thanks, I still use 2.6.9-34, Or Gerlitz told me that fork() support is
only in libibverbs1.1 which is not released yet. Both OFED 1.0 and 1.1
use libibverbs1.0, is it still true ?

--CQ


>
>Tziporet
>

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Michael S. Tsirkin
Quoting r. [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > From the OFED release notes:
> > 
> > 3. Fork support from kernel 2.6.12 and above is available provided that
> >   applications do not use threads. Only system() or fork() and immediate
> >   exec() are supported.
> > 
> system() works because parent calls wait(). fork() and immediate exec()
> may very well fail. I propose to fix the release notes.

Correct, makes sense.

-- 
MST

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread glebn
On Tue, Oct 17, 2006 at 09:52:44AM +0200, Tziporet Koren wrote:
> [EMAIL PROTECTED] wrote:
> >On Tue, Oct 17, 2006 at 09:21:12AM +0200, Or Gerlitz wrote:
> >Tang, Changqing wrote:
> >  
> >>We tested RC7, but fork() does not work:
> >>
> >>1. system() causes IB to fail.
> >>2. fork(), child calling exit(0) immediately also causes IB to fail. 
> >>
> >>Anyone has tested fork() related issue ?
> >>
> >>
> >What kernel are you testing? system() should work (in non threaded apps at
> >least) with modern kernel.
> >
> >--
> > Gleb.
> >
> >___
> >  
> 
> 
> From the OFED release notes:
> 
> 3. Fork support from kernel 2.6.12 and above is available provided that
>   applications do not use threads. Only system() or fork() and immediate
>   exec() are supported.
> 
system() works because parent calls wait(). fork() and immediate exec()
may very well fail. I propose to fix the release notes.

--
Gleb.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Tziporet Koren
[EMAIL PROTECTED] wrote:
> On Tue, Oct 17, 2006 at 09:21:12AM +0200, Or Gerlitz wrote:
> Tang, Changqing wrote:
>   
>> We tested RC7, but fork() does not work:
>>
>> 1. system() causes IB to fail.
>> 2. fork(), child calling exit(0) immediately also causes IB to fail. 
>>
>> Anyone has tested fork() related issue ?
>>
>> 
> What kernel are you testing? system() should work (in non threaded apps at
> least) with modern kernel.
>
> --
>   Gleb.
>
> ___
>   


 From the OFED release notes:

3. Fork support from kernel 2.6.12 and above is available provided that
   applications do not use threads. Only system() or fork() and immediate
   exec() are supported.

Tziporet

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread glebn
On Tue, Oct 17, 2006 at 09:21:12AM +0200, Or Gerlitz wrote:
Tang, Changqing wrote:
> We tested RC7, but fork() does not work:
> 
> 1. system() causes IB to fail.
> 2. fork(), child calling exit(0) immediately also causes IB to fail. 
> 
> Anyone has tested fork() related issue ?
> 
What kernel are you testing? system() should work (in non threaded apps at
least) with modern kernel.

--
Gleb.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-17 Thread Or Gerlitz
Tang, Changqing wrote:
> We tested RC7, but fork() does not work:
> 
> 1. system() causes IB to fail.
> 2. fork(), child calling exit(0) immediately also causes IB to fail. 
> 
> Anyone has tested fork() related issue ?
> 
> --CQ Tang, HP-MPI

Hi CQ,

The fork() support patches were incorporated into libibverbs1.1 which is 
not released yet. Both OFED 1.0 and 1.1 use libibverbs1.0

Or.


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

2006-10-16 Thread Tang, Changqing

We tested RC7, but fork() does not work:

1. system() causes IB to fail.
2. fork(), child calling exit(0) immediately also causes IB to fail. 

Anyone has tested fork() related issue ?

--CQ Tang, HP-MPI



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ira Weiny
Sent: Monday, October 16, 2006 6:48 PM
To: Sasha Khapyorsky
Cc: [EMAIL PROTECTED]; openib-general@openib.org
Subject: Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

Ah, yes, that works.

Thanks,
Ira

On Tue, 17 Oct 2006 00:21:06 +0200
Sasha Khapyorsky <[EMAIL PROTECTED]> wrote:

> On 14:46 Mon 16 Oct , Ira Weiny wrote:
> > Sorry, I don't know much about git...
> > 
> > I tried to "git" the module code for OFED 1.1 rc7 this using the 
> > following command.  What am I doing wrong?
> > 
> > 14:42:40 > git clone git://www.mellanox.co.il/~git/infinibandref
> > fatal: unexpected EOF
> > fetch-pack from 'git://www.mellanox.co.il/~git/infinibandref'
failed.
> 
> I guess this should be:
> 
>   git clone git://www.mellanox.co.il/~git/infiniband
> 
> , and then after clone:
> 
>   cd infiniband
>   git checkout ofed_1_1
> 
> 

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

2006-10-16 Thread Ira Weiny
Ah, yes, that works.

Thanks,
Ira

On Tue, 17 Oct 2006 00:21:06 +0200
Sasha Khapyorsky <[EMAIL PROTECTED]> wrote:

> On 14:46 Mon 16 Oct , Ira Weiny wrote:
> > Sorry, I don't know much about git...
> > 
> > I tried to "git" the module code for OFED 1.1 rc7 this using the following
> > command.  What am I doing wrong?
> > 
> > 14:42:40 > git clone git://www.mellanox.co.il/~git/infinibandref
> > fatal: unexpected EOF
> > fetch-pack from 'git://www.mellanox.co.il/~git/infinibandref' failed.
> 
> I guess this should be:
> 
>   git clone git://www.mellanox.co.il/~git/infiniband
> 
> , and then after clone:
> 
>   cd infiniband
>   git checkout ofed_1_1
> 
> 

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

2006-10-16 Thread Sasha Khapyorsky
On 14:46 Mon 16 Oct , Ira Weiny wrote:
> Sorry, I don't know much about git...
> 
> I tried to "git" the module code for OFED 1.1 rc7 this using the following
> command.  What am I doing wrong?
> 
> 14:42:40 > git clone git://www.mellanox.co.il/~git/infinibandref
> fatal: unexpected EOF
> fetch-pack from 'git://www.mellanox.co.il/~git/infinibandref' failed.

I guess this should be:

  git clone git://www.mellanox.co.il/~git/infiniband

, and then after clone:

  cd infiniband
  git checkout ofed_1_1


Sasha

> 
> Also that is for the module code right?
> 
> Thanks,
> Ira Weiny
> [EMAIL PROTECTED]
> 
> 
> On Thu, 05 Oct 2006 17:39:10 +0200
> "Aviram Gutman" <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Release details:
> > 
> > BUILD_ID:
> > OFED-1.1-rc7
> > 
> > openib-1.1 (REV=9725)
> > # User space
> > https://openib.org/svn/gen2/branches/1.1/src/userspace
> > Git: git://www.mellanox.co.il/~git/infinibandref: refs/heads/ofed_1_1
> > ref: refs/heads/ofed_1_1
> > commit fde99a7a22e56d6aa90dae9db3d600755efcedb5
> > 
> 
> ___
> openfabrics-ewg mailing list
> [EMAIL PROTECTED]
> http://openib.org/mailman/listinfo/openfabrics-ewg
> 

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

2006-10-11 Thread Scott Weitzenkamp (sweitzen)
Yes, the patch is being applied.  Not sure why cm_issue_drep is not
there though...

Scott Weitzenkamp
SQA and Release Manager
Server Virtualization Business Unit
Cisco Systems
 

> -Original Message-
> From: Vladimir Sokolovsky [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 11, 2006 9:13 AM
> To: Scott Weitzenkamp (sweitzen)
> Cc: Arlin Davis; Magro, Bill; Supalov, Alexander; 
> Openib-General@Openib.Org; EWG
> Subject: Re: [openfabrics-ewg] [openib-general] OFED 1.1 RC7
> 
> Hi Scott,
> You can check OFED compilation log file to see if this patch 
> was applied
> and compiled.
> 
> To get the relevant log file:
>   ls -ltr /tmp/OFED*log | tail -2 
>   
> One of them will be the compilation log.
> 
> Search for sean_cm_drep_on_not_found.patch inside...
> 
> Regards,
> Vladimir
> 
> On Wed, 2006-10-11 at 08:37 -0700, Scott Weitzenkamp (sweitzen) wrote:
> > Vlad, do you have symbol cm_issue_drep in any .ko files, because I
> > don't.  Looks like the patch is not getting compiled in for 
> some reason.
> > 
> > Scott Weitzenkamp
> > SQA and Release Manager
> > Server Virtualization Business Unit
> > Cisco Systems
> >  
> > 
> > > -Original Message-
> > > From: Vladimir Sokolovsky [mailto:[EMAIL PROTECTED] 
> > > Sent: Wednesday, October 11, 2006 2:00 AM
> > > To: Arlin Davis
> > > Cc: Aviram Gutman; Scott Weitzenkamp (sweitzen); Supalov, 
> > > Alexander; Magro, Bill; EWG; Openib-General@Openib.Org
> > > Subject: Re: [openfabrics-ewg] [openib-general] OFED 1.1 RC7
> > > 
> > > Hi Arlin,
> > > This patch is in OFED-1.1-rc7 and applied during installation.
> > > 
> > > 
> > > Regards,
> > > Vladimir
> > > 
> > > On Tue, 2006-10-10 at 22:50 -0700, Arlin Davis wrote:
> > > > Aviram Gutman wrote:
> > > > 
> > > > >OFED-1.1-rc7 is available on
> > > > >https://openib.org/svn/gen2/branches/1.1/ofed/releases/
> > > > >File: OFED-1.1-rc7.tgz
> > > > >Please report any issues in bugzilla 
> http://openib.org/bugzilla/
> > > > >
> > > > >  
> > > > >
> > > > Aviram,
> > > > 
> > > > Can you verify that the sean_cm_drep_on_not_found.patch 
> is actually 
> > > > applied in RC7? Our delayed disconnect problems still exist.
> > > > 
> > > > I don't see the new symbol "cm_issue_drep" in ib_cm.ko 
> on our RC7 
> > > > installed systems so I don't think the patch applied.
> > > > 
> > > > Thanks,
> > > > 
> > > > -arlin
> > > > 
> > > > ___
> > > > openfabrics-ewg mailing list
> > > > [EMAIL PROTECTED]
> > > > http://openib.org/mailman/listinfo/openfabrics-ewg
> > > 
> > 
> > ___
> > openfabrics-ewg mailing list
> > [EMAIL PROTECTED]
> > http://openib.org/mailman/listinfo/openfabrics-ewg
> 

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

2006-10-11 Thread Vladimir Sokolovsky
Hi Scott,
You can check OFED compilation log file to see if this patch was applied
and compiled.

To get the relevant log file:
ls -ltr /tmp/OFED*log | tail -2 

One of them will be the compilation log.

Search for sean_cm_drep_on_not_found.patch inside...

Regards,
Vladimir

On Wed, 2006-10-11 at 08:37 -0700, Scott Weitzenkamp (sweitzen) wrote:
> Vlad, do you have symbol cm_issue_drep in any .ko files, because I
> don't.  Looks like the patch is not getting compiled in for some reason.
> 
> Scott Weitzenkamp
> SQA and Release Manager
> Server Virtualization Business Unit
> Cisco Systems
>  
> 
> > -Original Message-
> > From: Vladimir Sokolovsky [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, October 11, 2006 2:00 AM
> > To: Arlin Davis
> > Cc: Aviram Gutman; Scott Weitzenkamp (sweitzen); Supalov, 
> > Alexander; Magro, Bill; EWG; Openib-General@Openib.Org
> > Subject: Re: [openfabrics-ewg] [openib-general] OFED 1.1 RC7
> > 
> > Hi Arlin,
> > This patch is in OFED-1.1-rc7 and applied during installation.
> > 
> > 
> > Regards,
> > Vladimir
> > 
> > On Tue, 2006-10-10 at 22:50 -0700, Arlin Davis wrote:
> > > Aviram Gutman wrote:
> > > 
> > > >OFED-1.1-rc7 is available on
> > > >https://openib.org/svn/gen2/branches/1.1/ofed/releases/
> > > >File: OFED-1.1-rc7.tgz
> > > >Please report any issues in bugzilla http://openib.org/bugzilla/
> > > >
> > > >  
> > > >
> > > Aviram,
> > > 
> > > Can you verify that the sean_cm_drep_on_not_found.patch is actually 
> > > applied in RC7? Our delayed disconnect problems still exist.
> > > 
> > > I don't see the new symbol "cm_issue_drep" in ib_cm.ko on our RC7 
> > > installed systems so I don't think the patch applied.
> > > 
> > > Thanks,
> > > 
> > > -arlin
> > > 
> > > ___
> > > openfabrics-ewg mailing list
> > > [EMAIL PROTECTED]
> > > http://openib.org/mailman/listinfo/openfabrics-ewg
> > 
> 
> ___
> openfabrics-ewg mailing list
> [EMAIL PROTECTED]
> http://openib.org/mailman/listinfo/openfabrics-ewg

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

2006-10-11 Thread Scott Weitzenkamp (sweitzen)
Vlad, do you have symbol cm_issue_drep in any .ko files, because I
don't.  Looks like the patch is not getting compiled in for some reason.

Scott Weitzenkamp
SQA and Release Manager
Server Virtualization Business Unit
Cisco Systems
 

> -Original Message-
> From: Vladimir Sokolovsky [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 11, 2006 2:00 AM
> To: Arlin Davis
> Cc: Aviram Gutman; Scott Weitzenkamp (sweitzen); Supalov, 
> Alexander; Magro, Bill; EWG; Openib-General@Openib.Org
> Subject: Re: [openfabrics-ewg] [openib-general] OFED 1.1 RC7
> 
> Hi Arlin,
> This patch is in OFED-1.1-rc7 and applied during installation.
> 
> 
> Regards,
> Vladimir
> 
> On Tue, 2006-10-10 at 22:50 -0700, Arlin Davis wrote:
> > Aviram Gutman wrote:
> > 
> > >OFED-1.1-rc7 is available on
> > >https://openib.org/svn/gen2/branches/1.1/ofed/releases/
> > >File: OFED-1.1-rc7.tgz
> > >Please report any issues in bugzilla http://openib.org/bugzilla/
> > >
> > >  
> > >
> > Aviram,
> > 
> > Can you verify that the sean_cm_drep_on_not_found.patch is actually 
> > applied in RC7? Our delayed disconnect problems still exist.
> > 
> > I don't see the new symbol "cm_issue_drep" in ib_cm.ko on our RC7 
> > installed systems so I don't think the patch applied.
> > 
> > Thanks,
> > 
> > -arlin
> > 
> > ___
> > openfabrics-ewg mailing list
> > [EMAIL PROTECTED]
> > http://openib.org/mailman/listinfo/openfabrics-ewg
> 

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [openfabrics-ewg] OFED 1.1 RC7

2006-10-11 Thread Vladimir Sokolovsky
Hi Arlin,
This patch is in OFED-1.1-rc7 and applied during installation.


Regards,
Vladimir

On Tue, 2006-10-10 at 22:50 -0700, Arlin Davis wrote:
> Aviram Gutman wrote:
> 
> >OFED-1.1-rc7 is available on
> >https://openib.org/svn/gen2/branches/1.1/ofed/releases/
> >File: OFED-1.1-rc7.tgz
> >Please report any issues in bugzilla http://openib.org/bugzilla/
> >
> >  
> >
> Aviram,
> 
> Can you verify that the sean_cm_drep_on_not_found.patch is actually 
> applied in RC7? Our delayed disconnect problems still exist.
> 
> I don't see the new symbol "cm_issue_drep" in ib_cm.ko on our RC7 
> installed systems so I don't think the patch applied.
> 
> Thanks,
> 
> -arlin
> 
> ___
> openfabrics-ewg mailing list
> [EMAIL PROTECTED]
> http://openib.org/mailman/listinfo/openfabrics-ewg

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general