Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 10:44 AM
Roger Cornelius
 
Posts: n/a
Default Xwindow hang on osr507

I have two dissimilar 5.0.7 systems which exhibit the same problem.
When exiting from a console X session, X hangs approximately 75% of the
time. It appears to be exiting, but I end up with a blank root window
with the crosshatch pattern and an "x" as the mouse pointer. I can move
the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
away, but I just get a blank screen. Attempting to switch to another
tty again results in a beep.

The systems:
IBM x345
SCO odt window manager
On board video identified by mkdev graphics as:
ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
Also tried an ATI Xpert@Play card with same results.

Dell Precision 330
fvwm2 window manager
Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
adapters)

Both systems have osr507mp and osr507up installed.

I've tried various resolution configurations in mkdev graphics but no
change in the problem.

After the hang and from another login, I can kill the X process which
results in a black or sometimes garbled screen. I can log in again,
though I can't see what's happening on the screen. On the Dell box, I
can then log out and the screen returns to normal. On the IBM box,
logging out just gives me another blank screen.

Has anyone else experienced this very annoying behaviour?
--
Roger Cornelius racpop@tenzing.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 10:44 AM
Joe Chasan
 
Posts: n/a
Default Re: Xwindow hang on osr507

On Mon, Oct 06, 2003 at 07:58:12PM +0000, Roger Cornelius wrote:
> I have two dissimilar 5.0.7 systems which exhibit the same problem.
> When exiting from a console X session, X hangs approximately 75% of the
> time. It appears to be exiting, but I end up with a blank root window
> with the crosshatch pattern and an "x" as the mouse pointer. I can move
> the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> away, but I just get a blank screen. Attempting to switch to another
> tty again results in a beep.
>
> The systems:
> IBM x345
> SCO odt window manager
> On board video identified by mkdev graphics as:
> ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> Also tried an ATI Xpert@Play card with same results.
>
> Dell Precision 330
> fvwm2 window manager
> Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> adapters)
>
> Both systems have osr507mp and osr507up installed.
>
> I've tried various resolution configurations in mkdev graphics but no
> change in the problem.
>
> After the hang and from another login, I can kill the X process which
> results in a black or sometimes garbled screen. I can log in again,
> though I can't see what's happening on the screen. On the Dell box, I
> can then log out and the screen returns to normal. On the IBM box,
> logging out just gives me another blank screen.
>
> Has anyone else experienced this very annoying behaviour?


yes, exact same problem. dell poweredge 1600sc with osr507, mp1 and up1.
i'd guess 75% of the time as well, have not had time to debug it other
than switching resolution settings in mkdev graphics once in a while
to no avail.

embedded VGA adaptor, recognized as ATI RAGE PRO/LT-PRO/XL/Mobility
(P/M/M1)

--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe@magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 10:44 AM
Jean-Pierre Radley
 
Posts: n/a
Default Re: Xwindow hang on osr507

Roger Cornelius typed (on Mon, Oct 06, 2003 at 07:58:12PM +0000):
| I have two dissimilar 5.0.7 systems which exhibit the same problem.
| When exiting from a console X session, X hangs approximately 75% of the
| time. It appears to be exiting, but I end up with a blank root window
| with the crosshatch pattern and an "x" as the mouse pointer. I can move
| the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
| away, but I just get a blank screen. Attempting to switch to another
| tty again results in a beep.
|
| The systems:
| IBM x345
| SCO odt window manager
| On board video identified by mkdev graphics as:
| ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
| Also tried an ATI Xpert@Play card with same results.
|
| Dell Precision 330
| fvwm2 window manager
| Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
| adapters)
|
| Both systems have osr507mp and osr507up installed.
|
| I've tried various resolution configurations in mkdev graphics but no
| change in the problem.
|
| After the hang and from another login, I can kill the X process which
| results in a black or sometimes garbled screen. I can log in again,
| though I can't see what's happening on the screen. On the Dell box, I
| can then log out and the screen returns to normal. On the IBM box,
| logging out just gives me another blank screen.
|
| Has anyone else experienced this very annoying behaviour?

I've got this problem too, with the same software.

My video card is an ATI RAGE128 Pro GL AGP.

If I try to exit "normally", I usually end up with no usable character
screen at all. Everything is black, and Alt-Fxkey just beeps.

Sometimes I can telnet in and run /etc/clean_screen and reclaim the
console, but I've finally learned to exit X via the abrupt method of
hitting Alt-PrtScr.

--
JP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 10:45 AM
Bela Lubkin
 
Posts: n/a
Default Re: Xwindow hang on osr507

Jean-Pierre Radley wrote:

> Roger Cornelius typed (on Mon, Oct 06, 2003 at 07:58:12PM +0000):
> | I have two dissimilar 5.0.7 systems which exhibit the same problem.
> | When exiting from a console X session, X hangs approximately 75% of the
> | time. It appears to be exiting, but I end up with a blank root window
> | with the crosshatch pattern and an "x" as the mouse pointer. I can move
> | the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> | away, but I just get a blank screen. Attempting to switch to another
> | tty again results in a beep.
> |
> | The systems:
> | IBM x345
> | SCO odt window manager
> | On board video identified by mkdev graphics as:
> | ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> | Also tried an ATI Xpert@Play card with same results.
> |
> | Dell Precision 330
> | fvwm2 window manager
> | Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> | adapters)
> |
> | Both systems have osr507mp and osr507up installed.
> |
> | I've tried various resolution configurations in mkdev graphics but no
> | change in the problem.
> |
> | After the hang and from another login, I can kill the X process which
> | results in a black or sometimes garbled screen. I can log in again,
> | though I can't see what's happening on the screen. On the Dell box, I
> | can then log out and the screen returns to normal. On the IBM box,
> | logging out just gives me another blank screen.
> |
> | Has anyone else experienced this very annoying behaviour?
>
> I've got this problem too, with the same software.
>
> My video card is an ATI RAGE128 Pro GL AGP.
>
> If I try to exit "normally", I usually end up with no usable character
> screen at all. Everything is black, and Alt-Fxkey just beeps.
>
> Sometimes I can telnet in and run /etc/clean_screen and reclaim the
> console, but I've finally learned to exit X via the abrupt method of
> hitting Alt-PrtScr.


Hmmm, three reports with all different X drivers (r128, mtx, r3ppci)...

I've recently been investigating an issue that _might_ be related.
Would each of you please try the following. Edit the active grafinfo
file (e.g. /usr/lib/grafinfo/ati/r128.xgi). [To find the active
grafinfo: `cat /usr/lib/grafinfo/grafdev`. Each entry looks something
like "/dev/tty01:matrox.mtx.mtx.1280x1024-16m-60". The first two
"words" after the colon tell you the directory and filename of the
active grafinfo; that is, "...:matrox.mtx..." points to the grafinfo
file /usr/lib/grafinfo/matrox/mtx.xgi]

For every resolution, you will see one or more "MEMORY" statements; e.g.
on my Matrox G450 I have:

MEMORY(0xF2000000, 0x4000); /* Base Address, Length */
MEMORY(FBM, 0xF0000000, 0x800000); /* Base Address, Length */

in each entry. The edit is, add the following line _after_ the existing
"MEMORY" lines in each mode:

MEMORY(VID, 0x000A0000,0x0020000); /* Standard VGA video memory window */

The change takes effect the next time you _start_ the X server (so if
you do this edit from within X, you still have a 75%-or-whatever chance
of failure on exiting that X server).

In my case this fixes a 100% failure on exiting X. I can't really
picture a scenario where the problem I'm chasing would cause an
_intermittent_ failure, but it's worth testing the theory.

Please tell me whether this has any effect.

>Bela<

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2008, 10:45 AM
Joe Chasan
 
Posts: n/a
Default Re: Xwindow hang on osr507

On Mon, Oct 06, 2003 at 07:23:38PM -0400, Bela Lubkin wrote:
> Jean-Pierre Radley wrote:
>
> > Roger Cornelius typed (on Mon, Oct 06, 2003 at 07:58:12PM +0000):
> > | I have two dissimilar 5.0.7 systems which exhibit the same problem.
> > | When exiting from a console X session, X hangs approximately 75% of the
> > | time. It appears to be exiting, but I end up with a blank root window
> > | with the crosshatch pattern and an "x" as the mouse pointer. I can move
> > | the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> > | away, but I just get a blank screen. Attempting to switch to another
> > | tty again results in a beep.
> > |
> > | The systems:
> > | IBM x345
> > | SCO odt window manager
> > | On board video identified by mkdev graphics as:
> > | ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> > | Also tried an ATI Xpert@Play card with same results.
> > |
> > | Dell Precision 330
> > | fvwm2 window manager
> > | Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> > | adapters)
> > |
> > | Both systems have osr507mp and osr507up installed.
> > |
> > | I've tried various resolution configurations in mkdev graphics but no
> > | change in the problem.
> > |
> > | After the hang and from another login, I can kill the X process which
> > | results in a black or sometimes garbled screen. I can log in again,
> > | though I can't see what's happening on the screen. On the Dell box, I
> > | can then log out and the screen returns to normal. On the IBM box,
> > | logging out just gives me another blank screen.
> > |
> > | Has anyone else experienced this very annoying behaviour?
> >
> > I've got this problem too, with the same software.
> >
> > My video card is an ATI RAGE128 Pro GL AGP.
> >
> > If I try to exit "normally", I usually end up with no usable character
> > screen at all. Everything is black, and Alt-Fxkey just beeps.
> >
> > Sometimes I can telnet in and run /etc/clean_screen and reclaim the
> > console, but I've finally learned to exit X via the abrupt method of
> > hitting Alt-PrtScr.

>
> Hmmm, three reports with all different X drivers (r128, mtx, r3ppci)...
>
> I've recently been investigating an issue that _might_ be related.
> Would each of you please try the following. Edit the active grafinfo
> file (e.g. /usr/lib/grafinfo/ati/r128.xgi). [To find the active
> grafinfo: `cat /usr/lib/grafinfo/grafdev`. Each entry looks something
> like "/dev/tty01:matrox.mtx.mtx.1280x1024-16m-60". The first two
> "words" after the colon tell you the directory and filename of the
> active grafinfo; that is, "...:matrox.mtx..." points to the grafinfo
> file /usr/lib/grafinfo/matrox/mtx.xgi]
>
> For every resolution, you will see one or more "MEMORY" statements; e.g.
> on my Matrox G450 I have:
>
> MEMORY(0xF2000000, 0x4000); /* Base Address, Length */
> MEMORY(FBM, 0xF0000000, 0x800000); /* Base Address, Length */
>
> in each entry. The edit is, add the following line _after_ the existing
> "MEMORY" lines in each mode:
>
> MEMORY(VID, 0x000A0000,0x0020000); /* Standard VGA video memory window */
>
> The change takes effect the next time you _start_ the X server (so if
> you do this edit from within X, you still have a 75%-or-whatever chance
> of failure on exiting that X server).
>
> In my case this fixes a 100% failure on exiting X. I can't really
> picture a scenario where the problem I'm chasing would cause an
> _intermittent_ failure, but it's worth testing the theory.
>
> Please tell me whether this has any effect.


i tried and this does not fix the problem for me.

i think i do have a lead - so far (after your fix), i tried checking what
apps i ran in X, and i think i have it narrowed down to mozilla (which
my scohelp pulls up by default) which seemed to run clean, but caused the
problem exiting X. can anyone else verify?

--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe@magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe@magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-15-2008, 10:45 AM
Bob Bailin
 
Posts: n/a
Default Re: Xwindow hang on osr507


"Roger Cornelius" <racpop@tenzing.org> wrote in message
news:3F81C954.12D82EC5@tenzing.org...
> I have two dissimilar 5.0.7 systems which exhibit the same problem.
> When exiting from a console X session, X hangs approximately 75% of the
> time. It appears to be exiting, but I end up with a blank root window
> with the crosshatch pattern and an "x" as the mouse pointer. I can move
> the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> away, but I just get a blank screen. Attempting to switch to another
> tty again results in a beep.
>
> The systems:
> IBM x345
> SCO odt window manager
> On board video identified by mkdev graphics as:
> ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> Also tried an ATI Xpert@Play card with same results.
>
> Dell Precision 330
> fvwm2 window manager
> Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> adapters)
>
> Both systems have osr507mp and osr507up installed.
>
> I've tried various resolution configurations in mkdev graphics but no
> change in the problem.
>
> After the hang and from another login, I can kill the X process which
> results in a black or sometimes garbled screen. I can log in again,
> though I can't see what's happening on the screen. On the Dell box, I
> can then log out and the screen returns to normal. On the IBM box,
> logging out just gives me another blank screen.
>
> Has anyone else experienced this very annoying behaviour?


Have you tried using the generic VESA driver for your card?
Using it, you may be limited to only 800x600, but it may work.

My system had an old Tseng Labs ET6000 adapter, and the
built-in ET4000 driver *should* have worked but never did,
so based on past experience I switched over to the VESA driver,
which has worked admirably ever since.

Bob


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-15-2008, 10:46 AM
Roger Cornelius
 
Posts: n/a
Default Re: Xwindow hang on osr507

Bela Lubkin wrote:
>
> Jean-Pierre Radley wrote:
>
> > Roger Cornelius typed (on Mon, Oct 06, 2003 at 07:58:12PM +0000):
> > | I have two dissimilar 5.0.7 systems which exhibit the same problem.
> > | When exiting from a console X session, X hangs approximately 75% of the
> > | time. It appears to be exiting, but I end up with a blank root window
> > | with the crosshatch pattern and an "x" as the mouse pointer. I can move
> > | the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> > | away, but I just get a blank screen. Attempting to switch to another
> > | tty again results in a beep.
> > |
> > | The systems:
> > | IBM x345
> > | SCO odt window manager
> > | On board video identified by mkdev graphics as:
> > | ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> > | Also tried an ATI Xpert@Play card with same results.
> > |
> > | Dell Precision 330
> > | fvwm2 window manager
> > | Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> > | adapters)
> > |
> > | Both systems have osr507mp and osr507up installed.
> > |
> > | I've tried various resolution configurations in mkdev graphics but no
> > | change in the problem.
> > |
> > | After the hang and from another login, I can kill the X process which
> > | results in a black or sometimes garbled screen. I can log in again,
> > | though I can't see what's happening on the screen. On the Dell box, I
> > | can then log out and the screen returns to normal. On the IBM box,
> > | logging out just gives me another blank screen.
> > |
> > | Has anyone else experienced this very annoying behaviour?
> >
> > I've got this problem too, with the same software.
> >
> > My video card is an ATI RAGE128 Pro GL AGP.
> >
> > If I try to exit "normally", I usually end up with no usable character
> > screen at all. Everything is black, and Alt-Fxkey just beeps.
> >
> > Sometimes I can telnet in and run /etc/clean_screen and reclaim the
> > console, but I've finally learned to exit X via the abrupt method of
> > hitting Alt-PrtScr.

>
> Hmmm, three reports with all different X drivers (r128, mtx, r3ppci)...
>
> I've recently been investigating an issue that _might_ be related.
> Would each of you please try the following. Edit the active grafinfo
> file (e.g. /usr/lib/grafinfo/ati/r128.xgi). [To find the active
> grafinfo: `cat /usr/lib/grafinfo/grafdev`. Each entry looks something
> like "/dev/tty01:matrox.mtx.mtx.1280x1024-16m-60". The first two
> "words" after the colon tell you the directory and filename of the
> active grafinfo; that is, "...:matrox.mtx..." points to the grafinfo
> file /usr/lib/grafinfo/matrox/mtx.xgi]
>
> For every resolution, you will see one or more "MEMORY" statements; e.g.
> on my Matrox G450 I have:
>
> MEMORY(0xF2000000, 0x4000); /* Base Address, Length */
> MEMORY(FBM, 0xF0000000, 0x800000); /* Base Address, Length */
>
> in each entry. The edit is, add the following line _after_ the existing
> "MEMORY" lines in each mode:
>
> MEMORY(VID, 0x000A0000,0x0020000); /* Standard VGA video memory window */
>
> The change takes effect the next time you _start_ the X server (so if
> you do this edit from within X, you still have a 75%-or-whatever chance
> of failure on exiting that X server).
>
> In my case this fixes a 100% failure on exiting X. I can't really
> picture a scenario where the problem I'm chasing would cause an
> _intermittent_ failure, but it's worth testing the theory.
>
> Please tell me whether this has any effect.


This changed the behaviour on the IBM system and possibly fixed it on
the Dell. For the latter, the couple of opportunities I've had to exit
X worked correctly. For the former, I exited X three times today. The
first time, I was returned to the shell prompt as should be normal. The
second time, I got a blank, black screen, like JPR described, which I
used to log in blind, then ran clean_screen which got the video back.
The third time, I got a kernel panic and reboot. Here are [what I think
are] the important parts of the output of crash's panic command:

Unexpected trap in kernel mode:
cr0 0x8001003B cr2 0x0011001C cr3 0x00002000 tlb
0x00000000
ss 0x00000001 uesp 0x0080A2CC efl 0x00010286 ipl
0x00000000
cs 0x00000158 eip 0xF005919A err 0x00000002 trap
0x0000000E
eax 0x00002000 ecx 0x00000001 edx 0x00000014 ebx
0xE0000E1C
esp 0xE0000DE0 ebp 0xE0000E0C esi 0x00000001 edi
0x00000000
ds 0x00000160 es 0x00000160 fs 0x00000000 gs
0x00000000
cpu 0x00000001

PANIC: k_trap - Kernel mode trap type 0x0000000E
Trying to dump 262023 pages to dumpdev hd (1/41), 3276 pages per '.'
..

Panic String: k_trap - Kernel mode trap type 0x%x

Kernel Trap. Kernel Registers saved at 0xe0000db0
ERR=2, TRAPNO=14
cs:eip=0158:f005919a Flags=10286
ds = 0160 es = 0160 fs = 0000 gs = 0000
esi= 00000001 edi= 00000000 ebp= e0000e0c esp= e0000de0
eax= 00002000 ebx= e0000e1c ecx= 00000001 edx= 00000014

Kernel Stack before Trap:
STKADDR FRAMEPTR FUNCTION POSSIBLE ARGUMENTS
e0000de0 e0000e0c v86vint (u+0xe1c,0)

I'll post again as I have more details, but I won't have console access
to the IBM again until Thursday.
--
Roger Cornelius racpop@tenzing.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-15-2008, 10:46 AM
Roger Cornelius
 
Posts: n/a
Default Re: Xwindow hang on osr507

Joe Chasan wrote:
>
> On Mon, Oct 06, 2003 at 07:23:38PM -0400, Bela Lubkin wrote:
> > Jean-Pierre Radley wrote:
> >
> > > Roger Cornelius typed (on Mon, Oct 06, 2003 at 07:58:12PM +0000):
> > > | I have two dissimilar 5.0.7 systems which exhibit the same problem.
> > > | When exiting from a console X session, X hangs approximately 75% of the
> > > | time. It appears to be exiting, but I end up with a blank root window
> > > | with the crosshatch pattern and an "x" as the mouse pointer. I can move
> > > | the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> > > | away, but I just get a blank screen. Attempting to switch to another
> > > | tty again results in a beep.
> > > |
> > > | The systems:
> > > | IBM x345
> > > | SCO odt window manager
> > > | On board video identified by mkdev graphics as:
> > > | ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> > > | Also tried an ATI Xpert@Play card with same results.
> > > |
> > > | Dell Precision 330
> > > | fvwm2 window manager
> > > | Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> > > | adapters)
> > > |
> > > | Both systems have osr507mp and osr507up installed.
> > > |
> > > | I've tried various resolution configurations in mkdev graphics but no
> > > | change in the problem.
> > > |
> > > | After the hang and from another login, I can kill the X process which
> > > | results in a black or sometimes garbled screen. I can log in again,
> > > | though I can't see what's happening on the screen. On the Dell box, I
> > > | can then log out and the screen returns to normal. On the IBM box,
> > > | logging out just gives me another blank screen.
> > > |
> > > | Has anyone else experienced this very annoying behaviour?
> > >
> > > I've got this problem too, with the same software.
> > >
> > > My video card is an ATI RAGE128 Pro GL AGP.
> > >
> > > If I try to exit "normally", I usually end up with no usable character
> > > screen at all. Everything is black, and Alt-Fxkey just beeps.
> > >
> > > Sometimes I can telnet in and run /etc/clean_screen and reclaim the
> > > console, but I've finally learned to exit X via the abrupt method of
> > > hitting Alt-PrtScr.

> >
> > Hmmm, three reports with all different X drivers (r128, mtx, r3ppci)...
> >
> > I've recently been investigating an issue that _might_ be related.
> > Would each of you please try the following. Edit the active grafinfo
> > file (e.g. /usr/lib/grafinfo/ati/r128.xgi). [To find the active
> > grafinfo: `cat /usr/lib/grafinfo/grafdev`. Each entry looks something
> > like "/dev/tty01:matrox.mtx.mtx.1280x1024-16m-60". The first two
> > "words" after the colon tell you the directory and filename of the
> > active grafinfo; that is, "...:matrox.mtx..." points to the grafinfo
> > file /usr/lib/grafinfo/matrox/mtx.xgi]
> >
> > For every resolution, you will see one or more "MEMORY" statements; e.g.
> > on my Matrox G450 I have:
> >
> > MEMORY(0xF2000000, 0x4000); /* Base Address, Length */
> > MEMORY(FBM, 0xF0000000, 0x800000); /* Base Address, Length */
> >
> > in each entry. The edit is, add the following line _after_ the existing
> > "MEMORY" lines in each mode:
> >
> > MEMORY(VID, 0x000A0000,0x0020000); /* Standard VGA video memory window */
> >
> > The change takes effect the next time you _start_ the X server (so if
> > you do this edit from within X, you still have a 75%-or-whatever chance
> > of failure on exiting that X server).
> >
> > In my case this fixes a 100% failure on exiting X. I can't really
> > picture a scenario where the problem I'm chasing would cause an
> > _intermittent_ failure, but it's worth testing the theory.
> >
> > Please tell me whether this has any effect.

>
> i tried and this does not fix the problem for me.
>
> i think i do have a lead - so far (after your fix), i tried checking what
> apps i ran in X, and i think i have it narrowed down to mozilla (which
> my scohelp pulls up by default) which seemed to run clean, but caused the
> problem exiting X. can anyone else verify?


I use mozilla only rarely. I personally don't think this is application
induced.
--
Roger Cornelius racpop@tenzing.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-15-2008, 10:46 AM
Roger Cornelius
 
Posts: n/a
Default Re: Xwindow hang on osr507

Bob Bailin wrote:
>
> "Roger Cornelius" <racpop@tenzing.org> wrote in message
> news:3F81C954.12D82EC5@tenzing.org...
> > I have two dissimilar 5.0.7 systems which exhibit the same problem.
> > When exiting from a console X session, X hangs approximately 75% of the
> > time. It appears to be exiting, but I end up with a blank root window
> > with the crosshatch pattern and an "x" as the mouse pointer. I can move
> > the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> > away, but I just get a blank screen. Attempting to switch to another
> > tty again results in a beep.
> >
> > The systems:
> > IBM x345
> > SCO odt window manager
> > On board video identified by mkdev graphics as:
> > ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> > Also tried an ATI Xpert@Play card with same results.
> >
> > Dell Precision 330
> > fvwm2 window manager
> > Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> > adapters)
> >
> > Both systems have osr507mp and osr507up installed.
> >
> > I've tried various resolution configurations in mkdev graphics but no
> > change in the problem.
> >
> > After the hang and from another login, I can kill the X process which
> > results in a black or sometimes garbled screen. I can log in again,
> > though I can't see what's happening on the screen. On the Dell box, I
> > can then log out and the screen returns to normal. On the IBM box,
> > logging out just gives me another blank screen.
> >
> > Has anyone else experienced this very annoying behaviour?

>
> Have you tried using the generic VESA driver for your card?
> Using it, you may be limited to only 800x600, but it may work.


My experience with it has been that it's unusably slow. I'm willing to
try it again as an experiment, but don't think it's an acceptable
solution to the problem.
--
Roger Cornelius racpop@tenzing.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-15-2008, 10:46 AM
Bela Lubkin
 
Posts: n/a
Default Re: Xwindow hang on osr507

Roger Cornelius wrote:

> > > | I have two dissimilar 5.0.7 systems which exhibit the same problem.
> > > | When exiting from a console X session, X hangs approximately 75% of the
> > > | time. It appears to be exiting, but I end up with a blank root window
> > > | with the crosshatch pattern and an "x" as the mouse pointer. I can move
> > > | the pointer but nothing else. Alt-Fkey or ctrl-prtscreen will switch
> > > | away, but I just get a blank screen. Attempting to switch to another
> > > | tty again results in a beep.
> > > |
> > > | The systems:
> > > | IBM x345
> > > | SCO odt window manager
> > > | On board video identified by mkdev graphics as:
> > > | ATI RAGE PRO/LT-PRO/XL/Mobility (P/M/M1)
> > > | Also tried an ATI Xpert@Play card with same results.
> > > |
> > > | Dell Precision 330
> > > | fvwm2 window manager
> > > | Matrox Millenium G200 (configured for Matrox G100/G200/G400 series
> > > | adapters)
> > > |
> > > | Both systems have osr507mp and osr507up installed.
> > > |
> > > | I've tried various resolution configurations in mkdev graphics but no
> > > | change in the problem.
> > > |
> > > | After the hang and from another login, I can kill the X process which
> > > | results in a black or sometimes garbled screen. I can log in again,
> > > | though I can't see what's happening on the screen. On the Dell box, I
> > > | can then log out and the screen returns to normal. On the IBM box,
> > > | logging out just gives me another blank screen.


I asked you to try editing each entry in the active grafinfo file to
add:

> > MEMORY(VID, 0x000A0000,0x0020000); /* Standard VGA video memory window */


after the existing "MEMORY" line(s) in each mode. You say:

> This changed the behaviour on the IBM system and possibly fixed it on
> the Dell. For the latter, the couple of opportunities I've had to exit
> X worked correctly.


Perhaps you could cycle it a few more times for confidence? If it's as
random as it seemed, just running the X server and exiting as quickly as
possible ought to be a decent "smoke test".

> For the former, I exited X three times today. The
> first time, I was returned to the shell prompt as should be normal. The
> second time, I got a blank, black screen, like JPR described, which I
> used to log in blind, then ran clean_screen which got the video back.
> The third time, I got a kernel panic and reboot.


So previously the X server was hanging on exit (not affecting the whole
machine) about 75% of the time. I assume that 75% is a very rough
estimate. Now, out of 3 samples, one exited cleanly and two more went
wrong (in different ways). So without further examination of the
failure modes, I would tend to conclude that whatever was causing the
problem is still happening. Only the failure modes have changed. That
is, if you were to run 100 cycles under the new setup, you would see
about 25 successful exits, about 75 failures -- same as before.

Since the new failure modes include worse options (panic vs. a mere
unusable screen), you should probably undo the patch on the IBM.

Repeating part of the original message:

> > > | After the hang and from another login, I can kill the X process which
> > > | results in a black or sometimes garbled screen. I can log in again,
> > > | though I can't see what's happening on the screen. On the Dell box, I
> > > | can then log out and the screen returns to normal. On the IBM box,
> > > | logging out just gives me another blank screen.


Let's go back to the original grafinfo file. After a "bad" exit, you
seem to be saying the X server is still running. You can see this from
a network login, so the rest of the system is fine.

I don't quite understand from this description what happens on the IBM
when you run a new X server. Are you saying that it too is blank, or
that it displays normally? In other words, has the console become
totally unusable at this point, or are you able to return to a usable X
server as often as you want, but not to text mode?

Anyway, next time the exit hang happens, examine that X server's process
tree. In particular, does it have a subprocess called `vbiosd`? What
happens if you kill _that_ rather than the X server -- does X then
finish exiting in a more normal manner?

I'm thinking that you may end up with a still blank or trashed screen,
but at least your ability to flip multiscreens should return. It might
be that you can flip, but still can't see what you're doing. But you
should be able to distinguish between e.g. a multiscreen that was
sitting at a shell prompt; `echo '\07'` will beep -- vs. one that was
sitting at a login prompt.

Once the X server has exited relatively gracefully, try to get to a
shell prompt and run /etc/clean_screen. If you can't get to a shell
prompt on the console, run it from the network login as `clean_screen
< /dev/tty02` (substituting the name of the tty on which X was running
-- or, if you've flipped multiscreens, the one you think is currently
"displayed").

I'm trying both to develop a viable workaround for temporary use; and to
better understand the problem so that we can solve it permanently
without a clumsy workaround. So please describe the results very
carefully.

Now, back to the panic:

> Here are [what I think
> are] the important parts of the output of crash's panic command:
>
> Unexpected trap in kernel mode:
> cr0 0x8001003B cr2 0x0011001C cr3 0x00002000 tlb 0x00000000
> ss 0x00000001 uesp 0x0080A2CC efl 0x00010286 ipl 0x00000000
> cs 0x00000158 eip 0xF005919A err 0x00000002 trap 0x0000000E
> eax 0x00002000 ecx 0x00000001 edx 0x00000014 ebx 0xE0000E1C
> esp 0xE0000DE0 ebp 0xE0000E0C esi 0x00000001 edi 0x00000000
> ds 0x00000160 es 0x00000160 fs 0x00000000 gs 0x00000000
> cpu 0x00000001


....

> Kernel Stack before Trap:
> STKADDR FRAMEPTR FUNCTION POSSIBLE ARGUMENTS
> e0000de0 e0000e0c v86vint (u+0xe1c,0)


Hmmm. Well, it panic'd while running code under an interrupt that was
being serviced in virtual 8086 mode. Presumably that would be an
interrupt that was provoked by something the adapter's BIOS did while
coming down from graphics mode; and should have been handled by code
within the BIOS. The panic was a trap E (an illegal memory reference);
the bad reference address was 0x11001C (CR2). That address isn't a
sensible address for BIOS code to be accessing. We have no basis to
determine whether this is a BIOS bug or a bug in the simulated 8086
environment under which the Unix kernel is running the BIOS.

This does remind me of another thing that you should try, though. In
fact something that all three of the original posters should try. Many
modern systems have a BIOS setup item that boils down to "Should an
interrupt vector be assigned to the video board?". In most cases this
should be set to "no" for Unix. To be precise, I do not know of any
case where it needs to be "yes", but I could easily believe that some
video BIOSes might require it and I simply haven't run into one. This
is another one of those things that you'll learn about right away: if
you turn it off and the board/BIOS really need it, getting _into_ X will
fail and you'll back out the change.

Yet a third thing that you could try is to disable the high-precision
timer interrupts that were first introduced in OSR506. To do this, boot
with "defbootstr clock.disable_short_timers=1". The BIOS code may be
getting an unexpectedly high speed stream of timer interrupts, which
could get it in trouble.

> I'll post again as I have more details, but I won't have console access
> to the IBM again until Thursday.


I've given you several conflicting ideas to try. When you have access,
you'll have to decide what to fiddle with. I don't think it would be
wise to try more than one of these ideas at the same time, because you
wouldn't be able to tell which behavior changes were caused by what.

I think my order of attack would be:

1. Revert to the original grafinfo -- the change didn't help in this
case, and made the failure mode worse at times

2. Disable VGA IRQ in BIOS setup; test

3. Unless that made X unusable, leave it off even if it didn't help,
because it leaves more IRQs free for other devices

4. Try "defbootstr clock.disable_short_timers=1"; test

5. If that doesn't fix the problem, reboot without it and forget about
that setting

6. If neither of those fix the problem, work towards a workaround
based on killing `vbiosd` and running `clean_screen`

7. Comment on all the steps you took so we learn what was really
relevant...

>Bela<

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192