[comp.archives] [comp.sys.ibm.pc.rt] rstat problem...

christos@batcomputer.tn.cornell.edu (Christos Zoulas) (03/03/90)

Archive-name: ibm-rt-top/02-Mar-90
Original-posting-by: christos@batcomputer.tn.cornell.edu (Christos Zoulas)
Original-subject: rstat problem...
Archive-site: ee-switch-1.ee.cornell.edu [128.84.239.201]
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)


Hi,

rstat() is not working correctly on the RT running AOS 4.3, when sending/
receiving data to/from a different type host (not another RT). The reason
is that DK_NDRIVE is defined to be 6 in /usr/include/sys/dk.h and not 4 as
in the rest of the machines.

I changed DK_NDRIVE on my RT to be 4, recompiled the kernel, the parts
of the kernel code that go to libc, the librpcsvc, and rstatd. Now rstat
works...

Is the change ok, or did I break something? Also are there any other programs
I need to recompile?

I also have a version of top that runs on the rt. You can ftp it if you want
from ee-switch-1.ee.cornell.edu (128.84.239.201).

christos
-- 
  _____________________________________________________________________
 |   ARPA: christos@ee.cornell.edu                                     |
 |   UUCP: {cmc12,shasta,uw-beaver,rochester}!cornell!tesla!christos   |
  ---------------------------------------------------------------------