RE: [openib-general] initialization -udev

2005-10-17 Thread Hal Rosenstock
On Mon, 2005-10-17 at 17:16, Suresh Shelvapille wrote:
> 1. I did not add the CONFIG_INFINIBAND=y by hand. I used make menuconfig and
> the GUI let me choose "y" to select the Infiniband core. And the result was,
> in .config which I presume is the one generated by the GUI has
> CONIFG_INFINIBAND=y.
> 
> >From what you say, the ib_core and ib_mad modules are not loaded if
> CONFIG_INFINIBAND=y and not 'm'?

Then its builtin to the kernel (rather than them being modules). 

> 2. When I do /sbin/lsmod --I see nothing though

That's consistent with the above.

> 3. BTW I have not loaded my device driver yet...I will try it once the core
> modules get loaded correctly!

If you want modules, you need to reconfigure setting CONFIG_INFINIBAND
to m and rebuild. You will then need to load the ib_core and ib_mad
modules by hand if you are not loading your driver first. It would
likely pull them in based on the dependencies in your driver.

-- Hal

> Thanks a lot in advance,
> Suri
> 
> > -Original Message-
> > From: Hal Rosenstock [mailto:[EMAIL PROTECTED]
> > Sent: Monday, October 17, 2005 4:42 PM
> > To: Suresh Shelvapille
> > Cc: openib-general@openib.org
> > Subject: Re: [openib-general] initialization -udev
> > 
> > Hi Suri,
> > 
> > On Mon, 2005-10-17 at 16:15, Suresh Shelvapille wrote:
> > > Folks:
> > > Another basic question, I just built my 2.6.10 kernel with core
> > Infiniband
> > > stack. I only have CONFIG_INFINIBAND=y and nothing else (I don't need
> > > anything else for now!).
> > 
> > If you want modules, set it to m not y.
> > 
> > > Couple of questions:
> > >
> > > 1. Do I need to load any of the kernel modules by hand? I don't have
> > > etc/udev directory (none of the modules listed in MST's installation
> > cheat
> > > sheet are applicable to me I think!)
> > > 2. What should I see to confirm that the core Infiniband stack is loaded
> > > correctly?
> > 
> > You should do an /sbin/lsmod | grep ib_ and see that ib_mthca (or
> > whatever your driver is), ib_mad, and ib_core are loaded. I think that's
> > allz you need right now.
> > 
> > -- Hal
> > 
> > >
> > > Thanks,
> > > Suri
> > >
> > >
> > > ___
> > > 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] initialization -udev

2005-10-17 Thread Nishanth Aravamudan
On 17.10.2005 [17:16:13 -0400], Suresh Shelvapille wrote:
> 1. I did not add the CONFIG_INFINIBAND=y by hand. I used make menuconfig and
> the GUI let me choose "y" to select the Infiniband core. And the result was,
> in .config which I presume is the one generated by the GUI has
> CONIFG_INFINIBAND=y.

Please don't top-post.

> >From what you say, the ib_core and ib_mad modules are not loaded if
> CONFIG_INFINIBAND=y and not 'm'?

=y means built-in. There are *no* modules if you select =y. =m means
build a as a module.

Thanks,
Nish
___
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] initialization -udev

2005-10-17 Thread Roland Dreier
Suresh> From what you say, the ib_core and ib_mad modules are not
Suresh> loaded if CONFIG_INFINIBAND=y and not 'm'?

If you say 'y' instead of 'm' then no modules are built.  IB support
is linked directly into your kernel instead.

Suresh> 2. When I do /sbin/lsmod --I see nothing though

Right, the code is linked directly into your kernel, so there are no
modules to list.

 - R.
___
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] initialization -udev

2005-10-17 Thread Suresh Shelvapille
1. I did not add the CONFIG_INFINIBAND=y by hand. I used make menuconfig and
the GUI let me choose "y" to select the Infiniband core. And the result was,
in .config which I presume is the one generated by the GUI has
CONIFG_INFINIBAND=y.

>From what you say, the ib_core and ib_mad modules are not loaded if
CONFIG_INFINIBAND=y and not 'm'?

2. When I do /sbin/lsmod --I see nothing though
3. BTW I have not loaded my device driver yet...I will try it once the core
modules get loaded correctly!

Thanks a lot in advance,
Suri

> -Original Message-
> From: Hal Rosenstock [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 17, 2005 4:42 PM
> To: Suresh Shelvapille
> Cc: openib-general@openib.org
> Subject: Re: [openib-general] initialization -udev
> 
> Hi Suri,
> 
> On Mon, 2005-10-17 at 16:15, Suresh Shelvapille wrote:
> > Folks:
> > Another basic question, I just built my 2.6.10 kernel with core
> Infiniband
> > stack. I only have CONFIG_INFINIBAND=y and nothing else (I don't need
> > anything else for now!).
> 
> If you want modules, set it to m not y.
> 
> > Couple of questions:
> >
> > 1. Do I need to load any of the kernel modules by hand? I don't have
> > etc/udev directory (none of the modules listed in MST's installation
> cheat
> > sheet are applicable to me I think!)
> > 2. What should I see to confirm that the core Infiniband stack is loaded
> > correctly?
> 
> You should do an /sbin/lsmod | grep ib_ and see that ib_mthca (or
> whatever your driver is), ib_mad, and ib_core are loaded. I think that's
> allz you need right now.
> 
> -- Hal
> 
> >
> > Thanks,
> > Suri
> >
> >
> > ___
> > 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] initialization -udev

2005-10-17 Thread Hal Rosenstock
Hi Suri,

On Mon, 2005-10-17 at 16:15, Suresh Shelvapille wrote:
> Folks:
> Another basic question, I just built my 2.6.10 kernel with core Infiniband
> stack. I only have CONFIG_INFINIBAND=y and nothing else (I don't need
> anything else for now!). 

If you want modules, set it to m not y.

> Couple of questions:
> 
> 1. Do I need to load any of the kernel modules by hand? I don't have
> etc/udev directory (none of the modules listed in MST's installation cheat
> sheet are applicable to me I think!)
> 2. What should I see to confirm that the core Infiniband stack is loaded
> correctly?

You should do an /sbin/lsmod | grep ib_ and see that ib_mthca (or
whatever your driver is), ib_mad, and ib_core are loaded. I think that's
allz you need right now.

-- Hal

> 
> Thanks,
> Suri
> 
> 
> ___
> 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] initialization -udev

2005-10-17 Thread Roland Dreier
Suresh> Folks: Another basic question, I just built my 2.6.10
Suresh> kernel with core Infiniband stack. I only have
Suresh> CONFIG_INFINIBAND=y and nothing else (I don't need
Suresh> anything else for now!). Couple of questions:

Suresh> 1. Do I need to load any of the kernel modules by hand? I
Suresh> don't have etc/udev directory (none of the modules listed
Suresh> in MST's installation cheat sheet are applicable to me I
Suresh> think!)  2. What should I see to confirm that the core
Suresh> Infiniband stack is loaded correctly?

If you have set all config options to 'y' or 'n' then there are no IB
kernel modules to load.  I don't think anything is be printed by the
core IB stack so I wouldn't expect to see anything when it loads.  You
could add a printk() to ib_core_init() if you're worried.

BTW, any particular reason you are using such an old kernel instead of
2.6.13 or 2.6.14-rc4?

 - R.
___
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