From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001023]: ens1371 pcm not work in 2.6.11 kernel Date: Thu, 31 Mar 2005 17:08:44 +0200 Message-ID: <54770366aabbbdf17f45abf6926e6771@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 801DD254 for ; Thu, 31 Mar 2005 17:08:44 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: yafrank Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 1023 Category: CORE - pcm Reproducibility: always Severity: block Priority: normal Status: new Distribution: Fedora Core 3 Kernel Version: 2.6.11-1.8_FC3 ====================================================================== Date Submitted: 03-30-2005 14:25 CEST Last Modified: 03-31-2005 17:08 CEST ====================================================================== Summary: ens1371 pcm not work in 2.6.11 kernel Description: I'm using FC3 and my Creative SB AudioPCI 64V sound card works fine in 2.6.10-1.770_FC3 kernel. After I replaced the kernel to 2.6.11 from kernel.org or 2.6.11-1.8_FC3 from redhat, there is no sound anymore. I noticed that the 2.6.11 kernel uses alsa 1.0.8 driver, yet userspace alsa-lib and utility in fc3 are 1.0.6. So I upgrade them to 1.0.8 too. Still, there is no sound and alsamixer doesn't show any pcm option. Fortunately, the 1.0.8 lib and utility backward compatible with 1.0.6 driver in 2.6.10 kernel, so they were kept. The sound card uses ens1371 kernel module. And my /etc/modprobe.conf is this: alias snd-card-0 snd-ens1371 alias sound-slot-0 snd-ens1371 install snd-ens1371 /sbin/modprobe --ignore-install snd-ens1371 && /usr/sbin/alsactlrestore >/dev/null 2>&1 || : remove snd-ens1371 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ens1371 alias usb-controller uhci-hcd alias net-pf-10 off alias ipv6 off alias eth0 8139too ====================================================================== ---------------------------------------------------------------------- perex - 03-31-05 13:23 ---------------------------------------------------------------------- Could you try to compile and test the 1.0.9rc2 drivers? ---------------------------------------------------------------------- yafrank - 03-31-05 17:08 ---------------------------------------------------------------------- Here is what I did: [root@twinhead alsa-driver-1.0.9rc2]# rpm -i /usr/local/src/kernel/kernel-2.6.11-1.8_FC3.src.rpm [root@twinhead alsa-driver-1.0.9rc2]# rpmbuild -bp --target=i686 /usr/src/redhat/SPECS/kernel-2.6.spec [root@twinhead kernel]# ln -s /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/include/sound/version.h /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/include/linux/ [root@twinhead alsa-driver-1.0.9rc2]# ./configure --with-redhat=yes --with-cards=ens1371 --with-kernel=/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11 --with-sequencer=yes 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... /usr/local/src/kernel/alsa-driver-1.0.9rc2 checking cross compile... checking for directory with kernel source... /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11 checking for directory with kernel build... /lib/modules/2.6.11-prep/build checking for kernel version... 0.0.0 checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) *** 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... "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" checking for kernel linux/dma-mapping.h... "yes" checking for kernel asm/hw_irq.h... "no" checking for kernel linux/device.h... "yes" checking for kernel linux/jiffies.h... "yes" checking for kernel linux/compat.h... "yes" 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... "yes" checking for kernel linux/syscalls.h... "yes" checking for kernel linux/firmware.h... "yes" checking for exported symbol dump_stack... grep: /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/kernel/ksyms.c: No such file or directory "no" checking for kernel module symbol versions... "no" checking for PCI support in kernel... "no" checking for I2C driver in kernel... unknown checking for firmware loader... unknown checking for directory to store kernel modules... /lib/modules/0.0.0/misc checking for verbose printk... on checking for debug level... none checking for processor type... "unknown" checking for SMP... "no" checking for ISA PnP driver in kernel... yes checking for PnP driver in kernel... yes checking for Kernel ISA-PnP support... "no" checking for Kernel ISA-PnP module support... "no" checking for strlcpy... "no" checking for snprintf... "no" checking for vsnprintf... "no" checking for scnprintf... "no" checking for sscanf... "no" checking for vmalloc_to_page... "no" 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 msleep... "no" checking for tty->count is the atomic type... "no" checking for remap_pfn_range... "no" checking for new remap_page_range... "no" checking for kcalloc... "no" checking for saved_config_space in pci_dev... "no" checking for old kill_fasync... "no" checking for dma_addr_t... "no" checking for MUTEX macros... "no" checking for driver version... 1.0.9rc2 checking for sequencer support... yes checking for OSS/Free emulation... yes checking for RTC callback support in kernel... "no" checking for HPET support... "no" checking for Procfs support... "no" checking for USB support... "no" checking for USB module support... "no" checking for PC-Speaker hook... "no" checking for kernel PCMCIA checking for PCMCIA support... "no" checking for PCMCIA module support... "no" checking for PC9800 support in kernel... "no" checking for parallel port support... "no" checking for parallel port module support... "no" checking for which soundcards to compile driver for... configure: error: Unsupportedsoundcard ens1371 Issue History Date Modified Username Field Change ====================================================================== 03-30-05 14:25 yafrank New Issue 03-30-05 14:25 yafrank Distribution => Fedora Core 3 03-30-05 14:25 yafrank Kernel Version => 2.6.11-1.8_FC3 03-30-05 18:08 tiwai Note Added: 0004266 03-31-05 10:49 yafrank Note Added: 0004277 03-31-05 13:14 yafrank Note Added: 0004279 03-31-05 13:23 perex Note Added: 0004280 03-31-05 17:08 yafrank Note Added: 0004282 ====================================================================== ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30