[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Tue, Aug 17, 2004 at 10:11:14PM +0200, Frodo Looijaard wrote:
> 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.

Hi,

there was an update made in the debian-source package
to remove some non-dsfg free code from the tg3 driver.
This problem is a side effect of that.

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.

It will likely end up in the next release of kernel-source-2.4.27
and kernel-source-2.4.26 (the later has not been released with the
tg3 change yet).

-- 
Horms

# The tg3 firmware patch above reqires CONFIG_FW_LOADER
# Horms 19/08/2004
--- a/drivers/net/Config.in	2004-08-19 12:07:17.000000000 +0900
+++ b/drivers/net/Config.in	2004-08-19 12:07:56.000000000 +0900
@@ -268,7 +268,11 @@
 dep_tristate 'Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)' CONFIG_YELLOWFIN $CONFIG_PCI $CONFIG_EXPERIMENTAL
 dep_tristate 'Realtek 8169 Gigabit Ethernet support' CONFIG_R8169 $CONFIG_PCI
 dep_tristate 'Marvell Yukon Chipset / SysKonnect SK-98xx Support' CONFIG_SK98LIN $CONFIG_PCI
-dep_tristate 'Broadcom Tigon3 support' CONFIG_TIGON3 $CONFIG_PCI
+
+if [ "$CONFIG_EXPERIMENTAL" = "y" -a \
+     "$CONFIG_HOTPLUG" = "y" ]; then
+	dep_tristate 'Broadcom Tigon3 support' CONFIG_TIGON3 $CONFIG_PCI $CONFIG_FW_LOADER
+fi
 
 if [ "$CONFIG_MOMENCO_OCELOT_C" = "y" -o "$CONFIG_MOMENCO_JAGUAR_ATX" = "y" ]; then
    bool '  MV-64340 Ethernet support' CONFIG_MV64340_ETH




Reply to: