home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16373 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.1 KB

  1. Path: sparky!uunet!know!mips2!news.bbn.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!sgigate!sgi!fido!zola!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: inst complains: expr - non numeric argument
  5. Message-ID: <s9qdjfc@zuni.esd.sgi.com>
  6. Date: 13 Nov 92 02:03:17 GMT
  7. References: <101669@bu.edu>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 43
  11.  
  12. In <101669@bu.edu> jdh@bu-pub.bu.edu (Jason Heirtzler) writes:
  13.  
  14. | Has anyone else seen this error when booting off tape and
  15. | running inst on 4.0.5?
  16. |   Current system date is <date>
  17. |   expr: non-numeric argument
  18. |   Mounting file systems:
  19. |   .... 
  20. | The error message seems harmless enough (?)
  21. | My machine was being upgraded from 4.0.1 -> 4.0.5
  22. | Actually it happens on several machines, and the only thing
  23. | I can think of is that root and /usr isn't SCSI address 1..?
  24.  
  25. This rings a bell with me, from a long ago bug, but I don't
  26. remember just what it was.  Perhaps it had something to do
  27. with not finding the device for /.  It probably comes from
  28. this shell script fragment (found near the top of /usr/sbin/instdriver
  29. in the miniroot):
  30.  
  31.   # return partition # of root partition in rootpt.  won't work for
  32.   # logical volumes, but we can't boot with root on a lv yet.
  33.   # works with all current SGI disk drivers that have partitions, since
  34.   # all have 16 partitions (except floppy, which can be ignored for this)
  35.   rootpart() {
  36.       set `devnm /`
  37.       set `ls -l $1`
  38.       rootpt=`expr $6 % 16`
  39.   }
  40.  
  41. You can pretty much ignore the error, although I am a bit surprised
  42. that the root filesystem (for the miniroot) device couldn't be found!
  43. All it will do is keep things from being handled quite as well if you
  44. have a power failure or other crash while doing an install in the
  45. miniroot.
  46. --
  47. Let no one tell me that silence gives consent,  |   Dave Olson
  48. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  49.     Maria Isabel Barreno                        |   olson@sgi.com
  50.