From: Bryan R. <br...@ix...> - 2000-09-22 19:10:29
|
Mitch Davis wrote: > Hi folks, > > I would like to be able to use kernel modules with > the latest 2.4.x kernel. Does anyone know how > to do this? Hi Mitch, I wrote a insmod.c patch for the BusyBox project which enables their insmod to load SH modules. It seems to work OK with my module code, but it complains about some symbols not being availible if I try to load modules built from the kernel sources (af_packet, ramfs, dummy, etc)--usually it's memset, memcpy, etc but sometimes flush_dcache_page is also unresolved. I'm not sure if this is a problem with my patch or with the kernel code, but if you want to give it a shot: http://foobar.caltech.edu/linuxsh4/insmod-sh4.diff That's a patch against the latest insmod.c off of busybox.lineo.com CVS. lsmod and rmmod are not architecture dependent AFAIK. I am also interested in seeing a patch against the latest modutils, especially if it has no trouble loading modules built from the LinuxSH CVS kernel code. Did the module interface change between 2.2 and 2.4, causing modutils-2.1.121 to have trouble loading 2.4 modules? (I based my patch on an SH patch for 2.1.121). Regards, Bryan -- Bryan Rittmeyer mailto:br...@ix... Ixia Communications 26601 W. Agoura Rd. Calabasas, CA 91302 |