Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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 ...
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.
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.
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
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.
/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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.