Date: Tue, 30 Apr 2013 17:19:08 -0400 From: Glen Barber <gjb@FreeBSD.org> To: John Baldwin <jhb@freebsd.org> Cc: Ian FREISLICH <ianf@clue.co.za>, freebsd-current@freebsd.org Subject: Re: panic: in_pcblookup_local (?) Message-ID: <20130430211908.GB1621@glenbarber.us> In-Reply-To: <201304301653.13845.jhb@freebsd.org> References: <E1UW0K5-000P7H-36@clue.co.za> <201304291224.06328.jhb@freebsd.org> <20130430003552.GC1588@glenbarber.us> <201304301653.13845.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--NMuMz9nt05w80d4+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2013 at 04:53:13PM -0400, John Baldwin wrote: > Try 'p phd' to start. INP_PCBPORTHASH is a macro, so you will > have to do it by hand: >=20 > 'p pcbinfo->ipi_porthashbase[lport & pcbinfo->ipi_porthashmask]' >=20 > (That should be what 'porthash' is.) >=20 Thanks for the pointers. (Hah!) Hopefully this is the info you are looking for: Script started on Tue Apr 30 17:16:07 2013 root@orion:/usr/obj/usr/src/sys/ORION # kgdb ./kernel.debug /var/crash/vmco= re.4 [...] #0 doadump (textdump=3D<value optimized out>) at pcpu.h:231 231 __asm("movq %%gs:%1,%0" : "=3Dr" (td) (kgdb) frame 6 #6 0xffffffff80736cec in in_pcblookup_local (pcbinfo=3D0xffffffff80dc9180,= laddr=3D {s_addr =3D 50374848}, lport=3D339, lookupflags=3D1, cred=3D0xfffffe0= 16cdad100) at /usr/src/sys/netinet/in_pcb.c:1438 1438 LIST_FOREACH(phd, porthash, phd_hash) { (kgdb) p phd $1 =3D (struct inpcbport *) 0x9e17b100fffffe00 (kgdb) p pcbinfo->ipi_porthashbase[lport & pcbinfo->ipi_porthashmask] $2 =3D {lh_first =3D 0x0} (kgdb) p lport $3 =3D 339 (kgdb) p pcbinfo->ipi_porthashmask $4 =3D 127 (kgdb) root@orion:/usr/obj/usr/src/sys/ORION # ^D Script done on Tue Apr 30 17:16:55 2013 Glen --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJRgDVMAAoJEFJPDDeguUajemYIAKXL4h8+vkAAf9hLxI5/PoHA r7/+Eao+RPvUdmHBxmgdACC5iTeJf17SBTpwwhQWnhYGicsjLHFp+IjsosFg4+Uh ZJdb/GkoD/UoGbNBNL5k5gX2EBQp9770lGpr4TGuaj5GRuRYWMYwjtwKAPGh2fpY YiAdPttAQ1nhW+yWhuw+4ULOkFElBaRH54vJQGiimdK7hf3vKddB8HH13dOF3bgr n+a3WaUN0kG+2vWvSzCXM+MsmlnPDAWDp2S2TvbYsDlNcsdvTYS6AUDZlzDQDKpe eMsCeQaA3V1tbXvlsxfGDPdwmYuu75AxuJ9k8itnabU/ILstmPPFR+fd9KQE5Zs= =u3Tn -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130430211908.GB1621>