Ttwhy’s Weblog

Ausbau der Welt
  • Startseite
  • Über

debian lenny 2.6.25-2 cant login as normal user & nvidia driver

17 07 2008

Ive had a strange problem with my lenny debian system. After a update my kdm dont let me login as normal user (but kdm shown up as allways).
After ages i searching logfiles a found some „questions“ (finaly, cause its hard to find a answer without a question).
First of all -> There is a problem with the nvidia drivers and the 2.6.26 (and 2.6.25) kernel images from debian. The patches (from nvidia) didnt worked for me, which made me think about the normal debian way. Get the source by

apt-get install nvidia-kernel-source

extract with:

cd /usr/src
tar xvjf nvidia-kernel.tar.bz2

compiled it with :

cd /usr/src/modules/nvidia-kernel
make modules
make install

(nvidia module should now be there)

but we still need nvidia-glx (on my sourcelist i only got a wrong version, which made me search the nvidia page).
found a matching version (watch the output of the make command) and install only the glx part by following command:

yourNvidiaBinFile.run --no-kernel-module

in my case it was (depends on the version of your kernel source):

./NVIDIA-Linux-x86-173.14.09-pkg1.run --no-kernel-module

okay. Server should be prepaired now the work again. But it would be „to easy“.
To mass it up even more, there is a bug in dmsetup atm. which causes udev and initrds to fail. parts of this are wrong permission in some importent /dev/ devices.

to get the minimum back again you should set

chgrp users /dev/null
chgrp users /dev/random
chgrp users /dev/urandom

stressful and not like we know it from the debian system. but will be fixed for sure.

fixing the kernel the correct way:
/etc/udev/rules.d/65_dmsetup.rules
first lines all have GOTO=“device_mapper_end“.

which should look like this:

SUBSYSTEM!="block", GOTO="device_mapper_end"
KERNEL!="dm-*", GOTO="device_mapper_end"
ACTION!="add|change", GOTO="device_mapper_end"

than adjust you kernel to get sure everthings fine

update-initramfs -k all -u


Kommentare : Kommentar schreiben »
Schlagworte: debian, dmsetup, linux, login
Kategorien : web


Meta

  • Anmelden
  • Artikel als RSS
  • Kommentare-RSS
  • WordPress.com

Schlagworte

ACL Apache Berlin Calling Blog business CakePHP CSS debian dj Django dmsetup eclipse ERP fail Faltrollo geek wishes Gütersloh HTML Index Problem innenausbau Kontakte linux login Markt erweitern mixing ModRewrite montage open source Paul Kalkbrenner Performance beschleunigung Plissee Programmierung Programming Publizieren Sales SEO Sicherheitskonzepte sonnenschutz timecode vinyl ubuntu Verein vista WAP web windows 7

Kategoriewolke

business CakePHP development Lifestyle-Enrichments linux Livestyle Enrichments Monatage Nicht kategorisiert sonnenschutz WAP web

Blog Stats

  • 6,189 hits

Nützliches

  • Australien Blog
  • Autoteile
  • Infos über Sonnenschutz und deren Montage

web 2.0 Links

  • Diesen Link Favorisieren bei Technorati Diesen Link Favorisieren bei Technorati

Seiten

  • Über

 

Dezember 2009
M D M D F S S
« Okt    
 123456
78910111213
14151617181920
21222324252627
28293031  

Archive

  • Oktober 2009
  • August 2009
  • Juli 2009
  • Juni 2009
  • Mai 2009
  • April 2009
  • März 2009
  • Februar 2009
  • Januar 2009
  • Dezember 2008
  • November 2008
  • August 2008
  • Juli 2008
  • April 2008
  • März 2008
  • Februar 2008
  • Dezember 2007
  • November 2007

Nützliches

  • Australien Blog
  • Autoteile
  • Infos über Sonnenschutz und deren Montage

web 2.0 Links

  • Diesen Link Favorisieren bei Technorati



Bloggen Sie auf WordPress.com • Freshy Design von Jide.