LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-04-2004, 11:31 AM   #1
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
upgraded to 2.6.3 no sound no nic card


i just finally got my first kernel upgrade to work from 2.4.22 to 2.6.3
go into kde and relized i don't have sound and there is nothing in my ifconfig other then the LO so yeah no net i am working in windows now and it sucks

i am not sure what else doesn't work but if someone could point me to a different post or give me some addvice to what i should do ...

also alsaconf doesn't work imean it does but it says no supported pnp or pci card found and i have a ac97 card



HELP!!
 
Old 03-04-2004, 11:55 AM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
just finally got my first kernel upgrade to work from 2.4.22 to 2.6.3
not exactly...


Most likely you missed some options when configuring your kernel.

there are several ways to configure your kernel, I would suggest reading the kernel compile guides at the top of tthe Slackware forum for full details.

the most effective (and most confusing) way to fix it would be to compare two files:

/usr/src/linux-2.4.22/.config #this is your old configuration
/usr/src/linux-2.6.3/.config #this is your new configuration <edit - cerebral flatulence>
then set the stuff you need in your new config, using the settings from the old one.

Note: in any stock distribution kernel there is much stuff you DON'T need, however unless you have a good grasp on your hardware requirements you can FUBAR your system. You've been warned.
just copying your old .config file won't work, as features are added and deprecated with almost every realese.

the easiest & least effective

make oldconfig

this will try to find and parse your old .config file and merge it with your new one.
The downside is that if you are running a stock distro kernel, you'll still end up with unneeded bits in your kernel.

as always with Linux, or you'll

Last edited by bnice; 03-05-2004 at 10:05 AM.
 
Old 03-04-2004, 12:11 PM   #3
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
i followed the kernal compile guide at TLDP and i did make menuconfig and just added some options like allot ntfs write support but i didn't take away anything at all that looked like nic card or sound card and what not ...
 
Old 03-04-2004, 12:40 PM   #4
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
yes, but you obviously didn't enable support for your soundcard or nic...

<sigh>
Quote:
/usr/src/linux-2.4.22/.config #this is your old configuration
/usr/src/linux-2.4.22/.config #this is your new configuration
then set the stuff you need in your new config, using the settings from the old one.
the new kernel, by default, DOES NOT INCLUDE support for most sound and network cards. You have to "turn them on"

until you do this, it won't work.

PS If you have X working, try `make xconfig` is a lot easier to understand, as it displays a description for whatever you click on & usually tells you if and when you need it.

Last edited by bnice; 03-04-2004 at 12:44 PM.
 
Old 03-04-2004, 02:01 PM   #5
StuckMojo
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
If you've built anything as modules, make sure you have module-init-tools installed, it's required for loading modules with the 2.6 series kernels.
 
Old 03-04-2004, 02:51 PM   #6
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
When you are doing your sound, I found with the 2.6.1 kernel I don't know if it's still true of 2.6.3, that compiling alsa into the kernel did not work, they must be compiled as modules.
 
Old 03-04-2004, 06:20 PM   #7
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
i am still so new to this ...

first attemt and i looked in xconfig but i didn't see my davicom nic card i think thats the chips set and i wasn't sure about the sound card
i didn't try to recompile cuz i am not to sure what to do

about these mod initi tools .... not sure how that works either

i am so lost

sorry guys

Last edited by citrus; 03-04-2004 at 06:22 PM.
 
Old 03-05-2004, 02:44 AM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Bro - as others have stated, most likely your new kernel compile just left out certain modules that your system needs. The best thing to do is know exactly what kind of HW you are using, and then verify that the necessary modules are enabled to support that HW. In other words, if you are using soundcard X, you want to be sure that soundcard X is enabled as a module. Same deal with your NIC. Put it this way - if it worked under the old kernel, it ought to work under the new kernel as long as you confirm the appropriate modules are enabled. (I don't recommend doing this, but you could take the brute force method and mark all sound and NIC options as modules, but that would severely bloat your kernel.) As bnice indicates, although it may be difficult to sort through, a comparison between the old and new configuration files may be very helpful in identifying the differences. However this may be more easily done by printing them both out and visually comparing them. Certain sections have been moved, which throws off diff.

As for modules-init-tools, I think that for 2.6.x you need at least version 0.9.14, which you can get from: http://www.kernel.org/pub/linux/util...le-init-tools/


FYI:

Quote:
Originally posted by bnice

/usr/src/linux-2.4.22/.config #this is your old configuration
/usr/src/linux-2.4.22/.config #this is your new configuration
then set the stuff you need in your new config, using the settings from the old one.
Actually the new config ought to be here: /usr/src/linux-2.6.3/.config -- J.W.
 
Old 03-05-2004, 10:03 AM   #9
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
<bnice bows respectfully to J.W>

Quote:
Actually the new config ought to be here: /usr/src/linux-2.6.3/.config -- J.W.
brainfart, sorry
 
Old 03-05-2004, 05:36 PM   #10
StuckMojo
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Your distro should include module-init-tools packages that support 2.6 kernels
What distro are you running?
 
Old 03-05-2004, 05:55 PM   #11
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
slackware 9.1

what does module init tools do?
 
Old 03-05-2004, 06:27 PM   #12
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
As citrus indicated, Slack v9.1 is using kernel 2.4.22, not 2.6.x, so you do need this utility to upgrade to 2.6.x

The module-init-tools is a utility program that manages the loading and removal of kernel modules. It's the 2.6 equivalent of modutils in 2.4 -- J.W.
 
Old 03-06-2004, 12:34 PM   #13
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
so lets say if i allready compiled could i use this tool in 2.6 to load up my sound modual and nic module? or would i just have to start over?
 
Old 03-07-2004, 03:40 PM   #14
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
?
 
  


Reply



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
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
Upgraded Graphics Card MrInept Linux - Hardware 2 10-19-2005 10:17 AM
upgraded kernel to 2.6.8.1 now no sound jpgillivan Linux - Laptop and Netbook 7 11-15-2004 05:09 AM
Upgraded to Slack 10, now sound card isn't found Psyddicus Slackware 9 07-16-2004 03:17 PM
Upgraded 2.6.0test9 NIC not working matt3333 Slackware 11 11-01-2003 12:32 PM

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

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