Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2013 16:45:53 -0700
From:      Sean Bruno <sean_bruno@yahoo.com>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        "FreeBSD-scsi@freebsd.org" <FreeBSD-scsi@freebsd.org>
Subject:   Re: ahd(4) reliable panic
Message-ID:  <1370043953.1300.0.camel@localhost>
In-Reply-To: <838492F2-0197-4279-8397-ED4C0F320941@scsiguy.com>
References:  <1370013140.1347.1.camel@localhost> <D0079385-4C40-40E9-A53E-4A26AFA536F0@scsiguy.com> <1370026659.2163.1.camel@localhost> <838492F2-0197-4279-8397-ED4C0F320941@scsiguy.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--=-tTAm7UbKv4tZ19gAYOwz
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

On Fri, 2013-05-31 at 13:52 -0600, Justin T. Gibbs wrote:=20
> On May 31, 2013, at 12:57 PM, Sean Bruno <sean_bruno@yahoo.com> wrote:
>=20
> > On Fri, 2013-05-31 at 09:23 -0600, Justin T. Gibbs wrote:
> >> On May 31, 2013, at 9:12 AM, Sean Bruno <sean_bruno@yahoo.com> wrote:
> >>=20
> >>> ports building seems to be able to panic ahd(4) pretty reliably.
> >>>=20
> >>>=20
> >>>> db> whe
> >>>> Tracing pid 12 tid 100040 td 0xfffffe0015b53000
> >>>> ahd_freeze_devq() at ahd_freeze_devq+0x16/frame 0xffffff800039da60
> >>>> ahd_handle_seqint() at ahd_handle_seqint+0xf11/frame 0xffffff800039d=
b00
> >>>> ahd_platform_intr() at ahd_platform_intr+0x242/frame 0xffffff800039d=
b20
> >>>> intr_event_execute_handlers() at intr_event_execute_handlers+0xfd/fr=
ame 0xffffff800039db50
> >>>> ithread_loop() at ithread_loop+0x9b/frame 0xffffff800039dba0
> >>>> fork_exit() at fork_exit+0x11f/frame 0xffffff800039dbf0
> >>>> fork_trampoline() at fork_trampoline+0xe/frame 0xffffff800039dbf0
> >>>> --- trap 0, rip =3D 0, rsp =3D 0xffffff800039dcb0, rbp =3D 0 ---
> >>>=20
> >>> This looks like a symptom that was reported in a lot of PR reports. =
=20
> >>>=20
> >>> I'm assuming that I need more information?
> >>>=20
> >>> Sean
> >>=20
> >> The panic string would be useful.  So might the msgbuf output.
> >>=20
> >> --
> >> Justin
> >=20
> >=20
> > Full dmesg from boot, then everything that melts down until the panic. =
=20
> >=20
> > http://people.freebsd.org/~sbruno/package12.log
> >=20
> > sean
>=20
> Can you attempt to reproduce this with AHD_REG_PRETTY_PRINT
> enabled in your kernel?
>=20
Will do. =20


> Also, do you still have the panic string?
>=20
> --
> Justin


Huh, I didn't do a good job of showing the panic.  Sorry about that.
Fatal trap 12: page fault while in kernel mode=20
cpuid =3D 2; apic id =3D 02
fault virtual address	=3D 0x0
fault code		=3D supervisor read data, page not present
instruction pointer	=3D 0x20:0xffffffff803f5ec6
stack pointer	        =3D 0x28:0xffffff800039da40
frame pointer	        =3D 0x28:0xffffff800039da60
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 12 (irq30: ahd0)
[ thread pid 12 tid 100040 ]
Stopped at      ahd_freeze_devq+0x16:   movq    (%rsi),%rax
db> [-- sbruno@conserver.nyi.freebsd.org attached -- Fri May 31 15:09:31 20=
13]

db>=20
db>=20
db> last
No such command
db> whe
Tracing pid 12 tid 100040 td 0xfffffe0015b53000
ahd_freeze_devq() at ahd_freeze_devq+0x16/frame 0xffffff800039da60
ahd_handle_seqint() at ahd_handle_seqint+0xf11/frame 0xffffff800039db00
ahd_platform_intr() at ahd_platform_intr+0x242/frame 0xffffff800039db20
intr_event_execute_handlers() at intr_event_execute_handlers+0xfd/frame 0xf=
fffff800039db50
ithread_loop() at ithread_loop+0x9b/frame 0xffffff800039dba0
fork_exit() at fork_exit+0x11f/frame 0xffffff800039dbf0
fork_trampoline() at fork_trampoline+0xe/frame 0xffffff800039dbf0
--- trap 0, rip =3D 0, rsp =3D 0xffffff800039dcb0, rbp =3D 0 ---
db> reset
cpu_reset: Restarting BSP
cpu_reset_proxy: Stopped CPU 2




--=-tTAm7UbKv4tZ19gAYOwz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iQEcBAABAgAGBQJRqTYnAAoJEBkJRdwI6BaHJwsH/iXG/+TPNLD4icSXShlUaRMe
7uPEG8BSWwh2yNX+dCC0gnDrZC4e3ZgDfwiSFRZktrHaLd/DpvS2POfswwtrfxQ2
vkrt9Ur7tNgEotz19qJZ7TrbjNjIasVvE7YjrKMxpEAfOETkPfw7AOlwXQ5qUwRy
PM0vLa5QPbOmCMMp0RjsC9pvUFLBLxs9K3lNjtuK/2IcbReVH6i0syB4mQpOD0dN
k8zau/k4bRRM2X6HwWcs2n+vHBjsBoQqFBMMiQR9Zo3GH2njI58quk0XqSyFUrGc
+yjbQe+d8qYeAE7fIWkSuJ5oUo5mLXLPS23VDBn7SfGvDynfE9VKX6Tt7kdIaMU=
=svXn
-----END PGP SIGNATURE-----

--=-tTAm7UbKv4tZ19gAYOwz--




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1370043953.1300.0.camel>