LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-09-2002, 12:14 AM   #1
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
Kernel Recompile Woes...


I'm pretty sure I've tried everything and this is the second thread that I've started on this forum to try to get somewhere but still nothing. I can't get my soundcard or network card to load and i'm sure it has something to do with module loading (i'm making myself sound even dumber than I feel). Here's what I did

make mrproper
make xconfig
make dep
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.18
cp System.map /boot/System.map

Updated the GRUB file and then booted into it. Everything seems to work except for ethernet and sound. Please help!!!
 
Old 04-09-2002, 12:17 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
What is your NIC and sound card?
 
Old 04-09-2002, 12:39 AM   #3
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
Soundblaster Live!

3com Etherlink XL 10/100 PCI

The thing is, when I originally installed RedHat 7.2 on my box from the CD's it got these cards fine. Why isn't it now?

Last edited by Bear; 04-09-2002 at 12:40 AM.
 
Old 04-09-2002, 10:17 AM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I can't help much about the network card except that i've seen the card section in Networking Support I called Ethernet 10/100 support. Should probably find it and build it in there. As far as the sound card. I use an SB Live! and you'll wanna either build straight in the SB Live! support in sound support or build it as a module. If you build it as a module, you'll need to load it on startup in modules.conf or what redhat uses...If it's supposed to be a module due to you already building it as one, on the command line do an /sbin/modprobe emu10k1. If it loads you won't see anything, but an lsmod should show it as loaded. If sounds works after that, you know you just have to add it to the startup process...
 
Old 04-09-2002, 05:14 PM   #5
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
Wow... slow down chief. You're losing me a little on that one. If you could explain what you just said in a little more newbie-ized version that would be fantastic.


Also, on a related question... I look in my boot folder and there are other things from my RedHat install that I don't know how they got there or what they do. For example I have

kernel.h-2.4.7
initrd-2.4.7-10.img
module-info-2.4.7-10

I don't really know what any of these do. Do I need them when for the 2.4.18 kernel I'm trying to compile? If so how do I get them?
 
Old 04-09-2002, 10:10 PM   #6
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
hello,
i see you omitted make clean - i am sure this is an oversite - right.

here is my kernel config which has the sblive set up as a module

http://members.telocity.com/cph013/config_2416

you could save this - then do a load from in xconfig then modify the other entries as needed, and also the config should would fine going from 2.4.16 to 2.4.18
 
Old 04-09-2002, 11:26 PM   #7
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
Wow, I'm starting to feel like I really have no idea what I'm doing. I thought that you could do make mrproper instead of doing make clean. Or do you still need to do a make clean somewhere else? Argghh.... the more documentation I read the more confused I get. Also, do I need to do something special to get rid of my old/failed recompile attempts before trying again or will just trying again overwrite the old ones?
 
Old 04-09-2002, 11:30 PM   #8
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
hello,
here is a little thing i wrote up on compiling kernels which i hope may help:

http://www.linuxjunior.org/cgi-bin/p...T=Display&id=9
 
Old 04-09-2002, 11:49 PM   #9
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
pbharris,

Thank you so much your website helped me recollect my thoughts and things are starting to make sense again. A couple quick questions, if I use GRUB do I want to do make bzlilo ? I'm guessing not but i'm just not sure anymore. Thank you.
 
Old 04-10-2002, 01:24 AM   #10
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
As you collect your thoughts, no you don't have to do a make bzlilo if you use GRUB since they are seperate bootloaders. If pbharris' kernel documentation doesn't help, i'll go on to explain what I said, but I won't confuse you any further until then. =) Only thing is that make clean actually doesn't need to be in there after make dep. It can often cause trouble as well. A make mrproper at the beginning should suffice.
 
Old 04-10-2002, 02:28 AM   #11
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
Well... this just doesn't seem to be getting me anywhere. Here's what I did now

cp -R /boot /boot2418
make mrproper
make xconfig
make dep
(make clean) ###once with and once without
make bzImage
make modules
make modules_install
mkinitrd initrd-2.4.18.img 2.4.18
mv System.map /boot2418/.
mv arch/i386/boot/bzImage /boot2418/vmlinuz-2.4.18
mv vmlinux /boot2418/.
mv initrd-2.4.18.img /boot2418/.

Updated GRUB and here's what happened. When I did this with make clean my computer would just reboot as soon as GRUB tried to load the new kernel. When I didn't use the make clean I got to the point where it says, "Uncompressing Linux...Ok, booting the kernel" and then it just hangs. Oy.

Last edited by Bear; 04-10-2002 at 10:08 AM.
 
Old 04-10-2002, 11:23 PM   #12
Bear
LQ Newbie
 
Registered: Mar 2002
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
Okay, I'm not sure if anyone is still reading this thread or if they care. But I'm going to throw this post to the wind and see.

I actually managed to compile the 2.4.18 kernel, I booted into it and I'm right now listening to mp3's and on the internet so I know that my sound and network cards work. However, I was reading the system messages as I was booting in and there was an error that said something like "modprobe: can't locate module char-major...." something like that at least, the messages go by way too fast. I'm sure that it was modprobe though. What could this be? Should I worry?

Also, I copied some mp3's onto my fat drive so that I could listen to them in Linux and well quite frankly... they sound really bad. Much worse than when I listen to them in Windows. Could this be something having to do with my fat filesystem support, my sounddriver that I installed or the linux mp3 player? Thanks so much to everyone who has helped me thus far.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Recompile the kernel kjsubbu Linux - Software 4 06-16-2004 11:53 AM
Still trying to recompile Kernel!! muzicman82 Slackware 5 12-07-2003 04:38 AM
kernel recompile synaptical Linux - General 7 08-17-2003 11:10 AM
kernel recompile masand Linux - General 1 06-05-2003 04:58 PM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration