LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-03-2004, 10:49 AM   #1
airmikeyy
LQ Newbie
 
Registered: Apr 2004
Location: us
Posts: 9

Rep: Reputation: 0
2.6.4 kernel


im running suse 9.0, after compileing the 2.6.4 kernel, sound stops working and cannot connect to the internet, can someone walk me threw this process ?
 
Old 04-03-2004, 11:31 AM   #2
wiBo
Member
 
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
You have maybe miss your kernel configuration w/modules

Try to recompile your kernel ..
 
Old 04-03-2004, 11:54 AM   #3
airmikeyy
LQ Newbie
 
Registered: Apr 2004
Location: us
Posts: 9

Original Poster
Rep: Reputation: 0
what the exact steps to compile ,and or build cause i tried to recompile .
 
Old 04-03-2004, 12:45 PM   #4
wiBo
Member
 
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
Try:

make
make modules
make modules_install
 
Old 04-03-2004, 12:53 PM   #5
airmikeyy
LQ Newbie
 
Registered: Apr 2004
Location: us
Posts: 9

Original Poster
Rep: Reputation: 0
yes i did that but when i reboot sound stops and internet connection stops working
 
Old 04-03-2004, 01:10 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
compiling a kernel is not a simple thing. all that we can say is that you didn't do it correctly. go over your options and ensure you have chosen the best options to suit your system. From the way you are asking questions without providing any form of technical background (your sound.... what sound card??) i'd possibly suggest sticking with your current working kernel until you are more expereinced.
 
Old 04-03-2004, 01:15 PM   #7
airmikeyy
LQ Newbie
 
Registered: Apr 2004
Location: us
Posts: 9

Original Poster
Rep: Reputation: 0
didnt do what right ?
 
Old 04-03-2004, 02:40 PM   #8
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
To get your sound card and internet working, you have to make sure you have compile modules required by your sound card and your ethernet card (or modem) into the kernel. It is also possible that you have not configured your system to load the new modules. Type lsmod and see if the modules are loading. What are your hardware specs?
 
Old 04-03-2004, 05:35 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Just do make oldconfig in the new kernel directory. It should copy your old kernel config options. For your sound card, video card, etc you may have to recompile them to handle the new kernel requests.

Go to
http://www.justlinux.com/nhf/Compili...mpilation.html

It will guide you through.
 
Old 04-03-2004, 07:17 PM   #10
airmikeyy
LQ Newbie
 
Registered: Apr 2004
Location: us
Posts: 9

Original Poster
Rep: Reputation: 0
maybe this is my problem, i do make make modules install make install then when i reboot i loose sound and internet connection
 
Old 04-03-2004, 07:44 PM   #11
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
sound is usually driven by a module or driver, seen when typing lsmod.

Network is usually also driven by a module, seen by typing lsmod.
 
Old 04-03-2004, 07:45 PM   #12
LinuXP
Member
 
Registered: Feb 2004
Location: Charlottesville, VA
Distribution: ArchLinux
Posts: 65

Rep: Reputation: 15
Did you actually configure the kernel before you compiled it? Try "make menu_config" before the "make" step.
 
Old 04-04-2004, 05:36 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally posted by airmikeyy
didnt do what right ?
we do not know. we have NO CHANCE of telling you unless you tell us some information.. do you think that somehow we know what spec your machine is? do you think that somehow we know what you chose for the options in your new kernel?? again the way this thread is going, i'd suggest stopping and living with your current working kernel until you understand linux better, or at least know how to post useful threads on message boards.
 
Old 04-04-2004, 01:17 PM   #14
hooya27
Member
 
Registered: Aug 2003
Location: In a van down by the river
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
Where's the fun in that?

Honestly, stock kernels are fine unless you need to add some obscure hardware support, or you really need a small footprint kernel for some reason. The whole big win of loadable kernel modules is that the kernel no longer has code for hardware and features you don't need. This code stays in modules, and the modules you _do_ need are loaded as needed. This means there is no real big benefit to compiling a custom kernel.

I, however, am a masochist, and have compiled 10 custom kernels in the past week, just to learn, and for fun! I remember having to compile custom kernels so my cd-rom that hung off of my soundblaster card would work. Then it took >8 hours on my 486 to compile. Today I'm on my 3rd custom kernel! I'm a kernel compiling FREAK!
 
Old 04-04-2004, 04:57 PM   #15
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
airmikeyy, you need to gives a lot more information such as the steps that you take, what commands did you type, did the commands gave you an error, etc.

hooya27, the problem with a modulize kernel is it creates a security risk. Anybody can compile a module and install it. If they crack your root password, he or she can load the module. The module can be anything for an example a torjan. The reason why a lot admins compile their kernel is it minimize this security risk.
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 05:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM


All times are GMT -5. The time now is 06:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration