View previous topic :: View next topic |
Author |
Message |
groomsi n00b
Joined: 28 Jul 2010 Posts: 20 Location: New York
|
Posted: Wed Mar 02, 2011 9:20 pm Post subject: X broken after upgrade [Solved] |
|
|
I recently ran emerge -uvD world, and now X won't start when I boot up. The error message says that my graphics card (geforce 6800 GT) is being claimed by another kernel module, so the module NV won't load (I'm using VIDEO_CARDS="nv"). I suspect it might be related to the files changed when I ran etc-update. I'm on a G5 power mac and my kernel version is 2.6.36-gentoo-r5 (ppc64 kernel, 32-bit userland); I compiled it with g5_defconfig. Also, after the update I generated an xorg.conf using xac. I expect I'll need to provide more information, but I don't know exactly what information to provide so please ask. Thanks in advance.
Last edited by groomsi on Thu Mar 03, 2011 5:57 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Mar 03, 2011 12:58 am Post subject: |
|
|
First try:
emerge -av xorg-server $(qlist -IC x11-drivers) _________________ Defund the FCC. |
|
Back to top |
|
|
groomsi n00b
Joined: 28 Jul 2010 Posts: 20 Location: New York
|
Posted: Thu Mar 03, 2011 1:53 am Post subject: |
|
|
OK; I tried it. Immediately after it finished I tried startx and got the same error. Then I rebooted and got the same error. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Mar 03, 2011 2:18 am Post subject: |
|
|
module and driver listed for vga card?
if not nv, Code: | modprobe -r <wrong module>
modprobe nv |
_________________ Defund the FCC. |
|
Back to top |
|
|
groomsi n00b
Joined: 28 Jul 2010 Posts: 20 Location: New York
|
Posted: Thu Mar 03, 2011 3:20 am Post subject: |
|
|
lspci -k shows 'Kernel driver in use: nvidiafb'. I tried modprobe -r nvidiafb, but it said 'module not found'. Of course, it does list it as a 'driver' and not a 'module'... The only thing listed as a module anywhere in the output of lspci is 'uninorth-agp'. I tried modprobe -r uninorth-agp but got the error 'FATAL: Module uninorth-agp is in use'. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Mar 03, 2011 5:39 am Post subject: |
|
|
apparently your kernel configuration has Quote: | Graphics support --->
<*> Support for frame buffer devices --->
<*> nVidia Framebuffer Support | perhaps change to module or delete to allow xf86-video-nv module to provide the driver
and I should leave the discussion as powermac is not familiar _________________ Defund the FCC. |
|
Back to top |
|
|
groomsi n00b
Joined: 28 Jul 2010 Posts: 20 Location: New York
|
Posted: Thu Mar 03, 2011 1:53 pm Post subject: |
|
|
Actually the kernel configuration had
Code: | Graphics support --->
<M> Support for frame buffer devices --->
<*> nVidia Framebuffer Support |
I'm not sure if it makes a difference. I set both to <M> and recompiled the kernel. On boot I got past the open firmware and past yaboot but then the screen hung before I got to "Press I to enter interactive boot mode" (before the Linux penguins show up on screen). The computer seemed to be otherwise OK because it rebooted when I pressed control-alt-delete. I booted into the LiveCD, recompiled the kernel with g5_defconfig, and now am back to where I started. Thanks for trying though.
I don't have any attachment to the nv drivers; I'd be happy to use nouveau if it would get my X back. I actually tried that earlier but got nowhere. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Thu Mar 03, 2011 4:30 pm Post subject: |
|
|
Sorry, but disabling the framebuffer driver isn't going to ever work on PowerPC. :/ I haven't heard of anyone with this problem, but you could try the Open Firmware FB driver instead of the Nvidia one. Make sure you have a framebuffer compiled in, otherwise you won't get an initial console. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
groomsi n00b
Joined: 28 Jul 2010 Posts: 20 Location: New York
|
Posted: Thu Mar 03, 2011 5:57 pm Post subject: |
|
|
Thanks, it's working now. I recompiled with
Code: | Graphics support --->
<*> Support for frame buffer devices --->
<M> nVidia Framebuffer Support |
And also made sure I had selected Open Firmware FB. Thanks again. |
|
Back to top |
|
|
|