[xorg] Redémarrage de X aléatoire

Reconnaissance et configuration du matériel / kernel linux
Avatar de l’utilisateur
Feng
yeomen
Messages : 273
Inscription : mer. 07 avr. 2010, 20:19

[xorg] Redémarrage de X aléatoire

Message par Feng »

Bonjour,

Depuis quelques jours, de façon totalement aléatoire, le serveur X redémarre tout seul.

Code : Tout sélectionner

feng@firemoon[~] $ dmesg | tail -n 10
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
ADDRCONF(NETDEV_UP): wlan0: link is not ready
r8169 0000:13:00.0: eth0: link up
r8169 0000:13:00.0: eth0: link up
fuse init (API version 7.15)
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
intel ips 0000:00:1f.6: MCP limit exceeded: Avg power 39599, limit 35000
Je ne sais pas quoi fournir d'autres comme info, tellement c'est aléatoire. Cela survient environ 2 fois par jour.

Code : Tout sélectionner

feng@firemoon[~] $ uname -a
Linux firemoon 2.6.37-2KBETTERFENG #1 SMP PREEMPT Sat Mar 12 18:57:34 CET 2011 x86_64 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux
Kernel perso, basé sur Arch, avec patch CK + gensplash + patch nvidia optimus (qui marche très bien depuis 1 mois environ)

Driver graphiqué utilisé : intel & intel-dri

Code : Tout sélectionner

feng@firemoon[~] $ cat /etc/conf.d/cpufreq 
#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="performance"

# limit frequency range (optional)
# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="1.20GHz"
max_freq="2.53GHz"

# use freq to set up the exact cpu frequency using it with userspace governor
#freq=

Code : Tout sélectionner

feng@firemoon[~] $ cat /etc/rc.conf 
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="fr_FR.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Paris"
KEYMAP="fr"
CONSOLEFONT=
CONSOLEMAP="fr"
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(acpi-cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace !snd-pcm-oss !b43 !rtl8187 lib80211 uinput acpi_call vboxdrv video)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="firemoon"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng netfs fbsplash crond hal wicd mysqld httpd proftpd bluetooth @cpufreq)
Je me demande si ce n'est pas cpufreq qui provoque ça :/ je l'ai installé il y a quelques jours et ça ne survenait pas avant. Sachant que j'avais eu des problèmes avec acpi (acpi = pas de démarrage) :'(
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: Redémarrage de X aléatoire

Message par FoolEcho »

Des choses dans les logs précédents de X ? ( /var/log/Xorg.*.log ou .old ? )
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
Feng
yeomen
Messages : 273
Inscription : mer. 07 avr. 2010, 20:19

Re: [xorg] Redémarrage de X aléatoire

Message par Feng »

Juste après le crash, dans le .old j'ai :

Code : Tout sélectionner

[   837.763] (II) intel(0): EDID vendor "LGD", prod id 648
[   837.763] (II) intel(0): Printing DDC gathered Modelines:
[   837.763] (II) intel(0): Modeline "1600x900"x0.0   97.75  1600 1648 1696 1784  900 902 905 912 +hsync -vsync (54.8 kHz)
[   838.462] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 50252 < target_msc 50253
[   838.479] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 50253 < target_msc 50254
[   838.495] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 50254 < target_msc 50255
[   838.512] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 50255 < target_msc 50256
[   838.528] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 50256 < target_msc 50257
[   847.537] (II) intel(0): EDID vendor "LGD", prod id 648
[   847.537] (II) intel(0): Printing DDC gathered Modelines:
[   847.537] (II) intel(0): Modeline "1600x900"x0.0   97.75  1600 1648 1696 1784  900 902 905 912 +hsync -vsync (54.8 kHz)
[  5280.935] 
Backtrace:
[  5281.031] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49f598]
[  5281.031] 1: /usr/bin/X (0x400000+0x603b9) [0x4603b9]
[  5281.031] 2: /lib/libpthread.so.0 (0x7f817c920000+0xf750) [0x7f817c92f750]
[  5281.031] 3: /usr/lib/libdrm_intel.so.1 (drm_intel_bo_emit_reloc+0x0) [0x7f8179aaeb50]
[  5281.031] 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f8179cb8000+0x218bc) [0x7f8179cd98bc]
[  5281.031] 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f8179cb8000+0x27447) [0x7f8179cdf447]
[  5281.031] 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f8179cb8000+0x2981f) [0x7f8179ce181f]
[  5281.031] 7: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f8179cb8000+0x26d48) [0x7f8179cded48]
[  5281.032] 8: /usr/bin/X (0x400000+0xdbe06) [0x4dbe06]
[  5281.032] 9: /usr/bin/X (0x400000+0x2977e) [0x42977e]
[  5281.032] 10: /usr/bin/X (0x400000+0x2d341) [0x42d341]
[  5281.032] 11: /usr/bin/X (0x400000+0x213ee) [0x4213ee]
[  5281.032] 12: /lib/libc.so.6 (__libc_start_main+0xed) [0x7f817b8a6f6d]
[  5281.032] 13: /usr/bin/X (0x400000+0x20f99) [0x420f99]
[  5281.032] Segmentation fault at address (nil)
[  5281.039] 
Fatal server error:
[  5281.039] Caught signal 11 (Segmentation fault). Server aborting
[  5281.039] 
[  5281.044] 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  5281.044] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  5281.044] 
[  5281.077] (II) Power Button: Close
[  5281.077] (II) UnloadModule: "evdev"
[  5281.077] (II) Unloading evdev
[  5281.081] (II) Video Bus: Close
[  5281.081] (II) UnloadModule: "evdev"
[  5281.081] (II) Unloading evdev
[  5281.085] (II) Video Bus: Close
[  5281.085] (II) UnloadModule: "evdev"
[  5281.085] (II) Unloading evdev
[  5281.089] (II) Power Button: Close
[  5281.089] (II) UnloadModule: "evdev"
[  5281.089] (II) Unloading evdev
[  5281.093] (II) Sleep Button: Close
[  5281.093] (II) UnloadModule: "evdev"
[  5281.093] (II) Unloading evdev
[  5281.097] (II) HID 413c:8161: Close
[  5281.097] (II) UnloadModule: "evdev"
[  5281.097] (II) Unloading evdev
[  5281.103] (II) Logitech USB Receiver: Close
[  5281.103] (II) UnloadModule: "evdev"
[  5281.103] (II) Unloading evdev
[  5281.107] (II) Logitech USB Receiver: Close
[  5281.108] (II) UnloadModule: "evdev"
[  5281.108] (II) Unloading evdev
[  5281.111] (II) Laptop_Integrated_Webcam_2M: Close
[  5281.111] (II) UnloadModule: "evdev"
[  5281.111] (II) Unloading evdev
[  5281.115] (II) AT Translated Set 2 keyboard: Close
[  5281.115] (II) UnloadModule: "evdev"
[  5281.115] (II) Unloading evdev
[  5281.132] (II) UnloadModule: "synaptics"
[  5281.132] (II) Unloading synaptics
[  5281.137] (II) Dell WMI hotkeys: Close
[  5281.137] (II) UnloadModule: "evdev"
[  5281.137] (II) Unloading evdev
[  5281.343] (II) AIGLX: Suspending AIGLX clients for VT switch
Où on voit clairement un segfault.

Rien d'intéressant dans la .log :

Code : Tout sélectionner

[  5286.045] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.038
[  5286.045] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  5286.045] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[  5286.045] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  5286.045] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  5286.057] (--) SynPS/2 Synaptics TouchPad: touchpad found
[  5286.057] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  5286.057] (II) No input driver/identifier specified (ignoring)
[  5286.057] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
[  5286.057] (II) No input driver/identifier specified (ignoring)
[  5286.059] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event6)
[  5286.059] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[  5286.059] (II) Using input driver 'evdev' for 'Dell WMI hotkeys'
[  5286.059] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  5286.059] (**) Dell WMI hotkeys: always reports core events
[  5286.059] (**) Dell WMI hotkeys: Device: "/dev/input/event6"
[  5286.063] (--) Dell WMI hotkeys: Found keys
[  5286.063] (II) Dell WMI hotkeys: Configuring as keyboard
[  5286.063] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event6"
[  5286.063] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD)
[  5286.063] (**) Option "xkb_rules" "evdev"
[  5286.063] (**) Option "xkb_model" "evdev"
[  5286.063] (**) Option "xkb_layout" "fr"
[  5286.063] (**) Option "xkb_variant" "oss"
[  5295.218] (II) intel(0): EDID vendor "LGD", prod id 648
[  5295.219] (II) intel(0): Printing DDC gathered Modelines:
[  5295.219] (II) intel(0): Modeline "1600x900"x0.0   97.75  1600 1648 1696 1784  900 902 905 912 +hsync -vsync (54.8 kHz)
[  5295.901] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 318889 < target_msc 318890
[  5295.917] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 318890 < target_msc 318891
[  5295.934] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 318891 < target_msc 318892
[  5295.951] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 318892 < target_msc 318893
[  5295.967] (WW) intel(0): I830DRI2FlipEventHandler: Pageflip completion has impossible msc 318893 < target_msc 318894
[  5302.648] (II) intel(0): EDID vendor "LGD", prod id 648
[  5302.648] (II) intel(0): Printing DDC gathered Modelines:
[  5302.648] (II) intel(0): Modeline "1600x900"x0.0   97.75  1600 1648 1696 1784  900 902 905 912 +hsync -vsync (54.8 kHz)
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xorg] Redémarrage de X aléatoire

Message par FoolEcho »

Version de X ? Dans quel environnement graphique ?

Si tu vires cpufreq pour quelques jours ? :?
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
Feng
yeomen
Messages : 273
Inscription : mer. 07 avr. 2010, 20:19

Re: [xorg] Redémarrage de X aléatoire

Message par Feng »

J'ai viré cpufreq, et ça continue.

Code : Tout sélectionner

feng@firemoon[~] $ Xorg -version

X.Org X Server 1.10.1
Release Date: 2011-04-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-ARCH x86_64 
Current Operating System: Linux firemoon 2.6.37-2KBETTERFENG #1 SMP PREEMPT Sat Mar 12 18:57:34 CET 2011 x86_64
Kernel command line: root=/dev/sda3 ro
Build Date: 16 April 2011  12:02:01PM
KDE 4.6.2
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xorg] Redémarrage de X aléatoire

Message par FoolEcho »

Quels sont ton(tes) fichier(s) de configuration de X ?
Tu as KMS activé à quel moment ?
Des choses dans le ~/.xsession-errors ?

(j'essaie de faire le tour de ta config... on voit bien l'erreur de segmentation, c'est sûr... mais le caractère aléatoire ça n'aide pas...)
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
Feng
yeomen
Messages : 273
Inscription : mer. 07 avr. 2010, 20:19

Re: [xorg] Redémarrage de X aléatoire

Message par Feng »

Pas de xorg.conf
Fichiers standards dans /etc/X11/xorg.conf.d/

KMS , je sais ce que c'est vite fait mais j'peux pas t'en dire plus :-#
Rien d'intéresant dans .xsession-errors
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xorg] Redémarrage de X aléatoire

Message par FoolEcho »

Tu vérifieras d'après tes dernières mises à jour (passage à xorg-server 1.10), mais je pense que le bug a été reporté:
https://bugs.archlinux.org/task/23646?p ... org-server .
En attendant, tu peux toujours rétrograder xorg-server et ses dépendances en 1.9, xf86-**, etc. (via ton cache pacman ou via ARM).
«The following statement is not true. The previous statement is true.» :nage:
Répondre