public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] udev and nvidia
@ 2005-10-11  7:29 Alexander Puchmayr
  2005-10-11  7:58 ` Drew Tomlinson
  2005-10-12 11:12 ` Matan Peled
  0 siblings, 2 replies; 10+ messages in thread
From: Alexander Puchmayr @ 2005-10-11  7:29 UTC (permalink / raw
  To: gentoo-user

Hi!

After upgrading the system and hence switching to kernel 2.6.13 and udev, my 
nvidia device nodes are no longer available and I did not find any way to 
create them automatically by udev.

According to http://www.gentoo.org/doc/en/udev-guide.xml, I have 
* nvidia listed in /etc/modules.autoload.d/kernel-2.6, and verified that it 
is loaded.
* media-video/nvidia-kernel-1.0.6629-r4 is installed 
* sys-apps/baselayout-1.11.13-r1 is installed

Additionally, I installed the coldplug package.

grep nvidia /etc/udev/rules.d/50-udev.rules
KERNEL=="nvidia*",      NAME="%k", GROUP="video"

Why is there no /dev/nvidia[0-7] and nvidiactl ? 
What did I forget?

Thanks for suggestions and greetings
	Alex
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-11  7:29 Alexander Puchmayr
@ 2005-10-11  7:58 ` Drew Tomlinson
  2005-10-12  6:39   ` Alexander Puchmayr
  2005-10-12 11:12 ` Matan Peled
  1 sibling, 1 reply; 10+ messages in thread
From: Drew Tomlinson @ 2005-10-11  7:58 UTC (permalink / raw
  To: gentoo-user

Alexander Puchmayr wrote:

>Hi!
>
>After upgrading the system and hence switching to kernel 2.6.13 and udev, my 
>nvidia device nodes are no longer available and I did not find any way to 
>create them automatically by udev.
>
>According to http://www.gentoo.org/doc/en/udev-guide.xml, I have 
>* nvidia listed in /etc/modules.autoload.d/kernel-2.6, and verified that it 
>is loaded.
>* media-video/nvidia-kernel-1.0.6629-r4 is installed 
>* sys-apps/baselayout-1.11.13-r1 is installed
>
>Additionally, I installed the coldplug package.
>
>grep nvidia /etc/udev/rules.d/50-udev.rules
>KERNEL=="nvidia*",      NAME="%k", GROUP="video"
>
>Why is there no /dev/nvidia[0-7] and nvidiactl ? 
>What did I forget?
>
>Thanks for suggestions and greetings
>	Alex
>  
>

I recall reading somewhere that because of the binary nature of the 
nvidia driver, you have to re-emerge it after building a new kernel.  
Seems like it was on a gentoo.org page about the nvidia driver.

HTH,

Drew
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
@ 2005-10-11 11:51 brettholcomb
  2005-10-12  7:11 ` Alexander Puchmayr
  0 siblings, 1 reply; 10+ messages in thread
From: brettholcomb @ 2005-10-11 11:51 UTC (permalink / raw
  To: gentoo-user

Reemerge nvidia - it's one of the modules that when you rebuild the kernel you have to redo them.

> 
> From: Alexander Puchmayr <alexander.puchmayr@linznet.at>
> Date: 2005/10/11 Tue AM 03:29:52 EDT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] udev and nvidia
> 
> Hi!
> 
> After upgrading the system and hence switching to kernel 2.6.13 and udev, my 
> nvidia device nodes are no longer available and I did not find any way to 
> create them automatically by udev.
> 
> According to http://www.gentoo.org/doc/en/udev-guide.xml, I have 
> * nvidia listed in /etc/modules.autoload.d/kernel-2.6, and verified that it 
> is loaded.
> * media-video/nvidia-kernel-1.0.6629-r4 is installed 
> * sys-apps/baselayout-1.11.13-r1 is installed
> 
> Additionally, I installed the coldplug package.
> 
> grep nvidia /etc/udev/rules.d/50-udev.rules
> KERNEL=="nvidia*",      NAME="%k", GROUP="video"
> 
> Why is there no /dev/nvidia[0-7] and nvidiactl ? 
> What did I forget?
> 
> Thanks for suggestions and greetings
> 	Alex
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-11  7:58 ` Drew Tomlinson
@ 2005-10-12  6:39   ` Alexander Puchmayr
  2005-10-12  9:08     ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Puchmayr @ 2005-10-12  6:39 UTC (permalink / raw
  To: gentoo-user

Am Dienstag, 11. Oktober 2005 09:58 schrieb Drew Tomlinson:
> Alexander Puchmayr wrote:
> >Hi!
> >
> >After upgrading the system and hence switching to kernel 2.6.13 and
> > udev, my nvidia device nodes are no longer available and I did not find
> > any way to create them automatically by udev.
> >
> >According to http://www.gentoo.org/doc/en/udev-guide.xml, I have
> >* nvidia listed in /etc/modules.autoload.d/kernel-2.6, and verified that
> > it is loaded.
> >* media-video/nvidia-kernel-1.0.6629-r4 is installed
> >* sys-apps/baselayout-1.11.13-r1 is installed
> >
> >Additionally, I installed the coldplug package.
> >
> >grep nvidia /etc/udev/rules.d/50-udev.rules
> >KERNEL=="nvidia*",      NAME="%k", GROUP="video"
> >
> >Why is there no /dev/nvidia[0-7] and nvidiactl ?
> >What did I forget?
> >
> >Thanks for suggestions and greetings
> >	Alex
>
> I recall reading somewhere that because of the binary nature of the
> nvidia driver, you have to re-emerge it after building a new kernel.
> Seems like it was on a gentoo.org page about the nvidia driver.
>

I did this after installing the new kernel, and I re-emerged it again just 
to make sure, but it didn't help. Still, I don't have /dev/nvidia* created 
by udev, I have to create them by myself. 

Greetings,
	Alex
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-11 11:51 [gentoo-user] udev and nvidia brettholcomb
@ 2005-10-12  7:11 ` Alexander Puchmayr
  0 siblings, 0 replies; 10+ messages in thread
From: Alexander Puchmayr @ 2005-10-12  7:11 UTC (permalink / raw
  To: gentoo-user

Am Dienstag, 11. Oktober 2005 13:51 schrieb brettholcomb@bellsouth.net:
> Reemerge nvidia - it's one of the modules that when you rebuild the
> kernel you have to redo them.
>

Doesn't work, sorry. Any other suggestion?

Thanks
	Alex



> > From: Alexander Puchmayr <alexander.puchmayr@linznet.at>
> > Date: 2005/10/11 Tue AM 03:29:52 EDT
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] udev and nvidia
> >
> > Hi!
> >
> > After upgrading the system and hence switching to kernel 2.6.13 and
> > udev, my nvidia device nodes are no longer available and I did not find
> > any way to create them automatically by udev.
> >
> > According to http://www.gentoo.org/doc/en/udev-guide.xml, I have
> > * nvidia listed in /etc/modules.autoload.d/kernel-2.6, and verified
> > that it is loaded.
> > * media-video/nvidia-kernel-1.0.6629-r4 is installed
> > * sys-apps/baselayout-1.11.13-r1 is installed
> >
> > Additionally, I installed the coldplug package.
> >
> > grep nvidia /etc/udev/rules.d/50-udev.rules
> > KERNEL=="nvidia*",      NAME="%k", GROUP="video"
> >
> > Why is there no /dev/nvidia[0-7] and nvidiactl ?
> > What did I forget?
> >
> > Thanks for suggestions and greetings
> > 	Alex
> > --
> > gentoo-user@gentoo.org mailing list
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-12  6:39   ` Alexander Puchmayr
@ 2005-10-12  9:08     ` Neil Bothwick
  0 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2005-10-12  9:08 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 12 Oct 2005 08:39:33 +0200, Alexander Puchmayr wrote:

> I did this after installing the new kernel, and I re-emerged it again
> just to make sure, but it didn't help. Still, I don't have /dev/nvidia*
> created by udev, I have to create them by myself. 

I think this is because you're using an old version of the nVidia
driver, which isn't udev-friendly.


-- 
Neil Bothwick

Macro: (n.) a series of keystrokes used to simulate a missing but
essential command.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] udev and nvidia
  2005-10-11  7:29 Alexander Puchmayr
  2005-10-11  7:58 ` Drew Tomlinson
@ 2005-10-12 11:12 ` Matan Peled
  1 sibling, 0 replies; 10+ messages in thread
From: Matan Peled @ 2005-10-12 11:12 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Puchmayr wrote:
> Hi!
> 
> After upgrading the system and hence switching to kernel 2.6.13 and udev, my 
> nvidia device nodes are no longer available and I did not find any way to 
> create them automatically by udev.
> 
> According to http://www.gentoo.org/doc/en/udev-guide.xml, I have 
> * nvidia listed in /etc/modules.autoload.d/kernel-2.6, and verified that it 
> is loaded.
> * media-video/nvidia-kernel-1.0.6629-r4 is installed 
> * sys-apps/baselayout-1.11.13-r1 is installed
> 
> Additionally, I installed the coldplug package.
> 
> grep nvidia /etc/udev/rules.d/50-udev.rules
> KERNEL=="nvidia*",      NAME="%k", GROUP="video"
> 
> Why is there no /dev/nvidia[0-7] and nvidiactl ? 
> What did I forget?
> 
> Thanks for suggestions and greetings
> 	Alex

Doing this should resolve the problem:

(Note that # designates a root shell...)

# [ -z /etc/portage/ ] && mkdir /etc/portage
# echo media-video/nvidia-kernel >> /etc/portage/package.keywords
# emerge nvidia-kernel
# reboot

Instead of rebooting in the last line, you could also quit X and do:
# modprobe -r nvidia && modprobe nvidia

- --
[Name      ]   ::  [Matan I. Peled    ]
[Location  ]   ::  [Israel            ]
[Public Key]   ::  [0xD6F42CA5        ]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDTO+LA7Qvptb0LKURAtUEAJ9dvUKVZEub9plZb3Z01NqL3s7AMACgiiqT
9YtV7FWFFfXLhpReLL/Oo08=
=OQuU
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-12 12:57 brettholcomb
@ 2005-10-12 13:46 ` Matan Peled
  2005-10-12 23:38 ` Bob Sanders
  1 sibling, 0 replies; 10+ messages in thread
From: Matan Peled @ 2005-10-12 13:46 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

brettholcomb@bellsouth.net wrote:
> On a new system I built I had to recreate the /dev/nv* items.

First of all, top posting sucks.

Secondly, you want the keyworded nvidia-kernel.


- --
[Name      ]   ::  [Matan I. Peled    ]
[Location  ]   ::  [Israel            ]
[Public Key]   ::  [0xD6F42CA5        ]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDTROtA7Qvptb0LKURAoHmAJ9GJdKZLm+9A7MMVHXR69avAnAyKQCeM0pI
rsz+sBHlMctibpKADK08TuA=
=2K1z
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-12 12:57 brettholcomb
  2005-10-12 13:46 ` Matan Peled
@ 2005-10-12 23:38 ` Bob Sanders
  2005-10-13  1:11   ` Brett I. Holcomb
  1 sibling, 1 reply; 10+ messages in thread
From: Bob Sanders @ 2005-10-12 23:38 UTC (permalink / raw
  To: gentoo-user

On Wed, 12 Oct 2005 8:57:59 -0400
<brettholcomb@bellsouth.net> wrote:

> On a new system I built I had to recreate the /dev/nv* items.

The problem is udev is not creating the device nodes like it should.  Neither
0.68, nor 0.70.   Why?  Don't know.

I took NVmakedevices.sh from an older nvidia-kernel (downgraded as part of
my troubleshooting the issue), saved it in /root, upgraded - 1.0.7676 removes it
and doesn't have it in the ebuild, and added to /etc/conf.d/local.start.

Bob
-- 
-  
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] udev and nvidia
  2005-10-12 23:38 ` Bob Sanders
@ 2005-10-13  1:11   ` Brett I. Holcomb
  0 siblings, 0 replies; 10+ messages in thread
From: Brett I. Holcomb @ 2005-10-13  1:11 UTC (permalink / raw
  To: gentoo-user

Yup, that's the problem - why I don't know either and searching didn't 
turn up any answers other than "it's broke".  I used the script to create 
them and it worked.

  On Wed, 12 Oct 2005, Bob Sanders wrote:

> On Wed, 12 Oct 2005 8:57:59 -0400
> <brettholcomb@bellsouth.net> wrote:
>
>> On a new system I built I had to recreate the /dev/nv* items.
>
> The problem is udev is not creating the device nodes like it should.  Neither
> 0.68, nor 0.70.   Why?  Don't know.
>
> I took NVmakedevices.sh from an older nvidia-kernel (downgraded as part of
> my troubleshooting the issue), saved it in /root, upgraded - 1.0.7676 removes it
> and doesn't have it in the ebuild, and added to /etc/conf.d/local.start.
>
> Bob
>

-- 

Brett I. Holcomb
brettholcomb@R777bellsouth.net
Registered Linux User #188143
Remove R777 to email
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-10-13  1:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 11:51 [gentoo-user] udev and nvidia brettholcomb
2005-10-12  7:11 ` Alexander Puchmayr
  -- strict thread matches above, loose matches on Subject: below --
2005-10-12 12:57 brettholcomb
2005-10-12 13:46 ` Matan Peled
2005-10-12 23:38 ` Bob Sanders
2005-10-13  1:11   ` Brett I. Holcomb
2005-10-11  7:29 Alexander Puchmayr
2005-10-11  7:58 ` Drew Tomlinson
2005-10-12  6:39   ` Alexander Puchmayr
2005-10-12  9:08     ` Neil Bothwick
2005-10-12 11:12 ` Matan Peled

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