ts-7000
[Top] [All Lists]

[ts-7000] Re: bridge support for TS-7260?

To:
Subject: [ts-7000] Re: bridge support for TS-7260?
From: "Rekcut_Nod" <>
Date: Wed, 29 Dec 2010 20:26:58 -0000
I looked at the kernel source for this image (pointed to by Technologic Systems 
tech support).  In

linux24\net\bridge

there is the following Makefile:

#
# Makefile for the IEEE 802.1d ethernet bridging layer.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET        := bridge.o
obj-y           := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
                        br_ioctl.o br_notify.o br_stp.o br_stp_bpdu.o \
                        br_stp_if.o br_stp_timer.o
obj-m           := $(O_TARGET)

include $(TOPDIR)/Rules.make

----------

If I interpret this correctly, when the kernel is compiled with the -M option 
it will produce bridge.o, which will contain all of the object files that would 
be built into the kernel with the -Y option (namely, br.o, br_device.o, etc.).  
I notice that no br_ioctl_hook.o or br_handle_frame_hook.o are included in this 
list.  Does this mean that some necessary dependencies were left out of 
Technologic's build?  The comment in the Makefile also mentions that 
dependencies are automagically taken care of by 'make dep', so maybe more br_* 
files were included in bridge.o than are listed in the Makefile.

Don

--- In  Jim Jackson <> wrote:
>
> 
> 
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o exists, but I don't know
> > > if that is sufficient. When I attempt to load the module I get errors:
> > > 
> > > :net# insmod bridge.o
> > > bridge.o: bridge.o: unresolved symbol br_ioctl_hook
> > > bridge.o: bridge.o: unresolved symbol br_handle_frame_hook
> > 
> > A kernel module would be named .ko not .o 
> 
> This is a 2.4 kernel. It's modules are .o files. 
> 
> However just insmod bridge should work if the modules are in the correct 
> place. 
> 
> In my ts7260 /lib/modules/2.4.26-ts11/ directory, I do not see any bridge.o 
> file.
> 
> > The thing you are trying to insert is probably not the built module. It 
> > could be compiled into the kernel or you have the wrong file.
> > 
> > Try lsmod to see if you have the module loaded. And see if you can find the 
> > config used to build the kernel, if the bridge support is built in it will 
> > be set to CONFIG_BRIDGE=Y or something, as a module it will be =M
> > 
> > HTH,
> > 
> > Wouter
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU