Hi Andrew: I'm a bit confused at your comment about modifying the TIPC 1.5 Makefile, since TIPC 1.5 is only designed to work on pre-2.6.16 kernels. As you're using a 2.6.21-type kernel, which has TIPC 1.6 already integrated into its code base, you'd be best off building TIPC using the normal Linux kernel tools (eg. "make menuconfig"). Randy's suggestion about first building the TIPC 1.6 module that comes with 2.6.21.3 is a good one -- if you can't get that to build & run successfully, then you definitely won't be able to get TIPC 1.7.5 to work. Once you've got TIPC 1.6 working, you can then untar the TIPC 1.7.5 source code into your kernel source tree (thereby overwriting the TIPC 1.6 files), reconfigure TIPC, rebuild it, and reinstall it.
Building the TIPC 1.6 module should be a simple matter of configuring your kernel to use TIPC (as a module), building it, and installing it. The tipc-config application that came with TIPC 1.7.5 should be able to communicate with the older TIPC 1.6 kernel module (although the kernel module won't understand a few of the newer options that were added during the development of TIPC 1.7 -- but you don't need these ones to prove things are working). Regards, Al > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Randy MacLeod > Sent: Monday, October 08, 2007 2:21 PM > To: Andrew Stone > Cc: [email protected] > Subject: Re: [tipc-discussion] Compiling 1.7.5 on Zenwalk -- > TIPC module notinstalled > > Hi Andrew, > > On 10/6/07, Andrew Stone <[EMAIL PROTECTED]> wrote: > > I'm trying to build a 1.7.5 tipc module for the Zenwalk > distro (kernel > > 2.6.21.3). Zenwalk is a distro optimized for minimal computing > > environments so it is configured with TIPC support off. I > do not have > > much experience with kernel modules, probably just enough to wander > > down the complete wrong path, as you will see :-). > > > You might try to configure the version of tipc that comes > with your distro and then add the appropriate version of > tipc-config from sourceforge.net. > Do you really need the routing features of the latest version of tipc? > > > > I took the makefile supplied in the tipc 1.5 release and > ported it to > > work with 1.7.5. > hum... > You might > > > After blowing away all tipc* > > files in the kernel header tree (so that the headers > supplied with the > > 1.7.5 release would be used), I got a tipc.ko that loaded > just fine. > > Next I compiled tipc-config (from the tipc-utils-1.1.5 > supplied in the > > 1.7.5 bundle). However, when I ran tipc-config (for example > > "tipc-config -n") I get the error "TIPC module not > installed". However, it is clearly installed > > because when I do a "lsmod | grep tipc", it shows "tipc > 55244 0". Does > > anyone have any ideas of what the problem might be? > > Two suggestions: > 1. "strace tipc-config -n" and look at the result of the > connection set-up over netlink. > 2. type "sudo dmesg" to see if there is a complaint from the > kernel module. > sudo dmesg -c will be helpful. > > If there isn't any output from the tipc kernel module, then > one should be added to the kernel code to indicate that an > invalid message was received and rejected. > > It's Thanksgiving Monday in Canada, so I'm sure Allan will > have other suggestions tomorrow. > > Good luck, > > -- > // Randy > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ _______________________________________________ > tipc-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tipc-discussion > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
