Re: [Myrinet] devfs issues with 1.5.2

Bill Broadley <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
On bootup I run (slight changes from the install script):
if test -r /dev/.devfsd ; then : 
else
  for i in 0 1 2 3 4 5 6 7 ; do
    (
      /bin/mknod /dev/gm$i c 220 `expr $i "*" 2`\
      && /bin/chmod 666 /dev/gm$i\
      && /bin/mknod /dev/gmp$i c 220 `expr $i "*" 2 + 1`\
      && /bin/chmod 600 /dev/gmp$i\
    ) || die Could not create a device.
  done
fi

The wierd part is I have to:
/sbin/insmod /opt/pkg/gm-1.5.2/sbin/gm
/bin/sleep 1
/sbin/insmod /opt/pkg/gm-1.5.2/sbin/gm
/bin/sleep 1  
/sbin/insmod /opt/pkg/gm-1.5.2/sbin/gm
/bin/sleep 1 

I'll attach the syslog I get.

After that, all works well.

2.4.18 kernel, and version 1.5.2 of the GM driver.

Anyone have a setup that works better?



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).  The module loads just fine and I can
> bring up an interface, but nothing actually works.  Investigation shows
> that there are no device files created in /dev.  I can mknod the device
> files as before (whats with the new major number?) and things work just
> fine.  I haven't tested with newer (Lanai 7+) cards yet.
> 
> Any ideas?
> 
> gm_debug: _gm_open_common board 0 port 0 failed:
>           Error status: untranslated system error
> 
> strace shows:
> 
> open("/dev/gm0", O_RDWR)                = -1 ENOENT (No such file or
> directory)
> open("/dev/myricom/gm0", O_RDWR)        = -1 ENOENT (No such file or
> directory)
> open("/dev/gmp0", O_RDWR)               = -1 ENOENT (No such file or
> directory)
> open("/dev/myricom/gmp0", O_RDWR)       = -1 ENOENT (No such file or
> directory)
> ...
> ...
> ...
> 
> 
> -Josh
> -----------------------------------------------
> Josh England
> Sandia National Laboratory, Livermore, CA
> Distributed Information Systems
> email: [email protected]
> phone: (925) 294-2076
> 
> 
> _______________________________________________
> Myrinet mailing list
> [email protected]
> http://email.osc.edu/mailman/listinfo/myrinet

-- 
Bill Broadley
Mathematics/Institute of Theoretical Dynamics
UC Davis
att (text/plain, 3.3 KB)
Jun 18 23:04:15 192.168.0.10 kernel: GM: Version 1.5.2_Linux build 1.5.2_Linux [email protected] Tue Jun 18 19:24:41 PDT 2002 
Jun 18 23:04:15 192.168.0.10 kernel: GM: Highmem memory configuration: 
Jun 18 23:04:15 192.168.0.10 kernel: GM: PAGE_ZERO=0x0, HIGH_MEM=0xbff80000, KERNEL_HIGH_MEM=0x38000000 
Jun 18 23:04:15 192.168.0.10 kernel: GM: Memory available for registration: 676698 pages (2643 MBytes) 
Jun 18 23:04:17 192.168.0.10 kernel: GM: MCP for unit 0: L9 4K (new features) 
Jun 18 23:04:17 192.168.0.10 kernel: GM: LANai rate set to 199 MHz (max = 202 MHz) 
Jun 18 23:04:17 192.168.0.10 kernel: GM: Board 0 page hash cache has 32768 bins. 
Jun 18 23:04:17 192.168.0.10 kernel: GM: Allocated IRQ11 
Jun 18 23:04:17 192.168.0.10 kernel: GM: NOTICE:  
Jun 18 23:04:17 192.168.0.10 kernel: GM: Board interrupt (configured on IRQ 11) is not working. 
Jun 18 23:04:18 192.168.0.10 kernel: GM: NOTICE:  
Jun 18 23:04:18 192.168.0.10 kernel: GM: Failed to initialize Myrinet Card 
Jun 18 23:04:18 192.168.0.10 kernel: GM: gm: driver unloading 
Jun 18 23:04:18 192.168.0.10 kernel: GM: WARNING:  
Jun 18 23:04:18 192.168.0.10 kernel: GM: No board initialized 
Jun 18 23:04:25 192.168.0.10 kernel: GM: Version 1.5.2_Linux build 1.5.2_Linux [email protected] Tue Jun 18 19:24:41 PDT 2002 
Jun 18 23:04:25 192.168.0.10 kernel: GM: Highmem memory configuration: 
Jun 18 23:04:25 192.168.0.10 kernel: GM: PAGE_ZERO=0x0, HIGH_MEM=0xbff80000, KERNEL_HIGH_MEM=0x38000000 
Jun 18 23:04:25 192.168.0.10 kernel: GM: Memory available for registration: 676698 pages (2643 MBytes) 
Jun 18 23:04:26 192.168.0.10 kernel: GM: MCP for unit 0: L9 4K (new features) 
Jun 18 23:04:26 192.168.0.10 kernel: GM: LANai rate set to 199 MHz (max = 202 MHz) 
Jun 18 23:04:26 192.168.0.10 kernel: GM: Board 0 page hash cache has 32768 bins. 
Jun 18 23:04:26 192.168.0.10 kernel: GM: Allocated IRQ11 
Jun 18 23:04:27 192.168.0.10 kernel: GM: NOTICE:  
Jun 18 23:04:27 192.168.0.10 kernel: GM: Board interrupt (configured on IRQ 11) is not working. 
Jun 18 23:04:27 192.168.0.10 kernel: GM: NOTICE:  
Jun 18 23:04:27 192.168.0.10 kernel: GM: Failed to initialize Myrinet Card 
Jun 18 23:04:27 192.168.0.10 kernel: GM: gm: driver unloading 
Jun 18 23:04:27 192.168.0.10 kernel: GM: WARNING:  
Jun 18 23:04:27 192.168.0.10 kernel: GM: No board initialized 
Jun 18 23:04:30 192.168.0.10 kernel: GM: Version 1.5.2_Linux build 1.5.2_Linux [email protected] Tue Jun 18 19:24:41 PDT 2002 
Jun 18 23:04:30 192.168.0.10 kernel: GM: Highmem memory configuration: 
Jun 18 23:04:30 192.168.0.10 kernel: GM: PAGE_ZERO=0x0, HIGH_MEM=0xbff80000, KERNEL_HIGH_MEM=0x38000000 
Jun 18 23:04:30 192.168.0.10 kernel: GM: Memory available for registration: 676698 pages (2643 MBytes) 
Jun 18 23:04:31 192.168.0.10 kernel: GM: MCP for unit 0: L9 4K (new features) 
Jun 18 23:04:32 192.168.0.10 kernel: GM: LANai rate set to 199 MHz (max = 202 MHz) 
Jun 18 23:04:32 192.168.0.10 kernel: GM: Board 0 page hash cache has 32768 bins. 
Jun 18 23:04:32 192.168.0.10 kernel: GM: Allocated IRQ11 
Jun 18 23:04:32 192.168.0.10 kernel: devfs_register(gm0): could not append to parent, err: -17 
Jun 18 23:04:32 192.168.0.10 kernel: devfs_register(gmp0): could not append to parent, err: -17 
Jun 18 23:04:32 192.168.0.10 kernel: GM: 1 Myrinet board(s) found and initialized
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.