Deekshit Mantampady wrote:
See if this is useful: http://members.home.nl/rene.herman/foobar.tar.gz
I am getting the same error with this one. To be specific the following error when I run 'bar' executable in the example.
"open: No such device or address"
Even though the device exists in the directory....
Yes, without the device node present, you would've gotten:
open: No such file or directory
The "No such device or address" means nobody's listening on 240,0 kernelwise. That is, the foo module is not loaded:
su -c "insmod ./foo.ko"
Rene.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/