LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-07-2004, 09:58 AM   #61
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30

Thanks
But I tried there. They are just silly. Most of the time they are just talking about their own self. The software link, present on the main page is not working . The linuxquestions.org is best and it is my first choice.
I told you that I will try to get Mandrake 9.2 and if I get, I will tell you. I tried for it after few days and now I would like to learn the RH 9.0. I am Downloading Kernel 2.4.20-31.9.i386. After downloading I will ask u that how to compile it?. Do I also need source package for it? And is Kernel 2.6 is compatible with Redhat 9.0?
 
Old 05-07-2004, 10:19 AM   #62
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
But I will write in linuxpakistan.net for getting Mandrake 9.2 or other Distibution's Product.
 
Old 05-07-2004, 10:35 AM   #63
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
If you're getting the full kernel RPM, you don't need to compile it, you just install it. As far as I know, the install process should handle the rest for you. You only need the source package if you are compiling a kernel from source (which you are not), or if you have outside drivers (such as the nVidia or ATI binary video card drivers, some modem and printer drivers) which need to be compiled against the kernel source in order to work. If you don't have any hardware like that, then you don't need the kernel source.

I have no idea if RedHat 9 is compatible with the 2.6 series kernel, but the fact that during my search of the various repositories on your behalf I did not see so much as one 2.6 kernel RPM for RedHat 9 or Fedora Core 1 (which is virtually the same as RH 9) does not lead me to believe that it is. Of course, you could always go to www.kernel.org and get a vanilla kernel and compile it yourself-- but the 2.6 series requires some support applications (module-init-tools comes to mind, among others whose names I forget) and these may not be available for RH9 either, in which case the compile (or the compiled kernel) wouldn't work anyway. Which would explain why there's no RPMs for the distro.

As far as I could see, Fedora 2 is the first RH variant that's going to use the 2.6 kernel.
 
Old 05-07-2004, 11:08 AM   #64
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Well Motub,
The site http://rpm.pbone.net/index.php3/sta...athlon.rpm.html is to much busy and aborting the download process. So I went to www.kernel.org and downloaded the prepatch and snapshots for the latest 2.4 kernel version i-e 2.4.27. The files are very short and in the form of .bz2. Is there any instruction page for compiling and installing the kernel? If u know kindly send the links please.
You are GREAT really GREAT. Thanks alot
 
Old 05-07-2004, 11:28 AM   #65
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
http://www.redhat.com/docs/manuals/l...dularized.html

http://www.linuxquestions.org/questi...0&pagenumber=1

http://www.linuxplanet.com/linuxplanet/tutorials/202/1/

http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-2.html

http://www.linuxanswers.net/?cmd=howto&key=kernel

http://www.linuxlookup.com/html/guides/kernel.html

The first link is RedHat's own instruction; that's your best choice.
The second is on this very site, and you already know how good we are here .

The other 4 are from good sites also. The only problem is that they mostly only give instructions for editing the LiLO bootloader, and you use GRUB. But you shouldn't need much more than the first and second links anyway.

When you get to make menuconfig (or make xconfig), just read the help for any of the kernel options that you don't understand. The kernel help is very good, and usually advises whether to enable a setting or not.

Good luck!
 
Old 05-07-2004, 11:38 AM   #66
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Kindly tell me that the files which I downloaded are enough or I need to Download the whole kernel which passes over through the size of 36 MB?
The files which I have downloaded are "Prepatch" and "snapshot"
 
Old 05-07-2004, 12:05 PM   #67
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Well motub
sorry for previous post.

I went to the following URL
ftp://ftp.kddlabs.co.jp/pub/Linux/pa.../en/os/athlon/
And found the latest kernel upgrade i-e 2.4.31.rpm. I will Copy it to a folder then install this.
Is this right? I found that link from Redhat Documents.
You are great.
 
Old 05-07-2004, 01:31 PM   #68
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
That looks like a kernel; I don't see any reason why it wouldn't be OK, since you got the link from RedHat themselves, and the site looks like a very complete (and probably even official) RedHat repository. But I'm not a RedHat user, and I've never installed a kernel RPM under RedHat, so there might be something I don't know.

Follow the RedHat instructions and you should be fine. RedHat knows a whole lot more about RedHat than I do.
 
Old 05-08-2004, 01:15 PM   #69
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Motub,
I got it. I downloaded this RPM package. Since it is of 14 MB so it took a lot of time to download, about 2.5 hours. (As u know about my ISP speed). After downloading it I just ran the command "rpm -ivh kernel-smp-2.4.20-31.9.athlon" and it installed it. When next time I restarted my Computer, The GRUB displayed 3 option. Top one for the new kernel, 2nd for 2.4.20-8 and 3rd for Windows XP. Does I am going right? If so what do I do for enabling my 3D hardware acceleration? and the RPM packages which I downloaded day before yesturday is still not installing. If you need I can send you the output of "rpm -ivh" command when applyed on them. I think the kernel source is not needed or it is? (As you told me). And I think that 2.4.20-31.9 is the last for RH 9.0. In installing my modem in the new kernel it gives me compilation error. Do I need to reinstall compiler packages?
Thanks.
 
Old 05-09-2004, 01:05 AM   #70
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Well today I again tried to install those RPM packages and magically they installed. First of all I install packages for ALSA Sound Driver. After installation (just of 3 minutes) I tried "alsamixer"and it relpyed ma as

[root@localhost root]# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
[root@localhost root]#

I have serched google for this but all in vain. There are plent of results but I didn't understand anything there. Might be u find some thing related to this there. This problem is occuring always whenever I install ALSA, although they were in the form of tar.gz. I think ALSA doesn't support C-Media 9738 or it is?
Please tell me the solution of this problem (As u are expert in ALSA Drivers). Don't forget to tell me about my VGA problem and Modem. Please.........

Last edited by mir_sheely; 05-09-2004 at 01:33 AM.
 
Old 05-09-2004, 05:00 AM   #71
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
I am not an expert in ALSA drivers; I am an expert in reading the instructions available to me.

"snd_ctl_open failed for default: No such device" means that there is no default device, because you did not configure ALSA. It has no idea what device to open a mixer for!

Try using the 'alsaconf' command to tell ALSA that you have a C-Media whatever, and try the mixer again after that.

You might also want to read the instructions for installing ALSA drivers for the integrated sound component of an SiS 740 motherboard-- they are instructions for compiling ALSA from source, but give a lot of useful info, such as the name of your soundcard module, and the location of system files that you can confirm have been edited properly so that ALSA will run.

I already told you about your VGA; we found out that you're using the vesa driver, which does not have hardware acceleration, and that you need to be using the "sis" driver, which does.

Have you tried opening your RedHat X Configuration utility and changing the video card to the new driver installed by the new kernel? Or changing the "Driver" line in the XF86Config file from "vesa" to "sis" and then logging out and back in to restart the X server?

Don't blame me if you forgot all that .

I don't have a modem, and I don't know anything at all about how to set one up under Linux. So you'll have to look elsewhere for help with that (try the search button at the top of this page; I'm sure there have been many many posts about modem problems and your answer might already be posted here somewhere).

Hope this helps.
 
Old 05-09-2004, 10:55 AM   #72
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Motub u seem to be very anger on me.
What I did? If u are anger on me that I ask the smallest matter from u that I can do myself, So the problem is that, as u know that the scope of Linux is very little in Pakistan. All the software available here are pirated. Can u belive that I bought Redhat Linux 9.0 here only for $1.5 (RUPEES 90/-). Even the copy of Windows XP pro is for $0.7 (RS 30) and I think that you know the official price of this OS. 2nd the installation of LINUX is known only by 0.05% people. No one knows about this OS practicaly. I am the only one in my friends and relatives who knows little bit about this OS. The installation of this OS is done for $85. And short courses for various phenomena about this OS is of $115 indivadualy. The most important thing is that I don't know the specific words for searching in the Google search bar that I can find the most appropriate result or most close one for my required thing. (Indeed I am very fledgling searcher). So thats why I ask u about very little things.
If I got some mistake anywhere I am really really sorry.
Now come towards original topic.
I tried already the command alsaconf but ir retuned with error "command not found". So thats why I asked u. And I tried the Sis driver at the same time when u told me about that (3 days ago). It automatically wrote the SiS at Driver line in /etc/X11/XF86Config file and when next time I login it has applied the Sis driver on it but it doesn't enable 3D acceleration. so thats the whole story. If I did any wrong question that disturb u so I am very very sorry.
Thanx

Last edited by mir_sheely; 05-09-2004 at 11:00 AM.
 
Old 05-09-2004, 12:33 PM   #73
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
I understand that there is not much Linux knowledge in Pakistan, but there is plenty even on this site, that do not require asking questions of me, specifically, as if I personally am the only source of information in the entire world.

Have you actually been to the main site (www.linuxquestions.org) and read any of the HOW-TO's and Tutorials posted on the sidebar? Have you ever pressed the "Links" button at the top of the page you are now reading, and gone to any of the sites that are designed to help you learn the basics of a Linux system?

I have also given you links to other help sites such as LinuxPlanet, LinuxDocs, LinuxAnswers and LinuxLookup. Have you looked at the content of any of these sites to help you understand basic issues such as how to configure XFree86, how to install or configure a sound card, how to install/upgrade a kernel, and how to install RPMs?

And another tip-- no one knows what to type in a Google Search bar; that's why you're "searching" . The general procedure is to put a few words (in quotation marks, even, if you're trying to find information on a specific error message) into the bar and follow the first few links that seem relevant to your problem... they may not answer your question, but often give you a better idea of what you should put in the search bar. That's called "refining your search", and you get better at it the more you do it ("practice makes perfect").

I don't mind that you don't know things (there's plenty that I don't know either), and I understand that your Internet connection makes things more difficult than they need to be. But if you want to learn, then you have to try to learn, by seeking out information on your own. Heck, I wasn't born with broadband. I've only had it for the past year or so, but for 8-10 years before that, I had connection speeds of 2-4 kb like you, and I downloaded the programs I needed, and searched for the information I needed under those conditions. That's life; you do what you have to.

------------------------------------------------------------------------------

A copy of RedHat Linux for the price you quote is NOT "pirated". RedHat Linux is available for free download. So is almost every other Linux distribution (Mandrake, Debian, Knoppix, Fedora, Mepis, just to name a few). The only ones which are not available for free are SuSE, Xandros, and Lindows/Linspire (to name the major players).

Obviously, because of your connection speed, you are not able to download it yourself, and the person or company you bought it from is not the only one that sells very inexpensive CDs to persons in your situation. There is nothing illegal about it, because the distribution is free to share, and the fact that they charge you for their trouble and the media they used is only fair. Windows XP is obviously another story but since I don't care about XP, we don't have to talk about XP anymore .

----------------------------------------------------------------------------

As to the questions for today:

If alsaconf is not found, that means it's not installed. You did not install alsa-utils, then? What alsa RPMs did you install? You need to have alsa (or alsa-driver), alsa-libs and alsa-conf installed in order for ALSA to work. Go back to the site where you got whatever alsa package you installed, get the ones you didn't (get the ones with the same versio number!), install them, then try to run alsaconf again.

----------------------------------------------------------------------------------

How do you know that 3d acceleration is not enabled? If it really isn't, the two possibilities are that DRI is not installed (which it should be, unless RedHat puts DRI in a separate RPM from XFree86-base, ), or that it is installed but not enabled in the XF86Config file.

Is there now a line somewhere in the file which says:

Load "dri"

?

If so, then 3D hardware acceleration is available, but may only be enabled for root. Read DRI User Guide on the XFree86.org site (the information is a bit outdated), to learn how to edit the XFree86 configuration file to enable hardware acceleration for all users.

If it's not installed you may need the Mesa graphics library to enable 3D acceleration.

http://www.itp.tu-graz.ac.at/Comp/RP....0-2.i386.html is one page where the RPM can be found. I have not used Mesa (as far as I know), and I do not use RedHat, so I do not know if this is what you need, or the right version of what you need, or the only RPM you need. I have only in passing heard that many people use the Mesa libraries to add 3D acceleration to their video cards, and most of the people that I seem to remember hearing that from were using kernel drivers. So this might be of use to you, but you should practice your search skills and try to confirm this information independently before just doing as I suggest, because this is not reliable information-- it is just a "lead" that might send you in the right direction to find what you need.
 
Old 05-10-2004, 12:09 PM   #74
mir_sheely
Member
 
Registered: Mar 2004
Location: KARACHI
Distribution: WIN 98, WIN XP Pro, Mandrake 9.2
Posts: 166

Original Poster
Rep: Reputation: 30
Motub, I tried those HOW-TO's but due to less information about Linux I can't understand them fully. I first time today follow the "LINKS" link and it is very usefull.
I downloaded the Mesa Graphics Library and when I tried to Install it, It replied me that This packaage is already Installed. The /etc/X11/XF86Config file doesn't contain line "load dri".
The problem with me is that I don't have very good ISP so I can't browse the Net more than 2-3 hours so thats why I can't search for things properly.
ALSA has another story which I will tell u. Becouse I want to discuss one problem at a time.
Thanku very much
 
Old 05-10-2004, 02:20 PM   #75
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Discussing one problem at a time is a very good idea.

You will need to add the "load dri", "load glx" and "mode 066" options to your XF86Config-4 file yourself then, since you apparently do in fact have all the drivers needed (because the Mesa libraries are already installed, and they provide those drivers).

You will have to adjust your "Modules" section to add the following:
Quote:
Section "Module"
Load "whatever is already in the section, just leave it and add at the end"
Load "glx" # 3D layer
Load "dri" # direct rendering

EndSection
and you will also need to add
Quote:
Section "DRI"
Mode 0666
EndSection
Again, this information is contained in the "XF86Config file" section of the DRI User's Guide, so feel free to use that to confirm that this suggestion is correct.

That ought to do it (don't forget to log out or reboot to restart the X server).

Keep working on the HOW-TOs. The reason they are written is to help you do things when you don't fully understand how to do them-- if you did, you wouldn't need to read a HOW-TO, would you ? Please stop saying that there is "less information about Linux", either in your head, or in your country, or wherever. That is what learning is. Very few of us know things before we learn them, and as far as Linux goes, everyone here on this forum has learned whatever they know by using Linux, reading the kind of documentation that I link you to, trying to do what the HOW-TOs say, seeing what happened then, and remembering the whole thing so that when the next person came along, we could say, "read this and do what it says," or "read this and do what it says until you get to line 41, then do this instead, then go back to the HOW-TO at line 47".

The reason why most people on these forums will link you to documentation of one sort or another is because the documentation is the best way to begin to learn. You won't understand it fully at first, but if you try and use it, you will understand it better. So hang in there.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No soundcard detected sambitnayak Linux - Hardware 1 04-21-2005 01:31 PM
Soundcard Not Detected durrrty Linux - Hardware 15 02-09-2005 11:37 AM
Soundcard not detected... FC2 TBennettcc Linux - Hardware 8 11-04-2004 10:40 AM
Soundcard not detected .... Now what? mir_sheely Linux - Hardware 8 03-31-2004 11:56 AM
Soundcard not being detected jon_k Linux - Software 1 08-05-2003 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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