[SLE] SuSE 8.2 / kernel 2.4.20-102 / alsa-1.0.2c & VX222v2 problem

Christophe Greisberger <[email protected]>
Newsgroups gmane.linux.suse.general,gmane.linux.alsa.user,gmane.linux.suse.multimedia
Organization Zenon-Media GmbH
Message-ID <[email protected]>
Hi,

I have a new problem with the vx222 driver on SuSE.
It seems to be be partly kernel dependent, since it occured after a kernel 
update followed by a reinstallation of alsa.

System: SuSE 8.2 / latest patches installed with YaST
  - k_athlon-2.4.20-102
  - kernel-source-2.4.20.SuSE-102

I configured and compiled the kernel sources
# cd /usr/src/linux ; make menuconfig ;  make

I downloaded and installed alsa-1.0.2c from source:
  +alsa-driver:
    # ./configure --with-cards=vx222 --with-sequencer=yes --with-oss=yes \
       --with-moddir=/lib/modules/`uname -r`/alsa && \
    # make clean && make && checkinstall
  +alsa-lib:
    # ./configure && make clean && make && checkinstall
  +alsa-utils:
    # ./configure && make clean && make && checkinstall
  + alsa-tools:
    # ( cd vxloader ; ./configure && make clean && make ) && \
       ( checkinstall "cd vxloader ; make install" )
  + alsa-firmware:
    # ./configure && make clean && make && \
      checkinstall "cd vxloader ; make install"


When I start alsa (after a reboot, of course!), I have the following messages 
on the console:

-----8<-----
# /etc/init.d/alsasound start
Starting sound driver: snd-vx222 Warning: ignoring cards_limit=1, no such 
parameter in this module
Module snd loaded, with warnings
Module snd-hwdep loaded, with warnings
Module snd-timer loaded, with warnings
Module snd-pcm loaded, with warnings
Module snd-vx-lib loaded, with warnings
Module snd-vx222 loaded, with warnings
vxloader: error in loading /usr/local/share/alsa/firmware/vxloader/l_1_v22.d56
/lib/modules/2.4.20-4GB-athlon/alsa/snd-vx222.o: post-install snd-vx222 failed
/lib/modules/2.4.20-4GB-athlon/alsa/snd-vx222.o: insmod snd-vx222 failed
done
-----8<-----

And those ones in /var/log/message :

-----8<-----
Feb 10 09:57:20 musipop modprobe: modprobe: Can't locate module snd-card-1
Feb 10 09:57:20 musipop modprobe: modprobe: Can't locate module snd-card-1
Feb 10 09:57:20 musipop modprobe: modprobe: Can't locate module snd-card-2
Feb 10 09:57:20 musipop modprobe: modprobe: Can't locate module snd-card-2
Feb 10 09:57:20 musipop modprobe: modprobe: Can't locate module snd-card-3
Feb 10 09:57:20 musipop modprobe: modprobe: Can't locate module snd-card-3
Feb 10 09:57:21 musipop kernel: ALSA memory.c:76: Not freed snd_alloc_kmalloc 
= 388
Feb 10 09:57:21 musipop kernel: ALSA memory.c:86: kmalloc(388) from c56c0e5f 
not freed
Feb 10 09:57:21 musipop kernel: PCI: Setting latency timer of device 01:08.0 
to 64
Feb 10 09:57:23 musipop kernel: ALSA control.c:209: BUG? (ncontrol->info != 
((void *)0)) (called from df8db9e1)
Feb 10 09:57:23 musipop kernel: ALSA control.c:256: ERROR (card != ((void *)0) 
&& kcontrol != ((void *)0)) (called from df8db9ee)
-----8<-----

I checked my /etc/modules.conf.local , but everything seems ok:

-----8<-----
# ALSA portion
alias char-major-116 snd
# module options should go here
options snd cards_limit=1

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# Card #1
alias snd-card-0 snd-vx222
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

post-install snd-vx222 /usr/local/bin/vxloader -c 0
-----8<-----

It's not a hardware problem, since it worked fine before I upgraded the kernel 
& alsa (kernel 2.4.20-101 / alsa-1.0.0rc2).
I tried to install alsa-1.0.0rc2 on the latest patched kernel, but had the 
same error messages as with alsa-1.0.2, so it seems more likely to have 
something to do with the kernel update.

I updated the kernel because of a SuSE security annoucement ( http://
lists.suse.com/archive/suse-security-announce/2004-Jan/0001.html )
They did something about a do_mremap() function in the kernel.
Perhaps is that the problem?

Any clue?

-- 
Christophe Greisberger
Zenon-Media GmbH
Phone: +49 (7852) 9133 / 34
Fax  : +49 (7852) 9133 / 35


-- 
Check the headers for your unsubscription address
For additional commands send e-mail to [email protected]
Also check the archives at http://lists.suse.com
Please read the FAQs: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.