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

axst at users.sourceforge.net axst at users.sourceforge.net
Sun Sep 13 07:36:56 UTC 2009


-----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, axst at 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-----
-------------- next part --------------
# 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:    Load    "xvideo"
#only up to a buffer width of 2048 pixel:	Load  "dri"

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

#    Load    "bitmap"
#    Load    "ddc"
#    Load    "freetype"
    Load    "int10"
##    Load    "v4l"
    Load    "vbe"

    Load    "GLcore"
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 @ 59.90 Hz (GTF) hsync: 65.11 kHz; pclk: 146.89 MHz
    Modeline "1680x1050_59.90"  146.89  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
    Option "PreferredMode" "1680x1050_59.90"

# 1600x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 136.36 MHz
#    Modeline "1600x1024_60.00"  136.36  1600 1704 1872 2144  1024 1025 1028 1060  -HSync +Vsync
#    Option "PreferredMode" "1600x1024_60.00"
EndSection

Section "Monitor"
	Identifier	"Projector"
    DisplaySize 473 296
    Option      "RightOf" "Widescreen Monitor"
#    Option      "Position" "1600 0"

#    Option      "Disable" "true"
    Option      "Enable" "true"
#    Option      "Ignore" "true"

# 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
#    Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
#    Option "PreferredMode" "1280x1024_60.00"

# 1152x864 @ 74.80 Hz (GTF) hsync: 67.47 kHz; pclk: 104.71 MHz
#    Modeline "1152x864_74.80"  104.71  1152 1224 1352 1552  864 865 868 902  -HSync +Vsync
#    Option "PreferredMode" "1152x864_74.80"

# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
#    Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
#    Option "PreferredMode" "1024x768_60.00"

# 800x600 @ 60.30 Hz (GTF) hsync: 37.51 kHz; pclk: 38.41 MHz
#    Modeline "800x600_60.30"  38.41  800 832 912 1024  600 601 604 622  -HSync +Vsync
#    Option "PreferredMode" "800x600_60.30"
EndSection

#Section "Screen"
#	Identifier	"Monitor Screen"
#	Monitor		"Widescreen Monitor"
#    DefaultDepth    24
#    SubSection "Display"
#        Depth           24
### big virtual screen to place
###        Virtual         3072 1200
###        Virtual         2960 1050
##        Virtual         2880 1024
###        Virtual         2480 1050
##        Virtual         1280 1024
#        Virtual         2048 2048
#    EndSubSection
#EndSection
Section "Screen"
	Identifier	"Projector Screen"
	Monitor		"Projector"
    DefaultDepth    24
    SubSection "Display"
        Depth           24
## big virtual screen to place
##        Virtual         3072 1200
##        Virtual         2960 1050
#        Virtual         2880 1024
##        Virtual         2480 1050
#        Virtual         800 1024

        Virtual         3248 2248
    EndSubSection
EndSection
#Section "ServerLayout"
#    Identifier      "Default Layout"
#    Screen          0 "Monitor Screen"
##    Screen          1 "Projector Screen" RightOf "Monitor Screen"
#    Screen          1 "Projector Screen" Above "Monitor Screen"
#    InputDevice     "Generic Keyboard"
#    InputDevice     "Configured Mouse"
#EndSection


More information about the pkg-gnome-maintainers mailing list