public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nvidia-drivers fail to determine kernel version
@ 2013-02-05 14:56 meino.cramer
  2013-02-05 15:01 ` Alexandre Domi
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: meino.cramer @ 2013-02-05 14:56 UTC (permalink / raw
  To: Gentoo

Hi,

when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
emergeing nvidia-drivers 313.18 works fine.
As soon vanilla kernel 3.7.6 are installed the emerge process fails
because the kernel version couldnt be determined.

Both times /usr/src/linux symlinks to the according kernel sources.

What did I wrong? How can I fix that?

Thank you very much in advance for any help!
Best regards,
mcc





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] nvidia-drivers fail to determine kernel version
  2013-02-05 14:56 [gentoo-user] nvidia-drivers fail to determine kernel version meino.cramer
@ 2013-02-05 15:01 ` Alexandre Domi
  2013-02-05 15:30   ` meino.cramer
  2013-02-05 21:18 ` [gentoo-user] " walt
  2013-02-06 19:02 ` Nikos Chantziaras
  2 siblings, 1 reply; 9+ messages in thread
From: Alexandre Domi @ 2013-02-05 15:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Note sure it's something wrong that you did, but that sure is strange... It
usually happens when switching from 3.x to 3.y kernel version...
When you're trying to emerge nvidia-drivers, are you running the recently
compiled kernel?


2013/2/5 <meino.cramer@gmx.de>

> Hi,
>
> when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
> emergeing nvidia-drivers 313.18 works fine.
> As soon vanilla kernel 3.7.6 are installed the emerge process fails
> because the kernel version couldnt be determined.
>
> Both times /usr/src/linux symlinks to the according kernel sources.
>
> What did I wrong? How can I fix that?
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1097 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] nvidia-drivers fail to determine kernel version
  2013-02-05 15:01 ` Alexandre Domi
@ 2013-02-05 15:30   ` meino.cramer
  2013-02-05 15:42     ` Dale
  2013-02-05 16:10     ` Alexandre Domi
  0 siblings, 2 replies; 9+ messages in thread
From: meino.cramer @ 2013-02-05 15:30 UTC (permalink / raw
  To: gentoo-user

Hi Alexandre,

thanks for your reply! :)

Both kernels were compiled the same way prior to emergeing the
nvidia-drivers. In both cases the symlink /usr/src/linux points to
the correct kernel sources...
I also to booted into the kernel for which I want to emerge the
drivers which doesnt make a difference...

What else may be the reason for that?

Best regards,
mcc






Alexandre Domi <crok.r245@gmail.com> [13-02-05 16:04]:
> Note sure it's something wrong that you did, but that sure is strange... It
> usually happens when switching from 3.x to 3.y kernel version...
> When you're trying to emerge nvidia-drivers, are you running the recently
> compiled kernel?
> 
> 
> 2013/2/5 <meino.cramer@gmx.de>
> 
> > Hi,
> >
> > when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
> > emergeing nvidia-drivers 313.18 works fine.
> > As soon vanilla kernel 3.7.6 are installed the emerge process fails
> > because the kernel version couldnt be determined.
> >
> > Both times /usr/src/linux symlinks to the according kernel sources.
> >
> > What did I wrong? How can I fix that?
> >
> > Thank you very much in advance for any help!
> > Best regards,
> > mcc
> >
> >
> >
> >
> >



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] nvidia-drivers fail to determine kernel version
  2013-02-05 15:30   ` meino.cramer
@ 2013-02-05 15:42     ` Dale
  2013-02-05 16:10     ` Alexandre Domi
  1 sibling, 0 replies; 9+ messages in thread
From: Dale @ 2013-02-05 15:42 UTC (permalink / raw
  To: gentoo-user

meino.cramer@gmx.de wrote:
> Hi Alexandre,
>
> thanks for your reply! :)
>
> Both kernels were compiled the same way prior to emergeing the
> nvidia-drivers. In both cases the symlink /usr/src/linux points to
> the correct kernel sources...
> I also to booted into the kernel for which I want to emerge the
> drivers which doesnt make a difference...
>
> What else may be the reason for that?
>
> Best regards,
> mcc
>
>

Bug maybe?  I would search the forums then B.G.O. and see if it has been
reported there. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] nvidia-drivers fail to determine kernel version
  2013-02-05 15:30   ` meino.cramer
  2013-02-05 15:42     ` Dale
@ 2013-02-05 16:10     ` Alexandre Domi
  1 sibling, 0 replies; 9+ messages in thread
From: Alexandre Domi @ 2013-02-05 16:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]

Hi,

It could be because it's hard coded in the nvidia sh script...
It used to be like that, don't know if it's still the case...
Le 5 févr. 2013 16:32, <meino.cramer@gmx.de> a écrit :

> Hi Alexandre,
>
> thanks for your reply! :)
>
> Both kernels were compiled the same way prior to emergeing the
> nvidia-drivers. In both cases the symlink /usr/src/linux points to
> the correct kernel sources...
> I also to booted into the kernel for which I want to emerge the
> drivers which doesnt make a difference...
>
> What else may be the reason for that?
>
> Best regards,
> mcc
>
>
>
>
>
>
> Alexandre Domi <crok.r245@gmail.com> [13-02-05 16:04]:
> > Note sure it's something wrong that you did, but that sure is strange...
> It
> > usually happens when switching from 3.x to 3.y kernel version...
> > When you're trying to emerge nvidia-drivers, are you running the recently
> > compiled kernel?
> >
> >
> > 2013/2/5 <meino.cramer@gmx.de>
> >
> > > Hi,
> > >
> > > when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
> > > emergeing nvidia-drivers 313.18 works fine.
> > > As soon vanilla kernel 3.7.6 are installed the emerge process fails
> > > because the kernel version couldnt be determined.
> > >
> > > Both times /usr/src/linux symlinks to the according kernel sources.
> > >
> > > What did I wrong? How can I fix that?
> > >
> > > Thank you very much in advance for any help!
> > > Best regards,
> > > mcc
> > >
> > >
> > >
> > >
> > >
>
>
>

[-- Attachment #2: Type: text/html, Size: 2136 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: nvidia-drivers fail to determine kernel version
  2013-02-05 14:56 [gentoo-user] nvidia-drivers fail to determine kernel version meino.cramer
  2013-02-05 15:01 ` Alexandre Domi
@ 2013-02-05 21:18 ` walt
  2013-02-06  4:57   ` meino.cramer
  2013-02-06 19:02 ` Nikos Chantziaras
  2 siblings, 1 reply; 9+ messages in thread
From: walt @ 2013-02-05 21:18 UTC (permalink / raw
  To: gentoo-user

On 02/05/2013 06:56 AM, meino.cramer@gmx.de wrote:
> Hi,
> 
> when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
> emergeing nvidia-drivers 313.18 works fine.
> As soon vanilla kernel 3.7.6 are installed the emerge process fails
> because the kernel version couldnt be determined.

Every time Linus changes his underwear the nvidia installer forgets how
to find the kernel version :(   Rafaele Belardi posted a link here on
Jan 29 to a patch on the nvidia website.  If you can't make it work
I'll post more details tomorrow.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: nvidia-drivers fail to determine kernel version
  2013-02-05 21:18 ` [gentoo-user] " walt
@ 2013-02-06  4:57   ` meino.cramer
  2013-02-06 16:26     ` walt
  0 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2013-02-06  4:57 UTC (permalink / raw
  To: gentoo-user

walt <w41ter@gmail.com> [13-02-06 04:51]:
> On 02/05/2013 06:56 AM, meino.cramer@gmx.de wrote:
> > Hi,
> > 
> > when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
> > emergeing nvidia-drivers 313.18 works fine.
> > As soon vanilla kernel 3.7.6 are installed the emerge process fails
> > because the kernel version couldnt be determined.
> 
> Every time Linus changes his underwear the nvidia installer forgets how
> to find the kernel version :(   Rafaele Belardi posted a link here on
> Jan 29 to a patch on the nvidia website.  If you can't make it work
> I'll post more details tomorrow.
> 
> 

Hi,

thanks for your reply, walt! :)

What I found based on your mail are patches against different
nvidia-drivers and different kernel version than I am using to get
this running...
I tried the symlink include/linux -> include/uapi/linux mentioned
here:
https://devtalk.nvidia.com/default/topic/525935/linux/please-update-310-xx-drivers-for-linux-3-7-3-8-compatibility/2/
after the kernel was build, but ths doesnt help.

Any information would help me here a lot!

Thank you very much in advance for any help!
Best regards,
mcc







^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: nvidia-drivers fail to determine kernel version
  2013-02-06  4:57   ` meino.cramer
@ 2013-02-06 16:26     ` walt
  0 siblings, 0 replies; 9+ messages in thread
From: walt @ 2013-02-06 16:26 UTC (permalink / raw
  To: gentoo-user

On 02/05/2013 08:57 PM, meino.cramer@gmx.de wrote:
> walt <w41ter@gmail.com> [13-02-06 04:51]:
>> On 02/05/2013 06:56 AM, meino.cramer@gmx.de wrote:
>>> Hi,
>>>
>>> when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
>>> emergeing nvidia-drivers 313.18 works fine.
>>> As soon vanilla kernel 3.7.6 are installed the emerge process fails
>>> because the kernel version couldnt be determined.
>>
>> Every time Linus changes his underwear the nvidia installer forgets how
>> to find the kernel version :(   Rafaele Belardi posted a link here on
>> Jan 29 to a patch on the nvidia website.  If you can't make it work
>> I'll post more details tomorrow.
>>
>>
> 
> Hi,
> 
> thanks for your reply, walt! :)
> 
> What I found based on your mail are patches against different
> nvidia-drivers and different kernel version than I am using to get
> this running...
> I tried the symlink include/linux -> include/uapi/linux mentioned
> here:
> https://devtalk.nvidia.com/default/topic/525935/linux/please-update-310-xx-drivers-for-linux-3-7-3-8-compatibility/2/
> after the kernel was build, but ths doesnt help.

I can think of two (obnoxious) things I would try next:  first, install
both versions of the kernel sources and then use diff -r to find all
the changes in the 'include' subdirectory (that's always where nvidia
trips over its own feet) then look for the ones that nividia uses to
find the kernel version.

Second, I usually add 'set -x' near the top of the 'conftest.sh' script
that nvidia uses to find the kernel version, which results in a lot of
debugging info to be printed when the installer runs.  I edit the script
in /var/tmp/portage/xorg-drivers/nvidia-xxx/kernel/ after the installer
dies and then just type 'make module install' (which normally will do
what you want if/when the installer isn't broken).



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: nvidia-drivers fail to determine kernel version
  2013-02-05 14:56 [gentoo-user] nvidia-drivers fail to determine kernel version meino.cramer
  2013-02-05 15:01 ` Alexandre Domi
  2013-02-05 21:18 ` [gentoo-user] " walt
@ 2013-02-06 19:02 ` Nikos Chantziaras
  2 siblings, 0 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2013-02-06 19:02 UTC (permalink / raw
  To: gentoo-user

On 05/02/13 16:56, meino.cramer@gmx.de wrote:
> Hi,
>
> when using vanilla kernel 3.7.5 (appropiate kernel headers installed)
> emergeing nvidia-drivers 313.18 works fine.
> As soon vanilla kernel 3.7.6 are installed the emerge process fails
> because the kernel version couldnt be determined.
>
> Both times /usr/src/linux symlinks to the according kernel sources.
>
> What did I wrong? How can I fix that?
>
> Thank you very much in advance for any help!

https://bugs.gentoo.org/show_bug.cgi?id=455496



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-06 19:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05 14:56 [gentoo-user] nvidia-drivers fail to determine kernel version meino.cramer
2013-02-05 15:01 ` Alexandre Domi
2013-02-05 15:30   ` meino.cramer
2013-02-05 15:42     ` Dale
2013-02-05 16:10     ` Alexandre Domi
2013-02-05 21:18 ` [gentoo-user] " walt
2013-02-06  4:57   ` meino.cramer
2013-02-06 16:26     ` walt
2013-02-06 19:02 ` Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox