lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 21 Aug 2015 00:01:08 +0300
From:	Ran Shalit <ranshalit@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: kernel debug - "Reply contains invalid hex digit"

Hello,

I'm trying to debug kernel (vmlinux) with kgdb
I am using gdb version 7.9.1.

These are the logs in eclipse (host) and in target:


In eclipse I see the following:

Python Exception <type 'exceptions.ImportError'> No module named gdb:
/home/ubuntu/dtu/jjj/gdb-7.9.1/gdb/gdb: warning:
Could not load the Python gdb module from `/home/tigran/gdb/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.

GNU gdb (GDB) 7.9.1
Copyright (C) 2015 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 "--host=i686-pc-linux-gnu
--target=powerpc-buildroot-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
0xc03e366c in arch_kgdb_breakpoint () at kernel/debug/debug_core.c:1049
1049 wmb(); /* Sync point before breakpoint */
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Reply contains invalid hex digit 116
Ignoring packet error, continuing...
Function "main" not defined.          <-- lat message

And in target I see the following:
....
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [udbg0] disabled
bootconsole [udbg0] disabled
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17, base_baud = 16500000) is a 16A
kgdb: Registered I/O driver kgdboc.
kgdb: Waiting for connection from remote gdb...
-+$OK#9a+$OK#9a+$QC01#f5+$#00+$c03e3650dd033e20dd0440000000002fe100650100000000d
mtip32xx Version 1.3.1
Error creating debugfs parent
Uniform Multi-Platform E-IDE driver
ide-gd driver 1  <- got stuck here.

Does anyone have any idea ?

Regards,
Ran
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ