netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: error compiling kernel...
       [not found]   ` <4370275D.9060001@cse.ohio-state.edu>
@ 2005-11-08  5:59     ` Grant Grundler
  2005-11-08  6:08       ` Grant Grundler
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Grundler @ 2005-11-08  5:59 UTC (permalink / raw)
  To: netdev; +Cc: openib-general

On Mon, Nov 07, 2005 at 11:19:41PM -0500, Sayantan Sur wrote:
...
> Has anyone been able to compile gen2 with 2.6.14?

Yes - but I've run into a different problem.
After fixing up include/rdma to point at drivers/infiniband/include/rdma,
I get a symbol missing from from the modules.


iota:/usr/src/linux-2.6.14# make modules_install
...
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.
6.14; fi                                                                        
WARNING: /lib/modules/2.6.14/kernel/drivers/infiniband/ulp/sdp/ib_sdp.ko needs u
nknown symbol ip_dev_find                                                       
WARNING: /lib/modules/2.6.14/kernel/drivers/infiniband/core/ib_at.ko needs unkno
wn symbol ip_dev_find                                                           
WARNING: /lib/modules/2.6.14/kernel/drivers/infiniband/core/ib_addr.ko needs unk
nown symbol ip_dev_find                                                         
iota:/usr/src/linux-2.6.14#

ip_dev_find() is not exported by net/ipv4/fib_frontend.c.

However, drivers/infiniband is the only module that needs this.
CONFIG_IP_MROUTE is another configurable user but cannot be enabled
as a module.

Patch below adds EXPORT_SYMBOL() to fib_frontend.c.
I'm not trying to assert this is the Right Thing.
It's just the first obvious solution to the immediate problem.

thanks,
grant

Signed-off-by: Grant Grundler <iod00d@hp.com>

--- linux-2.6.14-ORIG/net/ipv4/fib_frontend.c   2005-10-27 17:02:08.000000000 -0700
+++ linux-2.6.14/net/ipv4/fib_frontend.c        2005-11-07 21:29:22.000000000 -0800
@@ -662,3 +662,4 @@ void __init ip_fib_init(void)
 
 EXPORT_SYMBOL(inet_addr_type);
 EXPORT_SYMBOL(ip_rt_ioctl);
+EXPORT_SYMBOL(ip_dev_find);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error compiling kernel...
  2005-11-08  5:59     ` error compiling kernel Grant Grundler
@ 2005-11-08  6:08       ` Grant Grundler
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Grundler @ 2005-11-08  6:08 UTC (permalink / raw)
  To: netdev; +Cc: openib-general

On Mon, Nov 07, 2005 at 09:59:49PM -0800, Grant Grundler wrote:
> WARNING: /lib/modules/2.6.14/kernel/drivers/infiniband/ulp/sdp/ib_sdp.ko needs unknown symbol ip_dev_find                                                       
> Patch below adds EXPORT_SYMBOL() to fib_frontend.c.

...never mind. Johann George just pointed out someone already has
added this diff to the openib.org repository:
	https://openib.org/svn/gen2/trunk/src/linux-kernel/patches/linux-2.6.14-fib-frontend.diff

sorry,
grant

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-08  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <b9b9c93f0511041311s423c4ff6x531f211672d2ebcc@mail.gmail.com>
     [not found] ` <20051106105449.GR31134@mellanox.co.il>
     [not found]   ` <4370275D.9060001@cse.ohio-state.edu>
2005-11-08  5:59     ` error compiling kernel Grant Grundler
2005-11-08  6:08       ` Grant Grundler

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).