LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-11-2005, 09:34 PM   #1
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Rep: Reputation: 15
System Hangs on Boot-- ATI driver vs. kdm problem


Hey all,

For the past month or so, I've been having a problem where my computer crashes on boot. It gets through most of the boot process ok, but when it starts X, the monitor goes into power save mode, and I can't do anything with it. When I reboot, if I "force filesystem integrity check" it loads just fine.

I get the following error lines in /var/log/messages:

Code:
Dec  7 13:07:30 vaio kernel: fglrx: no version for "struct_module" found: kernel
 tainted.
Dec  7 13:07:30 vaio kernel: fglrx: module license 'Proprietary. (C) 2002 - ATI
Technologies, Starnberg, GERMANY' taints kernel.
Dec  7 13:07:30 vaio kernel: [fglrx] Maximum main memory to use for locked dma b
uffers: 927 MBytes.
Dec  7 13:07:30 vaio kernel: [fglrx] module loaded - fglrx 8.18.8 [Oct 25 2005]
on minor 0
Dec  7 13:07:30 vaio devfsd[141]: error calling: "unlink" in "GLOBAL"
Dec  7 13:07:30 vaio last message repeated 8 times
Dec  7 13:07:30 vaio crond: crond startup succeeded
Dec  7 13:07:30 vaio devfsd[141]: error calling: "unlink" in "GLOBAL"
Dec  7 13:07:30 vaio last message repeated 2 times
Dec  7 13:07:30 vaio rc: Starting kheader:  succeeded
Dec  7 13:07:30 vaio devfsd[141]: error calling: "unlink" in "GLOBAL"
Dec  7 13:07:30 vaio last message repeated 7 times
Dec  7 13:07:30 vaio devfsd: Running devfsd actions:  succeeded
Dec  7 13:08:05 vaio shutdown: shutting down for system reboot
Dec  7 13:08:05 vaio init: Switching to runlevel: 6
Dec  7 13:08:06 vaio shutdown: shutting down for system reboot
Dec  7 13:08:43 vaio last message repeated 567 times
Dec  7 13:09:59 vaio syslogd 1.4.1: restart.
by the looks of it, it might be a problem with the ATI drivers. But It could be something completely different, too.

If it is an ATI issue, I've got a Radeon 9800 Pro. Let me know if you need more info.

Thanks in advance,

Steve

P.S. Sorry if this isn't a hardware issue, but the error messages led me in that direction.

Last edited by 43r05p4c3; 12-31-2005 at 01:05 PM. Reason: Better problem recognition for appropriate exposure
 
Old 12-16-2005, 02:25 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
This log doesn't indicate a problem with fglrx, "taints kernel" just means that you have loaded a closed-source module. I get the same thing when I load nvidia.

I think the problem may be X configuration.
Are there errors (EE) in /var/log/Xorg.0.log?
 
Old 12-17-2005, 07:04 PM   #3
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Ok, thanks for your reply bulliver

I checked /var/log/Xorg.0.log like you requested. No errors, but there are two warnings.
Code:
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): Specified desktop setup not supported: 8
I'm not sure what those mean, although the '8' in the second warning leads me to believe it's referring to the fact that I have my KDE setup to run 8 desktops. If this is the case, then the second is obviously not the problem. I have no clue about the first though.

Again, thanks in advance,

Steve
 
Old 12-18-2005, 03:41 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
First: "No matching Device section for instance (BusID PCI:1:0:1) found"
Do you have a device section in your xorg.conf? Do you have two display adapters that X may be getting confused about? Perhaps time to post your xorg.conf and output of 'lspci'...

Second: lets try to eliminate your display manager as the problem. When you "startx" from the command line, do you get the same problem? I assume you have disabled automatic X startup at this point...
 
Old 12-18-2005, 12:29 PM   #5
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
First: xorg.conf (minus the DRI section, module section, files section, server flags section, and input devices section) has:

Code:
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
     HorizSync 31-80
     VertRefresh 56-76
     Option "DPMS"
# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017  +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950"  109.62  1280 1336 1472 1720  1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

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"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset     "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver      "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# installed.

#    BusID       "PCI:0:10:0"

#    VideoRam    256

#    Clocks      25.2 28.3

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"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === 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=4e48
    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       "1280x960" "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 ###
lspci gives:

Code:
$ lspci
00:00.0 Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R350 [Radeon 9800]
01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800] (Secondary)
02:01.0 Modem: Intel Corp.: Unknown device 1080 (rev 04)
02:08.0 Ethernet controller: Intel Corp.: Unknown device 1050 (rev 02)
I'm not entirely sure what to be looking for, but that first warning looks like it's referring to where a second monitor would go. Having said that, I do not have a second monitor, and I don't see why this would give a warning.

Second,
startx from the command line does not give the same problem. Which is good cause it gives me a temporary solution until I get this figured out.

Let me know what you make of this,

Steve
 
Old 12-18-2005, 12:46 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Quote:
startx from the command line does not give the same problem. Which is good cause it gives me a temporary solution until I get this figured out.
That should rule out xorg and fglrx. How do you log in otherwise?
 
Old 12-18-2005, 01:06 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
That should rule out xorg and fglrx. How do you log in otherwise?
Yup. It's most likely your login manager. Do you use kdm? gdm? xdm?
 
Old 12-18-2005, 02:09 PM   #8
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Uh, I'm not entirely sure how to check this, but as far as I know I'm using kdm.
 
Old 01-05-2006, 05:43 PM   #9
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
Ok, I've looked into it, and apparantly I'm using mdkkdm (not kdm). Having said that, I do HAVE kdm installed, as well as xdm.

I've been looking for possible sources of this error, and have come across the following files:
/etc/X11/prefdm
/etc/profile.d/10lang.sh

The first one seems to determine which desktop manager to use, and the second is supposed to start the desktop manager without displaying the console.

prefdm refuses to pick anything other than mdkkdm, so I think it's set as a system variable. Does anyone know how to change this to, say, kdm?

the relevant part of 10lang.sh LOOKS like it's probably either:
Code:
    # handling of special cases where localization is done
    # only on console or only on X11.
    # when launching an xdm-like program we are not yet in X11 (so
    # $DISPLAY is not defined) but obviously we will, so we check
    # also $DESKTOP which is defined before calling xdm-like program
    if [ -n "$DISPLAY" ]; then
	[ "$X11_NOT_LOCALIZED" = "yes" ] && LANGUAGE=C
    elif [ -z "$DESKTOP" ]; then
	[ "$CONSOLE_NOT_LOCALIZED" = "yes" ] && LANGUAGE=C
or
Code:
if [ -n "$GDM_LANG" ]; then
    sourced=1
    LANG="$GDM_LANG"
else
    # only source one of the possible files, and in that order;
    # if system wide and user config are mixed and different, umpredictable
    # things will happen...
    for langfile in $HOME/.i18n /etc/sysconfig/i18n ; do
	[ -f $langfile -a "$sourced" = "0" ] && . $langfile && sourced=1
    done    
fi
If someone sees a problem, or knows of any related files/system files that could be causeing problems, PLEASE let me know. Even if you're not sure perhaps it will give somone else some ideas.

Thanks,

Steve

EDIT: I managed to get prefdm to load kdm instead, but this doesn't solve the problem. I think the problem is probably some misnamed system variable, but I'm not sure

EDIT2: Looking at /var/log/mdkkdm.log shows this error occurring sometimes: (EE) fglrx(0): Failed to initialize UMM driver. I don't know if it's related, but I wouldn't be surprised.

Last edited by 43r05p4c3; 01-05-2006 at 11:09 PM.
 
Old 01-08-2006, 06:00 PM   #10
43r05p4c3
Member
 
Registered: Mar 2005
Location: Ontario, Canada
Distribution: Mandrake 10.0/XP Dual Boot Desktop & Gentoo 2005.1 Laptop
Posts: 79

Original Poster
Rep: Reputation: 15
OK, big progress this time,

I used the command "genkdmconf" (which I stumbled across purely by accident) it is an older version, but I decided to risk it. I backed up the file I thought was about to be rewritten.

Now, kdm loads on boot (Insert premature cheers here). Unfortunately, kdm no longer logs me in. That's right, it loads, it shows the users, (the pictures were deleted, but I replaced them) it accepts my password and window manager, and then when I hit load... it goes back to the kdm login screen, and I can repeat as many times as I want.

I'm certain the problem lies in my /usr/share/config/kdm directory... but I don't know which file to look in, as more than just kdmrc got rewritten (now there's a whole bunch of extra files dealing with the Xserver)

If anyone knows which file to look at, let me know,

Steve
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ati fglrx-driver hangs up the system Saquel Linux - Software 0 09-05-2005 03:31 AM
net driver causes system hangs (keyboard hangs) yjchen Linux - Networking 0 10-21-2004 10:12 PM
ATI driver hangs the reboot ar1 Linux - General 0 06-28-2004 12:30 PM
Linux Newbie-Fedora hangs at boot-9800 card the problem-how to install driver nobet Fedora 6 04-01-2004 03:59 AM
Linux boot problem - system hangs Kyleman007 Linux - Newbie 9 09-18-2003 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration