i-810 audio driver on RHEL3u4

John_Hull@Dell.com John_Hull@Dell.com
Sat Jan 29 13:22:01 2005


Red Hat changed some code in the 2.4.21-27.EL kernel source that breaks
the build of that package. I have a new RPM that fixes this, but really
all you have to do is this:

1. copy the new i810_audio.c, ac97_codec.c, and i810_audio_compat.h
files from /usr/src/linux-2.4.21-27.EL/drivers/sound directory to
/usr/src/i810_audio-2.4.21p directory
2. do a `dkms build -m i810_audio -v 2.4.21p -k <kernelversion>`
3. do `dkms install -m i810_audio -v 2.4.21p -k <kernelversion>`

Should work after that. 

-----Original Message-----
From: linux-precision-admin-Lists On Behalf Of Alessandro Volpii81)_au
Sent: Saturday, January 29, 2005 4:38 AM
To: linux-precision-Lists
Subject: i-810 audio driver on RHEL3u4

I have installed RedHat Enterprise Linux 3 Update 4 on my new Precision
370.

I bought the OS from directly from Redhat, since Dell Europe Gold
Support told me to do so, as I was unable to install Fedora. The Fedora
SCSI driver could not handle my Dell OEM Adaptec controller.

After the OS installation I installed the NVIDIA driver and the
IEEE1394 dkms package.

The display and the Firewire external storage are now working perfectly.

Since the audio sytem was not working, I tried to install the i-810
audio driver dmks package, downloaded from the Dell site; I was
confident that the installation would have been easy and successful,
like it happened with the dkms Firewire driver ...

The i-810 driver was successfully built but the intallation failed, due
to an unresolved dependency. The audio system, obviously, does not work.

The console output text, relative to the dkms package intallation is
attached at the end of this message.

After the aborted install, everytime I start KDE, the following message
appears in a pop-up window :
=================================================
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device) The sound server will
continue, using the null output device.
==================================================

I GUESS THAT THE PROBLEM IS RELATED TO THE FACT THAT THE DRIVER
INSTALLATION IS PERFORMED IN UPDATE MODE AND THAT THE INSTALLATION
SCRIPT EXPECTS TO FIND SOME INSTALLED COMPONENTS WHICH ARE PRESENT IN
THE DELL PREINSTALLED SYSTEM, BUT NOT ON THE REDHAT INSTALLATION SET.

I AM LOOKING FOR HELP IN FINDING OUT WHICH IS THE MISSING PART AND IN
INSTALLING THE REQUIRED PATCH ...

The Redhat Support Engineer told me that only the developers of the Dell
driver are able to provide a satisfactory answer !

If anyone is able to help me I thank him or her in advance !

Alessandro Volpi

 

************************************************************************
*
Console output during the attempted driver intallation :

[root@localhost AD_audio]# tar xzvf i810_audio-2.4.21p-4.tar.gz
i810_audio-2.4.21p-4/ i810_audio-2.4.21p-4/README.i810_audio
i810_audio-2.4.21p-4/i810_audio-2.4.21p-4dkms.noarch.rpm
i810_audio-2.4.21p-4/i810_audio-2.4.21p-4dkms.src.rpm
i810_audio-2.4.21p-4/dkms-1.10-1.noarch.rpm
[root@localhost AD_audio]# rpm -q dell-alsa-driver package
dell-alsa-driver is not installed [root@localhost AD_audio]# cd
i810_audio-2.4.21p-4 [root@localhost i810_audio-2.4.21p-4]# rpm -Uhv
i810_audio-2.4.21p-4dkms.noarch.rpm
Preparing...                ###########################################
[100%]
   1:i810_audio             ###########################################
[100%]

Creating symlink /var/dkms/i810_audio/2.4.21p/source ->
                 /usr/src/i810_audio-2.4.21p

DKMS: Add Completed.

Preparing kernel 2.4.21-27.0.2.EL for module build:
(This is not compiling a kernel, only just preparing kernel symbols)
Storing current .config to be restored when complete Running Red Hat
preparation routine make clean.....
using
/lib/modules/2.4.21-27.0.2.EL/build/configs/kernel-2.4.21-i686.config
make oldconfig.....
running dkms_mkkerneldoth....

Building module:
applying patch ac97_codec.patch...patching file ac97_codec.c

cleaning build area....
make KERNELRELEASE=2.4.21-27.0.2.EL -C
/lib/modules/2.4.21-27.0.2.EL/build
SUBDIRS=/var/dkms/i810_audio/2.4.21p/build modules.....
cleaning build area....

DKMS: Build Completed.

i810_audio.o:
 - Original module
   - Found
/lib/modules/2.4.21-27.0.2.EL/kernel/drivers/sound//i810_audio.o
   - Storing in /var/dkms/i810_audio/original_module/2.4.21-27.0.2.EL/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/2.4.21-27.0.2.EL/kernel/drivers/sound//

ac97_codec.o:
 - Original module
   - Found
/lib/modules/2.4.21-27.0.2.EL/kernel/drivers/sound//ac97_codec.o
   - Storing in /var/dkms/i810_audio/original_module/2.4.21-27.0.2.EL/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/2.4.21-27.0.2.EL/kernel/drivers/sound//

depmod...depmod: *** Unresolved symbols in
/lib/modules/2.4.21-27.0.2.EL/kernel/drivers/sound/ac97_plugin_ad1980.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.21-27.0.2.EL/kernel/drivers/sound/ac97_plugin_wm97xx.o
.(bad exit status: 1)

DKMS: Install Completed.
[root@localhost i810_audio-2.4.21p-4]#

****************************************************************

_______________________________________________
Linux-Precision mailing list
Linux-Precision@dell.com
http://lists.us.dell.com/mailman/listinfo/linux-precision
Please read the FAQ at http://lists.us.dell.com/faq or search the list
archives at http://lists.us.dell.com/htdig/