Hello!

I've been tring to use gdb within UML. Is it supported/possible?

when I try I get this:
kernel BUG at mm/memory.c:891!
Kernel panic - not syncing: BUG!

EIP: 0073:[<4017e7ac>] CPU: 0 Not tainted ESP: 007b:bffff03c EFLAGS: 00000293
Not tainted
EAX: ffffffda EBX: 00000001 ECX: 00000137 EDX: ffffe000
ESI: bffff03c EDI: 00000000 EBP: bffff048 DS: 007b ES: 007b
Call Trace:
16cdba40: [<08086f2d>] notifier_call_chain+0x2d/0x50
16cdba60: [<080787b2>] panic+0x72/0x120
16cdba80: [<080a394b>] get_user_pages+0x15b/0x370
16cdbab0: [<08081ad0>] access_process_vm+0x90/0x1b0
16cdbb00: [<0805d29a>] sys_ptrace+0x11a/0x580
16cdbb20: [<080601b8>] handle_page_fault+0x168/0x200
16cdbb60: [<08060380>] segv+0x90/0x280
16cdbba0: [<08062b3a>] execute_syscall_skas+0xaa/0xb0
16cdbbf0: [<0805eb12>] unblock_signals+0x12/0x20
16cdbc10: [<0805f219>] record_syscall_start+0x59/0x70
16cdbc30: [<08062b78>] handle_syscall+0x38/0x70
16cdbc50: [<08061c1a>] handle_trap+0x2a/0x130
16cdbc60: [<08072201>] save_registers+0x41/0x80
16cdbc80: [<08062151>] userspace+0x231/0x240
16cdbcd0: [<08063026>] force_flush_all_skas+0x36/0x40
16cdbcf0: [<080627f3>] fork_handler+0xb3/0xd0


then UML exits.. :)

any ideas?
the guest is 2.6.11-rc3, and I've tried to run vmlinux inside gdb, but gdb says:
Program exited with code 01.
(gdb) bt
No stack.


so.. :)

any clues?

Regards,

--
Zoltan NAGY,
Software Engineer



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to