home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:3881 comp.unix.internals:1792
- Newsgroups: comp.unix.wizards,comp.unix.internals
- Path: sparky!uunet!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry
- From: terry@cs.weber.edu (A Wizard of Earth C)
- Subject: Re: core dump on 4.1.2 SunOS / why?
- Message-ID: <1992Sep11.013924.15225@fcom.cc.utah.edu>
- Sender: news@fcom.cc.utah.edu
- Organization: Weber State University (Ogden, UT)
- References: <1992Sep10.223808.354@BofA.com>
- Distribution: usa
- Date: Fri, 11 Sep 92 01:39:24 GMT
- Lines: 48
-
- In article <1992Sep10.223808.354@BofA.com> jeff@BofA.COM (Jeff Tate) writes:
- >I have just done something very strange to my Sparc2 and am at a loss to recover. Help is requested.
- >
- >For irrelevenat reasons, I needed to make space on my /usr partition. I
- >therefore moved share, diag, and kvm to a /local partition via tar pipe.
- >After I had finished the experiment that required the space, I attempted
- >to restore these directories. Unfortunately, I had forgotten to remove
- >the new symbolic links (i chchanged the link from boot->./kvm/boot to
- >boot->/local/usr/boot) and so the return pipe was doing something really
- >wierd. Anyway, I got messages to th effect that 'warning: libraries
- >changed'. Crash, panic, death, ... and after a dirty recovery, commands
- >such as ps, vmstat, adb core dump.
- >
- >I discovered that /usr/kvm/libkvm.a and /usr/lib/libkvm_p.a where garbaged
- >(ranlib reported this) and replaced them with copies from another 4.1.2 2
- >machine, but the behaviour persists. I can operate most of the rest of the
- >machine, but cannot get a ps or an adb to work.
-
- The path to the libraries is fixed. You need to put them back or tell
- everything where you hid them.
-
- 1. If you can get a shell up, set your LDPATH to point to the libraries
- new location. Check your Sun manual on 'ld' if you are unsure of
- how to set LDPATH.
-
- 2. Boot from CDROM and mount your disk(s) to do the work instead of
- installing.
-
- It is also possible that the crash garbaged ps and/or adb, and that you
- should pull these from another machine as well. This is highly unlikely
- and is provided only to be completionist (nasty habit I have).
-
- Hope this helps. Reminds me of the time a friend compressed his shared
- libraries on a NeXT to make more space and found that *EVERYTHING* used
- them, including sh and uncompress.
-
-
- Terry Lambert
- terry_lambert@gateway.novell.com
- terry@icarus.weber.edu
- ---
- Any opinions in this posting are my own and not those of my present
- or previous employers.
- --
- -------------------------------------------------------------------------------
- "I have an 8 user poetic license" - me
- Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
- -------------------------------------------------------------------------------
-