Subject: X 4.3.0 + xlockmore -> machine check
To: None <port-alpha@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-alpha
Date: 03/13/2003 13:33:32
On Thu, Mar 13, 2003 at 10:46:56AM +0100, Manuel Bouyer wrote:
> [...]
> Now I need to find why the box crashes hard when I start xlock ...

I setup serial console, so I've a better vision of what's happening.
When I start xlockmore (either via xlock, or
exec xlock -mode blank +enablesaver -resetsaver), I get on console:
panic: machine check
Stopped in pid 235 (XFree86) at cpu_Debugger+0x4:       ret     zero,(ra)
db> tr
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0x168
machine_check() at machine_check+0x254
dec_2100_a50_mcheck() at dec_2100_a50_mcheck+0xe68
dec_2100_a50_mcheck_handler() at dec_2100_a50_mcheck_handler+0x54
interrupt() at interrupt+0x1ac
XentInt() at XentInt+0x1c
--- interrupt (from ipl 0) ---
--- user mode ---

This seems to happen after a X server crash: last lines of XFree86.0.log
contains:
(WW) Mouse0: bad wsmouse event type=1047555933
(WW) Mouse0: bad wsmouse event type=1047555933
(WW) Mouse0: bad wsmouse event type=1047555933
(WW) Mouse0: bad wsmouse event type=1047555933

Fatal server error:
Caught signal 11.  Server aborting

The date of the file match, so it's probably not a log from a previous
run.

I worked around this by a few changes to XF86Config, I don't
know which ones are relevant: I commented out Speedo and Type1 fonts,
commented out the "omit xfree86-dga" for extmod, and added the GL module.

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
    Load        "dbe"   # Double buffer extension
    Load        "extmod"   # Double buffer extension
#    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
    Load        "glx"
    Load        "GL"
EndSection


--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--