mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Module link
@ 2006-07-07  3:55 yh
  2006-07-07  4:08 ` Randy.Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: yh @ 2006-07-07  3:55 UTC (permalink / raw)
  To: linux-kernel

Thanks for all helps. The module can now be loaded. There are some other
issues as descripbled as follows:

1. The module I used links to i2c drivers. It works fine in kernel 2.4
after "insmod NewModule.o", but now it has a NULL point in kernel 2.6 when
to init it. It seems that the i2c driver is not linked in the module. How
can I link an i2c to my driver module?

2. In kernel 2.4, when I call "insmod NewModule.o", the insmod can find
the path of the NewModule.o and to init the module. In 2.6 kernel, the
"insmod NewModule.ko" does not know the path, so I have to specify the
path explicitly as "insmod
/lib/modules/2.6.8.1/kernel/drivers/char/NewModule.ko" to make it work. I
guess the above problem in question 1 may also related to this issue. What
did I wrong here?

Thank you.

Jim




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-07 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07  3:55 Module link yh
2006-07-07  4:08 ` Randy.Dunlap
2006-07-07  5:33   ` yh
2006-07-07  5:49     ` Arjan van de Ven
2006-07-07  5:50     ` Dave C Boutcher
2006-07-07 23:34       ` YH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®