Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103939 - gentoo-sources-2.6.12-r9 - snd-cmipci module appears broken
Summary: gentoo-sources-2.6.12-r9 - snd-cmipci module appears broken
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 10:42 UTC by Fred Krogh
Modified: 2005-08-29 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2005-08-27 10:42:15 UTC
modprobe snd-cmipci   Results in the message:

FATAL: Error inserting snd_cmipci
(/lib/modules/2.6.12-gentoo-r9/alsa-driver/pci/snd-cmipci.ko): Unknown symbol in
module, or unknown parameter (see dmesg)

dmesg is a little more informative, it provides

snd_cmipci: Unknown symbol snd_verbose_printk
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-08-27 16:57:20 UTC
The bug report form asks you to include the "emerge --info" output to every bug
that you file. Please do so.

It would also be useful if you could describe your setup and situation better -
where does the snd-cmipci module which you are trying to load come from?
Comment 2 Fred Krogh 2005-08-27 18:34:17 UTC
The comments provided in make menuconfig give this for snd_cmipci:

CONFIG_SND_CMIPCI:                                                             
                                                                                  
If you want to use soundcards based on C-Media CMI8338 or CMI8738                 
chips, say Y here and read                                                          
<file:Documentation/sound/alsa/CMIPCI.txt>.                                    
                                                                               
       

To compile this driver as a module, choose M here: the module                       
will be called snd-cmipci.                                                          
                                                                              x  
Symbol: SND_CMIPCI [=m]                                                             
Prompt: C-Media 8738, 8338                                                          
  Defined at sound/pci/Kconfig:315                                                  
  Depends on: !M68K && SOUND!=n && PCI && SND                                       
  Location:                                                                         
    -> Device Drivers                                                              
      -> Sound                                                                      
        -> Advanced Linux Sound Architecture                                        
          -> Advanced Linux Sound Architecture (SND [=m])                           
            -> PCI devices                                                          
  Selects: SND_OPL3_LIB && SND_MPU401_UART && SND_PCM                              
============
The emerge --info  (Don't thnk it will be very helpful, but ...?)

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://cudlug.cudenver.edu/gentoo
http://gentoo.binarycompass.org"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 audiofile avi bash-completion bcmath berkdb
bitmap-fonts blas bmp bonobo bzip2 calendar cdr crypt ctype cups curl dbus dga
divx-linux dvd dvdr eds emacs emul-linux86 encode esd fam fastcgi fbcon
foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib ipv6
java jpeg kde kerberos lapack lesstif libwww lzw lzw-tiff mbox mcal mime mng
motif mozilla mp3 mpeg mpi mysql mysqli ncurses nls nocd nptl nvidia offensive
openal opengl osc oscar oss pam pdflib perl png portaudio ppds python qt
quicktime readline samba sasl sdl sharedmem sockets source sox speex spell ssl
svg symlink tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts
usb userlocales vhosts xine xml2 xpm xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-08-28 03:18:32 UTC
Ok - so you are trying to use the in-kernel alsa drivers, but you have the
portage package "media-sound/alsa-driver" installed, or at least, did once have
it installed - which is correct?
Comment 4 Fred Krogh 2005-08-28 08:58:24 UTC
I'm in the process of doing a new install.  (Dual Opterons with 4GB of memory
have hazards I was not aware of and I have had to do a new install.  If you have
compiled a kernel with CONIG_GART_IOMMU and set the bios to use one contiguous
block, and then go back to the installation disk in that configuration to run
fsck, I think one can expect trouble.  At least that is what I got!)

But (back to the point) I believe I was trying to use the in-kernel alsa AND the
portage package "media-sound/alsa-driver".  From the last comment I'm guessing
that is not to be done.  It still seems strange to me that modprobe would give
the result it did.  For anyone else coming along here, you might post which of
these two approaches is likely to be best.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-08-28 12:57:23 UTC
I suggest you read the documentation:

http://www.gentoo.org/doc/en/alsa-guide.xml
Comment 6 Fred Krogh 2005-08-29 15:42:54 UTC
I'm very sorry to have troubled you.  All works at it should.