RE: [myrinet] how to build a module of gm for use during linux boot/setupprocedure

"Egan Ford" <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
This is what I do for RH 6.2.

0.  Build your kernel, then build GM, verify that GM works (run GM_INSTALL).

1.  Type:

for i in 0 1 2 3 4 5 6 7
do
	/bin/rm -f /dev/gm$i /dev/gmp$i
	/bin/mknod /dev/gm$i c 41 `expr $i "*" 2`
	chmod a+rw /dev/gm$i
	/bin/mknod /dev/gmp$i c 41 `expr $i "*" 2 + 1`
	chmod a+rw /dev/gmp$i
done

or

just run GM_INSTALL once to create

or

have your network installer do it.

2.  cp sbin/gm to /lib/modules/{kernel version}/net (no need to append .o,
just leave it as gm)

3.  Add to /etc/conf.modules:

alias myri0 gm

4.  Type depmod -a

5.  Create a ifcfg-myri0 entry in /etc/sysconfig/network-scripts (use
ifcfg-eth0 as an example).  Even if you don't need IP for your Myrinet, give
it an IP anyway, someone always asks for it.  E.g. NFS.

6.  Reboot and enjoy.

NOTE: if you plan on using NFS or any other IP-based service on start up,
mapper must be running somewhere.  If you want the active mapper node to
also boot this way, you need to create a mapper service in /etc/rc.d/init.d
that starts before network starts.  Your mapper service will have to load gm
first.  Static maps may be a good idea, but I have not tried it yet.  Ping
me next month to see if I have.

> -----Original Message-----
> From: Ralf Kuehn [mailto:[email protected]]
> Sent: Wednesday, April 18, 2001 2:24 AM
> To: [email protected]
> Subject: [myrinet] how to build a module of gm for use during linux
> boot/setupprocedure
>
>
> Can i build gm as a (loadable) module which i can use in the
> linux setup/ boot procedure?
> How to do this?
>
> Thanks
>
> Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.