serious xserver-xorg problem in 8.10

Bug #318276 reported by tdflanders
4
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

keypad not working with 8.10, 9.04 alpha3

Revision history for this message
tdflanders (thomasdelbeke) wrote :

hardinfo -r > acer.txt

Revision history for this message
Jouni Mettala (jouni-mettala) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information.

At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

Changed in xorg:
status: New → Incomplete
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

the bug report doesn't actually say anything about what's wrong..

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi there Jouni,

Would it be possible to keep this bug on hold?

I will try again tomorrow. Either way, it is not xserver-xorg that is affected. I witnessed this thing with a variety of issues. What could help immensely: Is there a way to run dpkg-reconfigure verbosely? I assume this 'symptom' will be solved now as I configured me keyboard to: 8. Acer Laptop ; 27. UTFSC-8. So the right group of keys with numbers/arrows that you can activate/deactivate with numlock should work again. I have also installed xdm and wdm instead of gdm. I will now experiment with both.

There is however a variety of symptoms other then the one I had in mind for this bug. Where do I start, the forum, IRC?

Also (this is invariably so!):

thomas@thomas-laptop:~$ pidof gdm
5529 5527
thomas@thomas-laptop:~$ pidof gdm ; pidof xdm ; pidof wdm
5529 5527
thomas@thomas-laptop:~$

and:

thomas@thomas-laptop:~$ cat ./.xsession-errors | less
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_GB.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
x-session-manager[5781]: WARNING: Unable to find provider 'gnome-wm' of required component 'windowmanager'
Checking for Xgl: not present.
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1440x900) to maximum 3D texture size (2048): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
Starting gtk-window-decorator
x-session-manager[5781]: WARNING: Application 'gnome-wm.desktop' failed to register before timeout
seahorse nautilus module initialized
Initializing nautilus-share extension

** (nautilus:5969): WARNING **: Unable to add monitor: Not supported
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

x-session-manager[5781]: WARNING: Application 'libcanberra-login-sound.desktop' failed to register before timeout
Failure: Module initalization failed

Tracker version 0.6.6 Copyright (c) 2005-2007 by Jamie McCracken (<email address hidden>)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
starting HAL detection for ac adaptors...found /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1
evolution-alarm-notify-Message: Setting timeout for 13716 1232236800 1232223084
evolution-alarm-notify-Message: Sun Jan 18 00:00:00 2009

evolution-alarm-notify-Message: Sat Jan 17 20:11:24 2009
[...]

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Updated.

Changed in xorg:
status: Incomplete → New
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

sigh..

why don't you first explain what the problem is?

Changed in xorg:
status: New → Incomplete
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Good Timo:

problem is:

Various display issues, too long to list.

See also (amongst others): #311237

The particular problem here is that after half a year of Ubuntu (and some MS, mostly under Virtualbox), suddenly the right keypad does not work anymore. I also had a case opened with Yahoo! for a lost password. I was able to have it reset by providing my personal data and they also don't understand what I am talking about. There the problem was I used the same brute force attack resistant pwd for both gmail and Yahoo! from a backup text file. I used <Ctrl+C> + <Ctrl+V> for both my gmail and my Yahoo! pwd.

I will try now to do some X debugging and your coaching is appreciated. But please note: just because you don't have a clue about how to tackle this either, that doesn't make me a deaf dumb f*****g j**k yet.

Either way, this is 8.10 stable and 9.04 alfa 3. I first reported the compiz.real, libcanberra, metacity, gnome-loginsound stuff during 8.10 alfa-3. Why is it not fixed? I do not get any apport notices against it anymore, but it still is in ~/.xsession-errors. This is Microsoft debugging: cure one symptom, wait for the next, forget about the disease.

Obviously I do not know how to tackle this, and I was wrong during 8.10 alfa-3. I thought the consolekit Segfaulting caused all of the other stuff as well, it did not. Now here I am sure I have an X problem, but not xserver-org, gdm or indeed xdm (see next comment).

Any ideas?

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# pidof gdm
root@thomas-laptop:/home/thomas# pidof xdm
6025 5966
root@thomas-laptop:/home/thomas# pidof wdm
root@thomas-laptop:/home/thomas# pidof wdm ; pidof gdm ; pidof xdm
6025 5966
root@thomas-laptop:/home/thomas# lsb_release -rd ; uname -a ; apt-cache policy xdm wdm gdm xserver-xorg linux xorg
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-11-generic #1 SMP Thu Jan 15 11:03:58 UTC 2009 i686 GNU/Linux
xdm:
  Installed: 1:1.1.8-4
  Candidate: 1:1.1.8-4
  Version table:
 *** 1:1.1.8-4 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
wdm:
  Installed: 1.28-3ubuntu1
  Candidate: 1.28-3ubuntu1
  Version table:
 *** 1.28-3ubuntu1 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
gdm:
  Installed: 2.20.8-0ubuntu3
  Candidate: 2.20.8-0ubuntu3
  Version table:
 *** 2.20.8-0ubuntu3 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
xserver-xorg:
  Installed: 1:7.4~5ubuntu3
  Candidate: 1:7.4~5ubuntu3
  Version table:
 *** 1:7.4~5ubuntu3 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux:
  Installed: 2.6.27.11.14
  Candidate: 2.6.27.11.14
  Version table:
 *** 2.6.27.11.14 0
        500 http://archive.ubuntu.com intrepid-proposed/restricted Packages
        100 /var/lib/dpkg/status
     2.6.27.9.13 0
        500 http://archive.ubuntu.com intrepid-updates/restricted Packages
        500 http://archive.ubuntu.com intrepid-security/restricted Packages
     2.6.27.7.11 0
        500 http://archive.ubuntu.com intrepid/restricted Packages
xorg:
  Installed: 1:7.4~5ubuntu3
  Candidate: 1:7.4~5ubuntu3
  Version table:
 *** 1:7.4~5ubuntu3 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
root@thomas-laptop:/home/thomas#

thomas@thomas-laptop:~$ hardinfo -r < acer.txt

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ cat ~/.xsession-errors | less
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_GB.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
x-session-manager[5781]: WARNING: Unable to find provider 'gnome-wm' of required component 'windowmanager'
Checking for Xgl: not present.
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1440x900) to maximum 3D texture size (2048): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
Starting gtk-window-decorator
x-session-manager[5781]: WARNING: Application 'gnome-wm.desktop' failed to register before timeout
seahorse nautilus module initialized
Initializing nautilus-share extension

** (nautilus:5969): WARNING **: Unable to add monitor: Not supported
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

x-session-manager[5781]: WARNING: Application 'libcanberra-login-sound.desktop' failed to register before timeout
Failure: Module initalization failed

Tracker version 0.6.6 Copyright (c) 2005-2007 by Jamie McCracken (<email address hidden>)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
starting HAL detection for ac adaptors...found /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1
evolution-alarm-notify-Message: Setting timeout for 13716 1232236800 1232223084
evolution-alarm-notify-Message: Sun Jan 18 00:00:00 2009

evolution-alarm-notify-Message: Sat Jan 17 20:11:24 2009

thomas@thomas-laptop:~$ hwinfo +all > hwinfo.log
(Please note hwinfo --help and man hwinfo in Intrepid are not complete, SRU?)

Next is wdm ...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (3.6 KiB)

Eh, could this be it?

this:

root@thomas-laptop:/home/thomas# dpkg-reconfigure -p low debconf
Configuring debconf
-------------------

Packages that use debconf for configuration share a common look and feel. You
can select the type of user interface they use.

The dialog frontend is a full-screen, character based interface, while the
readline frontend uses a more traditional plain text interface, and both the
gnome and kde frontends are modern X interfaces, fitting the respective desktops
(but may be used in any X environment). The editor frontend lets you configure
things using your favorite text editor. The noninteractive frontend never asks
you any questions.

  1. Dialog 2. Readline 3. Gnome 4. Kde 5. Editor 6. Noninteractive

Interface to use: 2

Debconf prioritizes the questions it asks you. Pick the lowest priority of
question you want to see:
  - 'critical' only prompts you if the system might break.
    Pick it if you are a newbie, or in a hurry.
  - 'high' is for rather important questions
  - 'medium' is for normal questions
  - 'low' is for control freaks who want to see everything

Note that no matter what level you pick here, you will be able to see every
question if you reconfigure a package with dpkg-reconfigure.

  1. critical 2. high 3. medium 4. low

Ignore questions with a priority less than: 4

root@thomas-laptop:/home/thomas# dpkg-reconfigure xdm
Configuring xdm
---------------

A display manager is a program that provides graphical login capabilities for
the X Window System.

Only one display manager can manage a given X server, but multiple display
manager packages are installed. Please select which display manager should run
by default.

Multiple display managers can run simultaneously if they are configured to
manage different servers; to achieve this, configure the display managers
accordingly, edit each of their init scripts in /etc/init.d, and disable the
check for a default display manager.

  1. gdm 2. wdm 3. xdm

Default display manager: 2

 System startup links for /etc/init.d/xdm already exist.
root@thomas-laptop:/home/thomas# dpkg-reconfigure xdm
Configuring xdm
---------------

A display manager is a program that provides graphical login capabilities for
the X Window System.

Only one display manager can manage a given X server, but multiple display
manager packages are installed. Please select which display manager should run
by default.

Multiple display managers can run simultaneously if they are configured to
manage different servers; to achieve this, configure the display managers
accordingly, edit each of their init scripts in /etc/init.d, and disable the
check for a default display manager.

  1. gdm 2. wdm 3. xdm

Default display manager: d

Default display manager: 2

 System startup links for /etc/init.d/xdm already exist.
root@thomas-laptop:/home/thomas# dpkg-reconfigure wdm
Configuring wdm
---------------

A display manager is a program that provides graphical login capabilities for
the X Window System.

Only one display manager can manage a given X server, but multiple display
manager packages are installed. Please select which display manager should ...

Read more...

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

don't wrap several bugs into one bugreport. You have to file them one by one. Closing this as invalid.

Thank you.

Changed in xorg:
status: Incomplete → Invalid
Revision history for this message
tdflanders (thomasdelbeke) wrote :

They are filed one by one. Please actually read the report before closing it down!

Grrrr!!!!

Changed in xorg:
status: Invalid → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

never confirm your own bugs.

so the issue is "keypad not working"? You could've just said that when opening the bug. Reconfiguring the display manager has nothing to do with it. Please attach your /var/log/Xorg.0.log from jaunty alpha3.

Changed in xorg:
status: Confirmed → Incomplete
description: updated
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi there,

Ok, we are getting here somewhere.

I did wrong, I admit it.

1) I did not check your policies on confirming your own bugs.

2) I went to bed last night, forgetting I still had to describe what this bug was about.

My sincere apologies for that.

[3) I am an a**h**e, not a r**t**d. I was born that way, they call it a neurobiological development disorder. Don't blame me, I voted Adolf.]

So I am working from 8.10 right now, so I will upload var logs for that first, I will repeat this from Jaunty live in a second, when my backup finishes.

(BTW, there is a distinct difference between being a computer illiterate and having an IQ of 75.)

Cheers,

Thomas

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi there,

wdm made it worse (8.10).
I got 2 pid's for wdm and 1 for something else. I was prompted for a new gdm session, which I opened and am currently working from. Please look at .xsession-errors. I will now read through the Xorg debug wiki and see if I can debug. Then I kill gdm and try to retrieve wdm, then I use 9.04 for repartitioning.

Cheers,

Thomas

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

xlogs were updated, attaching

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ sudo su
[sudo] password for thomas:
root@thomas-laptop:/home/thomas# pidof gdm
6964 6817
root@thomas-laptop:/home/thomas# pidof gdm ; wdm ; xdm
6964 6817
root@thomas-laptop:/home/thomas# NetworkManager ; nm-applet

** (nm-applet:12937): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3

(nm-applet:12937): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

PS,

the NetworkManager thing is not a problem, it is because I was prompted to open a gdm session on top of a wdm one. You can ignore that. Tx.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

OK, sorry again.

I forgot to attach the /var/log/gdm's. I will attach them all separately as people do not usually open a .tat.bz2 here.

Going steady ...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# apt-get install xserver-xorg-core-dbg libgl1-mesa-dri-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  libgl1-mesa-dri-dbg xserver-xorg-core-dbg
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.4MB of archives.
After this operation, 209MB of additional disk space will be used.
Get: 1 http://archive.ubuntu.com intrepid/main libgl1-mesa-dri-dbg 7.2-1ubuntu2 [8503kB]
Get: 2 http://archive.ubuntu.com intrepid/main xserver-xorg-core-dbg 2:1.5.2-2ubuntu3 [6886kB]
Fetched 15.4MB in 2min18s (111kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Selecting previously deselected package libgl1-mesa-dri-dbg.
(Reading database ... 157418 files and directories currently installed.)
Unpacking libgl1-mesa-dri-dbg (from .../libgl1-mesa-dri-dbg_7.2-1ubuntu2_i386.deb) ...
Selecting previously deselected package xserver-xorg-core-dbg.
Unpacking xserver-xorg-core-dbg (from .../xserver-xorg-core-dbg_2%3a1.5.2-2ubuntu3_i386.deb) ...
Setting up libgl1-mesa-dri-dbg (7.2-1ubuntu2) ...
Setting up xserver-xorg-core-dbg (2:1.5.2-2ubuntu3) ...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# apt-get install xserver-xorg-video-all-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package xserver-xorg-video-all-dbg
root@thomas-laptop:/home/thomas# apt-get install xserver-xorg-video-intel-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  xserver-xorg-video-intel-dbg
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1442kB of archives.
After this operation, 2892kB of additional disk space will be used.
Get: 1 http://archive.ubuntu.com intrepid-proposed/main xserver-xorg-video-intel-dbg 2:2.4.1-1ubuntu10.1 [1442kB]
Fetched 1442kB in 12s (111kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Selecting previously deselected package xserver-xorg-video-intel-dbg.
(Reading database ... 157483 files and directories currently installed.)
Unpacking xserver-xorg-video-intel-dbg (from .../xserver-xorg-video-intel-dbg_2%3a2.4.1-1ubuntu10.1_i386.deb) ...
Setting up xserver-xorg-video-intel-dbg (2:2.4.1-1ubuntu10.1) ...
root@thomas-laptop:/home/thomas# apt-get install xserver-xorg-video-all-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package xserver-xorg-video-all-dbgsym
root@thomas-laptop:/home/thomas# apt-cache search xserver-xorg-video-all | grep "dbg"
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# cat /etc/X11/xorg.conf
[...]
Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection
root@thomas-laptop:/home/thomas# nano /etc/X11/xorg.conf ; cat /etc/X11/xorg.conf
[...]
Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

Section "ServerFlags"
        Option "NoTrapSignals" "true"
EndSection
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# echo 1 | sudo tee /sys/module/drm/parameters/debug
1
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

I am back in my original (wdm) session due to:

root# /etc/init.d/gdm stop

Firefox and gedit work file closed down. All firefox tabs were restored upon reopening but gedit did not obviously.

These data still were in my original session:

root@thomas-laptop:/home/thomas# update-manager -c
No protocol specified
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
No protocol specified
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 44, in <module>
    gtk.init_check()
RuntimeError: could not open display
root@thomas-laptop:/home/thomas# pidof wdm
6033 5971 5970
root@thomas-laptop:/home/thomas# pidof wdm ; gdm ; xdm
6033 5971 5970

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Again:

root@thomas-laptop:/home/thomas# gdb /usr/bin/Xorg /etc/X11/core
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
/etc/X11/core: No such file or directory.
(gdb) quit
root@thomas-laptop:/home/thomas#

Now trying live gdb session.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Good, I will now try to do a #root gdb1 gdb2 2>&1 | [...] and attach-pidof-wdm. If that does not work I can hopefully do a postmortem backtrace. Next I try valgrind and strace and memtest typo thing from the x debug wiki.

root@thomas-laptop:/home/thomas# ulimit -c unlimited
root@thomas-laptop:/home/thomas# apt-get install gdb-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package gdb-dbg
root@thomas-laptop:/home/thomas# apt-get install gdb-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  gdb-dbgsym
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 8227kB of archives.
After this operation, 18.6MB of additional disk space will be used.
Get: 1 http://ddebs.ubuntu.com intrepid/main gdb-dbgsym 6.8-3ubuntu2 [8227kB]
Fetched 8227kB in 1min17s (106kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Selecting previously deselected package gdb-dbgsym.
(Reading database ... 157498 files and directories currently installed.)
Unpacking gdb-dbgsym (from .../gdb-dbgsym_6.8-3ubuntu2_i386.ddeb) ...
Setting up gdb-dbgsym (6.8-3ubuntu2) ...
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Brilliant!

I ain't got time for this:

root@thomas-laptop:/home/thomas# date ; cat /etc/X11/xorg.conf > /etc/X11/xorg.conf.log ; pidof wdm ; pidof gdm ; pidof xdm ; gnome-terminal > debug-rootterminal1 ; gnome-terminal > debug-rootterminal2 ; gnome-terminal > debug-rootterminal3
Mon Jan 19 13:11:32 GMT 2009
6033 5971 5970
No protocol specified
No protocol specified
No protocol specified
root@thomas-laptop:/home/thomas#

root@thomas-laptop:/home/thomas# gnome-terminal
No protocol specified
Cannot open display:
Run 'gnome-terminal --help' to see a full list of available command line options.
root@thomas-laptop:/home/thomas#

Just proceding anyway, xterm's won't work either.

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (3.3 KiB)

Confirming, plus no logging available. Procedding with debugging.

root@thomas-laptop:/home/thomas# dpkg-reconfigure -p low debconf
Configuring debconf
-------------------

Packages that use debconf for configuration share a common look and feel. You
can select the type of user interface they use.

The dialog frontend is a full-screen, character based interface, while the
readline frontend uses a more traditional plain text interface, and both the
gnome and kde frontends are modern X interfaces, fitting the respective desktops
(but may be used in any X environment). The editor frontend lets you configure
things using your favorite text editor. The noninteractive frontend never asks
you any questions.

  1. Dialog 2. Readline 3. Gnome 4. Kde 5. Editor 6. Noninteractive

Interface to use: 2

Debconf prioritizes the questions it asks you. Pick the lowest priority of
question you want to see:
  - 'critical' only prompts you if the system might break.
    Pick it if you are a newbie, or in a hurry.
  - 'high' is for rather important questions
  - 'medium' is for normal questions
  - 'low' is for control freaks who want to see everything

Note that no matter what level you pick here, you will be able to see every
question if you reconfigure a package with dpkg-reconfigure.

  1. critical 2. high 3. medium 4. low

Ignore questions with a priority less than: 4

root@thomas-laptop:/home/thomas# dpkg-reconfigure -p low gnome-terminal
root@thomas-laptop:/home/thomas# dpkg-reconfigure -p low xterm
root@thomas-laptop:/home/thomas# dpkg-reconfigure -p low update-manager
root@thomas-laptop:/home/thomas#

root@thomas-laptop:/home/thomas# date ; cat /etc/X11/xorg.conf > /etc/X11/xorg.conf.log ; pidof wdm ; pidof gdm ; pidof xdm ; xterm > debug-rootterminal1 ; xterm > debug-rootterminal2 ; xterm > debug-rootterminal3Mon Jan 19 13:16:16 GMT 2009
6033 5971 5970
No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
root@thomas-laptop:/home/thomas# xterm
No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in ...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (12.6 KiB)

No valuable data from original debug attempt (see or ignore below). I will now try for a postmortem backtrace.

thomas@thomas-laptop:~$ sudo su
root@thomas-laptop:/home/thomas# cat /etc/X11/xorg.conf ; cat ./gdb-gdb.txt ; cat ./gdb-gdb.log ; cat ./gdb-wdm1.log
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
 Identifier "Configured Video Device"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

Section "ServerFlags"
        Option "NoTrapSignals" "true"
EndSection
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) set logging file gdb-gdb.log
(gdb) set logging on
Copying output to gdb-gdb.log.
(gdb) run
Starting program: /usr/bin/gdb
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ce96b0 (LWP 17264)]
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) set logging file gdb-wdm1.log
(gdb) set logging on
Copying output to gdb-wdm1.log.
(gdb) attach 6033
Attaching to process 6033
Reading symbols from /usr/bin/wdm...Reading symbols from /usr/lib/debug/usr/bin/wdm...done.
done.
Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1
Reading symbols from /lib/tls/i686/cmov/libutil.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libutil.so.1
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols fro...

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (26.5 KiB)

Good, so much for that (see below). I am now going for a complete system backup and apt-get remove of xdm and wdm. Then I try the ulimit -c once more, but I have my doubts. After that it is 9.04, any ideas?

root@thomas-laptop:/home/thomas# gdb /usr/bin/Xorg /etc/X11/core
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
/etc/X11/core: No such file or directory.
(gdb) quit
root@thomas-laptop:/home/thomas# ls -la /var/crash
total 8
drwxr-xr-x 2 root root 4096 2008-10-24 06:57 .
drwxr-xr-x 15 root root 4096 2008-10-29 23:12 ..
root@thomas-laptop:/home/thomas# ls -la /etc
total 1580
drwxr-xr-x 146 root root 12288 2009-01-19 13:36 .
drwxr-xr-x 20 root root 4096 2009-01-13 17:19 ..
drwxr-xr-x 8 root root 4096 2009-01-15 16:19 acpi
-rw-r--r-- 1 root root 2986 2008-10-29 22:54 adduser.conf
-rw-r--r-- 1 root root 46 2009-01-19 13:30 adjtime
-rw-r--r-- 1 root root 206 2009-01-18 00:38 aliases
drwxr-xr-x 2 root root 12288 2009-01-19 13:18 alternatives
-rw-r--r-- 1 root root 395 2008-09-03 00:37 anacrontab
drwxr-xr-x 7 root root 4096 2008-10-29 23:06 apm
drwxr-xr-x 2 root root 4096 2009-01-13 07:37 apparmor
drwxr-xr-x 6 root root 4096 2009-01-13 09:07 apparmor.d
drwxr-xr-x 3 root root 4096 2008-10-29 23:06 apport
drwxr-xr-x 4 root root 4096 2009-01-19 03:26 apt
-rw-r----- 1 root daemon 144 2008-07-10 16:01 at.deny
drwxr-xr-x 3 root root 4096 2009-01-13 07:34 avahi
-rw-r--r-- 1 root root 1733 2008-05-12 19:48 bash.bashrc
-rw-r--r-- 1 root root 216757 2008-06-19 20:18 bash_completion
drwxr-xr-x 2 root root 4096 2009-01-18 00:17 bash_completion.d
drwxr-xr-x 2 root root 4096 2008-10-29 22:53 belocs
-rw-r--r-- 1 root root 332 2008-09-29 10:20 bindresvport.blacklist
-rw-r--r-- 1 root root 521 2009-01-19 13:27 blkid.tab
-rw-r--r-- 1 root root 521 2009-01-19 03:16 blkid.tab.old
drwxr-xr-x 2 root root 4096 2008-10-29 23:11 bluetooth
-rw-r--r-- 1 root root 6924 2008-06-19 04:52 bogofilter.cf
drwxr-xr-x 2 root root 4096 2008-10-29 23:02 bonobo-activation
-rw-r--r-- 1 root root 33 2008-10-29 23:10 brlapi.key
drwxr-xr-x 2 root root 4096 2008-10-29 23:10 brltty
-rw-r--r-- 1 root root 15596 2008-08-06 10:09 brltty.conf
drwxr-xr-x 3 root root 4096 2008-10-29 22:54 ca-certificates
-rw-r--r-- 1 root root 6256 2009-01-13 07:33 ca-certificates.conf
-rw-r--r-- 1 root root 6204 2008-10-29 22:54 ca-certificates.conf.dpkg-old
drwxr-xr-x 2 root root 4096 2008-10-29 23:05 calendar
drwxr-s--- 2 root dip 4096 2009-01-13 07:34 chatscripts
drwxr-xr-x 4 root root 4096 2009-01-13 09:07 clamav
drwxr-xr-x 2 root root 4096 2008-10-29 23:07 compizconfig
drwxr-xr-x 4 root root 4096 2008-10-29 22:58 ConsoleKit
drwxr-xr-x 2 roo...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/etc/X11/xkb# chmod 777 -cR /var/log/samba
mode of `/var/log/samba' changed to 0777 (rwxrwxrwx)
mode of `/var/log/samba/cores' changed to 0777 (rwxrwxrwx)
mode of `/var/log/samba/cores/winbindd' changed to 0777 (rwxrwxrwx)
mode of `/var/log/samba/log.wb-THOMAS-LAPTOP' changed to 0777 (rwxrwxrwx)
mode of `/var/log/samba/log.winbindd' changed to 0777 (rwxrwxrwx)
mode of `/var/log/samba/log.winbindd.1.gz' changed to 0777 (rwxrwxrwx)
root@thomas-laptop:/etc/X11/xkb# chown 1000 -cR /var/log/samba
changed ownership of `/var/log/samba/cores/winbindd' to 1000
changed ownership of `/var/log/samba/cores' to 1000
changed ownership of `/var/log/samba/log.wb-THOMAS-LAPTOP' to 1000
changed ownership of `/var/log/samba/log.winbindd' to 1000
changed ownership of `/var/log/samba/log.winbindd.1.gz' to 1000
changed ownership of `/var/log/samba' to 1000
root@thomas-laptop:/etc/X11/xkb# cat /home/thomas/.xsession-errors
[...]
seahorse nautilus module initialized
Initializing nautilus-share extension

** (nautilus:6388): WARNING **: Unable to add monitor: Not supported
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
[...]

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Ok,

From Jaunty-live:

ubuntu@ubuntu:~$ lsb_release -rd ; uname -a ; apt-cache policy linux xorg gdm xserver-xorg
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux ubuntu 2.6.28-4-generic #10-Ubuntu SMP Mon Jan 12 19:35:29 UTC 2009 i686 GNU/Linux
linux:
  Installed: (none)
  Candidate: 2.6.28.4.4
  Version table:
     2.6.28.4.4 0
        500 http://archive.ubuntu.com jaunty/restricted Packages
xorg:
  Installed: 1:7.4~5ubuntu10
  Candidate: 1:7.4~5ubuntu10
  Version table:
 *** 1:7.4~5ubuntu10 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
gdm:
  Installed: 2.20.8-0ubuntu5
  Candidate: 2.20.8-0ubuntu5
  Version table:
 *** 2.20.8-0ubuntu5 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
xserver-xorg:
  Installed: 1:7.4~5ubuntu10
  Candidate: 1:7.4~5ubuntu10
  Version table:
 *** 1:7.4~5ubuntu10 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
ubuntu@ubuntu:~$ date
Mon Jan 19 15:42:13 UTC 2009
ubuntu@ubuntu:~$

See Xorg.0.log.

That's it for now, have some MS work to do.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Please also take a decent look at .xsession-errors, it is small and contains a lot of warnings: cannot add display, xsession-manager CRITICAL and such. This is just the live-cd at startup, nothing more.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@ubuntu:/home/ubuntu# hardinfo -r > acer-jaunty.txt
The program 'hardinfo' is currently not installed. You can install it by typing:
apt-get install hardinfo
You will have to enable the component called 'universe'
bash: hardinfo: command not found
root@ubuntu:/home/ubuntu# apt-get install hardinfo hwinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package hardinfo
root@ubuntu:/home/ubuntu# software-properties-gtk
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
could not open file '<type 'file'>'
could not open file '<type 'file'>'
could not open file '<type 'file'>'
could not open file '<type 'file'>'
could not open file '<type 'file'>'
could not open file '<type 'file'>'
could not open file '<type 'file'>'
root@ubuntu:/home/ubuntu# apt-get install hardinfo hwinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libhd15 libsoup2.2-8
The following NEW packages will be installed:
  hardinfo hwinfo libhd15 libsoup2.2-8
0 upgraded, 4 newly installed, 0 to remove and 38 not upgraded.
Need to get 1035kB of archives.
After this operation, 2896kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com jaunty/universe libsoup2.2-8 2.2.105-4build1 [89.1kB]
Get:2 http://archive.ubuntu.com jaunty/universe hardinfo 0.4.2.3-5ubuntu1 [227kB]
Get:3 http://archive.ubuntu.com jaunty/universe libhd15 15.3-1ubuntu1 [673kB]
Get:4 http://archive.ubuntu.com jaunty/universe hwinfo 15.3-1ubuntu1 [44.9kB]
Fetched 1035kB in 6s (167kB/s)
Selecting previously deselected package libsoup2.2-8.
(Reading database ... 104744 files and directories currently installed.)
Unpacking libsoup2.2-8 (from .../libsoup2.2-8_2.2.105-4build1_i386.deb) ...
Selecting previously deselected package hardinfo.
Unpacking hardinfo (from .../hardinfo_0.4.2.3-5ubuntu1_i386.deb) ...
Selecting previously deselected package libhd15.
Unpacking libhd15 (from .../libhd15_15.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package hwinfo.
Unpacking hwinfo (from .../hwinfo_15.3-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up libsoup2.2-8 (2.2.105-4build1) ...

Setting up hardinfo (0.4.2.3-5ubuntu1) ...

Setting up libhd15 (15.3-1ubuntu1) ...

Setting up hwinfo (15.3-1ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@ubuntu:/home/ubuntu# hardinfo -r > acer-jaunty.txt
Computer
 Summary
[...]

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@ubuntu:/home/ubuntu# hwinfo +all > hwinfo.log

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi there,

I have found the cause and solution to this problem:

Cause:

The cause is ubuntu. Doing something in ubuntu caused the right keypad to crash, I have no idea what. When I tried to restore my ntfs file system in 9.04 live, the right keypad was dead still.

Solution:

After I reinstalled Microsoft I found that I had the problem in Microsoft too now. I never had this before. I thought something must have happened to the BIOS in ubuntu. I reflashed the BIOS with the most up to date version, to no help. Then I installed the Intel Graphics Accelerator Driver and instantly (prior to reboot I think I remember) the problem was solved. I restored grub from 8.10, because of the issue with the jaunty grub, see my bug on that. In the 8.10 live cd everything was back to normal now.

Surprisingly it is not in my 8.10 main partition, although it was until after the login screen. I suspect that installing the intel graphics accelerator must have done something with the BIOS. I first encountered this problem about half a year ago, when I noticed that the safe graphics mode option could no longer be used from the 8.04 version, neither so from the 8.10 version.

So it is a proprietary driver that does something with the phoenix BIOS, I don't know whether you can do anything with that, but I will attach them both here, also with a link to the Acer ftp site.

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

OK people,

Change of diagnosis. The problem is: something in the display manager changes something in the BIOS.

That is why I experience the same problems in different partitions too. After I reinstall the aforementioned VGA driver the problem is resolved. That is in all of my partitions but my current one.

I confirmed the same problem on an Acer 5050. It is a 64-bit one, but also uses this "VGA" driver thing.

To confirm this thing on other Acer machines: The most remarkable thing in Ubuntu is that pidof gdm gives two processes. Also the .xsession-errors was similar on the 5050.

Could you please post a sticky for other Aspire users to check this out?

Thanks,

Thomas

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Refiling as:

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/323694

due to instructions on ubuntu-bugs IRC (freenode)

Changed in xorg:
status: Incomplete → Invalid
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.