OK, there was no .config file, but I DID find the configuration used to
build the kernel at
~\linux24\arch\arm\def-configs\ts7260
in the source tree. In the file I see that
*# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
...
*So, it looks like the option that I thought was necessary to support
bridge-utils in the kernel, may not even be what I was expecting. It
looks like it is related to Appletalk devices. I'll have to Google a bit
to see what the proper kernel configuration is to support bridging.
However, I also noticed that
*CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_FILTER=y
*
which answers another post that I had regarding support for iptables in
this kernel. I believe the NETFILTER configuration is required to
support iptables.
Thank you for your help!
Don
On 12/29/2010 2:57 PM, Jim Jackson wrote:
>
>
>
> This is not where to look for whether or not bridging is built into the
> kernel. There is a configuration system of building a config file
> in the top level of the source tree. This file is usually there
> as
>
> .config
>
> hence you do not normally see it unless you use the -a option to ls.
> However TS provide starting config files that initialise this .config
> with default values - go and read the TS kernel building documentation.
> Apart from this bit (and the fact its crosscompile), the kernel build
> operation is pretty much as anyother linux build would be on any other
> platform.
>
> On Wed, 29 Dec 2010, Rekcut_Nod wrote:
>
> > 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 <ts-7000%40yahoogroups.com>,
> 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/
|