Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-09-2008, 08:56 PM
|
#1
|
LQ Newbie
Registered: Jun 2008
Posts: 3
Rep:
|
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
|
|
|
06-10-2008, 02:21 AM
|
#2
|
Member
Registered: Mar 2007
Posts: 239
Rep:
|
Usually Kernel sources are under the Development category.
Could it be because you haven't created the directory first? "md home/username/My Documents"
|
|
|
06-10-2008, 09:32 AM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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. - Which mode are you running in, I think they're called, "Simple" & "Desktop"?
- Which package manager are you using?
-- I use KPackage, but there's the possibility that Synaptic is the default.
- If worse comes to worst, do you know how to get to terminal?
- ... a root terminal?
- I think Xandros uses a root acct., rather than sudo-ing like the 'buntu's, please confirm.
- 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
|
|
|
06-10-2008, 11:22 PM
|
#4
|
Member
Registered: Jun 2008
Distribution: linux from scratch, Arch linux
Posts: 39
Rep:
|
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..... 
|
|
|
06-10-2008, 11:30 PM
|
#5
|
Member
Registered: Jun 2008
Distribution: linux from scratch, Arch linux
Posts: 39
Rep:
|
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.
|
|
|
06-10-2008, 11:39 PM
|
#6
|
Member
Registered: Jun 2008
Distribution: linux from scratch, Arch linux
Posts: 39
Rep:
|
Quote:
Originally Posted by htnakirs
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
|
|
|
06-17-2008, 09:39 PM
|
#7
|
LQ Newbie
Registered: Jun 2008
Posts: 3
Original Poster
Rep:
|
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
|
|
|
06-25-2008, 09:59 PM
|
#8
|
LQ Newbie
Registered: Jun 2008
Posts: 3
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|