[kbuild-devel] help
Dear sir, I am using AODV protocol (nist aodvv 2.2.2-i386 or kernel aodv 2.2.2) on linux Fedora core 7 with kernel 2.6.21-1.3194.fc7. This protocol was compiled already for linux kernel 2.4 Now the same I need to use it on kernel 2.6 (FC7). But I got some difficluties as below.The main is FATAL: Module kernel_aodv not found. In source code of above protocol I have Kernel_aodv.o [r...@localhost routing]# uname -r 2.6.21-1.3194.fc7 [r...@localhost routing]# sh start.sh SIOCDELRT: No such process Setting the MANET to nistdemo... Starting the AODV IPv4... . [r...@localhost routing]# sh start_gateway.sh Loading AODV Gateway version 2.2... Gateway Interface: eth0 AODV Interface: ath0 Enabling IP forwarding Zero MIN_DELAY for routing table changes Flushing iptables and setting forwarding on ath0 interface Enabling Masquerading on eth0 Setting the MANET to nistaodv4... Starting the AODV IPv4... FATAL: Module kernel_aodv not found. [r...@localhost routing]# I humbly request you to help and guide me N N Mhala Research student India-- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
[kbuild-devel] Help
Dear Sir I am using Fedora core 7 . I have already existing some .o file (Kernel_aodv.o) which was used on linux kernel 2.4. Now I am using it on FC7 (kernel 2.6). I got message FATAL:kernel_aodv module not found. So you are requested how to do this. i.e Now I want to convert that .o file into .ko file so that I can load that module in 2.6 kernel. Please help me and guide regards Nitiket Mhala-- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
Re: [kbuild-devel] help text on choices
On Tue, Jul 10, 2007 at 04:30:30PM -0500, Mike Frysinger wrote: > ive always wondered about this but never got around to asking ;) > > is the help text on the top level choice supposed to be usable ? for example: > choice > prompt "you [may] have a choice" > default YES > help > This help text is never viewable :( > config YES > bool "yes" > help > This help text is viewable when "yes" is selected. > config NO > bool "no" > help > This help text is viewable when "no" is selected. > endchoice > > if you highlight the "you [may] have a choice" and query help, you get > no output ... but if you go into the choice selection and query help > on the options, you can view the help text for those individual ones. > generally i like to put an overview in the choice help and explain > each option in depth in the individual choices. It is a menuconfig limitation. xconfig shows the helptext as one would expect it to do. See attached screenshot. Sam <>- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
[kbuild-devel] help text on choices
ive always wondered about this but never got around to asking ;) is the help text on the top level choice supposed to be usable ? for example: choice prompt "you [may] have a choice" default YES help This help text is never viewable :( config YES bool "yes" help This help text is viewable when "yes" is selected. config NO bool "no" help This help text is viewable when "no" is selected. endchoice if you highlight the "you [may] have a choice" and query help, you get no output ... but if you go into the choice selection and query help on the options, you can view the help text for those individual ones. generally i like to put an overview in the choice help and explain each option in depth in the individual choices. -mike - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
Re: [kbuild-devel] Help in Makefile for Kernel module
Hello Sam, Thanks for your help. As per your suggestion I modified the Makefile. However I get main.ko in the maind directory and foobard.ko in foobard directory. These are two independent kernel modules. I tried several other things in the Makefile and I did not make any progress to build one kernel module of the whole tree. Any help on this will be appreciated. Now the tree is as: testd | |-- Makefile | |--maind || ||-- Makefile ||-- main.c | | |--foobard | | |-- Makefile |-- foobar1.c |-- foobar2.c The Makefile in the root directory has: obj-m := maind/ foobard/ The Makefile in the maind directory has: obj-m := main.o The Makefile in the foobard directory has: obj-m:= foobard.o foobard-y := foobar1.o foobar2.o In the testd directory, I run make -C /usr/src/linux-2.6.11.7 M=$(pwd) modules Thanks for any help Regards Suzzane _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
Re: [kbuild-devel] Help in Makefile for Kernel module
Hi Suzzane >However I would like to know if it is possible to have a Makefile > inside the foobard directory that will link foobar1.o and foobar2.o > into one say foobar.o and have the below line as: The lowest granularity the kbuild system works with is a module. So what you can do is to define a module in the foobard/ directory. Then you would stick a dependency on this module in your top-level module in maind/. The Makefile's would look like this: Makefile (stripped all the conditional stuff): obj-m := maind/ foobard/ foobard/Makefile: obj-m := foobard.o foobard-y := foobar1.o foobar2.o maind/Makefile: obj-m := main.o Sam --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
[kbuild-devel] Help in Makefile for Kernel module
Hello, I have a Kernel module source tree similar as below: | |--Makefile | |--maind || || ||-- main.c | | |--foobard || | |-- foobar1.c | |-- foobar2.c The below make file works fine. ## # # Linux 2.6 Kernel module Makefile # MODULE_NAME = test $(MODULE_NAME)-objs = maind/main.o foobard/foobar1.o foobard/foobar2.o ifneq ($(KERNELRELEASE),) obj-m := $(MODULE_NAME).o else KDIR:= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) all: $(MAKE) -C $(KDIR) M=$(PWD) modules endif ## However I would like to know if it is possible to have a Makefile inside the foobard directory that will link foobar1.o and foobar2.o into one say foobar.o and have the below line as: $(MODULE_NAME)-objs = maind/main.o foobard/foobar.o instead of: $(MODULE_NAME)-objs = maind/main.o foobard/foobar1.o foobard/foobar2.o Thanks for any help Regards Suzzane _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel
Re: [kbuild-devel] help patch: clarification in BLK_DEV_IDEDMA_PCI
You can even choose to do this (which works fine here): --- drivers/ide/Config.in.old Tue Nov 26 14:18:43 2002 +++ drivers/ide/Config.in Tue Nov 26 15:14:37 2002 @@ -38,6 +38,16 @@ comment 'IDE chipset support/bugfixes' if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then + if [ "$CONFIG_ALL_PPC" = "y" ]; then + bool 'Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC + dep_bool ' PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC +$CONFIG_BLK_DEV_IDE_PMAC + dep_bool 'Use DMA by default' CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO +$CONFIG_BLK_DEV_IDEDMA_PMAC + if [ "$CONFIG_BLK_DEV_IDE_PMAC" = "y" ]; then + define_bool CONFIG_BLK_DEV_IDEDMA $CONFIG_BLK_DEV_IDEDMA_PMAC + fi + define_bool CONFIG_BLK_DEV_IDEPCI $CONFIG_BLK_DEV_IDEDMA_PMAC + define_bool CONFIG_BLK_DEV_IDEDMA_PCI $CONFIG_BLK_DEV_IDEDMA_PMAC + fi dep_bool ' CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640 $CONFIG_X86 dep_bool 'CMD640 enhanced support' CONFIG_BLK_DEV_CMD640_ENHANCED $CONFIG_BLK_DEV_CMD640 dep_bool ' ISA-PNP EIDE support' CONFIG_BLK_DEV_ISAPNP $CONFIG_ISAPNP @@ -95,17 +105,6 @@ bool 'Winbond SL82c105 support' CONFIG_BLK_DEV_SL82C105 fi fi - fi - if [ "$CONFIG_ALL_PPC" = "y" ]; then -bool 'Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC -dep_bool ' PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC $CONFIG_BLK_DEV_IDE_PMAC -dep_bool 'Use DMA by default' CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO $CONFIG_BLK_DEV_IDEDMA_PMAC -if [ "$CONFIG_BLK_DEV_IDE_PMAC" = "y" ]; then - define_bool CONFIG_BLK_DEV_IDEDMA $CONFIG_BLK_DEV_IDEDMA_PMAC -fi -if [ "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" ]; then - define_bool CONFIG_BLK_DEV_IDEPCI $CONFIG_BLK_DEV_IDEDMA_PMAC -fi fi if [ "$CONFIG_SIBYTE_SWARM" = "y" ]; then bool ' SWARM onboard IDE support' CONFIG_BLK_DEV_IDE_SWARM --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en ___ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel
Re: [kbuild-devel] help patch: clarification in BLK_DEV_IDEDMA_PCI
On Mon, Nov 25, 2002 at 05:02:46PM +0100, Ralf Stephan wrote: > Kernel: 2.4.19 > Summary: wording in BLK_DEV_IDEDMA_PCI help text is misleading. > Symptom: text contains no hint about Pmacs needing this option > whenever BLK_DEV_IDEDMA_PMAC is selected leading to >unresolved symbols at the final link. Been there done that... > Reasons: BLK_DEV_IDEDMA_PMAC code depends on BLK_DEV_IDEDMA_PCI code. > The text as it is talks only about "Pentium systems". > > Proposed solutions: > --- > 1. the patch below, or, [snip a patch mentioning that powerpmac + PCI == enable this] > 2. pull the IDEDMA_PMAC options under BLK_DEV_IDEDMA_PCI so that it is >impossible to select BLK_DEV_IDEDMA_PMAC without BLK_DEV_IDEDMA_PCI. IMHO anyhow, 2 is the most correct. Paul? -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en ___ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel
[kbuild-devel] help patch: clarification in BLK_DEV_IDEDMA_PCI
Kernel: 2.4.19 Summary: wording in BLK_DEV_IDEDMA_PCI help text is misleading. Symptom: text contains no hint about Pmacs needing this option whenever BLK_DEV_IDEDMA_PMAC is selected leading to unresolved symbols at the final link. Been there done that... Reasons: BLK_DEV_IDEDMA_PMAC code depends on BLK_DEV_IDEDMA_PCI code. The text as it is talks only about "Pentium systems". Proposed solutions: --- 1. the patch below, or, 2. pull the IDEDMA_PMAC options under BLK_DEV_IDEDMA_PCI so that it is impossible to select BLK_DEV_IDEDMA_PMAC without BLK_DEV_IDEDMA_PCI. Greets, ralf --- Documentation/Configure.help.orig Mon Nov 25 16:34:11 2002 +++ Documentation/Configure.helpMon Nov 25 16:43:25 2002 @@ -902,6 +902,10 @@ Read the comments at the beginning of and the file for more information. + Say Y here if you have a Powermac with PCI (most iMacs and all + newer machines have it). In this case say also Y to the pmac-specific + option(s) below. + It is safe to say Y to this question. Good-Bad DMA Model-Firmware (WIP) --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel