After add CONFIG_MODULES,it works noting?

2 messages, 2 authors, 2001-05-08 · open the first message on its own page

After add CONFIG_MODULES,it works noting?

From: <hidden>
Date: 2001-05-08 01:38:01


hello,
        when i don't use CONFIG_MODULES in .config,HHL works well,but when i
add CONFIG_MODULES into kernel,i reboot my borad using new kernel,when it
uncompress kernel image,then do noting.Just like the question asked by somebody
before.
        By the way,i want to write driver,if don't use "ismod",how can i debug
my driver?i don't like compile kernel again and again.
        thanks.

Dross Chou


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: After add CONFIG_MODULES,it works noting?

From: Kim, Kwansuk <hidden>
Date: 2001-05-08 01:54:44

If you don't use driver as module, whenever you modify the driver you should compile the kernel.
(I think it's one of the reasons why module is used)

And if you want you the driver, I suggest using KGDB.
Using KGDB you can even debug dynamically linked modules by add-symbols command (maybe) during exploring (almost) all the kernel source.
There is the method in "Linux Device Drivers" (O'reilly) Chap. 4.

 ==============================================
  Kwansuk Kim
  Engineer, NeoWave Inc.
  Tel   +82-31-380-4927    Fax +82-31-380-4747
  E-mail: kskim@neowave.co.kr
==============================================

-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org [mailto:owner-linuxppc-
embedded@lists.linuxppc.org]On Behalf Of zjuzhou@163.net
Sent: Tuesday, May 08, 2001 10:38 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: After add CONFIG_MODULES,it works noting?




hello,
        when i don't use CONFIG_MODULES in .config,HHL works well,but when i
add CONFIG_MODULES into kernel,i reboot my borad using new kernel,when it
uncompress kernel image,then do noting.Just like the question asked by somebody
before.
        By the way,i want to write driver,if don't use "ismod",how can i debug
my driver?i don't like compile kernel again and again.
        thanks.

Dross Chou


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help