home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5452 < prev    next >
Encoding:
Text File  |  1992-09-09  |  4.0 KB  |  106 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!e40-008-9.MIT.EDU!vikki
  3. From: vikki@e40-008-9.MIT.EDU (Vikki King)
  4. Subject: 3com AUI/kernel bld. WORK!
  5. Organization: Columbia University Center for Telecommunications Research
  6. Message-ID: <1992Sep10.093709.10686@ctr.columbia.edu>
  7. Sender: news@ctr.columbia.edu (The Daily Lose)
  8. Date: Thu, 10 Sep 1992 09:37:09 GMT
  9. X-Posted-From: e40-008-9.mit.edu
  10. X-Posted-Through: sol.ctr.columbia.edu
  11. Lines: 93
  12.  
  13. Hi Everyone!
  14.  
  15.         Well, I have finally succeeded at getting my kernel to build when I
  16.  want it to AND I have gotten my 3c503 card to talk out its AUI port - Yayyy!
  17.  
  18. I had to overcome the problems with the Makefile and vers.c and also how to
  19. change if_ec.c to make the AUI port come alive.  BTW, thanks to all who
  20. helped me get this far!  Ok, here's what I did:
  21.  
  22. 1.  First, to fix the sources to use the 3c503's AUI port, go into the
  23.     file /usr/src/sys.386bsd/i386/isa/if_ec.c.  At the end of line number
  24.     277 and change the code from:
  25.  
  26.      E33G_CNTRL, 2);
  27.  
  28.     to
  29.  
  30.     E33G_CNTRL, 0);
  31.  
  32.     You may want to save an unmodified version of if_ec.c for purist sake
  33.     or at least make note of the change in the file in case you ever have
  34.     to undo it.
  35.  
  36. 2.  Next, to fix the problem of the kernel not building because of
  37.     the undefined symbol thing, and to get my if_ec,c changes in place, I got
  38.     a copy of cgd's fixed Makefile from agate.berkeley.edu and used the patch
  39.     program to update my copy of Makefile.i386.
  40.  
  41. 3.  Then, I copied the GENERICISA file to one called BLUEFISH (or whatever
  42.     floats your boat).  I then edited BLUEFISH to contain just the drivers
  43.     that my system needs - I got rid off all the other ethernet drivers and
  44.     the adaptec/QIC-02 drivers - I don't got none of those.  After that, I
  45.     issued a
  46.  
  47.       # config BLUEFISH
  48.  
  49.     command.
  50.  
  51. 4.  Now, a little finagling was necessary.  I went to the compile/BLUEFISH
  52.     directory and had to copy the file ../GENERICISA/vers.c and the file
  53.     ../GENERICISA/version into compile/BLUEFISH.  I then issued a:
  54.  
  55.      # make depend
  56.  
  57.     and a:
  58.  
  59.      # make
  60.  
  61.     command.
  62.  
  63. 5.  When it was all done, there was still a load problem because vers.o
  64.     couldn't be found.  I peeked in Makefile again, found that using the
  65.     command:
  66.  
  67.      # make newvers
  68.  
  69.     would create vers.o and went ahead and did it.  When it was done, I did
  70.     another # make depend/# make and like magic, I got a new kernel!
  71.  
  72. Finally, the above is a summary of what I have found out so far.  I actually
  73. had a bunch of trials and failures that I left out of the summary.  One more
  74. thing that I found was important is that whenever you make a change in any of
  75. the source anywhere, run a # make depend before running # make.  I actually
  76. had the AUI thing figured out quite a few tries before I actually knew it
  77. because I was just doing a plain old # make after I'd tweak something.
  78.  
  79. Now, for something related:
  80.  
  81. After ifconfig'ing ec0 and successfully ftp'ing/ping'ing a host on our net,
  82. I am having problems trying to access an NFS server.  The NFS server is a
  83. netware 3.11 box with Netware NFS v1.1.  I can get the server volume to mount
  84. on the 386bsd filesystem and running df gives an accurate report of the space
  85. available, but I am unable to do anything in the directory where the NFS
  86. volume is mounted.  Trying to do an ls or cp'ing something into that directory
  87. just gives me a permission denied error.  Doing an ls -l of the mount
  88. directory after I've mounted the volume shows the privledges as being:
  89.  
  90.  drwx------     4 root          512 Sep 9 16:30 mcet1/
  91.  
  92. It would seem as if I had the proper privledges, right?  Last, if I explicitly
  93. try to mount the NFS volume by hand with the command line:
  94.  
  95.  # mount /bsd386/@mcet1: /mcet1 (I know, I know, it should be /386bsd/ :-) )
  96.  
  97. I get a message that reads "Can't get net id for host".  I can't figure out if
  98. I've got something set up incorrectly on the Netware NFS hosts's side or if
  99. the problem is somewhere in how I've configured the 386bsd system.  Anyone
  100. want to offer any suggestions?
  101.  
  102. -John
  103. jackson@a1.mec.mass.edu
  104.  
  105.  
  106.