Hello everyone, im trying to launch a remote debug session on a freebsd host.
Both freebsd system are the exact same install (hardware and software, FreeBSD 11.1)
Kernel config is GENERIC with added debug options :
flags for the uart serial console set to 0x80.
Serial connection is working (tried to echo from both machine and can read the results on the other one)
No matter if i break into ddb from boot using
output of
If anyone can shed some lights on this matter, i would really appreciate.
Regards,
fflorens
Both freebsd system are the exact same install (hardware and software, FreeBSD 11.1)
Kernel config is GENERIC with added debug options :
Code:
options DDB
options GDB
options KDB_UNATTENDED
options DEADLKRES
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options WITNESS_SKIPSPIN
options MALLOC_DEBUG_MAXZONES=8
Serial connection is working (tried to echo from both machine and can read the results on the other one)
No matter if i break into ddb from boot using
boot -d
or using sysctl debug.kdb.enter=1
i get this message on the remote debugger after issuing the gdb
command on the debug target.
Code:
(kgdb) target remote /dev/cuau0
Remote debugging using /dev/cuau0
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
(kgdb)
uname -a
:
Code:
FreeBSD bsd-dev 11.1-RELEASE FreeBSD 11.1-RELEASE #2: Sat Dec 2 21:18:33 CET 2017 root@bsd-dev:/usr/obj/usr/src/sys/DEBUG amd64
Regards,
fflorens