Professional Web Applications Themes

Still learning about loading modules - Linux Setup, Configuration & Administration

I am trying to setup the sound card in a computer running Mandrake 9.1. I just updated the kernel modules from a cd-rom (actually I just installed them). The Soundblaster kernel module will not load. This is the output I get when I do "insmod sb": Using /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved symbol probe_sbmpu_Rddc8ad00 /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved symbol smw_free_R450f9aea /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved symbol sb_dsp_detect_Rd8a2731c /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved symbol sb_dsp_unload_Rc4884969 /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved symbol unload_sbmpu_R74afd69c /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved symbol sb_dsp_init_Re986438b I have values setup in the modules.conf file for the driver. This, unresolved symbols, is one area that I have not learned about in Linux. Why does this ...

  1. #1

    Default Still learning about loading modules

    I am trying to setup the sound card in a computer running Mandrake 9.1.
    I just updated the kernel modules from a cd-rom (actually I just
    installed them). The Soundblaster kernel module will not load. This is
    the output I get when I do "insmod sb":

    Using /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz
    /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved
    symbol probe_sbmpu_Rddc8ad00
    /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved
    symbol smw_free_R450f9aea
    /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved
    symbol sb_dsp_detect_Rd8a2731c
    /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved
    symbol sb_dsp_unload_Rc4884969
    /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved
    symbol unload_sbmpu_R74afd69c
    /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound/sg.o.gz: unresolved
    symbol sb_dsp_init_Re986438b

    I have values setup in the modules.conf file for the driver. This,
    unresolved symbols, is one area that I have not learned about in Linux.
    Why does this happen and what can I do to find the answer to what is
    missing?

    Bill Guest

  2. #2

    Default Re: Still learning about loading modules

    Bill Beal wrote: 
    --snip-- 

    Did you run "depmod -a" after installing the kernel-modules package?

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
    Uptime: 17 days, 22:07, 1 user, load average: 0.00, 0.00, 0.00

    David Guest

  3. #3

    Default Re: Still learning about loading modules

    Hello

    Bill Beal (<net>) wrote:
     
     

    Try modprobe instead of insmod. Probably the sb driver needs some
    functions provided by other drivers that are not loaded yet. Modprobe
    will load them automatically, insmod does not.

    best regards
    Andreas Janssen

    --
    Andreas Janssen
    com
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    Andreas Guest

  4. #4

    Default Re: Still learning about loading modules



    Bill Beal wrote: 
    I tried both David's and Andreas' suggestions. I still got the same
    messages. Modprobe gave a little different set of error messages but it
    still failed.

    Bill Guest

  5. #5

    Default Re: Still learning about loading modules

    Bill Beal wrote: 

    Ok in your first post you tried "insmod sb" but is "sb" the right
    module? My SB sound card uses the "es1370" module and there are a
    couple of different versions of the same model that use different
    modules.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
    Uptime: 18 days, 9:37, 1 user, load average: 0.00, 0.01, 0.00

    David Guest

  6. #6

    Default Re: Still learning about loading modules



    David wrote: 
    >
    >
    > Ok in your first post you tried "insmod sb" but is "sb" the right
    > module? My SB sound card uses the "es1370" module and there are a couple
    > of different versions of the same model that use different modules.
    >[/ref]
    The card is an ISA card that identifies itself as an RTL3000. This is
    covered by the sb.o module; I dug around in the sb_card.c source file
    and found it there (after greping all of the module source)

    Is the dependency problem casued by not having a library loaded? In the
    past, a couple of years ago, when I tried to recompile a kernel and
    intall it I got the same effect. That was solved by upgrading the
    distro I was using.

    Bill Guest

  7. #7

    Default Re: Still learning about loading modules

    Bill Beal wrote: 

    If it's an ISA card, do you have the "isapnp" package installed?
    If the system uses esound you may also need the "audiofile" package.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
    Uptime: 18 days, 19:52, 1 user, load average: 0.04, 0.06, 0.02

    David Guest

  8. #8

    Default Re: Still learning about loading modules

    Bill Beal wrote:
     

    Why is insmod saying the modules name is sg.o.gz ? The module is
    not supposed to be gzipped (which is what the .gz extension implies).
    Trying ungzipping it first, as root user:

    cd /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound
    gzip -d sg.o.gz

    Mark
    Mark Guest

  9. #9

    Default Re: Still learning about loading modules

    Mark <com> wrote: [/ref]
     

    Because it is. Many modutils packages are linked with zlib, which
    enables them to open gzipped files as though they weren't. His
    obviously is :-). It is good.
     

    They are supposed.
     

    No. Something you do not understand is not wrong, merely something you
    do not understand (and you can deduce that all is OK from the messages
    above!).

    ALl that is wrong is

    a) aesthetics - his modules are compiled with MODVERSIONS on. Yecch.
    turn that off. Nuts!! Maybe his kernel is compiled without
    MODVERSIONS support. We don't know.

    b) he doesn't have the required support. Find out how has
    sb_dsp_detect and compile it. I can't be bothered to go look fer'm.

    Peter
    Peter Guest

  10. #10

    Default Re: Still learning about loading modules

    Peter T. Breuer wrote:
     [/ref]

    >
    > Because it is. Many modutils packages are linked with zlib, which
    > enables them to open gzipped files as though they weren't. His
    > obviously is :-). It is good.

    >
    > They are supposed.

    >
    > No. Something you do not understand is not wrong, merely something you
    > do not understand (and you can deduce that all is OK from the messages
    > above!).[/ref]

    Ok, but in my /lib/modules/2.4.21-0.25mdk/kernel/drivers/sound
    in Red hat 9 none of the files are gzipped...
    Mark
    Mark Guest

  11. #11

    Default Re: Still learning about loading modules

    David wrote:
     
    >
    > If it's an ISA card, do you have the "isapnp" package installed?
    > If the system uses esound you may also need the "audiofile" package.
    >[/ref]
    did you do a make modules? If there is no object file it will not load.
    The modules-HOWTO explains more on this. Hope that helps. Going through
    some of the same stuff myself trying to get the 2nd sound card to work,
    module loads now, but it was the same deal, and when I looked in the
    drivers/sound section I saw the source files but no object file.

    It basically isn't loading it cause it doesn't file that file, which hasn't
    been compiled yet, I assuming.
    Douglas Guest

Similar Threads

  1. Problem with loading modules
    By Guilherme in forum Macromedia Flex General Discussion
    Replies: 3
    Last Post: June 11th, 04:25 PM
  2. Loading and using modules using eval
    By Papo Napolitano in forum PERL Beginners
    Replies: 2
    Last Post: January 26th, 07:21 PM
  3. Loading Modules - Yipee!!
    By Support in forum PERL Beginners
    Replies: 0
    Last Post: December 22nd, 10:54 PM
  4. Loading Modules - More
    By Owen in forum PERL Beginners
    Replies: 3
    Last Post: December 22nd, 10:29 PM
  5. Loading Modules
    By Support in forum PERL Beginners
    Replies: 4
    Last Post: December 22nd, 10:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139