Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i m a little confused...i ve dnloaded the source tree for the linux kernel version 2.4 and 2.6/// now the configs directory in the 2.4 source tree has names of many processors, such as, ix86,powerpc etc..
what does this signify?
does this mean that separate board support needs to be written for the processors not on that list?
i m working with a MIPS processor, whose name exists in the configs directory of the 2.4 tree and i can compile the tree it and install the kernel on the processor...however, the 2.6 tree does not contain the name of this MIPS processor in its configs directory...and i cannot compile the source tree...how does this happen, when there is no communication established between the board and the computer on which i m compiling the tree?
well, the make xconfig does not work..it says no rule to make target xconfig
this is a modified ver of the source tree that we use in my workplace..
so you are saying that there should be dif files for dif architechtures that should have dif configuration options as per the architechture?
If you've never tried compiling a kernel before, you might try following this (although it's a little outdated, the config and make parts are still basically the same). I believe there might be some different options depending on the architecture. But the main thing is that if that config file is already configured for an x86 architecture, you have to reconfigure the kernel to be for MIPS instead.
see thats the thing..my host machine on which i m doing the compiling is an ix86...
and it ver2.4 compiles on this...and produces an image..
however, ver2.6 refuses to compile on my machine..
when you say i ve to reconfigure the kernel for an MIPS, do you knw anyplace for me to start from? what i mean is..should i be looking at the differences between 2.6 and 2.4? and then figuring out what kind of hardware support / dif config options i need to give for the MIPS/2.6?
What do you mean by "fails to compile"? You should be able to compile a kernel (of some sort) on any machine for any other machine. All you have to do is go through and change the kernel configuration. You use make menuconfig, make config, or make xconfig to edit the configuration file.
Make sure /usr/src/linux is a symbolic link to /usr/src/linux-2.6.XXX or whatever directory has the kernel source. Then from the /usr/src/linux directory, you run the make xconfig command to start configuration. Then you set all the options you want (somewhere in here should be mips -- you probably have to pick the correct subarchitecture type to be able to pick mips), save and exit. Then compile as normal...