Randy.Dunlap Wrote:
On Wed, 19 Nov 2003 13:35:15 +0800 lrd <[EMAIL PROTECTED]> wrote:

| > | 2. 'insmod' fails in Linux2.6.0-test9. It says: Invalid module | format. | The code is modified to fit the chages from 2.4 to 2.6 and | compiled | successfully. Then, what does this message mean? I'm sure the | include | paths and the version settings are right. Furthermore, | modutils work | fine when I compile & install my 2.6.0-test9.
| >
| > In 2.6.x, did you insmod mod.o or mod.ko? You must insmod mod.ko.
| > If it still says invalid module format, check your $PATH: whether
| > it finds modutils (for Linux 2.4.x) or module-init-tools (for 2.6.x)
| > first. And check it as root, not as $USER, since they can be (are)
| > different.
| | I run 'man insmod' and find these words: This version of insmod is for | kernel 2.5.48 and above.
| So, is it ok for me to install my driver in 2.6.0?


It should be.  The kernel log should have some more error messages
saying what was bad about the "Invalid module format".
Did you look there, or can you repeat it and look for more messages?

The followings are the output. Puzzled..........
[EMAIL PROTECTED] Kernel]# dmesg
[EMAIL PROTECTED] Kernel]# insmod ./ZBoard.ko
insmod: error inserting './ZBoard.ko': -1 Invalid module format
[EMAIL PROTECTED] Kernel]# dmesg
No module found in object

LRD




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to