LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 06-09-2008, 08:56 PM   #1
cardtechemt
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
need help installing kernel sources on eeepc 4g surf


hi all

this thing is driving me crazy.

I can't find the source file to download-actually I don't even know what to download. I need step by step instructions on how to load the kernel source. So I can install my webcam drivers.

I am using a eeepc 4g surf. Also the downloads are sent to a directory called My documents. When i try to change cd/My Documents it says no such file or directory.

Please help me with this

Thanks in advance
fred
 
Old 06-10-2008, 02:21 AM   #2
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Usually Kernel sources are under the Development category.
Could it be because you haven't created the directory first? "md home/username/My Documents"
 
Old 06-10-2008, 09:32 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
I don't know that much yet about eeepc's, so be warned.

I DO know that it's running a modified Xandros, & Xandros is Debian based so most of my Debian/MEPIS/*buntu knowledge applies.
  1. Which mode are you running in, I think they're called, "Simple" & "Desktop"?
  2. Which package manager are you using?
    -- I use KPackage, but there's the possibility that Synaptic is the default.
  3. If worse comes to worst, do you know how to get to terminal?
  4. ... a root terminal?
  5. I think Xandros uses a root acct., rather than sudo-ing like the 'buntu's, please confirm.
  6. I'll probably have access to an eeepc this Wed. evening.
&, of course, if you don't understand any of my Q's, it will tell us where to start explaining.

Edit -- note self: This may be the CLI solution:
Code:
dpkg -l *`uname -r` | less -S
# as root
apt-get install linux-headers-`uname -r`
There is probably an easier way, but I want the code here for my own reference.

Last edited by archtoad6; 06-10-2008 at 10:16 AM. Reason: add possible solution
 
Old 06-10-2008, 11:22 PM   #4
komodo
Member
 
Registered: Jun 2008
Distribution: linux from scratch, Arch linux
Posts: 39

Rep: Reputation: 15
I tried to give an answer, but I am not allowed to post urls. Stupid site. So, now I post a BS message, just in order to be able to do it all over again.....
 
Old 06-10-2008, 11:30 PM   #5
komodo
Member
 
Registered: Jun 2008
Distribution: linux from scratch, Arch linux
Posts: 39

Rep: Reputation: 15
Ok, I will make a little shorter now.

The kernel that is used on your system can be found at:

http://support.asus.com/download/dow...lanhuage=en-us
Here, select the correct hardware you have and select the latest kernel.

Save the package to /home/user, so you know where to find it. If you use easy mode, use ctrl-alt-t to open a terminal, otherwise you can use the 'launch button' and look under applications (I believe, I have no xandros anymore as I am building an LFS system on my eee. look around for it in the menu, it may be called a console)

Next, unrar, install the package and unpack the tarball:

Code:
unrar x Linux_Kernel_071127.rar
sudo su
dpkg --install linux-source-2.6.21.4-eeepc_5_all.deb
cd /usr/src
tar xjvf linux-source-2.6.21.4-eeepc.tar.bz2
exit
cd /usr/src/linux-source-2.6.21.4-eeepc
You are now in the directory where you have the sources. You must exit, in order to prevent being root for too long.

To do anything with them, make sure you have the development tools.

add to /etc/apt/sources.list:
Code:
deb ftp://ftp.nl.debian.org/debian stable main contrib non-free /* it is better to find a mirror near you */
Then do:
Code:
sudo apt-get update
sudo apt-get install build-essential
Hope this helps.

Regards,

komodo

Last edited by komodo; 06-10-2008 at 11:47 PM.
 
Old 06-10-2008, 11:39 PM   #6
komodo
Member
 
Registered: Jun 2008
Distribution: linux from scratch, Arch linux
Posts: 39

Rep: Reputation: 15
Quote:
Originally Posted by htnakirs View Post
Usually Kernel sources are under the Development category.
Could it be because you haven't created the directory first? "md home/username/My Documents"
Under xandros linux, there really is a directory called "/home/user/My Documents\" Be aware to use the capitals in the correct place, since "My Documents" is not the same as "my documents" or some other variation. And yes, there really is a \ appended to the name...

In a standard xandros linux install on the eeepc, there are no development tools and no kernel sources.

Last edited by komodo; 06-10-2008 at 11:44 PM. Reason: explain something about the \ in the directory name
 
Old 06-17-2008, 09:39 PM   #7
cardtechemt
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Hi all,

Thanks for the replies, but so far nothing has worked. When i download the kernel sources and try to install following the instructions provided I returns errors and does not install.

SO I went to console and opened konqueror and unpacked it using the program for this, I then tried to install using the .deb installer-still won't install. i think that I am missing some dependencies. But which ones I do not know.

Basically we are still at square one.

Any advice that could be given would be greatly appreciated as I have spent hours trying to get this to work.

Thanks in advance

Fred
 
Old 06-25-2008, 09:59 PM   #8
cardtechemt
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your help--i am making progress

I need to install binutils, before it will let me install the sources--can anyone tell me where to find this program? And which version to download, I attempted to download and install but it gave a permission denied msg. Even when root.

Thanks in advance
Fred
 
  


Reply

Tags
eeepc, xandros


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
eeePc 4G surf: how to get plug-in (usb) external webcam to work LinuxMacWannabe Linux - Hardware 17 12-28-2008 05:38 AM
LXer: 9-inch EeePC named EeePC 900 and gets detailed specs LXer Syndicated Linux News 1 03-11-2008 07:11 AM
Installing Kernel sources fishkake Linux - Kernel 2 12-05-2006 04:36 PM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
Installing Kernel Sources... Solean Slackware 4 04-26-2003 03:16 PM


All times are GMT -5. The time now is 04:53 AM.

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