home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:5501 comp.sys.sun.misc:3657
- Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!quanta!coil
- From: coil@quanta.eng.ohio-state.edu (Stacy D. Coil)
- Subject: Help: Top won't work with SunOS 4.1.2
- Message-ID: <1992Aug13.150847.24983@ee.eng.ohio-state.edu>
- Sender: news@ee.eng.ohio-state.edu
- Organization: The Ohio State University Dept of Electrical Engineering
- Date: Thu, 13 Aug 1992 15:08:47 GMT
- Lines: 60
-
- Has anyone had trouble getting top version 3.0 to run on a Sun4c running
- SunOS 4.1.2?
-
- I down loaded the the package from export.lcs.mit.edu and compiled it
- on a sun4c running 4.1.2.
-
- I set the executables uid to root and gid to kmem. Then I set the
- set group on execution bit.
-
- -rwxr-sr-x 1 root 73728 Aug 12 11:34 top
-
- When I run top from a client that is running 4.1.2, I get the following:
-
- [106] ./top
- top: cannot open /dev/kmem: Permission denied
- kvm_open: Permission denied
-
- When I do a ls -lg on /dev/kmem of the client, I get
-
- crw-r----- 1 root kmem 3, 1 Oct 31 1991 /dev/kmem
-
-
- However, top does run on the server. The long listing of /dev/kmem is
-
- crw-r----- 1 root kmem 3, 1 Feb 11 1992 /dev/kmem
-
- I thought that all that one has to do to allow a program to read
- /dev/kmem is to set the group of the program to kmem, then set the
- 'set gid bit on execution'. Is there something with SunOS that I must
- say that this program is worthy of reading kmem?
-
- Also, if I try running top (compiled on a machine running SunOS 4.1.2)
- from a server running SunOS 4.1.1, I get the following:
-
- [103] top
- ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
- Segmentation fault
-
- And if I try to run top (compiled on a machine running SunOS 4.1.1)
- from a server running SunOS 4.1.2, I get
-
- [107] top
- Segmentation fault
-
- I take it that some of the typedefs in kvm.h has been changed.
-
- If anyone has any knowledge of this please enlighten me.
-
-
- -- Stacy
-
- -------------------------------------------------------------------------------
- Stacy D. Coil The Ohio State University
- System Programmer Electrical Engineering Computer Facilities
- coil@ee.eng.ohio-state.edu Columbus, Ohio
- coil@cis.ohio-state.edu (614) 292-1416
- -------------------------------------------------------------------------------
-
-
-
-