The patch proclaims support for 2.6 kernels so I have been trying to get this to work with same. I've tried 2.6.0-test8 and now, test9. Both with the same error:
Unknown symbol get_gendisk
Which, to me, doesn't make any sense. I've checked, via nm, that the kernel has this symbol. So if the kernel has it why does modprobe/insmod bitch about not finding the symbol?...it's in the KERNEL.
In any event, I'd appreciate any assistance anyone could offer.
Thanks,
Gary
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings,
The patch proclaims support for 2.6 kernels so I have been trying to get this to work with same. I've tried 2.6.0-test8 and now, test9. Both with the same error:
Unknown symbol get_gendisk
Which, to me, doesn't make any sense. I've checked, via nm, that the kernel has this symbol. So if the kernel has it why does modprobe/insmod bitch about not finding the symbol?...it's in the KERNEL.
In any event, I'd appreciate any assistance anyone could offer.
Thanks,
Gary
get_gendisk is in /drivers/block/genhd.c, but is not presently exported for use by modules. Add a line after the function,
EXPORT_SYMBOL(get_gendisk);
and recompile the kernel, seems to install the module just fine after that for me.
a.