From owner-freebsd-x11@FreeBSD.ORG Sun Dec 2 16:20:49 2007 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D68116A419 for ; Sun, 2 Dec 2007 16:20:49 +0000 (UTC) (envelope-from nakaji@heimat.jp) Received: from www.heimat.gr.jp (unknown [IPv6:2001:3e0:a84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3E813C4CC for ; Sun, 2 Dec 2007 16:20:48 +0000 (UTC) (envelope-from nakaji@heimat.jp) Received: from ra333.heimat.gr.jp.kankyo-u.ac.jp ([IPv6:2001:3e0:a84:0:200:4cff:fe17:573c]) by www.heimat.gr.jp (8.14.2/8.14.2) with ESMTP id lB2GKVL5097852 for ; Mon, 3 Dec 2007 01:20:31 +0900 (JST) (envelope-from nakaji@heimat.jp) From: NAKAJI Hiroyuki To: freebsd-x11@freebsd.org In-Reply-To: <86bq99z4gr.fsf@ra333.heimat.gr.jp> (NAKAJI Hiroyuki's message of "Sun, 02 Dec 2007 21:05:56 +0900") References: <86odeo3zly.fsf@ra333.heimat.gr.jp> <20071024203427.W2310@wonkity.com> <86wstbe1ua.fsf@ra333.heimat.gr.jp> <20071025105633.T5744@wonkity.com> <86sl3vu90q.fsf@ra333.heimat.gr.jp> <861warium2.fsf@ra333.heimat.gr.jp> <17B65087-729C-4E5C-B522-892C4D33322B@arved.priv.at> <86bq99z4gr.fsf@ra333.heimat.gr.jp> User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (berkeley-unix) Date: Mon, 03 Dec 2007 01:20:31 +0900 Message-ID: <86y7cdxe40.fsf@ra333.heimat.gr.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-0.1 required=12.0 tests=CONTENT_TYPE_PRESENT, NO_RELAYS autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on www.heimat.gr.jp X-Virus-Scanned: by amavisd-new Subject: Re: Fatal server error: Matrox Graphics, Inc. MGA 2064W [Millennium] rev 1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 16:20:49 -0000 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@ra333.heimat.gr.jp> >>>>> NAKAJI Hiroyuki wrote: > Thank you, Tilman. My HOLD_PKGS are reduced. > >>>>> In <17B65087-729C-4E5C-B522-892C4D33322B@arved.priv.at> > >>>>> Tilman Linneweh 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