LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-22-2004, 11:47 AM   #16
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67

The automatic module loading support can't be installed as a module. It has to be installed into the kernel. The file systems themselves can be installed as modules. If you go under the file system menu you should be able to select Y, N, or M. But I have to warn you, I have never used xconfig before so I am not sure what it looks like when something is a module vs. compiled into the kernel image.
 
Old 01-22-2004, 11:58 AM   #17
Ceevu
LQ Newbie
 
Registered: Jan 2004
Location: edmonton, AB Canada
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
Cool

ok

i went back into the xconfig and searched in the file systems to find this under the Kernel automounter version 4 support:

To compile this support as a module, choose M here: the module will be
called autofs4. You will need to add "alias autofs autofs4" to your
modules configuration file.

It was selected as a module. Also, there is another Kernel automounter above it in the file system selection but this one is the 'newer' version. Should I, or can I, select both?

Also, how do i edit the modules configuration file to add the alias command(or check if its there yet)?

thanks again!
 
Old 01-22-2004, 12:51 PM   #18
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Quote:
Originally posted by jtshaw
The file systems themselves can be installed as modules.
Is this really true? I'd say that at least ext3 (or whatever file system you use on your root partition) must be compiled in to the kernel. Since the kernel modules are files in the file system you get into kind of a Catch-22 otherwise (a.k.a Kernel Panic).

Martin
 
Old 01-22-2004, 12:55 PM   #19
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
This is what I am told, but I guess I would understand if it didn't work for the root partition.
 
Old 01-22-2004, 01:49 PM   #20
Ceevu
LQ Newbie
 
Registered: Jan 2004
Location: edmonton, AB Canada
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
hmm, i had to boot up windows now :-(

LOL

I was making changes in the xconfig, saving, then rebooting into the new kernel-2.6.1 to see if it had affected any of the 'failures'...which it didn't. I'm really at a loss and am definately in the deep end of the bottomless pool...and sinking faster than an anchor.

I can't bootup into my original linux as i'm missing some lib2.so or some such thing(after booting the linux-2.6.1 kernel, i booted the original config up but got locked up during bootup...i waited for 15 min. or so(it was probing for new hardware as the 2.6.1 wasn't recognizing my mouse, sound driver, etc) while it probed. i thought it was locked so i just reset. then on the next bootup, i noticed the message indicating linux wasn't shutdown properly(paraphrased) and i chose to do a thorough scan(another paraphrase) of my drives. i auto-corrected and that's when i seemed to have lost those lib2.so file thingies.


So, i hate to say it, but i'm just going to re-install linux again lol.


thanks for all the help here as I have learned much. I'll probably be back in a few hours with more problems!! haha
 
Old 01-22-2004, 02:01 PM   #21
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Too bad...

Is this according to plan (to mess things up and try again until you've learned)? If it is, then I'd say that you've learned some stuff already . If it's not what you had planned and you're pissed right now , then I'll have to ask if you really need a new kernel or if you couldn't just go with the default 2.4 kernel.

We'll be here waiting for your next bunch of questions though. I will be up for a couple of hours more (it's currently 9 PM). Otherwise I assume that I'll see you around when I'm having my morning tea tomorrow

Martin
 
Old 01-22-2004, 02:09 PM   #22
Ceevu
LQ Newbie
 
Registered: Jan 2004
Location: edmonton, AB Canada
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
haha

well, i didn't mess up the kernel on purpose just to learn.. i'd rather have it running correctly but hey, it was my first attempt at compiling my very own kernel.

na, im not peeved at all. it's a little frustrating but only because i'm not really sure what i did wrong to mess up my linux box where i can't even boot into it. lol. Oh well, it's all just a learning experience.

I will most likely be loading a Fedora Core1 distro onto my pc. it seems pretty cool and i know a few peeps online who use it and enjoy it as well.


but i do have one Q before i end myposting in this thread....

When i make changes in the xconfig or menuconfig or one of those.....does it affect EVERY kernel or just the one i'm currently using to edit it with? and are those changes automatic upon saving and rebooting? or do i have to compile the kernel again (completing the steps needed after this step) in order for these changes in the xconfig to take place.

thanks for all your help.

by the way, what kind of tea?
 
Old 01-22-2004, 02:28 PM   #23
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
The settings you enter in xconfig or menuconfig affect the compilation of the kernel that you're currently building. So it shouldn't have any effect on other kernels on the system. Nothing really changes on your system until you enter make install. Then, kernel modules are copied to your /boot directory.

Making your own kernel is not really a walk in the park (as you might have noticed ). Especially not a 2.6 kernel on a system that used to have a 2.4 kernel. Something (haven't read up on the subject yet) has changed in the module subsystem. This means that you should have updated the module-init-tools package too. Now he tells me! Sorry, I probably should have mentioned that.

My recommendation, if you want to compile your own kernel, is to start with a 2.4 kernel. To make it really simple, make a kernel with no modules at all. Make sure that you know what hardware you have and make a monolithic 2.4 kernel tailor-made for your system. I could give you some hints if you run into problems with sound card, network card and video card.

About tea. Always English Breakfast in the morning! In my experience, the best English Breakfast tea comes from Twinings. Now I've just had a cup of lovely Assam. If you were closer I had offered you a cup . There are still some crumpets left from the afternoon tea. We could have toasted them and eaten them with some butter and cheese.

Martin
 
Old 01-22-2004, 02:36 PM   #24
Ceevu
LQ Newbie
 
Registered: Jan 2004
Location: edmonton, AB Canada
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
hmmm, so you are suggesting i compile the same kernel that i already have? just tweaking it a bit, i s'pose eh? sounds like a grand idea.


to do that, would i have to d/l the kernel source from somewhere or is it somewhere in the files/folders?

I do know that i will be having with my sound card because I am using Onboard sound (KT 400) and hasn't worked in either linux distro that i've installed over the past few days(installing linux is fun).

thanks for the offer of crumpets and tea! It's been a long while since i've endulged in the good ol' crumpets and tea.
 
Old 01-22-2004, 02:46 PM   #25
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Download the latest 2.4 kernel from www.kernel.org (or your local mirror). It is still being maintained, so a shiny new 2.4 kernel should be "better" than the one you have (less vulnerabilities).

I'll look in to the sound card problem. But that's Linux biggest problem right now -- since it's members of the community that makes drivers, support for the latest hardware is not the best.

Martin
 
Old 01-22-2004, 02:49 PM   #26
Ceevu
LQ Newbie
 
Registered: Jan 2004
Location: edmonton, AB Canada
Distribution: Fedora Core 2
Posts: 17

Rep: Reputation: 0
right on, thanks MartinN.

I use the Asus mobo A7V8X-X. I have AMD 2500+ cpu with 1 gb of ram.

GeForce4 MX440 video card. Onboard sound chipset is KT 400.


I'm going to install the Fedora Core 1 now.

enjoy your evening tea.
 
Old 01-22-2004, 03:13 PM   #27
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Now you really have some incentive to make your own kernel -- get that sound card to work!

According to this spec:
http://usa.asus.com/prog/spec.asp?m=A7V8X-X&langs=09
your audio chip is VIA VT8235.

I take back what I said in the previous post -- VIA has drivers available for several Linux distributions:
http://www.viaarena.com/?PageID=294

But still - it could be fun to try to include it yourself in the kernel (what you get from VIA is just a kernel module, I assume). I'll try to download the latest 2.4 kernel now and poke around a little in xconfig.

Martin
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:31 AM.

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
Open Source Consulting | Domain Registration