View previous topic :: View next topic |
Author |
Message |
Genn Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/52191771643dd5da8c5025.gif)
Joined: 19 Sep 2003 Posts: 98
|
Posted: Thu Dec 16, 2004 5:32 am Post subject: xorg fails to start properly DRI/DRM issue |
|
|
I know there are quite a few threads devoted to this sort of topic, so let me assure you I've read everyone I can find, and none of them have been able to help. The basic problem is that I can't get into my install without booting into knoppix and chrooting over. When the login manager (entrance in my case) would be coming up the screen is just black instead, or has in the past just been flashing on and off. This all came about when I was playing with a new kernel source and when I rebooted none of my kernels would get me into a workable environment. In the past when this has happened I've usually been able to get to a terminal and recompile a kernel and then everything works again. Nothing has worked this time around.
I reverted back to the latest gentoo-dev-sources (2.6.9-r9) to try and minimize variables. The setup is an Asus A7N8X-E motherboard with a radeon 9100 video card. All of the appropriate drivers are compiled into the kernel including drm with the radeon driver. All of the various files are linked to below.
http://genn.sitesled.com/files/gentoo/.config
http://genn.sitesled.com/files/gentoo/Xorg.0.log
http://genn.sitesled.com/files/gentoo/xorg.conf
http://genn.sitesled.com/files/gentoo/dmesg_output.txt
http://genn.sitesled.com/files/gentoo/emerge.info
If anyone could help me get myself out of knoppix and back into my own install it would be great. I'll provide any additional information. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Titeuf l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/183223404140dda57583cb8.jpg)
Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Thu Dec 16, 2004 3:56 pm Post subject: |
|
|
Did you try to copy the Knoppix xorg.conf (or xfree86.conf, don't know) to your gentoo installatation and see if it works ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genn Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/52191771643dd5da8c5025.gif)
Joined: 19 Sep 2003 Posts: 98
|
Posted: Thu Dec 16, 2004 5:55 pm Post subject: |
|
|
That was a good thought, but unfortunately it didn't work. Knoppix had both XF86Config and XF86Config-4, I tried them both. The second one did exactly the same thing my xorg.conf does, and the first just stopped when startx was called, but it does let me get into a console.
I think the problem is with the kernel module or something dealing with udev. What I forgot to point out in my first post was
Code: | drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "radeon" |
from the Xorg.0.log. It leads me to believe it's more a module or node problem.
It may be because of udev; I went to a pure udev system (removed the tarring of /dev) shortly before rebooting in an effort to get ivman working. (I need to learn not to change so much at once ) Is it possible that the correct device nodes could just not be getting created, or are getting created in a different spot? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Dec 16, 2004 9:15 pm Post subject: |
|
|
you clearly need to set you system to boot to a command line not straight to X until you get your graphics driver set up correctly.
there is a couple of lines in /etc/rc.conf that you need to knock out,eg.
Code: | #DISPLAYMANAGER="xdm"
#XSESSION="Gnome"
|
I actually run like that all the time because I often want to work from the console rather than X.
From there you may see better what is happening.
HTH
![Cool 8)](images/smiles/icon_cool.gif) _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genn Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/52191771643dd5da8c5025.gif)
Joined: 19 Sep 2003 Posts: 98
|
Posted: Thu Dec 16, 2004 9:29 pm Post subject: |
|
|
A very good idea. Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genn Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/52191771643dd5da8c5025.gif)
Joined: 19 Sep 2003 Posts: 98
|
Posted: Fri Dec 17, 2004 5:45 am Post subject: |
|
|
Well, I tried reenabling devfs to see if it was a problem with udev, and nothing changed. So, I guess it really is a problem with the drivers. In light of that I'm going back and setting them as modules and I'm going to try and see if I can get any extra information that way. If that fails I'm going to rebuild xorg with some slightly different use flags and maybe less aggressive cflags. By all accounts my system should be working....this is annoying me that it isn't. Well, back to work... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cintra Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1858642424191ab7baeb49.jpg)
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genn Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/52191771643dd5da8c5025.gif)
Joined: 19 Sep 2003 Posts: 98
|
Posted: Fri Dec 17, 2004 6:34 pm Post subject: |
|
|
I got it working finally. Turns out xorg didn't like the drivers being compiled into the kernel, so as soon as I put drm and agpgart in as modules xorg started working again, with direct rendering to boot. Now go figure why it didn't work at the beginning when I had them compiled as modules...
Anyways, thanks for the help and time you all spent. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|