home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / wizards / 3881 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  2.8 KB

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