From: Brian (bwang@mltc.com.tw)
Date: Wed Sep 04 2002 - 02:56:36 EDT
Hello all, I have written and run some simple device driver modules before without any problem. However, a simple hello world module (like the one in the device driver book), which simply prints out some greeting message, gives me trouble... I tried the same code on my native Linux box and it worked fine. I can "insmod" the module correctly but the console does not print out the message. When I did a "lsmod", the console showed the module was "initializing". I could not "rmmod" it, which gave "Unknown error". I put the module in "linux-2.4.x/drivers/char/" and also modified the corresponding Config.in and Makefile to include it in the kernel configuration/build process just like what I did for other drivers. The module stays in the "initializing" stage. I could not find related messages about this problem. I tried it with both uClibc and uC-libc but the results were the same. I am using ARM uClinux 2.4.x in uClinux-dist-20020502. Any idea? Brian This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:48 EDT