From: Ralph M. <ral...@gm...> - 2006-07-08 05:40:17
|
If you're talking about the module referred to in the first post: > > Neil has an updated driver iplc-2.6.15 > > http://home.comcast.net/~ncherry/common/cm15d/cm15d.html this may or may not help... I have a dual-cpu Compaq Proliant 1850R here running Gentoo. I just downloaded the above code and compiled it. The kernel seems to be happy to load the modules: from dmesg: usbcore: registered new driver iplc /root/iplc/driver/linux-2.6/iplc.c: Smarthome Insteon USB PowerLinc V2 Driver v0.01 usbcore: registered new driver cm15a /root/iplc/driver/linux-2.6/cm15a.d/cm15a.c: X10 CM15A USB Driver v0.02 from modinfo on both modules: vermagic: 2.6.16-gentoo-r11 SMP preempt PENTIUMIII gcc-3.4 The only special thing I had to do to get it to compile was to enable USB in the kernel and reboot. This box is so old it doesn't *have* an actual USB device... I've also just built and booted linux-2.6.17, and hey, the results are not quite the same... cm15a loads just fine, but iplc get compile errors: /root/iplc/driver/linux-2.6/iplc.c:192: error: syntax error before string constant /root/iplc/driver/linux-2.6/iplc.c:192: warning: type defaults to `int' in declaration of `MODULE_PARM' /root/iplc/driver/linux-2.6/iplc.c:192: warning: function declaration isn't a prototype /root/iplc/driver/linux-2.6/iplc.c:192: warning: data definition has no type or storage class Same for lines 192, 196, 200, 204, 208, 212 & 216. I'm not a kernel programmer, but I did compare iplc.c with cm15a.c and then commented out all the MODULE_PARM(xxxxx, "i"); lines that the compiler was complaining about. It then compiled and installed just fine. Anyway, FWIW, both iplc & cm15a do actually compile and load in an SMP system with linux-2.6.16 & linux-2.6.17... That may not help much with your specific problem, but at least you know that it can work in a real SMP system. Ralph Mitchell On 7/7/06, Martin Gingras <mar...@gm...> wrote: > On that subject, anyone have a clue why the kernel refuses to load the module? > |