[openib-general] initialization -udev

Hal Rosenstock halr at voltaire.com
Mon Oct 17 14:23:17 PDT 2005


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:halr at voltaire.com]
> > Sent: Monday, October 17, 2005 4:42 PM
> > To: Suresh Shelvapille
> > Cc: openib-general at 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 at openib.org
> > > http://openib.org/mailman/listinfo/openib-general
> > >
> > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-
> > general
> 




More information about the general mailing list