LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-23-2005, 12:18 PM   #151
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45

What GCC version do you have installed (rpm -qa | grep gcc)?
 
Old 04-23-2005, 01:08 PM   #152
VirusDancer
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Rep: Reputation: 0
[root@dgifedora alsa-driver-1.0.8]# rpm -qa | grep gcc
gcc-3.4.3-22.fc3
gcc-g77-3.4.3-22.fc3
gcc-c++-3.4.3-22.fc3
libgcc-3.4.3-22.fc3
gcc-java-3.4.3-22.fc3


Have I mentioned recently, thank you?

I have muddled around with RH since version 4 - but I guess I have always been lucky hardware-wise (well, aside from fighting through some wifi drivers back sometime ago). I have FC3 running on a desktop which I use to check mail and watch TV. Using wine, I run Dramatica on here and do some of my writing. Every now and again, I try to dork around with coding - have always wanted to get more into Kylix having played around some at a previous job with Delphi.

Again, I appreciate your input, thoughts, and suggestions on this . . . you rock.
 
Old 04-23-2005, 02:26 PM   #153
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
You're welcome and thank you for your comments... I appreciate them.

Me too have been using Red Hat distros from version 5 (skipped version 4 due to some reviews and the fact that I was gonna get it via modem connection), so I waited for 5 and then spent a week downloading it through my 56k connection. In any case I've tried other flavors of Linux, but I'm always drawn back to RH... *sigh*.

Anyway, onto the problem at hand... This may sound crazy, but have you tried any LiveCD distro? I mean, have you tried wit non RH kernels? Perhaps building your own? I use a custom kernel and have had no problems whatsoever. I say this, because I really find it odd that you are having this much problems with this particular hardware... I nthe mailing list some suggest to use the release candidate #2 of 1.0.9... maybe you cold try? However, if you have the bandwith and the time, I'd suggest you get a LiveCD distro like MEPIS or Knoppix, just to see if you can have sound working in those, if you can, then something must be misconfigured on your end, and you can start running comparisons in regards of system setup and stuff. Also, since FC3 comes with udev and ALSA pre-installed, it is not really necesary for you to run ./snddevices when installing the ALSA drivers in FC3 (or any other ALSA enabled distro) anymore. Just a thought, though.
 
Old 04-23-2005, 02:41 PM   #154
VirusDancer
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Rep: Reputation: 0
Have always used a flavor of Red Hat . . . but have heard mention of people using Knoppix. That was a great suggestion. Downloading the iso from a local university now.

Will let you know what happens . . . .
 
Old 04-23-2005, 04:26 PM   #155
VirusDancer
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Rep: Reputation: 0
This is where I suppose I end up putting XP back on this notebook.

Posting this out of Knoppix 3.8 . . .

During the initialization of the operating system, the following occurs:

It detects the ALi 5451 soundcard.
It tries to set the driver as driver=trident (funny, I had tried that within FC3 on a couple of installs without success either).

Then it gives the following error message:

modprobe FATAL: error running install command for sound_slot_0

I think that is pretty much telling me that it is going to be a no go, eh?

Tempted to dig out my older RH discs, perhaps 4.x or 5.x and see what it does.

Thank you again.
 
Old 04-23-2005, 05:36 PM   #156
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
You're welcome, and I'm sorry to see that your particular model is not well supported... Just to report this to the ALSA devs and user, what laptop is this?
 
Old 04-23-2005, 06:16 PM   #157
VirusDancer
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Rep: Reputation: 0
It is a KDS Valiant 671DP.

The support site, kdscomputers.com is some default search page now.

kdscanada.ca has drivers for versions of Windows prior to XP.

It is kind of funny, Michael Pedersen is listed as the domain holder for the site now.
A little research, finds that he runs a webhosting company.
You take a look at that site, avidtech.net or avidwebhosting.com . . . and well, yeah . . .

It was a great notebook at the time that I purchased it. It has done very well for a development/writing notebook in the interim.

There is no support aside from various items here and there on the web.

Again, I do appreciate your assistance with all of this. I would have gone around in circles forever (quite literally) without your help.

Last edited by VirusDancer; 04-23-2005 at 06:20 PM.
 
Old 04-24-2005, 01:26 AM   #158
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
No problem. I'm sorry this time around you didn't succeed with this...
 
Old 04-24-2005, 11:39 PM   #159
fedekeen
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
Hi, I'm new at Linux, and I have installed Red Hat Shrike. I am having a lot of problems with some parts:
1: Sound Card, I did what you said with alsa-lib, alsa-oss and alsa-utils (all 10.1.8). Everything went well. Finally, I do it with the driver, with this command (from readme file that comes with motherboard):

Code:
./configure --with-cards=intel8x0
Which gives me the next output:checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /root/alsa-driver-1.0.8
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for directory with kernel build...
checking for kernel version... 2.4.20-8
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.2.2 200
30222 (Red Hat Linux 3.2.2-5)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel
.

checking for built-in ALSA... "no"
checking for existing ALSA module... "no"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "yes"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "no"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
checking for kernel linux/dma-mapping.h... "no"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "no"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "no"
checking for kernel linux/syscalls.h... "no"
checking for kernel linux/firmware.h... "no"
checking for exported symbol dump_stack... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... module
checking for firmware loader... unknown
checking for input subsystem in kernel... module
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-8/kernel/s
ound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "no"
checking for Video device support in kernel... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for ISA PnP support... yes
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for scnprintf... "no"
checking for sscanf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for PDE... "no"
checking for pci_set_consistent_dma_mask... "no"
checking for pci_dev_present... "no"
checking for tty->count is the atomic type... "no"
checking for video_get_drvdata... "no"
checking for remap_pfn_range... "no"
checking for new remap_page_range... "yes"
checking for kcalloc... "no"
checking for saved_config_space in pci_dev... "no"
checking for acpi_register_gsi... "no"
checking for driver version... 1.0.8
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for Procfs support... "yes"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for parallel port support... "yes"
checking for which soundcards to compile driver for... intel8x0
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged

Then I do:

Code:
make install
and that gives me:

find /lib/modules/2.4.20-8/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/root/alsa-driver-1.0.8/acore'
mkdir -p /lib/modules/2.4.20-8/kernel/sound/acore
cp snd-page-alloc.o snd-pcm.o snd-timer.o snd.o /lib/modules/2.4.20-8/kernel/sound/acore
cp: cannot stat `snd-page-alloc.o': No such file or directory
cp: cannot stat `snd-pcm.o': No such file or directory
cp: cannot stat `snd-timer.o': No such file or directory
cp: cannot stat `snd.o': No such file or directory
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/root/alsa-driver-1.0.8/acore'
make: *** [install-modules] Error 1

Finally,

Code:
/snddevices
and:

Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi0?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
create symbolic link `/dev/mixer' to `/dev/mixer0'
create symbolic link `/dev/midi' to `/dev/midi00'
create symbolic link `/dev/dsp' to `/dev/dsp0'
create symbolic link `/dev/audio' to `/dev/audio0'
create symbolic link `/dev/sequencer2' to `/dev/music'
create symbolic link `/dev/adsp' to `/dev/adsp0'
create symbolic link `/dev/amidi' to `/dev/amidi0'
Creating /dev/snd/control?... done
Creating /dev/snd/seq... done
Creating /dev/snd/timer... done
Creating /dev/snd/hw??... done
Creating /dev/snd/midi??... done
Creating /dev/snd/pcm??p... done
Creating /dev/snd/pcm??c... done
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done

Aftewards, the CD readme tells me to Edit /etc/modules.conf and add the following lines:

# ALSA native device support
alias char-major-116 snd
options snd major=116 cards_limit=1
alias snd-card-0 snd-intel8x0

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-intel8x0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

And the Reboot, which I did.
Nothing Happens. Please HELPPPP!!!

2-The Network adapter that comes with the P4P800 SE (Marvell)
I don't know how to get that working!

Remember I am really new here so I know almost nothing of it!
Thanks!
Fede (fedekeen@hotmail.com which is also my msn messenger account in case someone preffers to help through there)
 
Old 04-25-2005, 03:18 AM   #160
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
First of all DON'T PANIC!!

Keep in mind that Red Hat 9 shrike is QUITE old now, and mostly unsupported by many...

Now, you installed the kernel-source packages, I assume? If not, you should place CD2 into your drive and install (with redhat-config-packages or add/remove programs from the settings applications menu) the kernel development tools and kenrel-source. Just to be sure, have you done any updates to the computer? If so, what version of the kenrel do you have? (console, uname -r). Once you install the kernel-source package make sure it matches the currently running kenrel (uname -r).

I strongly suggest you to install a more recent Red Hat based distro, like Fedora Core 3, which already comes with ALSA pre-installed, and can be easily extended... The NIC problem may be due the same, since this distro and its kenrel are quite outdated (mainly the kenrel) support for many devices is not incorporated, and swtching to a more recent release may not only get working these other devices, but also will be MUCH easier to keep updated.

If for any reason you are not able to install a newer version of the distro (in the end Fedora is equivalent to the old free Red Hat branch), I'd strongly recommend you to install an up dated version of the kenrel, I know that slapping you with a "recompile your kenrel" answer is not what you are looking for... However an updated version may prove to be quite beneficial... Also keeping this old distro and trying to get all this working, may prove to be a very educational experience, if you are looking to somewhat fully learn Linux

In any case, if you have an "out-of-the-box" installation of RH9, installing the kenrel-source package will solve your problem, most likely. After installing it, try to build again the driver, and this time it should work just fine... However you should either comment out or completely remove the following two lines from your /etc/modules.conf file:
Code:
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
You comment out by appending a "#" sign at the begining of the line. If you need further asistance, just ask.

Last edited by Thetargos; 04-25-2005 at 03:21 AM.
 
Old 04-25-2005, 10:17 PM   #161
fedekeen
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
Ok, I'm trying to download a newer distro Fedora 3. I have two different links to download but I don't quite understand the difference:
http://download.fedora.redhat.com/pu...re/3/i386/iso/

http://download.fedora.redhat.com/pu.../3/x86_64/iso/

I think it has something to do with my type of Compuer so:
My computer has a Asus P4P800 Se Motherboard with a Pentium4 2.0Ghz Proccessor. Sory if this was not needed! ejjejej
To go even further, when I go to any of the webpages above, I have more options:

FC3-i386-SRPMS-discX.iso or
FC3-i386-discX.iso

FC3-x86_64-SRPMS-discX.iso or
FC3-x86_64-discX.iso

depending on which page I am.
Thanks for all the help and for the quick response, I am kind of in a complicate situation because I'm having a test this week about some programs in Linux and Linux itself, which brings another question:
Before Red Hat, I installed Mandrake 10.1 and I had a lot of problems running Latex. My current version of Red Hat, has no problems at all, I type in a command line: latex myfile.tex and it gives me the .dvi
Does FC3 works this way?

Last edited by fedekeen; 04-25-2005 at 10:43 PM.
 
Old 04-25-2005, 10:35 PM   #162
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Fedora is what you could say the new Red Hat free branch... Red Hat (since the announce of Fedora) reserved the name for their per susbcription products of RHEL, making Fedora the free branch, but basically the same. You can grab the latest Fedora (I strongly recommend you FC3 even with all its updates, since is the latest stable release, Core 4 test 2 just went out a couple days ago) from the Fedora site. Good luck downloading.
 
Old 04-25-2005, 10:40 PM   #163
fedekeen
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
I don't know if you get my edits but I added some questions to the previus post, and as you just answered, if you don't mind please take a look to them.
Thanks!
 
Old 04-25-2005, 11:09 PM   #164
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Grab the i386 (or x86 plain) images, x86-64 is only meant for AMD64 (Athlon64/Opteron) or Xeon EM64T.
 
Old 04-25-2005, 11:13 PM   #165
fedekeen
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
Ok, i grab the x86 but it asks for some password.
And I don't find where to download a dvd, maybe that's easier.
I'm downloading a dvd from:
http://www.linuxiso.org/distro.php?distro=64
but it seems to be smaller. It appears to be 2352.15MB. Would you say this is what i have to download?
 
  


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
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 05:19 AM
HowTo Install GCC on Red Hat Enterprise 3 ? skate Red Hat 4 02-27-2006 10:11 PM
HostAP - very mini HOWTO on Fedora 2 SteveGodfrey Linux - Wireless Networking 5 06-21-2004 05:43 PM
gateway solo 1450 Red Hat 9 HOWTO!!!!! Ricio Linux - Hardware 1 09-30-2003 07:01 PM
HOWTO install NVdriver for Red Hat 7.3 ChaosX2 Linux - Software 4 09-07-2002 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:24 PM.

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