home *** CD-ROM | disk | FTP | other *** search
- 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
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: inst complains: expr - non numeric argument
- Message-ID: <s9qdjfc@zuni.esd.sgi.com>
- Date: 13 Nov 92 02:03:17 GMT
- References: <101669@bu.edu>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 43
-
- In <101669@bu.edu> jdh@bu-pub.bu.edu (Jason Heirtzler) writes:
-
- | Has anyone else seen this error when booting off tape and
- | running inst on 4.0.5?
- |
- | Current system date is <date>
- |
- | expr: non-numeric argument
- | Mounting file systems:
- | ....
- |
- | The error message seems harmless enough (?)
- |
- | My machine was being upgraded from 4.0.1 -> 4.0.5
- |
- | Actually it happens on several machines, and the only thing
- | I can think of is that root and /usr isn't SCSI address 1..?
-
- This rings a bell with me, from a long ago bug, but I don't
- remember just what it was. Perhaps it had something to do
- with not finding the device for /. It probably comes from
- this shell script fragment (found near the top of /usr/sbin/instdriver
- in the miniroot):
-
- # return partition # of root partition in rootpt. won't work for
- # logical volumes, but we can't boot with root on a lv yet.
- # works with all current SGI disk drivers that have partitions, since
- # all have 16 partitions (except floppy, which can be ignored for this)
- rootpart() {
- set `devnm /`
- set `ls -l $1`
- rootpt=`expr $6 % 16`
- }
-
- You can pretty much ignore the error, although I am a bit surprised
- that the root filesystem (for the miniroot) device couldn't be found!
- All it will do is keep things from being handled quite as well if you
- have a power failure or other crash while doing an install in the
- miniroot.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-