PGX32 vs. Xsun on Solaris 8

PGX32 vs. Xsun on Solaris 8

Post by Steven Winiko » Mon, 31 Jul 2000 04:00:00



I have a brand-new PGX32 graphics card which I just installed on an
Ultra 5 workstation running Solaris 8.

As far as I know, the card is configured properly, and it certainly
works properly in console mode; the trouble comes when I try to start
an X session.

Originally, the symptom was that Xsun started consuming 99% of the CPU,
without actually doing anything useful; at that point I found and
installed patch 107851-08, which claims to fix this specific problem
among others.

With the patch installed, the symptom has changed. :-)  Now, I get the
following message in /var/dt/Xerrors:

   ld.so.1: /usr/openwin/bin/Xsun: fatal: relocation error: file \
            /usr/openwin/server/modules/ddxTSIgfx.so.1: symbol   \
            EnablePwrMgmt: referenced symbol not found
   Error attempting to dynamically load ddx handler ddxTSIgfx.so.1

   Fatal server error:
   InitOutput: Error loading module for /dev/fbs/gfxp0

There's more, of course, but this is the gist of it.  Can anyone provide
any hints about what to try next?  Where is EnablePwrMgmt supposed to
come from?

  Thanks,

     - Steven
________________________________________________________________________
Steven Winikoff                |
Concordia University           | "The problem with being a miracle
Montreal, QC, Canada           |  worker is that everyone expects you

http://alcor.concordia.ca/~smw |                             - Rick Cook

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Casper H.S. Dik - Network Security Engine » Mon, 31 Jul 2000 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>I have a brand-new PGX32 graphics card which I just installed on an
>Ultra 5 workstation running Solaris 8.
>Originally, the symptom was that Xsun started consuming 99% of the CPU,
>without actually doing anything useful; at that point I found and
>installed patch 107851-08, which claims to fix this specific problem
>among others.
>With the patch installed, the symptom has changed. :-)  Now, I get the

Patch 107851-08 is for Solaris 2.5.1/2.6/7; it tee misapplication
of teh patch broke Xsun (I wonder how you got teh
patch to install)

There's patch 108652-13 which solves a bug in Solaris 8 Xsun
that also causes a lop.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Steven Winiko » Mon, 31 Jul 2000 04:00:00




Quote:>Patch 107851-08 is for Solaris 2.5.1/2.6/7; it tee misapplication
>of teh patch broke Xsun (I wonder how you got teh
>patch to install)

I wondered about that myself, actually -- the patch documentation
clearly stated that it applied through Solaris 7 only, but it applied
quite happily using the installpatch script included in the patch
distribution.  I assumed that the fact that it applied meant that
it was supposed to apply.

Quote:>There's patch 108652-13 which solves a bug in Solaris 8 Xsun
>that also causes a lop.

Thanks!  I'll back out of 107851-08, then try that and see what happens.

     - Steven
________________________________________________________________________
Steven Winikoff                |
Concordia University           | I used to be apathetic, but I just
Montreal, QC, Canada           | don't care anymore.

http://alcor.concordia.ca/~smw |

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Steven Winiko » Mon, 31 Jul 2000 04:00:00


Just to follow up my own post :-), I've now backed out of patch
107851-08 and installed 108652-13.  The X server is up and running,
but I haven't actually tried to start a session, since the machine
it's on is at work, a half-hour drive from my home.

In other words, so far so good, but I won't know for sure what state I'm
in until tomorrow morning.  At that time I'll post a followup in case
anyone else might be insterested in the outcome. :-)

     - Steven
________________________________________________________________________
Steven Winikoff                |
Concordia University           |
Montreal, QC, Canada           |  Don't never use double negatives.

http://alcor.concordia.ca/~smw |

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Steven Winiko » Tue, 01 Aug 2000 04:00:00




Quote:>There's patch 108652-13 which solves a bug in Solaris 8 Xsun
>that also causes a lop.

While this patch may indeed be necessary, I'm now in a position to
report that it's not sufficient. :-(

I'm afraid I'm back to the original symptoms:  on session start, my X
server immediately went up to 95.1% CPU utilization; the applications
that normally start up were actually running, including the window
manager, but none were able to connect to the server.

The contents of /var/dt/Xerrors at this point are:

   Syntax error in /usr/openwin/lib/X11/fonts/encodings/encodings.dir
   AUDIT: Mon Jul 31 10:44:45 2000: 227 Xsun: client 6 rejected from \
                                        IP 132.205.121.51 port 32804
     Auth name: MIT-MAGIC-COOKIE-1 ID: 0

(Yes, 132.205.121.51 is my own IP address.)

Help!  I think I'm out of ideas at this point. :-(

     - Steven
________________________________________________________________________
Steven Winikoff                | Zymurgy's Law of Evolving Systems
Concordia University           | Dynamics:
Montreal, QC, Canada           |            Once you open a can of

http://alcor.concordia.ca/~smw |            them is to use a larger can.

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Casper H.S. Dik - Network Security Engine » Tue, 01 Aug 2000 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>While this patch may indeed be necessary, I'm now in a position to
>report that it's not sufficient. :-(

Run pstack (as root) on the Xsun process;
CAUTION: redirect the output of pstack when doing so in an Xsession;
it will deadlock X (pstack stops X, pstack sends output to xterm/dtterm,
xterm blocks because Xsun is blocked, pstack blocks->deadlock)

Quote:>I'm afraid I'm back to the original symptoms:  on session start, my X
>server immediately went up to 95.1% CPU utilization; the applications
>that normally start up were actually running, including the window
>manager, but none were able to connect to the server.
>The contents of /var/dt/Xerrors at this point are:
>   Syntax error in /usr/openwin/lib/X11/fonts/encodings/encodings.dir
>   AUDIT: Mon Jul 31 10:44:45 2000: 227 Xsun: client 6 rejected from \
>                                        IP 132.205.121.51 port 32804
>     Auth name: MIT-MAGIC-COOKIE-1 ID: 0
>(Yes, 132.205.121.51 is my own IP address.)
>Help!  I think I'm out of ideas at this point. :-(

Run pstack after a network login; perhaps fix the encodings.dir file.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Steven Winiko » Tue, 01 Aug 2000 04:00:00




Quote:>Run pstack (as root) on the Xsun process;

Done.  I'll report the result below.

Meanwhile, I've made a bit of a breakthrough -- the Xsun hang occurs
when xconsole starts, and if I remove xconsole from my .xsession file,
the rest of the session works perfectly.

And yes, before you ask :-), if I start xconsole manually after
everything else is up, it still causes a hang. :-(

For the record, here's what pstack reports when xconsole is running;
this is the hung state:

   25891:       /usr/openwin/bin/Xsun :0 -dev /dev/fbs/gfxp0 -nobanner -ar1 300 -ar2 1
    000b5a50 ffs      (2c4040, febee100, 2a1868, 2af880, 2a1868, dd) + 10
    febc124c gfxCopyPlane (2c4040, 2bb9b8, 2a1868, 0, 0, 6) + cd4
    ff0c175c miSpriteCopyPlane (3, ffffffff, a, ff31a330, 2a18ec, 6) + 254
    feb5d4f4 DclCopyPlane (3, ffffffff, 2a1868, a, 1, feb7a42c) + 168
    0004c9d8 ProcCopyPlane (2a1868, 2c4040, 2bb9b8, 2ee2b0, 2d8fe0, 20) + 370
    0003064c Dispatch (ffbefbd8, 0, 0, 3ffffc, 194718, 0) + 188
    000515c8 main     (189068, 18bfb4, ffbefedc, 1, 17b374, 0) + 7c0
    0005c6e0 _start   (0, 0, 0, 0, 0, 0) + b8

In contrast, a normal session looks like this:

   127:    /usr/openwin/bin/Xsun :0 -dev /dev/fbs/gfxp0 -nobanner -ar1 300 -ar2 1
    7f519ee4 _writev  (18b634, ffbefb00, 187814, 0, 0, 2c6008) + c
    00033338 FlushAllOutput (18b454, 189b74, 194710, 2d62f8, 0, 0) + 168
    000306d8 Dispatch (ffbefbd8, 0, 0, 3ffffc, 194718, 0) + 214
    000515c8 main     (189068, 18bfb4, ffbefedc, 1, 17b374, 0) + 7c0
    0005c6e0 _start   (0, 0, 0, 0, 0, 0) + b8

Quote:>Run pstack after a network login; perhaps fix the encodings.dir file.

Okay, I looked at encodings.dir, and found a blank line in the middle
of the file.  That's actually a bit disconcerting, since I've never
edited that file manually, so I have no idea how that line got there;
however, I removed it, and that particular error message is no longer
showing up.

Thanks for all your help!  Meanwhile, any suggestions about xconsole
would be gratefully appreciated. :-)

     - Steven
________________________________________________________________________
Steven Winikoff                |
Concordia University           |
Montreal, QC, Canada           | rw-rw-rw-:  The file protection of the

http://alcor.concordia.ca/~smw |

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Philip Bro » Wed, 02 Aug 2000 04:00:00



Quote:>....
>And yes, before you ask :-), if I start xconsole manually after
>everything else is up, it still causes a hang. :-(

"Doctor, it hurts when I do THIS..."

"Dont DO that!"

:-)

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

 
 
 

PGX32 vs. Xsun on Solaris 8

Post by Steven Winiko » Wed, 02 Aug 2000 04:00:00




>"Doctor, it hurts when I do THIS..."
>"Dont DO that!"
>:-)

Exactly. :-)

Unfortunately, it later transpired that Netscape (depending on the page
being viewed) and xlock (depending on the mode) also caused the same
symptoms :-(, so I'm really glad I found the solution for it. :-)

     - Steven
________________________________________________________________________
Steven Winikoff                |
Concordia University           | True, these days nobody ever wants to
Montreal, QC, Canada           | assume responsibility for our own

http://alcor.concordia.ca/~smw |

 
 
 

1. PGX32 vs. Xsun on Solaris 8 -- SOLUTION

Okay, I now have my PGX32 working quite happily with Solaris 8 on my
Ultra 5, and no further complications with X server problems. :-)

The key to this whole mess is that the CD which comes with the PGX32
package should *not* be used; presumably it works properly with older
versions of Solaris, but for Solaris 8, we need the following instead:

    - packages TSIpgx.u, TSIpgxx.u and TSIpgxw from the
      "Solaris 8 Software 1 of 2 SPARC Platform Edition" CD

          (note:  this assumes the sun4u platform; for sun4us, use
                  TSIpgx.us and TSIpgxx.us instead of TSIpgx.u and
                  TSIpgxx.u)

    - patch 108652 (currently 108652-13)

    - patch 109154 (currently 109154-02)

This combination solves the entire problem.

     - Steven
________________________________________________________________________
Steven Winikoff                |
Concordia University           |    Today is a good day for making
Montreal, QC, Canada           |    decisions.

http://alcor.concordia.ca/~smw |    ...or is it?

2. Goodbye, good friend DEC

3. SunOS 5.6 vs Solaris 2.6 vs Solaris 7 vs Solaris 8

4. Need testers for multi-media CD-ROM for LINUX

5. Linux vs OS2 vs NT vs Win95 vs Multics vs PDP11 vs BSD geeks

6. IPSEC client for solaris?

7. Video problems with Sun 450, PGX32 Video Adapter and Solaris 2.6

8. Compaq Tru64 now officially HP Tru64?

9. PGX32 video, solaris 7, XTerm <ctrl><button3> = LOCKS UP

10. PGX32 framebuffer driver for Solaris 10

11. Installing PGX32 on Ultra 5/Solaris 8

12. Evaluation pointers: x86-Solaris vs x86-NT vs SPARC-Solaris

13. Solaris 1.1 vs. Solaris 2.0 (BSD vs AT&T)