Re: [linux-audio-user] CD audio

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] CD audio
From: Pedro Lopez-Cabanillas (plcl_AT_telefonica.net)
Date: Tue Jul 16 2002 - 22:49:09 EEST


El Mar 16 Jul 2002 20:02, Patrick Shirkey escribió:
> Joseph Zitt wrote:
> > Speaker to Vegetables <speaker-to-vegetables_AT_pobox.com> wrote:
> >>From other messages in the thread, it seems that the install of the
> >>ALSA drivers failed. Perhaps a copy of the output produced by "make
> >>install" in the ALSA drivers source directory would show why. The
> >>output of the "./configure" command in the ALSA drivers directory
> >>might also contain good clues.
...
> The output below looks fine to me.

Not so fine to me, lets see:

> > - - Here's the ./configure output - -
> > loading cache ./config.cache
> > checking for gcc... (cached) gcc
...
> > checking for directory with kernel source... /lib/modules/2.4.18-3/build
You are running a '2.4.18-3' kernel, the RH standard, right?

> > checking for kernel version... 2.4.18-3custom
'2.4.18-3custom' ? Seems that your kernel sources are somewhat customized.

> > checking for directory to store kernel modules...
> > /lib/modules/2.4.18-3custom/kernel/sound
Ok, your ALSA modules will be installed in that directory, The standard
location for the customized kernel (not the standard one).

> > - - Here is the make install output - -
...
> > ALSA modules were successfully compiled.
Great.

> > rm -f /lib/modules/2.4.18-3custom/kernel/sound/snd*.o
> > /lib/modules/2.4.18-3custom/kernel/sound/persist.o
> > /lib/modules/2.4.18-3custom/kernel/sound/isapnp.o
It cleans the '2.4.18-3custom' modules directory before install the new ones.

> > mkdir -p /lib/modules/2.4.18-3custom/kernel/sound/acore
> > cp snd-hwdep.o snd-pcm.o snd-rawmidi.o snd-timer.o snd.o
> > /lib/modules/2.4.18-3custom/kernel/sound/acore
Well, some ALSA modules are at
'/lib/modules/2.4.18-3custom/kernel/sound/acore' directory now.

> > cp snd-mixer-oss.o snd-pcm-oss.o
> > /lib/modules/2.4.18-3custom/kernel/sound/acore/oss
...
> > cp snd-seq-device.o snd-seq-instr.o snd-seq-midi-emul.o
> > snd-seq-midi-event.o snd-seq-midi.o snd-seq.o
> > /lib/modules/2.4.18-3custom/kernel/sound/acore/seq
...
> > cp snd-ainstr-fm.o
> > /lib/modules/2.4.18-3custom/kernel/sound/acore/seq/instr
...
> > cp snd-seq-oss.o /lib/modules/2.4.18-3custom/kernel/sound/acore/seq/oss
...
> > cp snd-mpu401-uart.o
> > /lib/modules/2.4.18-3custom/kernel/sound/drivers/mpu401
...
> > cp snd-opl3-lib.o snd-opl3-synth.o
> > /lib/modules/2.4.18-3custom/kernel/sound/drivers/opl3
...
> > cp snd-cs4231-lib.o snd-cs4232.o
> > /lib/modules/2.4.18-3custom/kernel/sound/isa/cs423x
...
> > cp snd-usb-audio.o /lib/modules/2.4.18-3custom/kernel/sound/usb
Ok, This is your module, and has been copied, I think.

> > make[1]: Leaving directory `/home/jzitt/alsa/alsa-driver-0.9.0rc2/usb'
> > /sbin/depmod -a 2.4.18-3custom -F /lib/modules/2.4.18-3/build/System.map
This looks no so good.

> > cat WARNING
depmod is checking dependencies in modules that are under
/lib/modules/2.4.18-3custom/ against the System.map that resides in your
kernel sources directory. But you are running a kernel with some other name,
then the other modutils, like modprobe and so can't find your modules.

You sould copy (as root), or better make a symlink from your true kernel
modules directory pointing to the place where your ALSA modules are now,
something like:
# cd /lib/modules/2.4.18-3/kernel
# ln -s /lib/modules/2.4.18-3custom/kernel/sound sound

and then
# depmod -ae

If depmod doesn't complain, then try to load your modules:
# modprobe snd-usb-audio

pedro


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Jul 16 2002 - 23:05:09 EEST