Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2015 10:07:56 -0700
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: How to get anything useful out of kgdb?
Message-ID:  <555627EC.2020007@ignoranthack.me>
In-Reply-To: <CAFMmRNydJdVm%2BDpptQY_LnRvMfUMmoLkLXZFd1zP3OxaMFHgxw@mail.gmail.com>
References:  <554E41EE.2010202@ignoranthack.me>	<2063489.pgabuk9nPJ@ralph.baldwin.cx>	<55561803.9050102@ignoranthack.me>	<19618854.y3EeXVtCGX@ralph.baldwin.cx>	<55561D9A.30309@ignoranthack.me> <CAFMmRNydJdVm%2BDpptQY_LnRvMfUMmoLkLXZFd1zP3OxaMFHgxw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 05/15/15 09:45, Ryan Stone wrote:
> On Fri, May 15, 2015 at 12:23 PM, Sean Bruno
> <sbruno@ignoranthack.me> wrote:
> 
>> 54 Thread 100058 (PID=12: intr/irq262: em1:rx0)  cpustop_handler
>> () at /home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:987 53 Thread
>> 100060 (PID=12: intr/irq263: em1:rx1)  cpustop_handler () at
>> /home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:987 52 Thread 100062
>> (PID=12: intr/irq264: em1:tx0)  cpustop_handler () at
>> /home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:987 51 Thread 100064
>> (PID=12: intr/irq265: em1:tx1)  cpustop_handler () at
>> /home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:987 50 Thread 100066
>> (PID=12: intr/irq266: em1:link)  cpustop_handler () at
>> /home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:987
>> 
> 
> These ones were all running at the time.
> 


Hrm, when I look at them directly in the crashdump, I don't see
anything useful.

(kgdb) tid 100058
[Switching to thread 54 (Thread 100058)]#0  cpustop_handler () at
/home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:987
987		CPU_SET_ATOMIC(cpu, &stopped_cpus);
Current language:  auto; currently minimal
(kgdb) whe
#0  cpustop_handler () at /home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:98
7
#1  0xffffffff80f76f7a in ipi_nmi_handler () at
/home/sbruno/bsd/em_mq/sys/x86/x86/mp_x86.c:969
#2  0xffffffff80e3657a in trap (frame=0xffffffff817eb910) at
/home/sbruno/bsd/em_mq/sys/amd64/amd64/trap.c:188
#3  0xffffffff80e1b273 in nmi_calltrap () at
/home/sbruno/bsd/em_mq/sys/amd64/amd64/exception.S:509
#4  0x0000000800841841 in ?? ()
Previous frame inner to this frame (corrupt stack?)


Is "what I want to do" not really possible?

sean
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJVVifqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kXt8IANIkerdy0eZgjxfCbC+3Re6g
7HxS18p7d+sHzMO9YBtigYqs4apNnPjglCUWlBDQBgpjeyFPvVA20siIGKXSwHqI
ogjY/93n3hr9ZAa+nMxNMBDloghUJJrItV42FWHs1x/sFYiCxojp53zmZDe1lmfU
2ZKotyFdo10Kq+1LNN8TLzK1KjBT581R94mTNlozTAJM+hFiBuSB7xv3tvITOUIa
QQ8gXmLB70vfWpfHnUsW5xlBhjJaR9oBFM4HvhbWVDtVFXpQQvIUgAYboSRjQZZd
90N8Qo/GygK7XNfiiwykLqhLUlr008xgcEQa7ZIryKP8D2dwwAU9XAqGzbkuGjA=
=fGWH
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?555627EC.2020007>