**** BEGIN LOGGING AT Wed Feb 15 10:59:56 2006 Feb 15 18:49:20 hi, can someone tell me how to integrate my own kernel module a debianslug image? i don't want to compile the module natively on the nslu2, but put it inside the nslu2 internal flash. Feb 15 18:50:27 Blubbmon: If you are using the MasterMakefile, you just change the defconfig in popenembedded/packages/linux/ixp4xx-kernel// Feb 15 18:50:43 s/popen/open/ Feb 15 18:50:43 NAiL meant: Blubbmon: If you are using the MasterMakefile, you just change the defconfig in openembedded/packages/linux/ixp4xx-kernel// Feb 15 18:50:58 and recompiled ixp4xx-kernel afterwards Feb 15 18:51:31 Blubbmon which module do you need? Feb 15 18:52:22 i see. this means that i have to put my own module into the original kernel tree and adjust the kernels makefile? Feb 15 18:52:30 EvilDevil: am_usb Feb 15 18:54:01 Blubbmon: You've written a kmod? Feb 15 18:54:15 aha... you said so Feb 15 18:54:55 Then you might want to look at examples of building kernel modules in openembedded Feb 15 18:55:09 like zd1211 ;) Feb 15 18:56:14 NAiL: this is not written by my own. i just want to integrate it :) Feb 15 18:56:36 i need to get that device, but my sisters husband is always at work when i want to grab it Feb 15 18:56:56 ok. There are several kernel module examples in the OE tree Feb 15 18:57:16 pwc is one such example. Feb 15 18:57:29 grep -R "^inherit.*module" openembedded/packages Feb 15 18:57:58 Blubbmon is this module in the kernel tree, but it doesn't get built by make debianslug-image? Feb 15 18:58:34 thanks a lot. i'll have a look :) Feb 15 18:59:19 EvilDevil: currently, it's not in the tree. Feb 15 18:59:51 Blubbmon that's gonna make it more difficult Feb 15 19:00:15 but you didn't want it to be easy, don't you? ;-) Feb 15 19:02:15 EvilDevil: exactly ;) Feb 15 19:50:13 do i have to register new packages before putting them into openembedded/packages/*/ ? Feb 15 19:51:07 i get the following: "ERROR: Nothing provides runtime dependency openembedded/packages/am_usb/*.bb" Feb 15 19:52:19 you might have to add the package name to the package list file. openslug-packages.conf for openslug. Feb 15 19:54:58 VoodooZ: i already did that. nonetheless "make debianslug-image" did not tried to build the new package until i added it to slugos.conf -> SLUGOS_EXTRA_RDEPENDS += "${PKGDIR}/packages/am_usb/*.bb" Feb 15 19:59:31 true. Feb 15 20:06:23 i changed SLUGOS_EXTRA_RDEPENDS to "am_usb" and added PROVIDES="am_usb" to the appropriate am_usb-*.bb file ... still the same error msg Feb 15 20:22:45 And you added that package to slugos-packages.conf? Feb 15 20:22:53 I'm not sure as I don't use debianslug. Feb 15 20:24:21 yes, already added Feb 15 20:24:46 no idea then. Feb 15 20:25:15 Blubbmon did you try to build the package manually? Feb 15 20:25:20 cd debianslug Feb 15 20:25:28 then . ./setup-env Feb 15 20:25:46 bb -b openembedded/am_usb/am_usb.bb Feb 15 20:26:21 oops... openembedded/packages/am_usb Feb 15 20:26:47 back, system hung just before I had to go Feb 15 20:28:01 EvilDevil: hmm .. the bb file needs to be fixed (: Feb 15 20:36:09 what does bb say? Feb 15 20:40:23 i get a compile error. a struct in the kernels usb definition may be changed Feb 15 20:41:25 that's bad. looks like your module needs to be patched Feb 15 20:43:17 yeah, 2.6.15.1 had a "mode" parameter in "usb_class_driver", but 2.6.15.2 does not. this means that they removed devfs completely ;-) Feb 15 20:43:53 finally ;) Feb 15 20:48:41 finally i just decided to build the module natively afterwards via mounting the kernel source over nfs :o) Feb 15 20:48:51 thanks for all your help! Feb 15 20:53:21 np Feb 16 00:35:08 03mmic * 10kernel/2.6.16/10-nslu2-fix-flash.patch: add an appropriate fix Feb 16 03:06:56 jbot, test Feb 16 03:06:58 Test Failed! Feb 16 09:28:53 03oleon * 10unslung/ (3 files in 2 dirs): minihttpd: wrapper startup bugfixes **** ENDING LOGGING AT Thu Feb 16 10:59:56 2006