Bug#546291: gdm: erratically switches off computer without asking

2010-03-09 Thread Julien Cristau
tag 546291 moreinfo
kthxbye

On Sun, Sep 20, 2009 at 21:24:15 +0200, a...@users.sourceforge.net wrote:

 Hi,
 
  Sorry for the delay.
 
 On Mon, 14 Sep 2009, Josselin Mouette wrote:
 
  Le dimanche 13 septembre 2009 à 09:36 +0200, a...@users.sourceforge.net
  a écrit :
  I don't believe the problem is X's fault because it does not occur in 
  GDM's graphical
  login screen even if I leave the computer in this state for days; neither 
  can it be the
  kernel's fault because it does not happen in console mode (i.e. without 
  GDM and X). It
  only occurs in a graphical user session.
 
 I have narrowed it down: it only occurs in _my_ GDM session. If I create a 
 new user and
 login as this user, the problem does not occur.
 
  Actually it could be your CPU or RAM. Please run a full memtest86, at least.
 
 The memory checked out alright. It would seem like a hradware problem, though 
 --- if it
 were not limited to my sessions. It has nothing to do with load, either --- 
 the memory
 test put the CPUs under quite some stress, and temperatures soared --- 
 without causing any
 problems. Then I did some video encoding with a lot of load as well as memory 
 and harddisk
 usage --- again without any problems.
 
  In all cases a hardware lockup cannot be caused solely by userland.
 
 I do realise that. That is why I believe it must be some program with suid 
 rights --- like
 GDM.
 
Even for programs running as root, a power down without proper shutdown
should never happen.  Do you still have this problem today?  If so
maybe dmesg or syslog has a clue?

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#546291: gdm: erratically switches off computer without asking

2009-09-20 Thread axst

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Sorry for the delay.

On Mon, 14 Sep 2009, Josselin Mouette wrote:


Le dimanche 13 septembre 2009 à 09:36 +0200, a...@users.sourceforge.net
a écrit :

I don't believe the problem is X's fault because it does not occur in GDM's 
graphical
login screen even if I leave the computer in this state for days; neither can 
it be the
kernel's fault because it does not happen in console mode (i.e. without GDM and 
X). It
only occurs in a graphical user session.


I have narrowed it down: it only occurs in _my_ GDM session. If I create a new 
user and
login as this user, the problem does not occur.


Actually it could be your CPU or RAM. Please run a full memtest86, at least.


The memory checked out alright. It would seem like a hradware problem, though 
--- if it
were not limited to my sessions. It has nothing to do with load, either --- the 
memory
test put the CPUs under quite some stress, and temperatures soared --- without 
causing any
problems. Then I did some video encoding with a lot of load as well as memory 
and harddisk
usage --- again without any problems.


In all cases a hardware lockup cannot be caused solely by userland.


I do realise that. That is why I believe it must be some program with suid 
rights --- like
GDM.

Best wishes,

Axel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iEYEARECAAYFAkq2gWcACgkQMiDYPOQNapGA5ACcCyGFwnrr3N6FDPHjeyZ7K1Eu
k2gAoIfopsaeKbfafo4NqT2WK9P3CpeX
=FTd0
-END PGP SIGNATURE-


Bug#546291: gdm: erratically switches off computer without asking

2009-09-14 Thread Josselin Mouette
Le dimanche 13 septembre 2009 à 09:36 +0200, a...@users.sourceforge.net
a écrit : 
 I don't believe the problem is X's fault because it does not occur in GDM's 
 graphical
 login screen even if I leave the computer in this state for days; neither can 
 it be the
 kernel's fault because it does not happen in console mode (i.e. without GDM 
 and X). It
 only occurs in a graphical user session.

Actually it could be your CPU or RAM. Please run a full memtest86, at
least.

In all cases a hardware lockup cannot be caused solely by userland.
-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling


signature.asc
Description: Ceci est une partie de message numériquement signée


Bug#546291: gdm: erratically switches off computer without asking

2009-09-13 Thread axst

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I don't believe the problem is X's fault because it does not occur in GDM's 
graphical
login screen even if I leave the computer in this state for days; neither can 
it be the
kernel's fault because it does not happen in console mode (i.e. without GDM and 
X). It
only occurs in a graphical user session.

$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM 
Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express 
Integrated Graphics Controller (rev 10)
00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated 
Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition 
Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 
(rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 
(rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface 
Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller 
(rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE 
Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 01)
03:00.0 SCSI storage controller: Advanced System Products, Inc ABP940-U / 
ABP960-U (rev 03)
03:02.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video 
Broadcast Decoder (rev 01)

I attach my /etc/X11/xorg.conf.

I'll test some things to narrow down the list of suspects:
1.  GDM configuration settings --- I'll leave the computer on not in GDM's 
login screen
nor while I'm logged in in GDM but in a newly created default user's session
2.  power management (although I'm not using this)
3.  the window manager

Of course, I am open and grateful to any suggestions.

On Sat, 12 Sep 2009, Josselin Mouette wrote:


Le samedi 12 septembre 2009 à 11:05 +0200, a...@users.sourceforge.net a
écrit :

The system is powered down immediately at unforeseeable times without even 
proper
shutdown, causing data loss and destroying recordable media being burned.


This is a kernel or X driver bug.

What is your graphics hardware (it appears in lspci) and what is the
driver you are using?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iEYEARECAAYFAkqsoRwACgkQMiDYPOQNapH6JgCdGDgjzKPwB4B+L6kRbw9Ljwmi
xskAn2eqBcNbgU895WgxaP1G5T2p7KZN
=EGPF
-END PGP SIGNATURE-
# 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.
#
# 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 Module
#does not exist:Loadxvideo
#only up to a buffer width of 2048 pixel:   Load  dri

#   Load  xtrap
#   Load  extmod
Load  glx
#   Load  dbe
#   Load  record
#   Load  type1

#Loadbitmap
#Loadddc
#Loadfreetype
Loadint10
##Loadv4l
Loadvbe

LoadGLcore
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  Protocol MouseSystems
Option  Device /dev/ttyS0
Option  ZAxisMapping 4 5 6 7
EndSection

Section Device
Identifier  Intel Device
#Driver vesa
Driver intel

Option LinearAlloc 6144
Option  XVideo true

Option  Monitor-TMDS-1 Widescreen Monitor
Option  Monitor-VGA Projector
EndSection

Section Monitor
Identifier  Widescreen Monitor
#DisplaySize 337 270

# 1680x1050 

Bug#546291: gdm: erratically switches off computer without asking

2009-09-12 Thread axst
Package: gdm
Version: 2.20.7-4lenny1
Severity: normal

The system is powered down immediately at unforeseeable times without even 
proper
shutdown, causing data loss and destroying recordable media being burned. This 
happens
around once or twice daily at irregular times. It is of no importance which 
programs are
running or if a screensaver is configured. It happens regardless of user 
activity, even in
the middle of the night.

It does not happen, however, as long as:
- GDM and X are not running at all
or:
- GDM is showing the greeter (i.e., X is running)
(I tested this for about a week each.)

--- i.e., it only happens in a user session

Once it has happened, the computer may even switch off once or twice a few 
seconds after
restarting. Then things calm down.

There are no discernable hardware problems such as overheating, fan failure or 
harddisk
failure. I have installed monitors.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdm depends on:
ii  adduser 3.110add and remove users and groups
ii  debconf [debconf-2. 1.5.24   Debian configuration management sy
ii  gksu2.0.0-8  graphical frontend to su
ii  gnome-session [x-se 2.22.3-2 The GNOME 2 Session Manager
ii  gnome-terminal [x-t 2.22.3-3 The GNOME 2 terminal emulator appl
ii  libart-2.0-22.3.20-2 Library of functions for 2D graphi
ii  libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii  libattr11:2.4.43-2   Extended attribute shared library
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libcairo2   1.6.4-7  The Cairo 2D vector graphics libra
ii  libdbus-1-3 1.2.1-5+lenny1   simple interprocess messaging syst
ii  libdbus-glib-1-20.76-1   simple interprocess messaging syst
ii  libdmx1 1:1.0.2-3X11 Distributed Multihead extensio
ii  libfontconfig1  2.6.0-3  generic font configuration library
ii  libfreetype62.3.7-2+lenny1   FreeType 2 font engine, shared lib
ii  libglade2-0 1:2.6.2-1library to load .glade files at ru
ii  libglib2.0-02.16.6-2 The GLib library of C routines
ii  libgnomecanvas2-0   2.20.1.1-1   A powerful object-oriented display
ii  libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface 
ii  libpam-modules  1.0.1-5+lenny1   Pluggable Authentication Modules f
ii  libpam-runtime  1.0.1-5+lenny1   Runtime support for the PAM librar
ii  libpam0g1.0.1-5+lenny1   Pluggable Authentication Modules l
ii  libpango1.0-0   1.20.5-5 Layout and rendering of internatio
ii  librsvg2-2  2.22.2-2lenny1   SAX-based renderer library for SVG
ii  librsvg2-common 2.22.2-2lenny1   SAX-based renderer library for SVG
ii  libselinux1 2.0.65-5 SELinux shared libraries
ii  libwrap07.6.q-16 Wietse Venema's TCP wrappers libra
ii  libx11-62:1.1.5-2X11 client-side library
ii  libxau6 1:1.0.3-3X11 authorisation library
ii  libxdmcp6   1:1.0.2-3X11 Display Manager Control Protoc
ii  libxext62:1.0.4-1X11 miscellaneous extension librar
ii  libxi6  2:1.1.4-1X11 Input extension library
ii  libxinerama12:1.0.3-2X11 Xinerama extension library
ii  libxml2 2.6.32.dfsg-5+lenny1 GNOME XML library
ii  lsb-base3.2-20   Linux Standard Base 3.2 init scrip
ii  metacity [x-window- 1:2.22.0-2   A lightweight GTK2 based Window Ma
ii  roxterm [x-terminal 1.11.1-1.1   multi-tabbed GTK+2 terminal emulat
ii  twm [x-window-manag 1:1.0.4-2Tab window manager
ii  xterm [x-terminal-e 235-2X terminal emulator
ii  zlib1g  1:1.2.3.3.dfsg-12compression library - runtime

Versions of packages gdm recommends:
ii  gdm-themes   0.6.1   Themes for the GNOME Display Manag
ii  whiptail 0.52.2-11.3 Displays user-friendly dialog boxe
pn  xserver-xephyr | xnest   none  (no description available)
ii  xserver-xorg 1:7.3+20the X.Org X server
ii  zenity   2.22.1-2Display graphical dialog boxes fro

Versions of packages gdm suggests:
ii  libpam-gnome-keyring  2.22.3-2   PAM module to unlock the GNOME key
ii  locales   2.7-18 GNU C Library: National Language (
ii  pm-utils  1.1.2.4-1  utilities and scripts for power ma

-- debconf 

Bug#546291: gdm: erratically switches off computer without asking

2009-09-12 Thread Josselin Mouette
Le samedi 12 septembre 2009 à 11:05 +0200, a...@users.sourceforge.net a
écrit : 
 The system is powered down immediately at unforeseeable times without even 
 proper
 shutdown, causing data loss and destroying recordable media being burned. 

This is a kernel or X driver bug.

What is your graphics hardware (it appears in lspci) and what is the
driver you are using?

-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling


signature.asc
Description: Ceci est une partie de message numériquement signée