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.
Hi all, i just compiled the 184.108.40.206 kernel and i got to the part about adding it to the lilo.conf but ive made mistakes and dont have my old lilo.conf anymore, stupid of me i know When i use "/sbin/lilo" i get:
Added test-220.127.116.11 *
Syntax error at or above line 27 in file '/etc/lilo.conf'
Here is my broken lilo.conf:
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
# Override dangerous defaults that rewrite the partition table:
# VESA framebuffer console @ 1024x768x256
Hopefully someone who isnt a complete newbie can see what i've done wrong
well not very sure......but i think slackware 10.1 too is 2.4.x kernel
if you are upgrading it to 2.6.x then you are not supposed to use the "config" of 2.4.x.
Get your slackware 10.1 second cd.
search for "testing" directory ( folder ) in it.....do a littly more search inside it......there you will get a "config 2.6.x"
use this as the base.
may it help you in solving your problem
lol me too facing some problem while upgrading my slackware 10.0 to 2.6.x ( my X window is giving error, but thats a different story )
are not you loading any "config" file before selecting/unselecting among the various option during "make xconfig".
if you are not loading then you are doing mistake.
suppose u compile the way you are doing....fine.
now next time when you will be compiling the kernel.....will you start in the same way ????
it will be started from the scratch again.
at that time you will have to "load" the "config" file of last compiled kernel ( which will be keeping all the changes with it ), otherwise if you wont load it.......you will be starting from scratch i.e you won't find any of the changes you made during the last compilation.
i hope you are getting my point
now since you are compiling for the first time, use the "config" which i told you.
this config has the settings of the options of the kernel which you are using currently.
and ya you are very much right that after saving ( after make xconfig ) a "config" file will be created. backup this config file in some other directory b'coz you will be using it next time during compilation.
other directory b'coz.....during the "make mrproper" it deletes your "config" from /boot or where ever you had it......so have a backup in some other directory too
Before i try the test config on slackware cd 2 thought it might help to mention this, I've been told i should have done "make oldconfig" to use the settings that worked on the 2.4.29 kernel. Seeing as i think i deleted my old config im not sure this is an option.
In /usr/src/linux-2.4.29/arch/i386 there are config.in and defconfig files, can i use these somehow?
from this tutorial i learnt kernel compilation.
frankly speaking........me too new to kernel compilation.....don't know much, have compiled my 2.4.x kernel 8-10 times only.
what ever i knew, i've already explained
and i never used " make oldconfig".....instead of that i prefer to load the old config file manually.
and if you are going to follow the steps of the above stated tut........then please take care of not tempering with the original files ( as i have already stated )
make oldconfig works but you cannot use it interchangeably in different kernel series.i.e. you cannot make oldconfig 2.4.x series config file for compiling 2.6.x series kernel. I suggest you use the kernel Pat provides in slackware-current. Go to slackware-current ---> testing ---> packages. You'll see a folder for linux-2.6.13...the latest kernel. Download the necessary tarballs kernel-generic, kernel-modules and kernel-source. **Be careful** of kernel-headers and read the warning posted there.
Install this kernel and see how it fares. You can then take the config file from this kernel and try compiling your own kernel. This way you would have a 2.6 series working kernel and you can continue to tweak the config file till it works. Once a config file is ready...everything else is a breeze. That config file is also going to serve you for future kernels unless you upgrade your system or want to use a special functionality in future kernels.
1) you can enable DMA adding a line like
/usr/sbin/hdparm -d1 /dev/hdx
in your /etc/rc.d/rc.local.
hdx is where your linux partitions are (may be hda,b,oc....)
This unfortunately cannot help you if you experience speed problems while fscking the partitions at boot, as /etc/rc.d/c.rc.local is at the very end of the boot sequence.
I'd suggest you recompile the kernel enabling DMA in the kernel.
2) Not very clear to me with just these infos. It seems a USB-controller module failed creating a node while loading...
3) Don't get scaried by the "FATAL" message.
this simply means the listed modules has not been loaded, but it doesn't necessarely means your system is affected by that.
For instance if you choosed to "build in" the kernel those drivers your get that message although your system has full functionality. If this is the case just comment out their occourrencies in your /etc/rc.d/rc.modules.
What makes things a little complicate is snd_pcm_oss and snd_mixer_oss are loaded by /etc/rc.d/rc.alsa.
Editing that script requires a bit of experience.....