I am running Linux Slackware; Kernel 2.0.27; using gcc 2.7.2. I compiled the kernel using -g option in Makefile and ran kgdb. It gives me following messages before coming to (gdb) prompt.
Reading symbols from /usr/src/linux/vmlinux...
0x0 in ?? ( )
loading /lib/modules/2.0.27/misc/kdebug.o...
/tmp/kgdb.104:14:Error in source command file:
/kdebug.o.text: No such file or directory
When I issue a command :
(gdb) call printk(linux_banner)
It gives a flurry of messages such as :
Unable to handle kernel paging request at virtual address c11aa5c4
(some more messages)
EIP : 0010:[<01823244>]
(some more messages)
kdebug : device or resource busy
After this, it comes back to prompt. I tried checking EIP value in vmlinux using "nm vmlinux | sort | less" , but it does not have an entry in it.
Question :- (finally!!) Is the problem with the configuration of
the kernel or is there an illegal pointer somewhere in the source
file ? (by the way, I have not changed any source file)
|