--- Quote Start ---
originally posted by repa@Jun 29 2006, 02:17 AM
i follow http://nioswiki.jot.com/wikihome/operating...duleprogarmming (http://nioswiki.jot.com/wikihome/operatingsystems/moduleprogarmming) but when i type in "modprobe hello" what i get is "modprobe could not parse modules.dep".
/lib/modules/modules.dep is empty, which could explain why it couldn't be parsed...
i followed the instructions all the way. any ideas where i could have gone wrong?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16511)
--- quote end ---
--- Quote End ---
modules.dep is the module dependency file. It only exists if you created module dependencies. If you build your module outside of the kernel tree your module won't be included.
The good news: you can load your module with the insmod command.
In the directory where your module is type: insmod hello.ko and you'll be flying!