Fatal server error: Matrox Graphics, Inc. MGA 2064W [Millennium] rev 1

NAKAJI Hiroyuki nakaji at heimat.jp
Sun Dec 2 08:20:49 PST 2007


There may be kbd(4) bug with pc98. MGA driver of
xf86-video-mga-1.4.6.1_1 works fine.

The old setting used in xorg 7.2 (and before)

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	"XkbRules"	"xfree98"
	Option	"XkbModel"	"pc98"
	Option	"XkbLayout"	"nec_vndr/jp"
EndSection

in xorg.conf causes the problem. I tested Xkb* options with next two
cases.

(1) I removed three Option lines and restart X. The BadValue error did
    not happen, but some keys did not function.

(2) Next, I added in xorg.conf

    Option	"XkbLayout"	"nec_vndr/jp"

    With this setting, there was "BadValue" error again.

The diff between /var/log/Xorg.0 of these two settings is:

--- Xorg.0.log.old	2007-12-02 23:56:49.000000000 +0900
+++ Xorg.0.log	2007-12-03 00:03:31.000000000 +0900
@@ -12,7 +12,7 @@
 Markers: (--) probed, (**) from config file, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-(==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec  2 23:52:57 2007
+(==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec  3 00:02:52 2007
 (==) Using config file: "/etc/X11/xorg.conf"
 (==) ServerLayout "XFree86 Configured"
 (**) |-->Screen "Screen0" (0)
@@ -70,7 +70,7 @@
 
 (II) PCI: Probing config type using method 1
 (II) PCI: Config type is 1
-(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
+(II) PCI: stages = 0x03, oldVal1 = 0x8000005c, mode1Res1 = 0x80000000
 (WW) OS did not count PCI devices, guessing wildly
 (II) PCI: PCI scan (all values are in hex)
 (II) PCI: 00:00:0: chip 8086,1237 card 0000,0000 rev 02 class 06,00,00 hdr 00
@@ -562,15 +562,14 @@
 (**) Keyboard0: XkbRules: "xfree98"
 (**) Option "XkbModel" "pc98"
 (**) Keyboard0: XkbModel: "pc98"
-(**) Option "XkbLayout" "nec/jp"
-(**) Keyboard0: XkbLayout: "nec/jp"
+(**) Option "XkbLayout" "nec_vndr/jp"
+(**) Keyboard0: XkbLayout: "nec_vndr/jp"
 (**) Option "CustomKeycodes" "off"
 (**) Keyboard0: CustomKeycodes disabled
 (II) evaluating device (Keyboard0)
 (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
 (II) evaluating device (Mouse0)
 (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
-(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
 (II) Mouse0: SetupAuto: hw.iftype is -1, hw.model is 0
 (II) Mouse0: PnP ID string: `(!DMSH0001\00010124\MOUSE\PNP0F0A\MICROSOFT INTELLIMOUSE 1.135)'
 (II) Mouse0: PnP rev 1.00

The warning about keymap seems the problem itself. But I don't have the
solution now. Please help.

Thanks in advance.

>>>>> In <86bq99z4gr.fsf at ra333.heimat.gr.jp> 
>>>>>	NAKAJI Hiroyuki <nakaji at jp.freebsd.org> wrote:
> Thank you, Tilman. My HOLD_PKGS are reduced.

> >>>>> In <17B65087-729C-4E5C-B522-892C4D33322B at arved.priv.at> 
> >>>>>	Tilman Linneweh <arved at arved.priv.at> wrote:

> > > Finally, I gave up Xorg 7.3 and downgraded to Xorg 7.2. And I added
> > > many
> > > packages as HOLD_PKGS in pkgtools.conf.

> > I have had the same problem.
> > I downgraded to xf86-video-mga-1.4.6.1_1, which works fine with xorg 7.3

> I updated to xorg 7.3 and xf86-video-mga-1.4.6.1_1. X works again. But I
> got another error about kterm executed from fvwm2.

> kterm:  warning, error event receieved:
> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  101 (X_GetKeyboardMapping)
>   Value in failed request:  0xf8
>   Serial number of failed request:  359
>   Current serial number in output stream:  359
-- 
NAKAJI Hiroyuki


More information about the freebsd-x11 mailing list