On Sun, 16 Jan 2011 11:06:30 +0000, Peter Humphrey wrote:

> > > You can't emerge nvidia-drivers if /usr/src/linux points to a
> > > kernel version other than the currently running one - it complains
> > > it can't find a valid kernel config. This means that, after
> > > emerging a new kernel version, it's necessary to reboot with the
> > > new kernel (and fail to start X) before it's possible to remerge
> > > nvidia-drivers to suit the new kernel - you can't do it in
> > > advance.  
> 
> > In the past when I do a kernel upgrade, I have linked to the new
> > kernel, emerged nvidia drivers then rebooted to the new kernel.  It
> > worked fine for me.  I haven't done that in a while since I just
> > built a new rig but I have done that in the past many times.
> > 
> > Is this something new?  
> 
> It could easily be, yes. I remember being surprised once last year when 
> it happened, and since then it's been every time - enough that I've 
> written a tiny script to remerge drivers and vbox, then restart xdm.
> The difference may be my ~amd64 system and consequent later versions of 
> nvidia-drivers.

I don't have this problem. You could only see this error
if /usr/src/linux/.config does not exist. As long as you have run make
oldconfig, the drivers should build, although I only build them after
compiling the kernel (but before rebooting).

Attachment: signature.asc
Description: PGP signature

Reply via email to