SUMMARY : Re: cant open xterms, pts errors.

From: Amol Karnik (amol@memcad.com)
Date: Wed Jun 03 1998 - 12:56:00 CDT


ok, there was only one reply to this problem... from Ralph Dell
(RALPH@mail.co.catawba.nc.us) who's seen this problem before.

anyways, i spoke with Sun Tech, and the first problem about "add_spec :
no major #" etc, is nothing to worry about.. its only a problem if you
have a photon disk array attached to your machine. I dont, so we
commented out the line which refers to "sf" from /kernel/drv/sdd.conf
and rebooted. The error went away.

The main problem, the one with pty's and xterms is still unsolved. I
found out what causes it. Sometimes the permissions on /dev/pts are
getting changed automatically from owner-root and group-sys to owner-any
user and group-tty. After this you cant open any xterms on the machines.
Correcting theese permissions and doing a boot -r solves it, until it
happens again. I have no clue whats causing these permissions to change.
I obviously cant keep on doing a boot -r everytime this happens.

- amol

Amol Karnik wrote:
>
> hi all,
>
> came back monday morning to find my machine a mess. Its an Ultra2 with
> Solaris2.5.1 with the feb98 patches on it. dual cpu, 512 Mb RAM.
>
> whats happening is that no one can open any xterms on it. Gives a
> "segmentation fault"
> i did a boot -r and it gave the following error
> "add_spec : no major number for sf"
>
> i have no idea whats going on here... the machine was absolutely fine
> on friday, although iy was very heavily loaded with a solver job, over
> the weekend.
>
> i have the following line added to my /etc/system
> set pt_cnt = 80
> and
> set shmsys:shminfo_shmmax=16986931
>
> any pointers on what i should do here?
>
> i'll summarize.
>
> thanks,
>
> amol
>

-----------------------------------------------------
Amol Karnik
Development Engineer amol@memcad.com
Microcosm Technologies, Inc. (617) 225-0094 x248
215 First St., Suite #2D (617) 621-7838 FAX
Cambridge MA, 02142 http://www.memcad.com
-----------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:41 CDT