LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 10-02-2004, 09:32 PM   #1
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
Question No Debian Kernal Source


I just installed Debian Linux 3.0 R2. I downloaded the 7 CD's and the install went fine. Running StartX failed with a "No Screen found" error. After searching through posting I determined (hopefully correctly) that the distribuitions NV driver is not new enough. I went to the Nvidia website and downloaded a new driver. When install it, the driver requires recompiling the kernal source, but it is not on my system - at least nowhere I can find it. I search through postings on this site and the directories are there, but no "source". So, now I am stuck. Any guidence would be much appreciated.
 
Old 10-02-2004, 09:39 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
use dselect. it'S command line so you don't need x working. the kernel-source is called something like this:
kernel-source-<version>

shorter:
apt-cache search kernel-source-<version>
apt-get install kernel-source-version>

sl mritch.
 
Old 10-03-2004, 08:36 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
I have been able to get it to work by downloading the kernel-headers for whatever "uname -a" I am using if I don't need/want to recompile.
 
Old 10-04-2004, 10:54 AM   #4
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
still trying

No luck yet downloading the source. I will try getting the headers this afternoon. I guess this is how I get my intro to Linux. Thanks for the help!
 
Old 10-04-2004, 08:15 PM   #5
Space_Balls
Member
 
Registered: Aug 2003
Location: El Paso, Tx
Distribution: Debian Sid, SuSe 9.1 Pro
Posts: 33

Rep: Reputation: 15
were you able to get your source using apt-get?
on debian, IIRCC, the source is not extracted in /usr/src, apt-get only puts the tar.bz2 file there,which is "kernel-source-2.6.8.tar.bz2" for my SID system.
 
Old 10-04-2004, 08:44 PM   #6
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,017

Rep: Reputation: 52
"I just installed Debian Linux 3.0 R2. I downloaded the 7 CD's and the install went fine."

All you needed was CD1.


"Running StartX failed with a "No Screen found" error."

That means a bad configuration of the xserver.

#dpkg-reconfigure xserver-xfree86

"After searching through posting I determined (hopefully correctly) that the distribuitions NV driver is not new enough."

The 'nv' module will work in 2D, no reason to give you a 'no screens found' error message.

sections 9 and 10
http://osnews.com/story.php?news_id=2016



"I went to the Nvidia website and downloaded a new driver. When install it, the driver requires recompiling the kernal source, but it is not on my system - at least nowhere I can find it. I search through postings on this site and the directories are there, but no "source". So, now I am stuck."

#apt-cache search kernel-image

choose what you want according to your processor.

example:
#apt-get install kernel-image-2.4.27-1-686
answer the questions put to you and at the end,

#/sbin/lilo
reboot


This is the long answer.

The short one, download the Sarge Net-installer:
http://www.debian.org/devel/debian-installer/

at the prompt, check F1 and F3, take the defaults, skip 'choose your applications' from the installation menu, when you're through, install x-window-system, any window manager, mozilla, as user:

$startx

and you're in, next time you start the computer, you will have xdm. Your problems will go away. Follow the sticky about debian configuration at the top of this page.

Last edited by macondo; 10-04-2004 at 09:01 PM.
 
Old 10-04-2004, 09:00 PM   #7
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
No luck yet. I tryed using dSelect to get the header and source files, and it said it did but only tar files were installed. The apt-cache worked, but the apt-get failed. I will try the
 
Old 10-04-2004, 09:00 PM   #8
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry for the half reply. I am downloading the sarge installer. I will give that a try. Thanks for everyones help on this!!!!!!
 
Old 10-04-2004, 11:04 PM   #9
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
install X

I downloaded sarge and ran the install. The install ran fine. I did not install any packages (I did let it scan all 7 CD's to pick up the available packages). After completing the install of Debian, I now want to install X Windows, window manager,and mozilla. I am trying to do this running dselect. I cannot do this as my user account do to privilages. I logged in as root, and ran dselect. It is not clear to me what packages to install.

This is my first linux install and I seem to be struggling. What should I do next? Also, I cannot find the sticky at the top of the page macondo is referring to. So much for my 15 years of software engineering experience
 
Old 10-04-2004, 11:19 PM   #10
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
hold up

I found the article by macondo on osnews. Let me follow that before burning anyones time.

thanks,
 
Old 10-05-2004, 09:02 AM   #11
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,017

Rep: Reputation: 52
LOL!
the article was written by Clinton De Young, i wouldn't know how to write such a great article.

Read sections 9 and 10 on how to configure X, then continue on how to use apt-get. This apt-get program is the one you are gonna use to install your apps:

as root:

#apt-get install x-window-system mozilla icewm icewm-themes iceme locales

all this is explained in the article, read it all. Now, this article was written to install Woody with kernel 2.2 but the sections on X, apt-get, apply to your Sarge installation, after that, read the sticky entitled:

Debian Configuration Post-Install
(it's the first or second post on this site)

read it and the postings after that.

If you feel this is over your head your can install Ubuntu or Libranet, both are based on Debian, and excellent distros.
Stay away from Deselect and Tasksel. The article on osnews.com is good easy reading, written especially for newbies.

Don't feel bad, Debian is hard at first, it has a steep learning curve, we all went thru that, just follow instructins and read the:

APT-HOWTO
http://www.debian.org/doc/manuals/ap.../index.en.html

Last edited by macondo; 10-05-2004 at 09:24 AM.
 
Old 10-05-2004, 09:08 AM   #12
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,017

Rep: Reputation: 52
"I downloaded sarge and ran the install. The install ran fine. I did not install any packages (I did let it scan all 7 CD's to pick up the available packages)."

If you use the sarge net-installer, you forget about the 7 cds, they are obsolete for this installation. Follow instructions to the letter. The 7 cds are for woody, you are now installing sarge. Capisci, paesano?

Repeat this mantra:

"i only need one cd, one cd, one cd..."

The apps you need are in Debian's virtual warehouses in the internet, which will be brought to you, when as root, you ask for them with apt-get.

Thus, the name "net-install", get it?

you don't have the sarge apps in a cd, they are in the air.

Last edited by macondo; 10-05-2004 at 09:22 AM.
 
Old 10-05-2004, 10:01 PM   #13
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
still no luck

I was able to follow all the instructions. But still I end up with No Screen Found.

The error proceeding this is Assigning device section with no hostID to primary device
(EE) no devices detected.

For fun (yeah lots of fun) I selected VGA and 8 bits and the Xserver started.

Any Ideas on what to try next?
 
Old 10-05-2004, 10:07 PM   #14
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,017

Rep: Reputation: 52
sorry, i'm pretty tired to go thru all the posts, your hardware should have been detected.

Did you install x-window-system with apt-get at the end?

Did you do a:

#dpkg-reconfigure xserver-xfree86

Last edited by macondo; 10-05-2004 at 10:14 PM.
 
Old 10-05-2004, 10:12 PM   #15
slove
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Original Poster
Rep: Reputation: 0
yes

I ran apt-get install x-window-system after a clean install using sarge.

after that did not work, I used dpkg-reconfigure xserver-xfree96 to try different settings.

I appreciate all the help. I am picking up lots of info as I do this.

thanks,
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernal source phoneix Linux - Hardware 13 07-16-2005 08:33 AM
which of these is the kernal source? pharmd Linux - Newbie 2 02-26-2005 05:30 PM
installing kernal source... pharmd Linux - Newbie 2 02-26-2005 12:23 PM
how to install kernal source reshma Linux - Newbie 3 01-15-2004 08:36 PM
Kernal source code andrewtc Linux - Software 6 04-25-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration