• Bug#266397: kernel-source-2.4.27: Unresolved symbols in tg3

    From Horms@1:229/2 to Frodo Looijaard on Fri Aug 20 03:30:10 2004
    XPost: linux.debian.kernel
    From: [email protected]

    On Thu, Aug 19, 2004 at 08:34:23PM +0200, Frodo Looijaard wrote:
    On Thu, Aug 19, 2004 at 12:24:09PM +0900, Horms wrote:
    On Tue, Aug 17, 2004 at 10:11:14PM +0200, Frodo Looijaard wrote:

    When compiling 2.4.27 I get some unresolved symbols in the tg3 driver:

    depmod: release_firmware_R33934162
    depmod: request_firmware_R38ce5074

    I believe the fix is to enable CONFIG_FW_LOADER which
    in turn requires CONFIG_EXPERIMENTAL. The patch below
    should make this harder to screw up for people
    building their own packages.

    Enabling CONFIG_FW_LOADER (in the library routines section) seems
    to have solved the problem. I have not yet tried your patch, though.

    The only thing that worries me is the description of this option. First
    off, its width is too high for the help function in 'make menuconfig';
    more importantly, it says:

    This option is provided for the case where no in-kernel-tree modules require
    hotplug firmware loading support, but a module built outside the kernel tree
    does.

    This implies for me that you only need it when you compile additional modules.
    In this case, the tg3 module is distributed with the kernel tree and
    compiled within it. That was the reason I had not enabled this option.

    That is somewhat confusing. However it seems that the code is not being compiled automaticaly as that description imples. If someone can help
    make that happen I am more than open to suggestions. In the mean time CONFIG_FW_LOADER needs to be enabled.

    --
    Horms


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Frodo Looijaard@1:229/2 to All on Tue Aug 17 22:30:21 2004
    XPost: linux.debian.kernel
    From: [email protected]

    Package: kernel-source-2.4.27
    Version: 2.4.27-2
    Severity: normal

    When compiling 2.4.27 I get some unresolved symbols in the tg3 driver:

    find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
    if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/kernel-source-2.4.27/debian/tmp-image -r 2.4.27-morannon.2.1; fi
    depmod: *** Unresolved symbols in
    /usr/src/kernel-source-2.4.27/debian/tmp-image/lib/modules/2.4.27-morannon.2.1/kernel/drivers/net/tg3.o
    depmod: release_firmware_R33934162
    depmod: request_firmware_R38ce5074
    make[2]: *** [_modinst_post] Error 1
    make[2]: Leaving directory `/usr/src/kernel-source-2.4.27'
    make[1]: *** [real_stamp_image] Error 2
    make[1]: Leaving directory `/usr/src/kernel-source-2.4.27'

    I have attached my kernel .config to this message.

    -- System Information
    Debian Release: 3.0
    Architecture: i386
    Kernel: Linux morannon 2.4.26-morannon.5.1 #1 Wed Aug 11 21:31:27 CEST 2004 i686
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages kernel-source-2.4.27 depends on:
    ii binutils 2.12.90.0.1-4 The GNU assembler, linker and bina ii bzip2 1.0.2-1 A high-quality block-sorting file ii fileutils 4.1-10 GNU file management utilities



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)