Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X broken after upgrade [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
groomsi
n00b
n00b


Joined: 28 Jul 2010
Posts: 20
Location: New York

PostPosted: Wed Mar 02, 2011 9:20 pm    Post subject: X broken after upgrade [Solved] Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Mar 03, 2011 12:58 am    Post subject: Reply with quote

First try:
emerge -av xorg-server $(qlist -IC x11-drivers)
_________________
Defund the FCC.
Back to top
View user's profile Send private message
groomsi
n00b
n00b


Joined: 28 Jul 2010
Posts: 20
Location: New York

PostPosted: Thu Mar 03, 2011 1:53 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Mar 03, 2011 2:18 am    Post subject: Reply with quote

Code:
lspci -k
module and driver listed for vga card?
if not nv,
Code:
modprobe -r <wrong module>
modprobe nv

_________________
Defund the FCC.
Back to top
View user's profile Send private message
groomsi
n00b
n00b


Joined: 28 Jul 2010
Posts: 20
Location: New York

PostPosted: Thu Mar 03, 2011 3:20 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Mar 03, 2011 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message
groomsi
n00b
n00b


Joined: 28 Jul 2010
Posts: 20
Location: New York

PostPosted: Thu Mar 03, 2011 1:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Mar 03, 2011 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
groomsi
n00b
n00b


Joined: 28 Jul 2010
Posts: 20
Location: New York

PostPosted: Thu Mar 03, 2011 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum