RE: After add CONFIG_MODULES,it works noting?

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

RE: After add CONFIG_MODULES,it works noting?

From: <hidden>
Date: 2001-05-08 02:23:02

Kim write:
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)
	Maybe we can write programe controling simple hardware in user space not in kernel sapce.About KGDB ,does it need more device? Thanks.

	I still don't konw why after uncompressing kernel,it works noting.
But when I remove CONFIG_MODULES from config file,it works well again.When
arch/ppc/mbxboot/head.s give the control to init/main.c ,it will
display LINUX_BANNER information,but it do noting,I think serial port must
works well.My bootloader is pSOS's.

	thanks.

** 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 10:33:37

	Maybe we can write programe controling simple hardware in user space not in kernel sapce.About KGDB ,does it need more device? Thanks.

-> KGDB uses just console for display printk output on target. After selecting KGDB support on kernel configuration, place breakpoint() where you want to begin debugging. Even in module you can use it. (I can't remember whether you should export breakpoint symbol.) Notice that you should place breakpoint after console initialized.
GDB in host will communicate with target with the serial target used for console.

	I still don't konw why after uncompressing kernel,it works noting.
But when I remove CONFIG_MODULES from config file,it works well again.

-> Actually, I don't know why it hangs. But how about checking whether the symbols in no use are exported?

When
arch/ppc/mbxboot/head.s give the control to init/main.c ,it will
display LINUX_BANNER information,but it do noting,I think serial port must
works well.My bootloader is pSOS's.

-> if it hangs just after transmit on serial port, these banner may not displayed. If you want to check kernel executes that command, how about use test LED?



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

** 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