A Patch for kgdb

Kris Kennaway kris at obsecurity.org
Thu Nov 16 16:50:39 PST 2006


On Thu, Nov 16, 2006 at 04:47:06PM -0800, Jessica Han wrote:
> I got an infinite loop while trying to debug a kernel core on FreeBSD 6.1.
> # uname -sr
> FreeBSD 6.1-RELEASE
> #kgdb kernel vmcore.0
> kgdb: kvm_read: invalid address (0x50012)
> kgdb: kvm_read: invalid address (0x7)
> kgdb: kvm_read: invalid address (0xf5c)
> kgdb: kvm_read: invalid address (0xf5c)
> kgdb: kvm_read: invalid address (0xf5c)
> 
> The attached patch fixed it, can somebody review it for me and commit it 
> if it is okay? Thanks,

This means that the kernel you're running against didn't match the
core - were you actually able to get a valid trace out of it?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20061117/c9d03e57/attachment.pgp


More information about the freebsd-arch mailing list