next up previous contents
Next: Adding or changing extended Up: SMA Technical Memo #133: Previous: Changing the Ethernet card

Setting up the VXI and GPIB software

0.
If the /usr/nivxi and /usr/gpib directories are not present, then tar and copy them over from a working machine.
1.
As superuser, cd to /usr/nivxi and execute buildvxi. When it finishes it will ask you to update the /sys/lynx.os/CONFIG.TBL file. By this, they mean, add the following line at the end:
I:vxi.cfg
Do not remake the kernal yet.

2.
Again as superuser, cd to /usr/gpib and execute instgpib. Accept the hardware default settings: GPIB0 at Address 0x2C0, IRQ 11, DMA 5. It should automatically add the line:
I:ib.cfg
to the /sys/lynx.os/CONFIG.TBL, and automatically run make install afterward.

3.
If the previous ``make install'' fails, it might be because CONSOLE_DEVICE is undefined. If so, check to see if there are any entries in /sys/lynx.os/sysdevices.h. If not, copy the file from another machine. It should contain the statement:
#define CONSOLE_DEVICE 0x300
then run ``make install'' again.

4.
You might get ``Undefined symbol(s)'' error. If so, copy over the files /sys/drivlib.a, /sys/devlib.a and /sys/kernlibc.a from the working machine and try again.

5.
You might get the error ``ld: Out of free memory''. If so, you have three choices:
1) add more extended memory (you'll probably need more than 16MB)
2) turn on virtual memory with the vmstart command in /bin/rc
3) copy the kernel file (/lynx.os) from a different machine that already has GPIB enabled and hope that it works


next up previous contents
Next: Adding or changing extended Up: SMA Technical Memo #133: Previous: Changing the Ethernet card

7/7/1999