LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-14-2002, 11:31 PM   #1
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
Sndconfig


Error No Sound Modules Found:-

You dont seem to be running a Kernel with Modular Sound Enabled. ( SoundCore.o was not not found in the module

search path)
To use SndConfig you must be running kernel with Modular Sound Enabled, Such as kernel Shipped with redhat linux or

2.2 greater kernel

But at the command Prompt Of linux it tells me vs 2.2 above only

I'm Using Loadlin to Load my Linux using the VMLINUZ from the Redhat CD.......


I'm having a Compaq Presario with an Onboard Ati Rage 128 VR AGP & an Onboard Yamaha DS-XG WDM Sound Card
 
Old 08-17-2002, 02:33 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Have you ever given your kernel a rebuild? You may want to, go on over to the kernel HQ www.kernel.org and get the latest stable kernel (2.4.19 as of now) and download it to /usr/src Make sure you have write permissions on the directory, I usually log in as root to do all of this.

Unpack your kernel using the following command:
cd /usr/src
tar xvzf linux-2.4.19.tar.gz
cd /usr/src/linux-2.4.19

and now we are in the kernel's directory. If you are in X, this may be a little easier for your first time. Run:
make xconfig
to start the ball rolling. This will bring up your kernel "configurator". Here you will be able to go step by step through each part of your kernel, picking out things you don't need, adding things you do, and modulizing others. Most of the time the "help" button next to each item will be very useful, and give you alot of information on the option. If you have any questions about certain options while picking through the kernel configurator head over here and do a search, or go to www.google.com/linux and see what comes up.

After you have picked through the kernel, and you are ready to test it to see if you have made a "working" kernel for you system, choose save and exit. You should get a message saying "next you must run 'make dep'. So guess what? Next we will run:
make dep

This will help to satisfy all the dependencies you have created from the configure. This works most of the time for me. Sometimes though, you have to go back in and check some options (reading the help file will usually tell you) and sometimes satisfy those dependencies yourself.

Next we will clean up the files running:
make clean

Followed by the module builder:
make modules
and the module installer:
make modules_install

And now for the cruncher, we will build the kernel into a chunk of data:
make bzImage

The bzImage is a compressed kernel image. There are other options here, this is just the one I use.

It's very nice to see the screen crunching away, and know that you helped caused it all. Once it finishes you will get a message showing you the size of the file, and maybe something saying a warning about it being to big for a single floppy boot or something. Ignore that unless you are building a kernel for a floppy distro, or something similar.

Now we need to put the kernel somewhere so that the startup scripts can use it. Usually it's the /boot directory. So we will type:
cp /usr/src/linux-2.4.19/arch/i386/boot/bzImage /boot/bzImage.new

Notice the .new I added to the end of the copied file, this is to help if you have other bzImages in there, you can see what is the new kernel and you won't over write the other images.

If you have a current System.map file in /boot, it's likely a symlink. So simply remove the symlink (if that's what it is) or rename it with:
mv /boot/System.map /boot/System.map.old

And now copy over your new System.map from the lowest level directory in your kernel directory:
cp /usr/src/linux-2.4.19/System.map /boot/System.map.new
And create a new symlink to it:
ln -sf /boot/System.map.new /boot/System.map

Now we need to edit your /etc/lilo.conf file to display the changes and add the new kernel option so you can boot it. If you use something other than lilo to boot, good luck.

Using your favorite text editor, open /etc/lilo.conf In my example we will use mine, pico.
pico /etc/lilo.conf
Scroll down the last line in the file and add the following:

image = /boot/bzImage.new
root = /dev/hda1 (this is wherever your / directory is located, if you have 1 hard drive, and only linux installed, then it's hopefully going to match my example)
label = Newkernel
read-only


This addition is just an example, if you have questions on what to add on your particular system, and can't figure it out from the example above, ask.

Now exit your favorite text editor:
CTRL + X
Save the file:
Y
And write it:
ENTER

Now run lilo to install the new entry:
/sbin/lilo -v
And watch to make sure there are no errors.

You can now reboot your system, and try out your new kernel.

Good luck, and someone correct me if I am wrong on any part of that.

Cool
 
Old 08-17-2002, 03:28 AM   #3
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
Hi master C. Thx for all that Labour done for me i really Appreciate.

everything is almost clear except one.. U asked me to edit the lilo.conf but tell me i dont use lilo to boot linux . I use Loadlin so i guess this startup setting wont be executed...
 
Old 08-17-2002, 03:56 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome

Yeah, I am only up on how to boot with lilo, you may want to open another thread, or search around a bit on how to edit Loadlin to boot your new kernel.

Cool
 
Old 08-17-2002, 05:17 AM   #5
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
sh'd i use ur New " bzImage.new" instead of the VMlinuz image loader i'm Using
 
Old 08-17-2002, 05:39 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well after reading around a bit, it appears that "vmlinuz" is simply a renamed bzImage. So you can rename it if you'd like, or you can just leave it as bzImage.

Cool
 
Old 08-17-2002, 05:55 AM   #7
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
ya thx will definitly give it a try
thx for the Info buddy
 
Old 08-17-2002, 06:09 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
No problem, glad I could be of some help
 
Old 08-17-2002, 06:29 AM   #9
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
wooo hoooo.....u juss helped me learn how to compile my own kernel 'C'...how come everyone says it takes ages and is complicationg....

well anyways...THANX DUDE!!!
 
Old 08-17-2002, 06:31 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Glad I could be of assistance. If Jeremy opens up the "tips and tricks" page, I guess something like this would go in there.

Cool
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
sndconfig xviddivxoggmp3 Slackware 9 02-24-2004 09:49 PM
What/where is sndconfig? storyteller Linux - Hardware 6 11-24-2003 12:57 PM
where is sndconfig lhiggins Linux - Newbie 6 09-19-2003 09:29 PM
no sndconfig? totalnewb Linux - Newbie 2 09-19-2003 09:23 PM
sndconfig theneoprotocol Linux - Hardware 2 03-20-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:49 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