Problem with kgdb debugger

Problem with kgdb debugger

Post by Saurabh Des » Sun, 28 Sep 1997 04:00:00



I compiled the kernel using -g option in /usr/src/linux/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.0... /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: 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).

I would appreciate any help in this matter.
thanks.
saurabh.


 
 
 

1. problem executing 'kgdb' debugger

        Hi pal!  Thank you for your time.
- I compiled the kernel using -g option.
- Built the kdebug module by running
        - make config
        - make all
- Installed kdebug module by
        - make install

When I execute kgdb, it gives me following error messages.

        Reading symbols from /usr/src/linux/vmlinux...
        0x0 in ?? ()
        loading ./kdebug.o...
        warning: No loadable sections found in added symbol-file
                                                /kdebug.o.bss
        warning: Lowest section in /kdebug.o.data is .data at 0x0
        /tmp/kgdb.402:17: Error in sourced command file:
        /kdebug.o.rodata: No such file or directory

I am using Red Hat Linux 4.2; kernel 2.0.30. The kgdb version is 1.8

I would appreciate any assistance on this matter.
thank you

saurabh desai

2. sony cd076e-q

3. kgdb (kernel debugger)

4. Locked Mailbox

5. kgdb (kernel source level debugger) for 2.4 kernels

6. Cron audit problem

7. kernel debugger KGDB

8. ipnatctl (Kernel opts)

9. stty and kgdb problem

10. kgdb stty problem

11. Which debugger is window debugger?

12. kgdb woes, doesn't work, NO /dev/kdebug device

13. kgdb - .kgdbmuxrc and help