#66 weird unresolved symbols in module

important
closed-wont-fix
Via Audio (17)
5
2001-12-13
2001-11-01
No

Apologies if I'm missing something obvious, but this is
the only module giving me grief right now. I'm trying
to compile the module separately and insert it into the
running kernel -- I understand this is possible and
I've done it with tulip and rt drivers.

With via82cxxx_audio.c, version 1.1.15:

[speakmon@ben-linux via82cxxx-1.1.15]$ make
gcc -O2 -fomit-frame-pointer -D__KERNEL__
-I/usr/src/linux-2.4/drivers/sound -DCPU=586
-march=i586 -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-DMODULE -c via82cxxx_audio.c
[speakmon@ben-linux via82cxxx-1.1.15]$ /sbin/insmod
via82cxxx_audio.o
via82cxxx_audio.o: unresolved symbol ac97_probe_codec
via82cxxx_audio.o: unresolved symbol probe_uart401
via82cxxx_audio.o: unresolved symbol uart401intr
via82cxxx_audio.o: unresolved symbol unload_uart401
Kernel is Red Hat 2.4.9-7.

Output of via-audio-diag:

[root@ben-linux via82cxxx-1.1.15]# ./a.out -aps
via-audio-diag.c:v1.00 05/06/2000 Jeff Garzik
(jgarzik@mandrakesoft.com)
Index #1: Found a via 686a audio adapter at 0xcc00.
AC97 RESET = 0x6D50 (27984)
AC97 MASTER_VOL_STEREO = 0x8000 (32768)
AC97 HEADPHONE_VOL = 0x8000 (32768)
AC97 MASTER_VOL_MONO = 0x8000 (32768)
AC97 MASTER_TONE = 0x0000 (0)
AC97 PCBEEP_VOL = 0x8000 (32768)
AC97 PHONE_VOL = 0x8008 (32776)
AC97 MIC_VOL = 0x8008 (32776)
AC97 LINEIN_VOL = 0x8808 (34824)
AC97 CD_VOL = 0x8808 (34824)
AC97 VIDEO_VOL = 0x8808 (34824)
AC97 AUX_VOL = 0x8808 (34824)
AC97 PCMOUT_VOL = 0x8808 (34824)
AC97 RECORD_SELECT = 0x0000 (0)
AC97 RECORD_GAIN = 0x8000 (32768)
AC97 RECORD_GAIN_MIC = 0x0000 (0)
AC97 GENERAL_PURPOSE = 0x0000 (0)
AC97 3D_CONTROL = 0x0000 (0)
AC97 MODEM_RATE = 0x0000 (0)
AC97 POWER_CONTROL = 0x000F (15)
AC97 EXTENDED_ID = 0x0201 (513)
AC97 EXTENDED_STATUS = 0x0000 (0)
AC97 PCM_FRONT_DAC_RATE = 0xBB80 (48000)
AC97 PCM_SURR_DAC_RATE = 0x0000 (0)
AC97 PCM_LFE_DAC_RATE = 0x0000 (0)
AC97 PCM_LR_ADC_RATE = 0xBB80 (48000)
AC97 PCM_MIC_ADC_RATE = 0x0000 (0)
AC97 CENTER_LFE_MASTER = 0x0000 (0)
AC97 SURROUND_MASTER = 0x0000 (0)
AC97 RESERVED_3A = 0x0000 (0)
SGD Playback : 00 00 00 00000000 00000000
SGD Record : 00 00 00 00000000 00000000
SGD FM : 00 00 00 00000000 00000000
SGD Modem Playback : 00 00 00 00000000 00000000
SGD Modem Record : 00 00 00 00000000 00000000
SGD reg 0x80 = 0x00BA0000
SGD reg 0x84 = 0x00000000
SGD reg 0x88 = 0x00000000
SGD reg 0x8C = 0x00000000
PCI reg 0x10 = 0xD8000008
PCI reg 0x3C = 0x00
PCI reg 0x40 = 0x00
PCI reg 0x41 = 0x00
PCI reg 0x42 = 0x00
PCI reg 0x43 = 0x00
PCI reg 0x44 = 0x00
PCI reg 0x48 = 0x00

Any suggestions will be most appreciated.

Thanks.

Discussion

  • Jeff Garzik

    Jeff Garzik - 2001-12-13
    • status: open --> closed-wont-fix
     
  • Jeff Garzik

    Jeff Garzik - 2001-12-13

    Logged In: YES
    user_id=17443

    Due to large length of time where Via hardware and engineering
    time were unavailable, the Linux kernel Via audio driver is no
    longer supported by me (Jeff Garzik). My apologies in advance
    for any inconveniences this causes.

    Users are recommended to try the ALSA Via audio drivers at
    http://www.alsa-project.org/

     

Log in to post a comment.