Original article:
>
> Hi Sun-Managers,
>
> We have a Sun 4/20 giving us problems.
> Config: Sun OS 4.1
> 104 Meg harddisk (dataless configuration)
> 8 Meg memory
>
> When running SunView there are some tools that will not work such
> as cmdtool and mailtool. There may be others also which have not
> been tested. They always bomb with "Illegal Instruction". Running
> a trace on them ends like this:
>
> ioctl (7, 0x80346737, 0xf77a2c54) = 0
> brk (0xfe20) = 0
> ioctl (7, 0x40346734, 0xf7ffe5ac) = 0
> ioctl (7, 0x80346736, 0xf7ffe5ac) = 0
> getpagesize () = 4096
> brk (0x12e20) = 0
> brk (0x17e20) = 0
> ioctl (7, 0x4008670a, 0xc14c) = 0
> fcntl (7, 04, 0x4) = 0
> gettimeofday (0xd194, 0) = 0
> - SIGILL (4)
>
>
> It always ends on the first call to "gettimeofday" for both mailtool and
> cmdtool. All the other tools have many calls to the same without any problem.
>
> Does anyone have any words of wisdom??
Correct answer:
I had this exact same problem a few weeks ago. cmdtool in sunview
wouldn't work, but most everything else did. It turned out to be
the file /usr/lib/libsuntool.so.0.50. I noticed the problem because
the file had a new date on it, although it was the same size as it
was on other machines we had. I replaced it and everything worked
fine.
--/---------------------------------------------------------------\ | Steve Riley pacacc!steve@sacto.West.Sun.COM | | Pacific Access Computers, Inc. sactoh0!pacengr!pacacc!steve | | 2945 Kilgore Road Voice. 1 (916) 635-9300 | | Rancho Cordova, CALIFORNIA 95670 Fax... 1 (916) 635-6211 | | (an AT&T Systems Integrator and Sun, Unisys & Stratus VAR) | \---------------------------------------------------------------/
Additional comments:
I had a date on libsuntool.so of Aug.17. No idea on why. I did a cmp between the working libsuntool.so and the broken one and got this:
differ: char 282633, line 1375
Thanks for the 7 possible answers I received but Steve wins the prize.
Jay Williamson, Systems Manager Clemson University jaysun@cs.clemson.edu Computer Science Dept. (803) 656-5884 Clemson, S.C. 29634-1906
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:05:59 CDT