* Re: 2.6.38 Compile Failure e1000e Module [not found] <20110316103318.19bd03e4.frank.peters@comcast.net> @ 2011-03-16 15:16 ` Eric Dumazet 2011-03-16 18:15 ` David Miller 2011-03-16 15:21 ` [PATCH] net: " Randy Dunlap 1 sibling, 1 reply; 5+ messages in thread From: Eric Dumazet @ 2011-03-16 15:16 UTC (permalink / raw) To: Frank Peters Cc: linux-kernel, Bruce Allan, Jeff Kirsher, David Miller, netdev Le mercredi 16 mars 2011 à 10:33 -0400, Frank Peters a écrit : > 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. 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! Reported-by: Frank Peters <frank.peters@comcast.net> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Bruce Allan <bruce.w.allan@intel.com> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 0382332..90d1d3c 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -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 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: 2.6.38 Compile Failure e1000e Module 2011-03-16 15:16 ` 2.6.38 Compile Failure e1000e Module Eric Dumazet @ 2011-03-16 18:15 ` David Miller 0 siblings, 0 replies; 5+ messages in thread From: David Miller @ 2011-03-16 18:15 UTC (permalink / raw) To: eric.dumazet Cc: frank.peters, linux-kernel, bruce.w.allan, jeffrey.t.kirsher, netdev From: Eric Dumazet <eric.dumazet@gmail.com> Date: Wed, 16 Mar 2011 16:16:57 +0100 > [PATCH] e1000e: fix kconfig for crc32 dependency > > ERROR: "crc32_le" [drivers/net/e1000e/e1000e.ko] undefined! > > Reported-by: Frank Peters <frank.peters@comcast.net> > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> > Cc: Bruce Allan <bruce.w.allan@intel.com> > Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Applied, thanks Eric. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] net: 2.6.38 Compile Failure e1000e Module [not found] <20110316103318.19bd03e4.frank.peters@comcast.net> 2011-03-16 15:16 ` 2.6.38 Compile Failure e1000e Module Eric Dumazet @ 2011-03-16 15:21 ` Randy Dunlap 2011-03-16 18:15 ` David Miller 1 sibling, 1 reply; 5+ messages in thread From: Randy Dunlap @ 2011-03-16 15:21 UTC (permalink / raw) To: Frank Peters; +Cc: linux-kernel, netdev, davem Hi, Please test this patch: From: Randy Dunlap <randy.dunlap@oracle.com> 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 <frank.peters@comcast.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) --- lnx-2638.orig/drivers/net/Kconfig +++ lnx-2638/drivers/net/Kconfig @@ -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, ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: 2.6.38 Compile Failure e1000e Module 2011-03-16 15:21 ` [PATCH] net: " Randy Dunlap @ 2011-03-16 18:15 ` David Miller 2011-03-16 18:31 ` Randy Dunlap 0 siblings, 1 reply; 5+ messages in thread From: David Miller @ 2011-03-16 18:15 UTC (permalink / raw) To: randy.dunlap; +Cc: frank.peters, linux-kernel, netdev From: Randy Dunlap <randy.dunlap@oracle.com> Date: Wed, 16 Mar 2011 08:21:05 -0700 > Hi, > Please test this patch: > > > From: Randy Dunlap <randy.dunlap@oracle.com> > > 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 <frank.peters@comcast.net> > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Randy, I applied Eric Dumazet's copy of this fix only because his submission preceded your's in terms of time of submission :-) Thanks! ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: 2.6.38 Compile Failure e1000e Module 2011-03-16 18:15 ` David Miller @ 2011-03-16 18:31 ` Randy Dunlap 0 siblings, 0 replies; 5+ messages in thread From: Randy Dunlap @ 2011-03-16 18:31 UTC (permalink / raw) To: David Miller; +Cc: frank.peters, linux-kernel, netdev On 03/16/11 11:15, David Miller wrote: > From: Randy Dunlap <randy.dunlap@oracle.com> > Date: Wed, 16 Mar 2011 08:21:05 -0700 > >> Hi, >> Please test this patch: >> >> >> From: Randy Dunlap <randy.dunlap@oracle.com> >> >> 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 <frank.peters@comcast.net> >> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> > > 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, -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-16 18:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20110316103318.19bd03e4.frank.peters@comcast.net> 2011-03-16 15:16 ` 2.6.38 Compile Failure e1000e Module Eric Dumazet 2011-03-16 18:15 ` David Miller 2011-03-16 15:21 ` [PATCH] net: " Randy Dunlap 2011-03-16 18:15 ` David Miller 2011-03-16 18:31 ` Randy Dunlap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).