LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   upgraded to 2.6.3 no sound no nic card (http://www.linuxquestions.org/questions/linux-general-1/upgraded-to-2-6-3-no-sound-no-nic-card-153471/)

citrus 03-04-2004 12:31 PM

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!!:confused: :confused: :confused: :confused: :confused:

bnice 03-04-2004 12:55 PM

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, :study: or you'll :cry:

citrus 03-04-2004 01:11 PM

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 ...

bnice 03-04-2004 01:40 PM

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.

StuckMojo 03-04-2004 03:01 PM

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.

urzumph 03-04-2004 03:51 PM

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.

citrus 03-04-2004 07:20 PM

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

J.W. 03-05-2004 03:44 AM

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.

bnice 03-05-2004 11:03 AM

<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:o

StuckMojo 03-05-2004 06:36 PM

Your distro should include module-init-tools packages that support 2.6 kernels
What distro are you running?

citrus 03-05-2004 06:55 PM

slackware 9.1

what does module init tools do?

J.W. 03-05-2004 07:27 PM

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.

citrus 03-06-2004 01:34 PM

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?

citrus 03-07-2004 04:40 PM

?


All times are GMT -5. The time now is 10:36 PM.