[daip] TV Problem at UMRAO site

Patrick P. Murphy pmurphy at NRAO.EDU
Fri Nov 17 23:07:14 EST 2000


On Fri, 17 Nov 2000 18:34:22 -0500 (EST), "Hugh D. Aller"
   <hugh at astro.lsa.umich.edu> said: 

>     I have (almost) completed an installation of 31DEC99 (I used a
> July 1, 2000 image) on a set of sun workstations here at Univ. of Michigan.
> I regestered them under EOS, the system on my desk.  Everything appears
> to work but...  the TY on 4 of the 5 machines does not come up! 

You probably need to edit /etc/system on these 4 systems.  I'd bet that
they all have X displays of 1280x1024, whereas the working system either
has the classic 1152x900 resolution or less (or a fixed /etc/system).

The problem is that Solaris sets a default maximum size on shared memory
segments of 1 megabyte.  XAS is trying to create several segments of size
1270 x 924 = 1173480, larger than 1048576 (1 meg).  The smaller TV is only
913600 bytes by comparison:

> XAS: Using screen width height 1142 800, max grey level 196
> XAS: Using screen width height 1270 924, max grey level 255

So you want to (a) edit [as root, carefully!] /etc/system to add this
line or one like it:

                    set shmsys:shminfo_shmmax=10485760

which will increase the max to 10 megs; and (b) reboot.  There may be ways
of avoiding a reboot, but my expertise in kernel matters has hugely
shifted from Solaris to Linux over the last 7 years, so I'm not sure how
anymore :-(

Hope this helps.

				- Pat
-- 
  Patrick P. Murphy, Ph.D.            Division Head, Charlottesville Computing
  (804) 296-0372, 296-0236                National Radio Astronomy Observatory
  Home: http://www.chien-noir.com/      Work: http://www.cv.nrao.edu/~pmurphy/
   "Linux is Inevitable."  "Why?"  "Because it's alive!" - John MadDog Hall



More information about the Daip mailing list