Cannot start X after today Karmic upgrade

Bug #476874 reported by Rafal Zawadzki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

About week ago I updated my Dell XPS M1330 from Jaunty to Karmic. Besides few issues like problem with blacklisting ssb everything was perfect.

Today I made apt-get upgrade.

X cannot start anymore - hangs, black screen. When I am trying to get to console ALT+CTRL+F1 - hangs completely - even keyboard (switch capsclock) is no more responsible.

The same in "single"/recovery mode.

ProblemType: Bug
Architecture: i386
Date: Fri Nov 6 21:22:11 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. XPS M1330
NonfreeKernelModules: wl
Package: xserver-xorg-video-intel 2:2.9.0-1ubuntu2
ProcCmdLine: root=UUID=92b51091-98b8-4231-9420-c71ffefbde54 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu9
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati N/A
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.31-14-generic i686
Xrandr: Error: command ['xrandr', '--verbose'] failed with exit code 1: Can't open display
dmi.bios.date: 07/08/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0N6705
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd07/08/2008:svnDellInc.:pnXPSM1330:pvr:rvnDellInc.:rn0N6705:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: XPS M1330
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
glxinfo: Error: command ['glxinfo'] failed with exit code 255: Error: unable to open display
setxkbmap: Error: command ['setxkbmap', '-print'] failed with exit code 255: Cannot open display "default display"
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-14-generic
xdpyinfo: Error: command ['xdpyinfo'] failed with exit code 1: xdpyinfo: unable to open display "".

Revision history for this message
Rafal Zawadzki (bluszcz) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Rafal Zawadzki (bluszcz) wrote :

Few facts:

1. I tried to debug Intel graphic driver using tutorial at https://wiki.ubuntu.com/X/Troubleshooting/Freeze and I am sending now result of it.

2. List of my updated packages that day:

root@atomic:/home/bluszcz# cat /var/log/dpkg.log |grep 2009-11-06 |grep \ installed|awk '{print $5}'|sort |uniq
apparmor
apparmor-utils
apport
apport-gtk
apport-kde
apport-qt
avahi-autoipd
avahi-daemon
avahi-utils
bzr
bzr-doc
calibre
calibre-bin
checkbox
checkbox-gtk
desktop-file-utils
doc-base
erlang-esdl-doc
evince
evolution
evolution-common
evolution-documentation-en
evolution-plugins
f-spot
gdm
gnome-about
gnome-desktop-data
gnome-settings-daemon
gnujump
gnujump-data
gtk2-engines
gtk2-engines-murrine
hal
hicolor-icon-theme
initramfs-tools
libapparmor1
libapparmor-perl
libavahi-client3
libavahi-client-dev
libavahi-common3
libavahi-common-data
libavahi-common-dev
libavahi-compat-libdnssd1
libavahi-core6
libavahi-glib1
libavahi-glib-dev
libavahi-gobject0
libavahi-qt3-1
libavahi-qt3-dev
libavahi-ui0
libc-bin
libevdocument1
libevview1
libflac-dev
libgd2-noxpm
libgnome-desktop-2-11
libgudev-1.0-0
libhtml-parser-perl
libsdl-console
libsdl-console-dev
libsdl-image1.2-dev
libsdl-net1.2-dev
libsdl-sound1.2-dev
libsmpeg-dev
libspeex-dev
libudev0
man-db
menu
python-apport
python-avahi
python-problem-report
python-support
rhythmbox
rsyslog
sdl-ball
sdl-ball-data
shared-mime-info
totem
totem-common
totem-gstreamer
totem-mozilla
totem-plugins
totem-xine
ttf-alee
udev
x11-common
xlibmesa-gl-dev
xorg
xsane
xsane-common
xserver-xorg
xserver-xorg-input-all
xutils
root@atomic:/home/bluszcz#

I will try to downgrade one by one and find which one is broken.

However, there is no intel package on this lsit.

Revision history for this message
Rafal Zawadzki (bluszcz) wrote :
Download full text (6.6 KiB)

I have downgraded xserver-xorg and -input-all packages, the same.

Strace of X process:

bluszcz@atomic [(sob lis 07) 22:39]:~
$ ps axu |grep Xorg
root 1295 0.0 0.0 3052 772 ? S 22:37 0:00 xinit /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe -- /usr/bin/X -br -once -config /etc/X11/xorg.conf.failsafe -logfile /var/log/Xorg.failsafe.log
root 1296 0.4 0.3 16880 10196 tty2 S<s+ 22:37 0:00 /usr/bin/X :0 -br -once -config /etc/X11/xorg.conf.failsafe -logfile /var/log/Xorg.failsafe.log
bluszcz 2526 0.0 0.0 3056 808 pts/0 S+ 22:39 0:00 grep Xorg
bluszcz@atomic [(sob lis 07) 22:39]:~
$ sudo strace -p 1296
hi bluszcz, please enter the password on machine atomic:
Process 1296 attached - interrupt to quit
select(256, [1 3 4 5 7 11 23 24], NULL, NULL, {474, 890079}
6bluszcz@atomic [(sob lis 07) 22:40]:~
$ sudo lsof -p 1296
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xorg 1296 root cwd DIR 8,5 4096 4099 /etc/X11
Xorg 1296 root rtd DIR 8,5 4096 2 /
Xorg 1296 root txt REG 8,5 1726488 42546 /usr/bin/Xorg
Xorg 1296 root mem REG 8,5 83608 323 /lib/libz.so.1.2.3.3
Xorg 1296 root mem REG 8,5 513472 42590 /usr/lib/libfreetype.so.6.3.20
Xorg 1296 root mem REG 8,5 13600 480 /lib/libgpg-error.so.0.4.0
Xorg 1296 root mem REG 8,5 17920 85155 /usr/lib/xorg/modules/extensions/libdbe.so
Xorg 1296 root mem REG 8,5 26156 83520 /usr/lib/xorg/modules/extensions/librecord.so
Xorg 1296 root mem REG 8,5 34488 85156 /usr/lib/xorg/modules/extensions/libdri.so
Xorg 1296 root mem REG 8,5 21964 84797 /usr/lib/xorg/modules/libshadow.so
Xorg 1296 root mem REG 8,5 120712 83495 /usr/lib/xorg/modules/libfb.so
Xorg 1296 root mem REG 8,5 116272 151 /lib/libgcc_s.so.1
Xorg 1296 root mem REG 8,5 338512 85159 /usr/lib/xorg/modules/extensions/libglx.so
Xorg 1296 root mem REG 8,5 9564 42356 /usr/lib/libXau.so.6.0.0
Xorg 1296 root mem REG 8,5 34224 42440 /usr/lib/libdrm.so.2.4.0
Xorg 1296 root mem REG 8,5 36488 83161 /usr/lib/xorg/modules/input/evdev_drv.so
Xorg 1296 root mem REG 8,5 503740 484 /lib/libgcrypt.so.11.5.2
Xorg 1296 root mem REG 8,5 9736 143824 /lib/tls/i686/cmov/libdl-2.10.1.so
Xorg 1296 root mem REG 8,5 22040 85129 /usr/lib/xorg/modules/libvbe.so
Xorg 1296 root mem REG 8,5 71144 41680 /usr/lib/libhal.so.1.0.0
Xorg 1296 root mem REG 8,5 113320 166 /lib/ld-2.10.1.so
Xorg 1296 root mem REG 8,5 16628 42485 /usr/lib/libXdmcp.so.6.0.0
Xorg 1296 root mem REG 8,5 149392 143825 /lib/tls/i686/cmov/libm-2.10.1.so
Xorg 1296 root mem REG 8,5 26512 83466 /usr/lib/xorg/modules/drivers/vesa_drv.so
Xorg 1296 root mem REG 8,5 227000 419 /lib/libd...

Read more...

Revision history for this message
Rafal Zawadzki (bluszcz) wrote :

I have downgraded all x related packages - xorg, x11-common, without any effect.

Finally, I decided to downgrade gdm:

root@atomic:~# dpkg -i /tmp/iso/pool/main/g/gdm/gdm_2.28.1-0ubuntu1_i386.deb
dpkg: warning: downgrading gdm from 2.28.1-0ubuntu2 to 2.28.1-0ubuntu1.
(Odczytywanie bazy danych ... 85%reboot
(Odczytywanie bazy danych ... 504464 plików i katalogów obecnie zainstalowanych.)
Przygotowanie do zastąpienia gdm 2.28.1-0ubuntu2 (wykorzystując .../gdm_2.28.1-0ubuntu1_i386.deb) ...
Rozpakowanie pakietu zastępującego gdm ...
Konfigurowanie gdm (2.28.1-0ubuntu1) ...
Instalowanie nowej wersji pliku konfiguracyjnego /etc/init/gdm.conf ...

Przetwarzanie wyzwalaczy dla hicolor-icon-theme...
Przetwarzanie wyzwalaczy dla desktop-file-utils...
root@atomic:~#

From this moment my system works perfect again.

If I can help in other way to resolve this gdm issue, just give me a sign.

Revision history for this message
Rafal Zawadzki (bluszcz) wrote :

The funny thing is, that I am not using gdm. I have it installed, but I am using slim.

Revision history for this message
Rafal Zawadzki (bluszcz) wrote :
affects: xserver-xorg-video-intel (Ubuntu) → gdm (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you comment on bug #474806 about your issue and the downgrade working?

Changed in gdm (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

weird that gdm is causing issues for you when not used there

Revision history for this message
Steve Langasek (vorlon) wrote :

I believe this is a duplicate of bug #475259 and am marking it as such.

What is slim? There doesn't appear to be a package of that name in Ubuntu. Does slim start an X server? If so, why does slim work but gdm fails (resulting in trying to load the vesa X server, which will trash the KMS console)?

Can you provide a copy of /var/log/Xorg.0.log from a successful start after gdm has been downgraded?

Revision history for this message
Rafal Zawadzki (bluszcz) wrote :

Slim is lightweight login manager (below is from Jaunty).

As I see, you have already commented that bug.

I will provide in few hours log from working X start (but for now, I removed gdm machine completely :P).

But if you take a look at comment #3, you will see that there are some dependencies on gdm even If I am running slim:

$ ps axu |grep Xorg
root 1295 0.0 0.0 3052 772 ? S 22:37 0:00 xinit /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe -- /usr/bin/X -br -once -config /etc/X11/xorg.conf.failsafe -logfile /var/log/Xorg.failsafe.log

bluszcz@bluszcz [(śro lis 11) 10:33]:~/projects/branches/hulu
$ apt-cache show slim
Package: slim
Priority: optional
Section: universe/x11
Installed-Size: 1204
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-Maintainer: Mike Massonnet <email address hidden>
Architecture: i386
Version: 1.3.0-2
Provides: x-display-manager
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libjpeg62, libpam0g (>= 0.99.7.1), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.1.1), libx11-6, libxft2 (>> 2.1.1), libxmu6, debconf (>= 1.2.9) | debconf-2.0
Recommends: xterm | x-terminal-emulator
Suggests: scrot
Filename: pool/universe/s/slim/slim_1.3.0-2_i386.deb
Size: 810820
MD5sum: 076e49261d7541060730cf00ec78cdf5
SHA1: fe2f48451b24b25c970879ea61ace1c901ff629d
SHA256: 5acd4b24031a255a3f9043dd2162de87bebdfd44b7ae3b22ecc24a4b8b68c6c3
Description: desktop-independent graphical login manager for X11
 SLiM aims to be light and simple, although completely configurable through
 themes and an option file. It is particularly suitable for machines that
 don't require remote logins.
Homepage: http://slim.berlios.de/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

bluszcz@bluszcz [(śro lis 11) 10:33]:~/projects/branches/hulu
$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.