Date: Fri, 3 Mar 2000 10:27:39 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Vladimir Kravchuk <adm@smr.ru> Cc: freebsd-alpha@FreeBSD.ORG, feldy@myri.com Subject: Re: About pci_if.h Message-ID: <14527.54102.302193.861198@grasshopper.cs.duke.edu> In-Reply-To: <38BFB726.345EBE75@smr.ru> References: <Pine.BSF.4.21.0002280951170.8714-100000@salmon.nlsystems.com> <38BE3F6D.1F8A78D1@smr.ru> <14526.57263.767312.316660@grasshopper.cs.duke.edu> <38BFB726.345EBE75@smr.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Kravchuk writes: > Andrew Gallatin wrote: > > > > Vladimir Kravchuk writes: > > > I would like to install GM Myrinet software but > > > I can not to compile the empty program on > > > FreeBSD4.0-20000214-CURRENT(Alpha and Intell) if > > > > The problem is that a few interfaces have changed since the gm driver > > was written & there is at least one bug in their code. The appended > > patch appears to work -- at least I can build GM, load the kernel > > module, and run the mapper. > > Thanks! > Driver detects M2M-PCI32C (LANai 4.3) cards on Alpha and Intel . > I also can build GM, load the kernel module, and run the mapper. > Unfortunately this driver not detects M2M-PCI64/2-3.1 with > LANai 7.2. What can I do? > To install GM I need to comment '#include "bpf.h" and #include > "opt_bdg.h' > in gm-1.1.3/drivers/freebsd/ip/gb.h. This files are not in the > directory > gm-1.1.3/drivers/freebsd/ip. Is it wright? One thing to try would be to make sure you have an up-to-date GENERIC kernel built & sitting in /usr/src/sys/compile/GENERIC. Here's why: Because of incompatabilities between the GM & FreeBSD build environments, (BSD make vs GNU make, etc), a shortcut was taken for the kernel module build. Rather than doing it right & using bsd.kmod.mk, GM relies on the builder having an up-to-date /usr/src/sys/compile/GENERIC laying around in order to pick up needed include files (like bpf.h). For what its worth, I just loaded the module on an xp1000 (same chipset as your UP2000) & see: gm0: <Myrinet PCI interface> mem 0x40000000-0x40ffffff irq 40 at device 11.0 on pci0 GM: board mapped at KVA: 0xfffffd0040000000 gm0: interrupting at TSUNAMI irq 40 GM: WARNING: Some security features are disabled in this GM build to allow non-privileged users to map the network. GM:PCI config memory-write-and-invalidate NOT set by BIOS GM:PCI config memory-write-and-invalidate now turned ON GM:PCI config master NOT set by BIOS GM:PCI config master now turned ON GM:PCI config memory NOT set by BIOS GM:PCI config memory now turned ON GM:64-bit slot initialized correctly GM:Using MCP: 'L7 8K' m:524288 l:555392 v:700-702 pl:8192 cl:64 gm0: GM interface attached GM:Attaching the IP interface GM:IP interface attach ok Even though I did much of the FreeBSD port of the GM driver for Myricom as a favor to them for all they've done for our research group, we only use GM for mapping our Trapeze network using an L4 card in an old, dusty pentium sitting in the corner that we never, ever touch. Its frozen at -current as of last summer. So I'm not certain how much help I, or the freebsd-alpha community can be for this. You may want to take up further problems with help@myri.com. Last night, I gave them the patches I posted here which they have integrated into their CVS tree & they will be upgrading their BSD box to 4.0-RC2, so they should be up to speed soon. Good luck, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14527.54102.302193.861198>
