[alsa-devel] 1.0.16rc1 release
Hello all,
1.0.16rc1 release is available for download on http://www.alsa-project.org . I expect to release 1.0.16rc2 on next Tuesday.
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Jaroslav Kysela wrote:
Hello all,
1.0.16rc1 release is available for download on http://www.alsa-project.org . I expect to release 1.0.16rc2 on next Tuesday.
Build problem on RHEL4/CentOS4:
In file included from /tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32.c:16: /tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c:21:20: driver.h: No such file or directory make[4]: *** [/tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32.o] Error 1 make[3]: *** [/tmp/alsa-driver-1.0.16rc1/acore/ioctl32] Error 2 make[2]: *** [/tmp/alsa-driver-1.0.16rc1/acore] Error 2 make[1]: *** [_module_/tmp/alsa-driver-1.0.16rc1] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-67.mpc29-smp-x86_64' make: *** [compile] Error 2
It looks like alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c should be including "adriver.h" not "driver.h" ??
Also, at MODPOST stage:
*** Warning: "mutex_destroy" [/tmp/alsa-driver-1.0.16rc1/pci/oxygen/snd-oxygen-lib.ko] undefined! *** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-timer.ko] undefined! *** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-pcm.ko] undefined!
I'm not sure why its complaining about do_posix_clock_monotonic_gettime, as this is there in the 2.6.9 RHEL4 kernel.
James Pearson
At Tue, 22 Jan 2008 16:23:28 +0000, James Pearson wrote:
Jaroslav Kysela wrote:
Hello all,
1.0.16rc1 release is available for download on http://www.alsa-project.org . I expect to release 1.0.16rc2 on next Tuesday.
Build problem on RHEL4/CentOS4:
In file included from /tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32.c:16: /tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c:21:20: driver.h: No such file or directory make[4]: *** [/tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32.o] Error 1 make[3]: *** [/tmp/alsa-driver-1.0.16rc1/acore/ioctl32] Error 2 make[2]: *** [/tmp/alsa-driver-1.0.16rc1/acore] Error 2 make[1]: *** [_module_/tmp/alsa-driver-1.0.16rc1] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-67.mpc29-smp-x86_64' make: *** [compile] Error 2
It looks like alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c should be including "adriver.h" not "driver.h" ??
Yes, it's a typo.
Also, at MODPOST stage:
*** Warning: "mutex_destroy" [/tmp/alsa-driver-1.0.16rc1/pci/oxygen/snd-oxygen-lib.ko] undefined!
Do you have alsa-driver*/include/mutex.h? Or, RH has an uncomplete mutex implementation?
*** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-timer.ko] undefined! *** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-pcm.ko] undefined!
I'm not sure why its complaining about do_posix_clock_monotonic_gettime, as this is there in the 2.6.9 RHEL4 kernel.
It seems that the function isn't exported.
The fix patch is below. Give it a try.
thanks,
Takashi
diff -r c75eee2af74c acore/ioctl32/hwdep32_new.c --- a/acore/ioctl32/hwdep32_new.c Tue Jan 22 11:46:53 2008 +0100 +++ b/acore/ioctl32/hwdep32_new.c Tue Jan 22 17:49:05 2008 +0100 @@ -18,7 +18,7 @@ * */
-#include "driver.h" +#include "adriver.h" #include <linux/time.h> #include <linux/fs.h> #include <sound/core.h> diff -r c75eee2af74c include/adriver.h --- a/include/adriver.h Tue Jan 22 11:46:53 2008 +0100 +++ b/include/adriver.h Tue Jan 22 17:49:05 2008 +0100 @@ -1483,7 +1483,8 @@ typedef unsigned long uintptr_t; typedef unsigned long uintptr_t; #endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 16) +#include <linux/time.h> #define do_posix_clock_monotonic_gettime getnstimeofday #endif
Takashi Iwai wrote:
At Tue, 22 Jan 2008 16:23:28 +0000, James Pearson wrote:
It looks like alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c should be including "adriver.h" not "driver.h" ??
Yes, it's a typo.
Also, at MODPOST stage:
*** Warning: "mutex_destroy" [/tmp/alsa-driver-1.0.16rc1/pci/oxygen/snd-oxygen-lib.ko] undefined!
Do you have alsa-driver*/include/mutex.h?
There is no alsa-driver*/include/mutex.h, there is a include/linux/mutex.h as part of the kernel - which contains:
/* * Copyright (c) 2006 Cisco Systems. All rights reserved. * * This file is released under the GPLv2. */
/* mutex compatibility for pre-2.6.16 kernels */
#ifndef __LINUX_MUTEX_H #define __LINUX_MUTEX_H
#include <asm/semaphore.h>
#define mutex semaphore #define DEFINE_MUTEX(foo) DECLARE_MUTEX(foo) #define mutex_init(foo) init_MUTEX(foo) #define mutex_lock(foo) down(foo) #define mutex_lock_interruptible(foo) down_interruptible(foo) /* this function follows the spin_trylock() convention, so * * it is negated to the down_trylock() return values! Be careful */ #define mutex_trylock(foo) !down_trylock(foo) #define mutex_unlock(foo) up(foo)
#endif /* __LINUX_MUTEX_H */
i.e. it doesn't define mutex_destroy()
Or, RH has an uncomplete mutex implementation?
Don't know - see above?
*** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-timer.ko] undefined! *** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-pcm.ko] undefined!
I'm not sure why its complaining about do_posix_clock_monotonic_gettime, as this is there in the 2.6.9 RHEL4 kernel.
It seems that the function isn't exported.
The fix patch is below. Give it a try.
Patch fixed these issues
Thanks
James Pearson
At Tue, 22 Jan 2008 17:15:18 +0000, James Pearson wrote:
Takashi Iwai wrote:
At Tue, 22 Jan 2008 16:23:28 +0000, James Pearson wrote:
It looks like alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c should be including "adriver.h" not "driver.h" ??
Yes, it's a typo.
Also, at MODPOST stage:
*** Warning: "mutex_destroy" [/tmp/alsa-driver-1.0.16rc1/pci/oxygen/snd-oxygen-lib.ko] undefined!
Do you have alsa-driver*/include/mutex.h?
There is no alsa-driver*/include/mutex.h, there is a include/linux/mutex.h as part of the kernel - which contains:
/*
- Copyright (c) 2006 Cisco Systems. All rights reserved.
- This file is released under the GPLv2.
*/
/* mutex compatibility for pre-2.6.16 kernels */
#ifndef __LINUX_MUTEX_H #define __LINUX_MUTEX_H
#include <asm/semaphore.h>
#define mutex semaphore #define DEFINE_MUTEX(foo) DECLARE_MUTEX(foo) #define mutex_init(foo) init_MUTEX(foo) #define mutex_lock(foo) down(foo) #define mutex_lock_interruptible(foo) down_interruptible(foo) /* this function follows the spin_trylock() convention, so *
- it is negated to the down_trylock() return values! Be careful */
#define mutex_trylock(foo) !down_trylock(foo) #define mutex_unlock(foo) up(foo)
#endif /* __LINUX_MUTEX_H */
i.e. it doesn't define mutex_destroy()
Or, RH has an uncomplete mutex implementation?
Don't know - see above?
Looks like so... Sigh.
Can someone report RedHat to fix their kernel?
*** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-timer.ko] undefined! *** Warning: "do_posix_clock_monotonic_gettime" [/tmp/alsa-driver-1.0.16rc1/acore/snd-pcm.ko] undefined!
I'm not sure why its complaining about do_posix_clock_monotonic_gettime, as this is there in the 2.6.9 RHEL4 kernel.
It seems that the function isn't exported.
The fix patch is below. Give it a try.
Patch fixed these issues
Thanks for confirmation. They are already on HG tree.
Takashi
Takashi Iwai wrote:
Or, RH has an uncomplete mutex implementation?
Don't know - see above?
Looks like so... Sigh.
Can someone report RedHat to fix their kernel?
May be that should be someone that has an interest in sound and has recently started working for RedHat ??
Is it possible to define mutex_destroy in the ALSA code if it isn't defined elsewhere for this case?
Thanks
James Pearson
One of the main problems with supporting Redhat kernels is that they backport functions into their kernels from later revisions. As an example, there is a typedef (gfp_t) that in the alsa driver will be used if the kernel is older than a certain version. Redhat added it in their Enterprise 4.4 kernel, but not their 4.3 kernel (both have the same major rev - 2.6.9). This makes it difficult at the preparser level, and I think the way we got around that was in the configure script. But it takes extra work to make alsa-driver compile on the various distributions that do this kind of backporting (fortunately this is limited to Redhat/Centos at the moment AFAIK), and Alsa doesn't have the manpower to do all of these fixes.
If someone that works for Redhat or works on Redhat distros wants to jump in and help, great.
On Tue, 2008-01-22 at 17:39 +0000, James Pearson wrote:
Takashi Iwai wrote:
Or, RH has an uncomplete mutex implementation?
Don't know - see above?
Looks like so... Sigh.
Can someone report RedHat to fix their kernel?
May be that should be someone that has an interest in sound and has recently started working for RedHat ??
Is it possible to define mutex_destroy in the ALSA code if it isn't defined elsewhere for this case?
Thanks
James Pearson _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Jaroslav Kysela wrote:
1.0.16rc1 release is available for download on
Running Kubuntu:
# uname -a Linux lugtop 2.6.20-16-386 #2 Sun Sep 23 19:47:10 UTC 2007 i686 GNU/Linux
During the make:
In file included from /usr/src/alsa/alsa-driver-1.0.16rc1/acore/info_oss.c:7: /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c: In function ‘snd_sndstat_proc_read’: /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: ‘system_utsname’ undeclared (first use in this function) /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: (Each undeclared identifier is reported only once /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: for each function it appears in.) make[3]: *** [/usr/src/alsa/alsa-driver-1.0.16rc1/acore/info_oss.o] Error 1 make[2]: *** [/usr/src/alsa/alsa-driver-1.0.16rc1/acore] Error 2 make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.16rc1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-386' make: *** [compile] Error 2
Cheers! Rick Measham
At Wed, 23 Jan 2008 06:25:54 +1100, Rick Measham wrote:
[1 <multipart/signed (7bit)>] [1.1 <text/plain; UTF-8 (quoted-printable)>] Jaroslav Kysela wrote:
1.0.16rc1 release is available for download on
Running Kubuntu:
# uname -a Linux lugtop 2.6.20-16-386 #2 Sun Sep 23 19:47:10 UTC 2007 i686 GNU/Linux
During the make:
In file included from /usr/src/alsa/alsa-driver-1.0.16rc1/acore/info_oss.c:7: /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c: In function ‘snd_sndstat_proc_read’: /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: ‘system_utsname’ undeclared (first use in this function) /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: (Each undeclared identifier is reported only once /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: for each function it appears in.) make[3]: *** [/usr/src/alsa/alsa-driver-1.0.16rc1/acore/info_oss.o] Error 1 make[2]: *** [/usr/src/alsa/alsa-driver-1.0.16rc1/acore] Error 2 make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.16rc1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-386' make: *** [compile] Error 2
Isn't it fixed on HG version?
Takashi
At Wed, 23 Jan 2008 08:03:05 +0100, I wrote:
At Wed, 23 Jan 2008 06:25:54 +1100, Rick Measham wrote:
[1 <multipart/signed (7bit)>] [1.1 <text/plain; UTF-8 (quoted-printable)>] Jaroslav Kysela wrote:
1.0.16rc1 release is available for download on
Running Kubuntu:
# uname -a Linux lugtop 2.6.20-16-386 #2 Sun Sep 23 19:47:10 UTC 2007 i686 GNU/Linux
During the make:
In file included from /usr/src/alsa/alsa-driver-1.0.16rc1/acore/info_oss.c:7: /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c: In function ‘snd_sndstat_proc_read’: /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: ‘system_utsname’ undeclared (first use in this function) /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: (Each undeclared identifier is reported only once /usr/src/alsa/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: for each function it appears in.) make[3]: *** [/usr/src/alsa/alsa-driver-1.0.16rc1/acore/info_oss.o] Error 1 make[2]: *** [/usr/src/alsa/alsa-driver-1.0.16rc1/acore] Error 2 make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.16rc1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-386' make: *** [compile] Error 2
Isn't it fixed on HG version?
Nevermind, I myself can confirm that it's broken. The patch below should fix the problem.
Takashi
diff -r a5f603cb254a configure.in --- a/configure.in Tue Jan 22 17:52:34 2008 +0100 +++ b/configure.in Wed Jan 23 08:28:56 2008 +0100 @@ -2571,7 +2571,7 @@ init_utsname="0" init_utsname="0" ac_save_CFLAGS="$CFLAGS" ac_save_CC="$CC" -CFLAGS="$KERNEL_CHECK_CFLAGS -Werror" +CFLAGS="$KERNEL_CHECK_CFLAGS -Werror=implicit-function-declaration" CC=$KCC AC_TRY_COMPILE([ #define __KERNEL__
Takashi Iwai wrote:
Nevermind, I myself can confirm that it's broken. The patch below should fix the problem.
I've grabbed hg and tried to apply the patch, but the line to be patched reads: CFLAGS="$KERNEL_CHECK_CFLAGS"
So I changed it by hand to include the patched version: CFLAGS="$KERNEL_CHECK_CFLAGS -Werror=implicit-function-declaration"
Which got me past the previous problem. However, hgcompile errors during make on alsa-driver/pci/ice1712/prodigy_hifi.o -- which I don't need. So once it errored, I ran:
./configure -with-cards=hda-intel --with-sequencer=yes
Which then had no problems with configure; make; make install.
I then ran hgcompile and 'make install' on alsa-lib and alsa-utils.
All fine.
But then when I went to restart alsa all hell broke loose!
# /etc/init.d/alsasound restart Shutting down sound driver: done Starting sound driver: snd-hda-intel FATAL: Error inserting snd (/lib/modules/2.6.20-16-386/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error running install command for snd WARNING: Error inserting snd_hwdep (/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting snd_timer (/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd (/lib/modules/2.6.20-16-386/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error running install command for snd WARNING: Error inserting snd_timer (/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd_pcm (/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error running install command for snd_pcm FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.20-16-386/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg) done
So as it suggested, I checked dmesg:
[96738.292000] snd: Unknown symbol pm_unregister [96738.300000] snd_hwdep: Unknown symbol snd_info_register [96738.300000] snd_hwdep: Unknown symbol snd_info_create_module_entry [96738.300000] snd_hwdep: Unknown symbol snd_info_free_entry [96738.300000] snd_hwdep: Unknown symbol snd_unregister_oss_device [96738.300000] snd_hwdep: Unknown symbol snd_verbose_printk [96738.300000] snd_hwdep: Unknown symbol snd_register_oss_device [96738.300000] snd_hwdep: Unknown symbol snd_ctl_register_ioctl [96738.300000] snd_hwdep: Unknown symbol snd_card_file_add [96738.300000] snd_hwdep: Unknown symbol snd_iprintf [96738.300000] snd_hwdep: Unknown symbol snd_major [96738.300000] snd_hwdep: Unknown symbol snd_unregister_device [96738.300000] snd_hwdep: Unknown symbol snd_device_new [96738.300000] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl [96738.300000] snd_hwdep: Unknown symbol snd_lookup_oss_minor_data [96738.300000] snd_hwdep: Unknown symbol snd_lookup_minor_data [96738.300000] snd_hwdep: Unknown symbol snd_card_file_remove [96738.300000] snd_hwdep: Unknown symbol snd_register_device_for_dev [96738.304000] snd_timer: Unknown symbol snd_info_register [96738.304000] snd_timer: Unknown symbol snd_info_create_module_entry [96738.304000] snd_timer: Unknown symbol snd_info_free_entry [96738.304000] snd_timer: Unknown symbol snd_verbose_printk [96738.304000] snd_timer: Unknown symbol snd_iprintf [96738.304000] snd_timer: Unknown symbol snd_ecards_limit [96738.304000] snd_timer: Unknown symbol snd_oss_info_register [96738.304000] snd_timer: Unknown symbol snd_unregister_device [96738.304000] snd_timer: Unknown symbol snd_device_new [96738.304000] snd_timer: Unknown symbol snd_register_device_for_dev [96738.344000] snd: Unknown symbol pm_unregister [96738.344000] snd_timer: Unknown symbol snd_info_register [96738.344000] snd_timer: Unknown symbol snd_info_create_module_entry [96738.344000] snd_timer: Unknown symbol snd_info_free_entry [96738.344000] snd_timer: Unknown symbol snd_verbose_printk [96738.344000] snd_timer: Unknown symbol snd_iprintf [96738.344000] snd_timer: Unknown symbol snd_ecards_limit [96738.344000] snd_timer: Unknown symbol snd_oss_info_register [96738.344000] snd_timer: Unknown symbol snd_unregister_device [96738.344000] snd_timer: Unknown symbol snd_device_new [96738.344000] snd_timer: Unknown symbol snd_register_device_for_dev [96738.348000] snd_pcm: Unknown symbol snd_info_register [96738.348000] snd_pcm: Unknown symbol snd_info_create_module_entry [96738.348000] snd_pcm: Unknown symbol snd_timer_notify [96738.348000] snd_pcm: Unknown symbol snd_timer_interrupt [96738.348000] snd_pcm: Unknown symbol snd_info_free_entry [96738.348000] snd_pcm: Unknown symbol snd_add_device_sysfs_file [96738.348000] snd_pcm: Unknown symbol snd_info_get_str [96738.348000] snd_pcm: Unknown symbol snd_verbose_printk [96738.348000] snd_pcm: Unknown symbol snd_ctl_register_ioctl [96738.348000] snd_pcm: Unknown symbol snd_card_file_add [96738.348000] snd_pcm: Unknown symbol snd_iprintf [96738.348000] snd_pcm: Unknown symbol snd_major [96738.348000] snd_pcm: Unknown symbol snd_unregister_device [96738.348000] snd_pcm: Unknown symbol snd_timer_new [96738.348000] snd_pcm: Unknown symbol snd_device_new [96738.348000] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl [96738.348000] snd_pcm: Unknown symbol snd_lookup_minor_data [96738.348000] snd_pcm: Unknown symbol snd_info_create_card_entry [96738.348000] snd_pcm: Unknown symbol snd_power_wait [96738.348000] snd_pcm: Unknown symbol snd_device_free [96738.348000] snd_pcm: Unknown symbol snd_card_file_remove [96738.348000] snd_pcm: Unknown symbol snd_register_device_for_dev [96738.348000] snd_pcm: Unknown symbol snd_device_register [96738.348000] snd_pcm: Unknown symbol snd_info_get_line [96738.356000] snd_hda_intel: Unknown symbol snd_ctl_add [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_new [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates [96738.356000] snd_hda_intel: Unknown symbol snd_card_register [96738.356000] snd_hda_intel: Unknown symbol snd_card_free [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_preallocate_pages_for_all [96738.356000] snd_hda_intel: Unknown symbol snd_card_proc_new [96738.356000] snd_hda_intel: Unknown symbol snd_ctl_find_id [96738.356000] snd_hda_intel: Unknown symbol snd_verbose_printk [96738.356000] snd_hda_intel: Unknown symbol snd_ctl_new1 [96738.356000] snd_hda_intel: Unknown symbol snd_component_add [96738.356000] snd_hda_intel: Unknown symbol snd_card_new [96738.356000] snd_hda_intel: Unknown symbol snd_iprintf [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages [96738.356000] snd_hda_intel: Unknown symbol snd_ctl_boolean_mono_info [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages [96738.356000] snd_hda_intel: Unknown symbol snd_hwdep_new [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_set_ops [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_list [96738.356000] snd_hda_intel: Unknown symbol snd_device_new [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_suspend_all [96738.356000] snd_hda_intel: Unknown symbol snd_card_disconnect [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer [96738.356000] snd_hda_intel: Unknown symbol snd_pci_quirk_lookup [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_period_elapsed [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_step [96738.356000] snd_hda_intel: Unknown symbol snd_pcm_format_width
So it looks like I've done something fairly wrong somewhere :-D
I had this problem with I only configured for hda-intel with another release (I can't remember which) but it went away if I didn't specify any parameters to 'configure'.
Unfortunately, I can't do that while alsa-driver/pci/ice1712/prodigy_hifi.o is erroring during the make:
[-- lots snipped --] CC [M] /usr/src/alsa/alsa-driver/pci/ice1712/aureon.o CC [M] /usr/src/alsa/alsa-driver/pci/ice1712/vt1720_mobo.o CC [M] /usr/src/alsa/alsa-driver/pci/ice1712/pontis.o CC [M] /usr/src/alsa/alsa-driver/pci/ice1712/prodigy192.o make[4]: *** No rule to make target `/usr/src/alsa/alsa-driver/pci/ice1712/prodigy_hifi.o', needed by `/usr/src/alsa/alsa-driver/pci/ice1712/snd-ice1712.o'. Stop. make[3]: *** [/usr/src/alsa/alsa-driver/pci/ice1712] Error 2 make[2]: *** [/usr/src/alsa/alsa-driver/pci] Error 2 make[1]: *** [_module_/usr/src/alsa/alsa-driver] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-386' make: *** [compile] Error 2
Any chance of further help? I'm concerned that I might be taking your time away from dev work to fix some obscurity ..
Cheers! Rick Measham
P.S. Would you prefer that I put outputs into a pastebin and just include links?
At Thu, 24 Jan 2008 23:14:46 +1100, Rick Measham wrote:
Takashi Iwai wrote:
Nevermind, I myself can confirm that it's broken. The patch below should fix the problem.
I've grabbed hg and tried to apply the patch, but the line to be patched reads: CFLAGS="$KERNEL_CHECK_CFLAGS"
So I changed it by hand to include the patched version: CFLAGS="$KERNEL_CHECK_CFLAGS -Werror=implicit-function-declaration"
Which got me past the previous problem. However, hgcompile errors during make on alsa-driver/pci/ice1712/prodigy_hifi.o -- which I don't need.
It is surely on the current HG repo. You must be using an older repo. Try hg.alsa-project.org instead of hg-mirror.
So as it suggested, I checked dmesg:
[96738.292000] snd: Unknown symbol pm_unregister
Check include/config.h whether CONFIG_HAV_PNP_SUSPEND is defined. It must be defined for 2.6.20. If not, check config.log.
The rest unknown symbol errors can be a chain reaction.
P.S. Would you prefer that I put outputs into a pastebin and just include links?
I guess config.log is too big for pastebin. You post with a compressed attachment.
Takashi
Takashi Iwai wrote:
It is surely on the current HG repo. You must be using an older repo. Try hg.alsa-project.org instead of hg-mirror.
That fixed it. I grabbed the latest alsa-driver and it didn't need the patch. It all built just fine and installed without errors.
However it didn't fix the speakers so I'm no further ahead that 0.15 or 0.14 (input and output jacks work, but the internal speakers don't)
dmesg tells me there are zero speaker_outs. So I figure it didn't auto-detect them, and there are no pins specified for this exact setup.
# dmesg [128924.764000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21 [128924.764000] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2855: autoconfig: line_outs=4 (0xd/0xc/0xf/0xb/0x0) [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2859: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2863: hp_outs=1 (0xa/0x0/0x0/0x0/0x0) [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2871: inputs: mic=0xe, fmic=0x10, line=0x0, fline=0x0, cd=0x0, aux=0x0 [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:2172: dac_nids=4 (0x2/0x3/0x5/0x4/0x0)
My full setup (as output by alsa-info.sh) can be seen at http://pastebin.ca/871257
If there isn't an 'obvious' fix, I'm most happy to spend the time doing whatever to get it working if you can point me in the right direction.
Cheers! Rick Measham
At Fri, 25 Jan 2008 08:12:06 +1100, Rick Measham wrote:
Takashi Iwai wrote:
It is surely on the current HG repo. You must be using an older repo. Try hg.alsa-project.org instead of hg-mirror.
That fixed it. I grabbed the latest alsa-driver and it didn't need the patch. It all built just fine and installed without errors.
However it didn't fix the speakers so I'm no further ahead that 0.15 or 0.14 (input and output jacks work, but the internal speakers don't)
dmesg tells me there are zero speaker_outs. So I figure it didn't auto-detect them, and there are no pins specified for this exact setup.
OK, it means that either the BIOS set up is broken or the preset pincfg is broken. Could you check which board_config is chosen for your device? It's selected via PCI SSID (see lspci -nv output).
If it's a bugin preset pincfg, it'd be realtivelyeasy to fix (once after we figure out which pin corresponds to the spekaer output).
thanks,
Takashi
# dmesg [128924.764000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21 [128924.764000] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2855: autoconfig: line_outs=4 (0xd/0xc/0xf/0xb/0x0) [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2859: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2863: hp_outs=1 (0xa/0x0/0x0/0x0/0x0) [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2871: inputs: mic=0xe, fmic=0x10, line=0x0, fline=0x0, cd=0x0, aux=0x0 [128924.796000] ALSA /usr/src/alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:2172: dac_nids=4 (0x2/0x3/0x5/0x4/0x0)
My full setup (as output by alsa-info.sh) can be seen at http://pastebin.ca/871257
If there isn't an 'obvious' fix, I'm most happy to spend the time doing whatever to get it working if you can point me in the right direction.
Cheers! Rick Measham
participants (5)
-
James Pearson
-
Jaroslav Kysela
-
Rick Measham
-
Takashi Iwai
-
Tobin Davis