LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2003, 10:02 PM   #1
chico58
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
ALSA Problems


Hi everyone,

I'm newbie of Redhat 9.0 on Dell Inspiron 8500 laptop.

I following the instruction from Mike Hardy at website page
( mikehardy.net/linux_latitude_d800/ ) for my Audio. This is how I did all the work with all the
commands. Wonder if this is way should be or is that something missing ? Hope anyone can help me out with problem, appircate it to anyone.

If this is not the right way, how do I uninstall, what the command to uninstall and which one to uninstall ?

Thanks, Ricky





---- This command as rpmbuild --rebuild --nodeps --define "cards intel8x10" alsa-driver-0.9.8-1.fr.src.rpm -----------

[root@rhlaptop ALSA]# rpmbuild --rebuild --nodeps --define "cards intel8x10" alsa-driver-0.9.8-1.fr.src.rpm
Installing alsa-driver-0.9.8-1.fr.src.rpm
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14150
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf alsa-driver-0.9.8
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/alsa-driver-0.9.8.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd alsa-driver-0.9.8
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (alsa-driver-depmod.patch):'
Patch #0 (alsa-driver-depmod.patch):
+ patch -p1 -b --suffix .nodepmod -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.81724
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd alsa-driver-0.9.8
+ CFLAGS=-O2 -g -march=i386 -mcpu=i686
+ export CFLAGS
+ CXXFLAGS=-O2 -g -march=i386 -mcpu=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -g -march=i386 -mcpu=i686
+ export FFLAGS
+ ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-kernel=/usr/src/linux-2.4.20-20.9 --with-moddir=/lib/modules/2.4.20-20.9/kernel/sound
--with-cards=intel8x10
checking for i686-pc-linux-gnu-gcc... no
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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i686-pc-linux-gnu-ranlib... no
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 ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
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... /usr/src/redhat/BUILD/alsa-driver-0.9.8
checking cross compile...
checking for directory with kernel source... /usr/src/linux-2.4.20-20.9
checking for kernel version... 2.4.20-20.9
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.2.2 20030222 (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 to modify of kernel linux/kmod.h... "no"
Removing a dummy linux/kmod.h.
checking for kernel linux/compiler.h... "yes"
Removing a dummy linux/compiler.h.
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kernel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel linux/rwsem.h... "yes"
Removing a dummy linux/rwsem.h.
checking for kernel linux/gameport.h... "yes"
Removing a dummy linux/gameport.h.
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
Removing a dummy linux/highmem.h.
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for redhat kernel... "yes"
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
checking for kernel asm/hw_irq.h... "yes"
Removing a dummy asm/hw_irq.h.
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
Removing a dummy linux/adb.h.
checking for kernel linux/cuda.h... "yes"
Removing a dummy linux/cuda.h.
checking for kernel linux/pmu.h... "yes"
Removing a dummy linux/pmu.h.
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-20.9/kernel/sound
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 ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for PDE... "no"
Removing local linux/isapnp.h.
checking for driver version... 0.9.8
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... Unknown soundcard intel8x10, exiting!
error: Bad exit status from /var/tmp/rpm-tmp.81724 (%build)


RPM build errors:
user dude does not exist - using root
group dude does not exist - using root
user dude does not exist - using root
group dude does not exist - using root
user dude does not exist - using root
group dude does not exist - using root
user dude does not exist - using root
group dude does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.81724 (%build)








------- This command as pm -Uvh --nodeps /usr/src/redhat/RPMS//i386/kernel-module-alsa-0.9.8-1.fr_2.4.20_20.9.i386.rpm -------


[root@rhlaptop ALSA]# rpm -Uvh --nodeps /usr/src/redhat/RPMS//i386/kernel-module-alsa-0.9.8-1.fr_2.4.20_20.9.i386.rpm
Preparing... ########################################### [100%]
package kernel-module-alsa-0.9.8-1.fr_2.4.20_20.9 is already installed









-------- This command as rpm -Uvh --nodeps /usr/src/redhat/RPMS//i386/alsa-driver-0.9.8-1.fr.i386.rpm ------------

[root@rhlaptop ALSA]# rpm -Uvh --nodeps /usr/src/redhat/RPMS//i386/alsa-driver-0.9.8-1.fr.i386.rpm
Preparing... ########################################### [100%]
package alsa-driver-0.9.8-1.fr is already installed







-------- This command as rpm -Uvh alsa-lib-0.9.8-1.fr.i386.rpm --------------------

[root@rhlaptop ALSA]# rpm -Uvh alsa-lib-0.9.8-1.fr.i386.rpm
warning: alsa-lib-0.9.8-1.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
package alsa-lib-0.9.8-1.fr is already installed








------------------This command as rpm -Uvh alsa-utils-0.9.8-1.fr.i386.rpm -----------------


[root@rhlaptop ALSA]# rpm -Uvh alsa-utils-0.9.8-1.fr.i386.rpm
warning: alsa-utils-0.9.8-1.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
package alsa-utils-0.9.8-1.fr is already installed








----------------This is modules.conf file -------------------


[root@rhlaptop ALSA]# more /etc/modules.conf
alias pcnet_cs
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
alias eth0 bcm4400
alias char-major-195 nvidia

#options i810_audio clocking=48000
#options sound dmabuf=1

# Interface to BIOS fan control?
#options i8k force=1 restricted=1

alias eth1 bcm4400


#------------ ALSA audio drivers ---------------
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0

# module options should go here
#options snd-intel8x0

# OSS/Free portion
alias char-major-14 soundcore

# card #1
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

#Save/restore mixer settings
#post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
#pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
#alias sound-slot-0 i810_audio
#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
|| :





-------------- This command as modprobe snd-card-0 -----------


[root@rhlaptop ALSA]# modprobe snd-card-0
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol register_chrdev_R07a6f6f0
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol remove_wait_queue_Rd7b46182
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol remove_proc_entry_R16f1fe81
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol register_sound_special_Ra5b31d09
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol __pollwait_Rb9575694
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol __down_read_Rbebf4a44
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol proc_root_R18fcdf69
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol __up_read_R98a5b601
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol kill_fasync_Rfbe13b62
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol init_rwsem_R322cb358
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol fasync_helper_Rfa802e55
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol create_proc_entry_Rd11cc972
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol proc_symlink_Rab195fd7
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol add_wait_queue_R1891d4b7
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol __up_write_R77fd5393
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: unresolved symbol __down_write_R716dfc70
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod /lib/modules/2.4.20-20.9/kernel/sound/snd.o failed
/lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod snd-card-0 failed






---------- This is from /var/log/messages ------------


Oct 30 01:48:19 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-slot-0 failed
Oct 30 01:48:19 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-service-0-0 failed
Oct 30 01:48:19 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-slot-0 failed
Oct 30 01:48:19 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-service-0-0 failed
Oct 30 01:49:23 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-slot-0 failed
Oct 30 01:49:23 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-service-0-3 failed
Oct 30 01:53:14 rhlaptop kernel: i8k: unable to get SMM Dell signature
Oct 30 01:53:14 rhlaptop kernel: i8k: unable to get SMM BIOS version

Oct 30 02:43:35 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-slot-0 failed
Oct 30 02:43:35 rhlaptop insmod: /lib/modules/2.4.20-20.9/kernel/sound/snd.o: insmod sound-service-0-3 failed
 
Old 10-31-2003, 11:16 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
Jeez.. information overflow there.... packages while easy when they work are a bitch when they don't, I recommend goign to alsa.sourceforge.net, d-loading the 5 source packages and RTFM then compiel them, will work better.
 
Old 10-31-2003, 11:36 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I'm not entirely sure how this alsa thing works but the site that you downloaded the stuff from also has rpms (as opposed to the src.rpms you got). These you do not need to compile:
http://ftp.freshrpms.net/pub/freshrp...-1.fr.i386.rpm
[url]http://ftp.freshrpms.net/pub/freshrpms/redhat/9/alsa-driver/kernel-module-alsa-0.9.8-1.fr_2.4.20_20.9.i386.rpm[\url]

try installing these with
rpm Uvh --nodeps {the-package-names}

Maybe this'll work.

But as exodist suggest, read the documentation on the ALSA project page.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
alsa problems mark_alfred Debian 2 02-16-2005 11:24 PM
Alsa-problems again hanspb Linux - Software 4 11-17-2004 04:24 PM
alsa problems... socket9001 Slackware 1 04-27-2004 12:32 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
alsa problems, please help matjazk Slackware 16 12-15-2003 05:45 AM


All times are GMT -5. The time now is 02:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration