A Patch for kgdb

Jessica Han jessicah at juniper.net
Thu Nov 16 17:02:56 PST 2006


Kris,
You are right, they didn't match, I was using a wrong kernel image when 
I got the error. I wasn't able to get the back trace info.

Jessica

Kris Kennaway wrote:
> 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
>   


More information about the freebsd-arch mailing list