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 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. |
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? |
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 Again, thanks in advance, Steve |
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... |
First: xorg.conf (minus the DRI section, module section, files section, server flags section, and input devices section) has:
Code:
# ********************************************************************** Code:
$ lspci 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 |
Quote:
|
Quote:
|
Uh, I'm not entirely sure how to check this, but as far as I know I'm using kdm.
|
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 Code:
if [ -n "$GDM_LANG" ]; then 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. |
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 |
All times are GMT -5. The time now is 08:46 PM. |