upgrade to current gdm/xorg errors (and some fixes)

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

upgrade to current gdm/xorg errors (and some fixes)

Post by maximus »

I thought it was because I rushed the upgrade the first time but it appears after I wiped my system and reinstalled, then upgraded to current using the wiki instructions, that I'm getting keyboard related errors preventing me from logging in from gdm or xdm. I haven't tried kdm - tried slim but it wouldn't run, libjpeg related error which I assume means it needs rebuilding for current which I also tried but had compilation errors.

In gdm and xdm I can move the mouse around, but when I try to type nothing is happening.

Trying to restart or shutdown via the mouse-driven menu in gdm would not work well, instead of restarting or shutting down gdm would crash , respawn and bring me back to the login screen. After a few successive tries however, it would shutdown. Xdm was not much better, although it didn't appear to crash I was stuck at the login screen, not able to do anything - after Alt+K+PrintScreen xdm of course loaded again so I had to shutdown by pressing the power button.

The only way I could login and run X was to boot with the "single" lilo option, login as root, init to runlevel 3, switch to my user account and issue "startx". The keyboard seems to work fine both before and after starting X in this case. Right now I have removed both gdm and xdm and just run x after logging in at the terminal to save me the trouble of booting in single mode. Below is a snippet from /var/log/xdm.log.

Code: Select all

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux darkstar 2.6.33.1 #2 SMP Fri Mar 26 02:09:08 CDT 2010 x86_64
Kernel command line: BOOT_IMAGE=Linux ro root=802 quiet vt.default_utf8=1
Build Date: 23 February 2010  12:09:32PM
 
Current version of pixman: 0.16.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
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: Mon Apr  5 00:29:58 2010
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Can't find file "se_SE" for symbols include
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
xdm info (pid 6388): Shutting down
xdm error (pid 6388): Display :0 is being disabled
error setting MTRR (base = 0xd0000000, size = 0x0ff00000, type = 1) Inappropriate ioctl for device (25)
xdm info (pid 6388): Exiting
Another issue, dhcpcd is not running automatically at boot after the upgrade. To get my network up I must run dhcpcd after logging in to X. I'm guessing this is related to me replacing rc.inet1 with the dotnew? Any way I can fix this without reinstalling again? EDIT: fixed by running "netconfig" :oops:

EDIT: I managed to fix the problem with the keyboard and gdm/xdm by creating a symbolic link "se_SE" pointing to "se" in /etc/X11/xkb/symbols. I do however have other errors but obviously non-fatal as gdm works now - see below from /var/log/gdm/:0.log :

Code: Select all

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Duplicate shape name ""
>                   Using last definition
> Warning:          Duplicate shape name ""
>                   Using last definition
> Warning:          Duplicate shape name ""
>                   Using last definition
and

Code: Select all

> Warning:          Multiple doodads named ""
>                   Using first definition
> Warning:          Multiple doodads named ""
>                   Using first definition
> Warning:          Multiple doodads named ""
>                   Using first definition
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by toothandnail »

I've also had problems with the upgrade. Followed the directions in the Wiki, but when I completed the upgrade, X won't start. So far, no idea what the problem is. The Xorg.log doesn't help me much, but maybe someone else can spot the problem.....

Code: Select all

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux t-61 2.6.29.6 #3 SMP Mon Dec 7 15:01:06 CST 2009 x86_64
Kernel command line: root=/dev/sda12 vga=870
Build Date: 23 February 2010  12:09:32PM
 
Current version of pixman: 0.16.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
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: Tue Apr  6 16:03:53 2010
(II) Loader magic: 0x7bf980
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:2a02:17aa:20b5 rev 12, Mem @ 0xf8100000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2a03:17aa:20b5 rev 12, Mem @ 0xf8200000/1048576
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
	Section "Device"
		Identifier	"Builtin Default intel Device 0"
		Driver	"intel"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default intel Screen 0"
		Device	"Builtin Default intel Device 0"
	EndSection
	Section "Device"
		Identifier	"Builtin Default vesa Device 0"
		Driver	"vesa"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default vesa Screen 0"
		Device	"Builtin Default vesa Device 0"
	EndSection
	Section "Device"
		Identifier	"Builtin Default fbdev Device 0"
		Driver	"fbdev"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default fbdev Screen 0"
		Device	"Builtin Default fbdev Device 0"
	EndSection
	Section "ServerLayout"
		Identifier	"Builtin Default Layout"
		Screen	"Builtin Default intel Screen 0"
		Screen	"Builtin Default vesa Screen 0"
		Screen	"Builtin Default fbdev Screen 0"
	EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default intel Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default intel Device 0"
(==) No monitor specified for screen "Builtin Default intel Screen 0".
	Using a default monitor configuration.
(**) |-->Screen "Builtin Default vesa Screen 0" (1)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
	Using a default monitor configuration.
(**) |-->Screen "Builtin Default fbdev Screen 0" (2)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default fbdev Device 0"
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic
(==) ModulePath set to "/usr/lib64/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 2.10.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 2.3.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: "fbdev"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 00@00:02:0
(WW) Falling back to old probe method for vesa
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(EE) intel(0): No kernel modesetting driver detected.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Anyone know what I've screwed up?

Paul.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by gapan »

intel card? What version of the driver do you have installed?
Image
Image
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by toothandnail »

gapan wrote:intel card? What version of the driver do you have installed?
Hi George.

Yes, Intel. Driver is xf86-video-intel-2.10.0-x86_64-1. lspci says the adaptor is GM965/GL960 Integraded Graphics Controller (Rev 0c). Its in a Lenovo T61.

Paul.
User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by maximus »

Looking at the error in your xorg log:

Code: Select all

(EE) intel(0): No kernel modesetting driver detected.
I googled around and found a few things -

After version 2.9.0 the -intel driver has dropped support for UMS, and needs KMS enabled in the kernel.

"Kernel mode-setting (KMS) shifts responsibility for selecting and setting up the graphics mode from X.org to the kernel. When X.org is started, it then detects and uses the mode without any further mode changes. This promises to make booting faster, more graphical, and less flickery. "

Maybe try upgrading to kernel 2.6.33.1, or downgrade to an earlier intel driver version (2.8.1 I think is the next one down)??
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by gapan »

What maximus wrote, an older driver or a newer kernel will probably work.
Image
Image
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by toothandnail »

gapan wrote:What maximus wrote, an older driver or a newer kernel will probably work.
Thanks to both of you. Small problem - I've got limited access at the moment, and can't find a download location for the kernel or the drivers. Can't use slapt-get until I fix the rest of the problem.

Is there a download URL for them?

:) I'll be doing some testing of the live CD for the next few hours, so fixing the install may have to wait. Working stupid hours again, then I have to start house hunting.....

Ok, forget the question. I've managed to locate one of the Slackware repos and I've downloaded both the older Intel driver and the newer kernel, firmware and modules. Hopefully get a chance to try them later tonight.

Paul.
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by toothandnail »

Thanks George. Downloaded. I'll start fiddling later...

At the moment, I'm running from the latest SalixLive (installed to flash drive). Looks good.... :) I'll have to remember to move the files before I shut it down. Would hate to lose them by not moving them to somewhere a bit more permanent.

Paul.
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: upgrade to current gdm/xorg errors (and some fixes)

Post by toothandnail »

I installed this Intel driver:

ftp://ftp.ntua.gr/pub/linux/slackware/s ... 6_64-1.txz

That has fixed X, so the system is up and running again.

I was going to install the later kernel and see how that went with the newer Xorg, but hit a small snag - spkg complained that a package with the same base name was already installed and woudln't let me. After reading the man page, I couldn't see any option to force it to install. Is there one, or do I need to do the install by hand?

I can see a bit of a problem with the firmware, since there doesn't seem to be any way to distinguish the two versions, but I imagine that either would work, since I doubt there is really any difference between them.

Paul.
Post Reply