2.6.38 Compile Failure e1000e Module
Subsystems (2)
Hello,
I cannot compile kernel 2.6.38. Apparently, there is a build failure with the e1000e module (ethernet driver). The brief error message is this:
ERROR: "crc32_le" [drivers/net/e1000e/e1000e.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
My compiler is gcc-4.5.2 on a Gentoo x64 system. The kernel source is the stock source from kernel.org.
Please CC to frank.peters (at) comcast.net.
Frank Peters
Quoted 5 lines · Frank Peters
Hello,
I cannot compile kernel 2.6.38. Apparently, there is a build failure with the e1000e module (ethernet driver). The brief error message is this:
Quoted 8 lines
ERROR: "
crc32_le" [drivers/net/e1000e/e1000e.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2My compiler is gcc-4.5.2 on a Gentoo x64 system. The kernel source is the stock source from kernel.org.
Please CC to frank.peters (at) comcast.net.
Hi Franck
Probably coming from commit fe46f58fa61f02 (e1000e: use either_crc_le() rather than re-write it)
Could you try following patch ?
Thanks
[PATCH] e1000e: fix kconfig for crc32 dependency
ERROR: "crc32_le" [drivers/net/e1000e/e1000e.ko] undefined!
--- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/Kconfig +1 -0
@@ -2098,6 +2098,7 @@ config E1000 config E1000E tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" + select CRC32 depends on PCI && (!SPARC32 || BROKEN) ---help--- This driver supports the PCI-Express Intel(R) PRO/1000 gigabit
From: Eric Dumazet <[email protected]>
Date: Wed, 16 Mar 2011 16:16:57 +0100
Quoted 8 lines
[PATCH] e1000e: fix kconfig for crc32 dependency
ERROR: "
crc32_le" [drivers/net/e1000e/e1000e.ko] undefined!Reported-by Frank Peters <[email protected]>Signed-off-by Eric Dumazet <[email protected]>Cc Bruce Allan <[email protected]>Cc Jeff Kirsher <[email protected]>
Applied, thanks Eric.
PATCH 1/1 net: 2.6.38 Compile Failure e1000e Module
In reply to Frank PetersHi,
Please test this patch:
From: Randy Dunlap <[email protected]>
e1000e needs to select CRC32 for CRC support.
This patch fixes the build error:
ERROR: "crc32_le" [drivers/net/e1000e/e1000e.ko] undefined!
--- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/Kconfig +1 -0
@@ -2099,6 +2099,7 @@ config E1000 config E1000E tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" depends on PCI && (!SPARC32 || BROKEN) + select CRC32 ---help--- This driver supports the PCI-Express Intel(R) PRO/1000 gigabit ethernet family of adapters. For PCI or PCI-X e1000 adapters,
Re: [PATCH] net: 2.6.38 Compile Failure e1000e Module
drivers/net/Kconfig config E1000 · line 2105
Quoted 13 lines · On Wed, 16 Mar 2011 08:21:05 -0700 Randy Dunlap <[email protected]> wrote:
Please test this patch:
drivers/net/Kconfig +1
-0@@ -2099,6 +2099,7 @@ config E1000 config E1000E tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" depends on PCI && (!SPARC32 || BROKEN) + select CRC32 ---help--- This driver supports the PCI-Express Intel(R) PRO/1000 gigabit ethernet family of adapters. For PCI or PCI-X e1000 adapters,
Yes. The patch works. The 2.6.38 source now builds.
Thanks to all responders.
Frank Peters
David Miller
maintainerRe: [PATCH] net: 2.6.38 Compile Failure e1000e Module
In reply to Randy DunlapFrom: Randy Dunlap <[email protected]>
Date: Wed, 16 Mar 2011 08:21:05 -0700
Quoted 4 lines
Hi,
Please test this patch:
Quoted 8 lines
From: Randy Dunlap <[email protected]>
e1000e needs to select CRC32 for CRC support.
This patch fixes the build error:
ERROR: "crc32_le" [drivers/net/e1000e/e1000e.ko] undefined!Reported-by Frank Peters <[email protected]>Signed-off-by Randy Dunlap <[email protected]>
Randy, I applied Eric Dumazet's copy of this fix only because his submission preceded your's in terms of time of submission :-)
Thanks!
Re: [PATCH] net: 2.6.38 Compile Failure e1000e Module
Quoted 13 lines · David Miller
From: Randy Dunlap <[email protected]>
Date: Wed, 16 Mar 2011 08:21:05 -0700Quoted 10 lines
Hi,
Please test this patch:From: Randy Dunlap <[email protected]>
e1000e needs to select CRC32 for CRC support.
This patch fixes the build error:
ERROR: "crc32_le" [drivers/net/e1000e/e1000e.ko] undefined!
Quoted 5 lines
Quoted 2 lines
Reported-by Frank Peters <[email protected]>Signed-off-by Randy Dunlap <[email protected]>Randy, I applied Eric Dumazet's copy of this fix only because his submission preceded your's in terms of time of submission :-)
Ack. :)
thanks,
Signature · 2 lines
~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***