I had a customer report an error starting the ppmc driver yesterday, and 
suggested he check the loadrt
line for the correct parameter specifying the parallel port address.  
That was his problem, he used
cfg="0x1234" instead of what this driver requires, which is 
port_addr="0x1234"
The message he got was :

Debug file information:
insmod: error inserting 
'/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_ppmc.ko': -1 Unknown 
symbol in module
ppmc_load.hal:15: exit value: 1

I know this message is produced by insmod, and so we can't change that.  
But, "unknown symbol" is a pretty vague
description of what is actually wrong.  I wonder if loadrt could check 
the command line parameters against the
ones the kernel module is expecting, or if we can come up with a way the 
kernel module could report a message
when it gets a parameter it doesn't recognize?

Thanks,

Jon

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to