Re: [Myrinet] devfs issues with 1.5.2

"Joshua J. England" <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Here are the details you asked for.  Everything looks OK to me.

>df -T /dev:
Filesystem    Type   1k-blocks      Used Available Use% Mounted on
/devfs       devfs           0         0         0   -  /dev

>ls -l /dev/.devfsd
crw-------    1 root     root       8,   0 Dec 31  1969 /dev/.devfsd

>nm /usr/local/gm-1.5.2/sbin/gm |grep devfs
0000000000010fb0 t gm_linux_devfs_register

>grep DEVFS linux-2.4.18/include/linux/autoconf.h
#define CONFIG_DEVFS_FS 1
#undef  CONFIG_DEVFS_MOUNT
#undef  CONFIG_DEVFS_DEBUG

>dmesg | egrep "GM|devfs"
devfs: v1.10 (20020120) Richard Gooch ([email protected])
devfs: boot_options: 0x0
GM: Version 1.5.2_Linux build 1.5.2_Linux root@su8sn Wed Jul  8 02:24:55
PDT 1981
GM: NOTICE: 
GM: difference between running kernel and compilation headers
GM: This build is unsupported.
GM:     running kernel:#2 Wed Jun 5 14:07:50 PDT 2002
GM:     source tree at driver compilation: #1 Tue Jun 11 11:23:35 PDT
2002
GM: Memory available for registration: 15475 pages (120 MBytes)
GM: WARNING: 
GM: Driver supports 4, not the standard 8, GM ports
GM: MCP for unit 0: L4 8K compact
GM: Board 0 page hash cache has 2048 bins.
GM: Allocated IRQ28
GM: 1 Myrinet board(s) found and initialized


So I'm not sure what that GM notice is all about.  I compiled GM on the
same system/kernel I'm running it on.  It does work with manually added
device files.

--Josh
-----------------------------------------------
Josh England
Sandia National Laboratory, Livermore, CA
Distributed Information Systems
email: [email protected]
phone: (925) 294-2076



On Thu, 2002-06-20 at 04:30, Loic Prylli wrote:
> On Wed, Jun 19, 2002 at 03:28:06PM -0700, Joshua J. England wrote:
> > Hi,
> > 
> > I'm testing out version 1.5.2 of the GM driver software and am having
> > issues getting it to work with devfs (Lanai 4--512k cards, RedHat 7.1
> > for Alpha, 2.4.18 kernel w/devfs).  
> > [...]
> > 
> > open("/dev/gm0", O_RDWR)                = -1 ENOENT (No such file or
> > directory)
> 
> Could you give the following details to help diagnose the problem?
> 
> % df -T  /dev/.
> % ls -l /dev/.devfsd
> % nm <gmmoduledir>/sbin/gm | grep "U devfs"
> % grep DEVFS <linuxsrcdir>/include/linux/autoconf.h
> % dmesg | egrep "GM|devfs"
> 
> Regards,
> 
> Loic
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.