I want to use virtualbox to debug file system, but always failed. both dev machine and test machine are VMs connected with Host Piped COM1
detailed information attached. wist...@ubuntu910:~$ cd linux wist...@ubuntu910:~/linux$ ls arch COPYING Documentation include kernel mm net scripts tools vmlinux block CREDITS drivers init lib Module.markers README security ubuntu vmlinux.o config-2.6.31-16-generic crypto firmware ipc MAINTAINERS modules.order REPORTING-BUGS sound usr conf.vars debian fs Kbuild Makefile Module.symvers samples System.map virt wist...@ubuntu910:~/linux$ su Password: r...@ubuntu910:/home/wistoch/linux# gdb ./vmlinux GNU gdb (GDB) 7.0-ubuntu Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/src/linux-build/linux-source-2.6.31/vmlinux...done. (gdb) set debug remote 1 (gdb) set debug serial 1 (gdb) target remote /dev/ttyS0 Remote debugging using /dev/ttyS0 Sending packet: $qSupported#37...[ r +]Ack [$][#][0][0]Packet received: Packet qSupported (supported-packets) is NOT supported Sending packet: $Hg0#df...[+]Ack [$][O][K][#][9][a]Packet received: OK Sending packet: $?#3f...[+]Ack [$][S][0][5][#][b][8]Packet received: S05 Sending packet: $Hc-1#09...[+]Ack [$][O][K][#][9][a]Packet received: OK Sending packet: $qC#b4...[+]Ack [$][Q][C][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][1][#][9][5]Packet received: QC0000000000000001 Sending packet: $qAttached#8f...[+]Ack [$][#][0][0]Packet received: Packet qAttached (query-attached) is NOT supported Sending packet: $qOffsets#4b...[+]Ack [$][#][0][0]Packet received: Sending packet: $g#67...[+]Ack [$][4][5][0][0][0][0][0][0][0][9][c][5][f][f][f][f][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][7][0][3][f][8][2][d][7][8][0][3][f][8][2][d][7][b][4][b][8][7][a][c][0][0][0][0][0][0][0][0][0][c][9][a][c][1][8][c][0][8][2][0][2][0][0][0][0][6][0][0][0][0][0][0][0][6][8][0][0][0][0][0][0][7][b][0][0][7][a][c][0][7][b][0][0][0][0][0][0][f][f][f][f][0][0][0][0][f][f][f][f][0][0][0][0][#][9][1]Packet received: 4500000009c5ffff0000000000000000703f82d7803f82d7b4b87ac000000000c9ac18c08202000060000000680000007b007ac07b000000ffff0000ffff0000 kgdb_breakpoint (new_kgdb_io_ops=0xc07ab8b4) at kernel/kgdb.c:1721 1721 wmb(); /* Sync point after breakpoint */ Sending packet: $qSymbol::#5b...[+]Ack [$][#][0][0]Packet received: Packet qSymbol (symbol-lookup) is NOT supported (gdb) l 1716 void kgdb_breakpoint(void) 1717 { 1718 atomic_set(&kgdb_setting_breakpoint, 1); 1719 wmb(); /* Sync point before breakpoint */ 1720 arch_kgdb_breakpoint(); 1721 wmb(); /* Sync point after breakpoint */ 1722 atomic_set(&kgdb_setting_breakpoint, 0); 1723 } 1724 EXPORT_SYMBOL_GPL(kgdb_breakpoint); 1725 (gdb) p kgdb_setting_breakpoint Sending packet: $mc08a6684,4#d1...[+]Ack [$][0][1][0][0][0][0][0][0][#][8][1]Packet received: 01000000 $1 = {counter = 1} (gdb) n Sending packet: $vCont?#49...[+]Ack [$][#][0][0]Packet received: Packet vCont (verbose-resume) is NOT supported Sending packet: $Hc0#db...[+]Ack [$][O][K][#][9][a]Packet received: OK Sending packet: $s#73...[+]Ack [$][T][0][5][t][h][r][e][a][d][:][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][1][;][#][a][7]Packet received: T05thread:0000000000000001; Sending packet: $g#67...[+]Ack [$][4][5][0][0][0][0][0][0][0][9][c][5][f][f][f][f][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][7][0][3][f][8][2][d][7][8][0][3][f][8][2][d][7][b][4][b][8][7][a][c][0][0][0][0][0][0][0][0][0][c][c][a][c][1][8][c][0][8][2][0][3][0][0][0][0][6][0][0][0][0][0][0][0][6][8][0][0][0][0][0][0][7][b][0][0][7][a][c][0][7][b][0][0][0][0][0][0][f][f][f][f][0][0][0][0][f][f][f][f][0][0][0][0][#][b][c]Packet received: 4500000009c5ffff0000000000000000703f82d7803f82d7b4b87ac000000000ccac18c08203000060000000680000007b007ac07b000000ffff0000ffff0000 Sending packet: $s#73...[+]Ack [$][T][0][5][t][h][r][e][a][d][:][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][1][;][#][a][7]Packet received: T05thread:0000000000000001; Sending packet: $g#67...[0]putpkt: Junk: 0[0]0[#]#[b]b[e]e[<Timeout: 2 seconds>] Sending packet: $g#67...[-]Nak Sending packet: $g#67...[0]putpkt: Junk: 0[0]0[#]#[b]b[e]e[<Timeout: 2 seconds>] Sending packet: $g#67...[-]Nak [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. Ignoring packet error, continuing... Bad register packet; fetching a new packet [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. Ignoring packet error, continuing... Bad register packet; fetching a new packet [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. Ignoring packet error, continuing... Bad register packet; fetching a new packet [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. [<Timeout: 2 seconds>]Timed out. Ignoring packet error, continuing... Bad register packet; fetching a new packet [<Timeout: 2 seconds>]Timed out.
_______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
