Author Topic: Linux зависает при перезагрузки иксов  (Read 4615 times)

0 Members and 1 Guest are viewing this topic.

Offline Andry

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
    • http://andry.city.tomsk.net
когда иксы отключаю в логе вот что пишется:
Code: [Select]
Mar 27 14:27:20 darwin ------------[ cut here ]------------
Mar 27 14:27:20 darwin kernel BUG at arch/i386/mm/pageattr.c:137!
Mar 27 14:27:20 darwin invalid operand: 0000 [#1]
Mar 27 14:27:20 darwin PREEMPT SMP
Mar 27 14:27:20 darwin Modules linked in: vmnet vmmon fglrx agpgart snd_pcm_oss snd_mixer_oss ohci_hcd tda9887 tuner saa7134 video_buf v4l2_common v4l1_com
pat ir_kbd_i2c ir_common videodev radeonfb fb i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect i2c_core snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_
timer snd soundcore snd_page_alloc ehci_hcd uhci_hcd rtc usbcore
Mar 27 14:27:20 darwin CPU:    1
Mar 27 14:27:20 darwin EIP:    0060:[<c010fa55>]    Tainted: P      VLI
Mar 27 14:27:20 darwin EFLAGS: 00010082   (2.6.15-gentoo-r1)
Mar 27 14:27:20 darwin EIP is at __change_page_attr+0xc9/0x169
Mar 27 14:27:20 darwin eax: 194001e3   ebx: 19780000   ecx: c1008184   edx: d9780000
Mar 27 14:27:20 darwin esi: c0399d94   edi: 00000163   ebp: c1000000   esp: da4c1e70
Mar 27 14:27:20 darwin ds: 007b   es: 007b   ss: 0068
Mar 27 14:27:20 darwin Process X (pid: 9426, threadinfo=da4c0000 task=dc171a70)
Mar 27 14:27:20 darwin Stack: d9780000 c1394e00 00000010 00000000 00000202 c010fb1d c1394e00 00000163
Mar 27 14:27:20 darwin db96ed20 e1a20000 e1ab3d60 00000000 c010f7d2 c1394bc0 00000011 00000163
Mar 27 14:27:20 darwin e1ab3d60 00000004 e1a4ddf0 e1a20000 c1394bc0 00000010 00000163 e1ab3d60
Mar 27 14:27:20 darwin Call Trace:
Mar 27 14:27:20 darwin [<c010fb1d>] change_page_attr+0x28/0x4d
Mar 27 14:27:20 darwin [<c010f7d2>] iounmap+0xa6/0xdc
Mar 27 14:27:20 darwin [<e1a4ddf0>] agp_generic_free_gatt_table+0x62/0xcf [fglrx]
Mar 27 14:27:20 darwin [<e1a53e99>] agp_backend_cleanup+0xc/0x4a [fglrx]
Mar 27 14:27:20 darwin [<e1a570c9>] __ke_agp_uninit+0xe/0x24 [fglrx]
Mar 27 14:27:20 darwin [<e1a6efc5>] _firegl_release_agp+0x15/0x140 [fglrx]
Mar 27 14:27:20 darwin [<e1a5c5a5>] firegl_takedown+0x335/0xb80 [fglrx]
Mar 27 14:27:20 darwin [<e1a5b94f>] firegl_release+0x12f/0x190 [fglrx]
Mar 27 14:27:20 darwin [<e1a54283>] ip_firegl_release+0xd/0x10 [fglrx]
Mar 27 14:27:20 darwin [<c014c453>] __fput+0x89/0x133
Mar 27 14:27:20 darwin [<c014b01d>] filp_close+0x4c/0x55
Mar 27 14:27:20 darwin [<c014b08a>] sys_close+0x64/0x7d
Mar 27 14:27:20 darwin [<c010280b>] sysenter_past_esp+0x54/0x75
Mar 27 14:27:20 darwin Code: 56 e8 01 ff ff ff 89 d9 83 c4 0c 8b 01 89 ca f6 c4 40 74 03 8b 51 0c f0 ff 42 04 eb 16 84 c0 78 0a 09 fb 89 1e f0 ff 49 04 eb
08 <0f> 0b 89 00 b3 e8 2c c0 8b 01 f6 c4 04 0f 85 85 00 00 00 8b 01
Mar 27 14:27:20 darwin <6>note: X[9426] exited with preempt_count 2
если попытаться запустить иксы во второй раз - машина зависает.
подскажите в чем причина?
« Last Edit: March 27, 2006, 15:55:42 by Andry »

Offline demiurg

  • Hero Member
  • *****
  • Posts: 1014
  • Karma: +0/-0
    • http://larin.tomsk.ru
Linux зависает при перезагрузки иксов
« Reply #1 on: March 27, 2006, 15:56:56 »
Quote
когда иксы отключаю в логе вот что пишется:
Code: [Select]
Mar 27 14:27:20 darwin ------------[ cut here ]------------
Mar 27 14:27:20 darwin kernel BUG at arch/i386/mm/pageattr.c:137!
если попытаться запустить иксы во второй раз - машина зависает.
подскажите в чем причина?
[snapback]8431[/snapback]
Так поищи в гугле "kernel BUG at arch/i386/mm/pageattr.c:137!".
Quote
Результаты 1 - 10 из примерно 34 для kernel BUG at arch/i386/mm/pageattr.c:137. (0,48 секунд)

Offline Andry

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
    • http://andry.city.tomsk.net
Linux зависает при перезагрузки иксов
« Reply #2 on: March 27, 2006, 16:08:41 »
Quote
Так поищи в гугле "kernel BUG at arch/i386/mm/pageattr.c:137!".
[snapback]8432[/snapback]
толку то от того что гугль показывает. там всеравно нет решения проблемы... такие же как я просят помощи.
« Last Edit: March 27, 2006, 16:08:58 by Andry »

Offline demiurg

  • Hero Member
  • *****
  • Posts: 1014
  • Karma: +0/-0
    • http://larin.tomsk.ru
Linux зависает при перезагрузки иксов
« Reply #3 on: March 27, 2006, 17:57:44 »
Quote
толку то от того что гугль показывает. там всеравно нет решения проблемы... такие же как я просят помощи.
[snapback]8434[/snapback]
Тогда стоит начать с простого -- http://www.slackware.tomsk.ru/docs/questions/ :)
Стоило хотя бы указать какой дистрибутив, кака версия ядра, какая версия иксов, какая конфигурация компа.
А на счет гугля, тут Вы не правы
Quote
Package: fglrx-driver (debian/non-free)
Maintainer: Flavio Stanchina <[email protected]>
  345755 [        ] [X] fglrx-driver: will not install with latest unstable xorg packages
  355485 [        ] [X] Kernel BUG at arch/i386/mm/pageattr.c:137, no conole after logging out of X
наводит на мысли о том кто виноват и что делать.

А вот здесь -- http://linux.derkeiler.com/Mailing-Lists/K...2/msg04618.html и здесь http://linux.derkeiler.com/Mailing-Lists/K...2/msg05568.html есть рекомендации.

Или может быть у меня гуголь какой-то другой  :rolleyes:
« Last Edit: March 27, 2006, 18:05:37 by demiurg »

Offline Andry

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
    • http://andry.city.tomsk.net
Linux зависает при перезагрузки иксов
« Reply #4 on: March 28, 2006, 12:08:41 »
дистрибутив - gentoo 2006.0
ядро gentoo-2.6.15-r1
xorg-x11-6.8.2-r6
ati-drivers-8.21.7-r1
ACCEPT_KEYWORDS="x86"
видеокарта - ati radeon 9200 SE

заметил закономерность. если включаю fglrx - после выхода из нрафической сессии я больне не вижу ничего кроме черного экрана. индикаторы на клаве не моргают, при нажатии на NumLock итп, хотя кажется клава работает (я написал reboot в tty0 и комп перезагрузился).
если же fglrx исключаю - все работает нормально...
подскажите что можно сделать?

Xorg.conf:
Code: [Select]
# File: xorg.conf
# File generated by fglrxconfig (C) ATI Technologies, a substitute for xf86config.
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"      # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath    "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"    "microsoft"
    Option "XkbLayout"   "us,ru(winkeys)"
    Option "XkbOptions"  "grp:ctrl_shift_toggle, grp_led:scroll"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier    "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"

EndSection

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"

EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "(null)"
    Option "ScreenOverlap"              "0"
    Option "GammaCorrectionI"           "0x06419064"
    Option "GammaCorrectionII"          "0x06419064"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5960
    Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

    Screen "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###

Offline demiurg

  • Hero Member
  • *****
  • Posts: 1014
  • Karma: +0/-0
    • http://larin.tomsk.ru
Linux зависает при перезагрузки иксов
« Reply #5 on: March 28, 2006, 12:22:42 »
Quote
дистрибутив - gentoo 2006.0
ядро gentoo-2.6.15-r1
xorg-x11-6.8.2-r6
ati-drivers-8.21.7-r1
ACCEPT_KEYWORDS="x86"
видеокарта - ati radeon 9200 SE

заметил закономерность. если включаю fglrx - после выхода из нрафической сессии я больне не вижу ничего кроме черного экрана. индикаторы на клаве не моргают, при нажатии на NumLock итп, хотя кажется клава работает (я написал reboot в tty0 и комп перезагрузился).
если же fglrx исключаю - все работает нормально...
подскажите что можно сделать?
[snapback]8467[/snapback]
Кажется здесь http://linux.derkeiler.com/Mailing-Lists/K...2/msg05568.html  написано
Quote
which version of the Nvidia driver are you using? older drivers have a
bug with remapping the agp gatt uncached, but that's fixed in newer
drivers (as of 7174). Is there a reason you're still using the older
driver?
У Вашего сотоварища по несчастью "Gentoo Base System version 1.6.14"
А по поводу "закономерности с fglrx" создается ощущение, что Вы мой предыдущий пост совсем не читали.
Поскольку это проявляется и на ATI то видимо драйвер все таки не причем. А источник проблемы  fglrx. Попробуйте его обновить или наоборот откатить на версию назад. Тем более и дебиановцы подтверждают наличие ошибки....
« Last Edit: March 28, 2006, 12:26:49 by demiurg »