Solved

No audio No Internet after building the kernel

Posted on 2003-11-29
5
516 Views
Last Modified: 2013-12-06
After building the kernel 2.4.20 I have no audio and I cant go on the internet....

AUDIO Problem:

When I start Linux its on runlevel i think 4 or 3 Iam not sure but I hear the bc beep If I press backspace in the command line if nothing is there. I havent tried playing audio in commandline so Iam not sure if that would work.

When I startx I get "Sound server information message message Error while initialinizing the sound driver device /dev/dsp cant be opened (no such device) The sound server will continue using the null output device"

I checked /dev and there was a file called dsp so I changed the persmissions on it so everyone can use it but that didnt work either.

I went here http://www.ali.com.tw/eng/support/faq_linux_os_faqs.htm the audio I have is AC97 M1647 and the website dosent have any Linux drivers for it but it said what to enable on the kerenl configuration and I did but still dosent work. The website also said to go here ALi Audio Linux Driver
HOW-TO: http://www.linuxdoc.org/HOWTO/
but I didnt find the Linux driver maybe its there I just cant find it.


INTERNET Problem:

I have verizon ADSL before building the kernel I used to acess the internet by using http://roaringpenguin.com/ I had no problems.

After building the kernel I get this error when typing in adsl-start (which is the command that connects me to the internet) "..........TIMED OUT /usr/sbin/adsl/ start:line 194 411 terminated $connect "$@">dev/null 2>&1

Maybe I didnt include something in the kernel configuration I have a westell modem provided by Verizon and a Realtek RTL8139 Family PCI Fast Ethernet NIC its location is PCI slot 5


and thats it ohh and by the way the reason I built the kerenl was to learn about the Linux operating system not that I was unhappy with my last configuration. And now Iam stuck and need help thanks.



0
Comment
Question by:XmafiaPL
  • 3
5 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9843884
Was you last kernel one that came with your distribution? Is this the first kernel that you compiled? Which distribution are you using?
0
 

Author Comment

by:XmafiaPL
ID: 9844085
Iam using Slackware 9 and the kernel it came with was version 2.4.20 but there wasnt a /usr/src/linux directory I had to download a kernel from kernel.org I extracted it in /usr/src then I made a linux directory in /usr/src which I linked to kernel-2.4.20.

Yes this is my first time building a kernel. Iam actually reading a book about Linux its called running Linux by O'Reily. Its a great book but Iam stuck on this part like I its not that I was unhappy with the original kernel source its just that I did this for the learning experiance which is why I didnt download the newest stable kernel which I belivev is 2.4.22. I latered wanted to download the kernel patches so I can learn how to do all these wonderful things in Linux.
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 250 total points
ID: 9844176
I don't know what the Slackware kernel looks like, but it's possible that it's patched a bit, and you don't have these patches for your new kernel. This at least would be the case with Red Hat or SuSE kernels. I would suggest that you try to get the Slackware kernel (don't delete the kernel source tree you currently have, you will compile your own kernel - eventually).

Then take the .config file from the Slackware's kernel directory and copy it to your own kernel tree and do a "make oldconfig". This will import the config file. Then do the make the kernel again. If it now works, you were just missing some configuration options. Give yourself a good pad on the shoulder. You just compiled your first working Linux kernel (actually you already did this, this one however will be a good replacement for the one Slackware came with).

If this does not give you a working kernel, you should compare the two kernel trees and look for differences. The "diff" command (when used in recursive mode) will do this for you.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10306523
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
PAQ/No Refund
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now