LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-30-2005, 04:01 PM   #1
twkz
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
error after apt-get upgrade...


hello.i did apt-get upgrade and downloaded 216mb...new kernel,kde upgrades ant much more...system said me tha i should reboot computer because they installed new kernel version,i rebooted my computer,and then i tried typed startx,i get some errors,that it are not configured properly and system will turn off startx until i configure it properly,i get error that no screens found( and all this shit beginned after upgrade until it everything was fine.what should i do?
 
Old 06-30-2005, 07:30 PM   #2
Arnaud_B
Member
 
Registered: Jun 2004
Location: New York
Distribution: Debian
Posts: 219

Rep: Reputation: 30
Do you have a nvidia video card? if yes you need to recompile it for the new kernel
A.
 
Old 07-01-2005, 02:27 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 48
Can you specify what version you were upgrading from. If you were upgrading from Woody to Sarge (old stable to new stable) then there could be problems unless you followed the upgrade procedure using aptitude.
 
Old 07-01-2005, 11:11 AM   #4
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi. I've upgraded one of my woody installs with a few problems. What I would suggest,as you say it's done a kernel upgrade and you can't get X started is to modprobe mousedev, and modprobe psmouse. If you were using a 2.2 or 2.4 kernel with Woody and its been upgraded to a 2.6 kernel both those modules are needed to get X to start. I had those problems with the 2.6 kernel in my last woody to sarge upgrade, which is running fine now, still on the testing repo and going into Etch territory. Nigel aka farpoint.
 
Old 07-01-2005, 11:44 AM   #5
twkz
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
hm

i have stable version, then i trying dpkg-reconfigure xserver-xfree86 what video i should choose?
i tryied vga with 8 bit color but didnt work i always get error that no symbols found.what should i do?
 
Old 07-01-2005, 02:49 PM   #6
twkz
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
a

yes i have nvidia gf mx4000 128mb
 
Old 07-01-2005, 03:08 PM   #7
Arnaud_B
Member
 
Registered: Jun 2004
Location: New York
Distribution: Debian
Posts: 219

Rep: Reputation: 30
Then you need to recompile the driver for your new kernel... as you did for the previous kernel...
Good luck!
A.
 
Old 07-02-2005, 04:22 AM   #8
twkz
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
a

can you show me example? i dont know how to do this
 
Old 07-02-2005, 05:25 AM   #9
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Ubuntu and Debian
Posts: 361

Rep: Reputation: 32
Download the NVidia driver: http://www.nvidia.com/object/linux_d..._1.0-7667.html

Installation Guide: ftp://download.nvidia.com/XFree86/Li...667/README.txt
 
Old 07-02-2005, 01:24 PM   #10
Arnaud_B
Member
 
Registered: Jun 2004
Location: New York
Distribution: Debian
Posts: 219

Rep: Reputation: 30
Compiling Nvidia Driver in Debian:
just do:
#apt-get install kernel-headers-2.6.xxx nvidia-kernel-source nvidia-kernel-common nvidia-glx
( u need the kernel headers correponding to the kernel you are using... uname -r)
#cd /usr/src
#tar xzvf nvidia-kernel-source.tar.gz
#export KSRC=/usr/src/kernel-headers-2.6.xxx
#export KVERS=2.6.xxx
#cd modules/nvidia-kernel
#debian/rules binary_modules
#cd ..
--> now install the package you just created:
#dpkg -i nvidia-kernel-2.6.xxx.......deb
(check /usr/share/doc/nvidia-kernel-source/README.Debian)
then,
#nano /etc/X11/XF86Config-4
do these modif:
in the modules section:
- remove Load "dri" and Load "GLCore"
- add Load "glx"
in the devices section:
- change the driver from "nv" to "nvidia"
- add:
Option "NvAGP" "1"
Option "Nologo" "1"

Ok that should be enough now... just login as user and type startx.
By the way in order to use the AGP of your nvidia card you will need to recompile your kernel *without* AGPGART (without riva is also a good idea)... until then it won't work but the AGPGART backend should work well...
you can make sure of that with:
$cat /proc/driver/nvidia/agp/status

Good luck!
A.

Last edited by Arnaud_B; 07-02-2005 at 01:30 PM.
 
Old 07-04-2005, 09:28 AM   #11
twkz
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
damn it is hard:/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apt Upgrade Error BittaBrotha MEPIS 6 11-26-2005 01:27 AM
debian apt-get upgrade error strattonbrazil Debian 4 11-17-2005 06:52 AM
Apt-get upgrade error Quietus25 Linux - Newbie 3 07-11-2005 07:02 PM
Error on 'apt-get upgrade' slackmagic Linux - Software 1 05-04-2004 02:54 PM
error with apt-get upgrade bronko Debian 6 01-07-2004 06:10 PM


All times are GMT -5. The time now is 10:37 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration