sound.o as module problem...

Nuno Serrenho (adrenlin@ki.net)
Thu, 11 Jul 1996 16:25:06 -0400 (EDT)


Ever since 2.0.3, I've been having problems with the sound module. It
reports unresolved symbols:

stoned:~ $ modprobe sound
unload_sbmpu undefined
probe_sbmpu undefined
sb_dsp_unload undefined
sb_dsp_detect undefined
attach_sbmpu undefined
sb_dsp_init undefined
Loading failed! The module symbols (from linux-2.0.5) don't match your
linux-2.0.5

I haven't changed anything in my configuration (been using the same .config
and soundconf since around 1.3.80). Using all the suggested stuff from
the Changes file, modules-2.0.0. It worked fine in 2.0.[012].

Here's my .config:

---
#
# Automatically generated make config: don't edit
#

# # Code maturity level options # # CONFIG_EXPERIMENTAL is not set

# # Loadable module support # CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KERNELD=y

# # General setup # # CONFIG_MATH_EMULATION is not set CONFIG_NET=y # CONFIG_MAX_16M is not set # CONFIG_PCI is not set CONFIG_SYSVIPC=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_ELF=y CONFIG_KERNEL_ELF=y # CONFIG_M386 is not set CONFIG_M486=y # CONFIG_M586 is not set # CONFIG_M686 is not set

# # Floppy, IDE, and other block devices # CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y

# # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set # CONFIG_BLK_DEV_IDECD is not set # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDE_PCMCIA is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_IDE_CHIPSETS is not set

# # Additional Block Devices # # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_MD is not set CONFIG_BLK_DEV_RAM=m # CONFIG_BLK_DEV_XD is not set

# # Networking options # # CONFIG_FIREWALL is not set # CONFIG_NET_ALIAS is not set CONFIG_INET=y # CONFIG_IP_FORWARD is not set # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ACCT is not set

# # (it is safe to leave these untouched) # # CONFIG_INET_PCTCP is not set # CONFIG_INET_RARP is not set # CONFIG_NO_PATH_MTU_DISCOVERY is not set CONFIG_IP_NOSR=y # CONFIG_SKB_LARGE is not set

# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_AX25 is not set # CONFIG_NETLINK is not set

# # SCSI support # # CONFIG_SCSI is not set

# # Network device support # CONFIG_NETDEVICES=y CONFIG_DUMMY=y # CONFIG_EQUALIZER is not set # CONFIG_PLIP is not set CONFIG_PPP=y

# # CCP compressors for PPP are only built as modules. # CONFIG_SLIP=y CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y # CONFIG_SLIP_MODE_SLIP6 is not set # CONFIG_NET_RADIO is not set # CONFIG_NET_ETHERNET is not set # CONFIG_TR is not set # CONFIG_ARCNET is not set

# # ISDN subsystem # # CONFIG_ISDN is not set

# # CD-ROM drivers (not for SCSI or IDE/ATAPI drives) # CONFIG_CD_NO_IDESCSI=y # CONFIG_AZTCD is not set # CONFIG_GSCD is not set CONFIG_SBPCD=m # CONFIG_MCD is not set # CONFIG_MCDX is not set # CONFIG_OPTCD is not set # CONFIG_CM206 is not set # CONFIG_SJCD is not set # CONFIG_CDI_INIT is not set # CONFIG_CDU31A is not set # CONFIG_CDU535 is not set

# # Filesystems # # CONFIG_QUOTA is not set # CONFIG_LOCK_MANDATORY is not set # CONFIG_MINIX_FS is not set # CONFIG_EXT_FS is not set CONFIG_EXT2_FS=y # CONFIG_XIA_FS is not set CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m # CONFIG_UMSDOS_FS is not set CONFIG_PROC_FS=y # CONFIG_NFS_FS is not set # CONFIG_SMB_FS is not set CONFIG_ISO9660_FS=m # CONFIG_HPFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set

# # Character devices # CONFIG_SERIAL=y # CONFIG_DIGI is not set # CONFIG_CYCLADES is not set # CONFIG_STALDRV is not set # CONFIG_RISCOM8 is not set CONFIG_PRINTER=m # CONFIG_MOUSE is not set # CONFIG_UMISC is not set # CONFIG_QIC02_TAPE is not set # CONFIG_FTAPE is not set # CONFIG_APM is not set CONFIG_WATCHDOG=y # CONFIG_WATCHDOG_NOWAYOUT is not set # CONFIG_WDT is not set CONFIG_SOFT_WATCHDOG=m CONFIG_RTC=y

# # Sound # CONFIG_SOUND=m CONFIG_LOWLEVEL_SOUND=y # CONFIG_ACI_MIXER is not set

# # Kernel hacking # # CONFIG_PROFILE is not set

---

And my soundconf:

/* Generated by configure. Don't edit!!!! */ /* Making changes to this file is not as simple as it may look. */

/* If you change the CONFIG_ settings in local.h you */ /* _have_ to edit .defines too. */

#undef CONFIG_PAS #define CONFIG_SB #undef CONFIG_ADLIB #undef CONFIG_GUS #undef CONFIG_MPU401 #undef CONFIG_UART6850 #undef CONFIG_PSS #undef CONFIG_GUS16 #undef CONFIG_GUSMAX #undef CONFIG_MSS #undef CONFIG_SSCAPE #undef CONFIG_TRIX #undef CONFIG_MAD16 #undef CONFIG_CS4232 #undef CONFIG_MAUI #undef CONFIG_SPNP #undef CONFIG_UNUSED1 #undef CONFIG_UNUSED2 #undef CONFIG_AEDSP16 #define CONFIG_AUDIO #define CONFIG_MIDI #define CONFIG_YM3812

#undef CONFIG_MPU_EMU #undef CONFIG_AD1848 #define CONFIG_SBDSP #define CONFIG_UART401 #define CONFIG_SEQUENCER

#define SBC_BASE 0x220 #define SBC_IRQ 5 #define SBC_DMA 1 #define SB_DMA2 5 #define DSP_BUFFSIZE 32768 #define SELECTED_SOUND_OPTIONS 0x00a80002

+---------------------_|_-----------------------------------------+ | Nuno Serrenho (@ @) Whiskey Bar: The Complete Doors Page: | | <adrenlin@ki.net> |\o/| http://www.ki.net/~adrenlin/thedoors/ | +-------------------ooO-Ooo---------------------------------------+