From owner-freebsd-scsi@FreeBSD.ORG Thu Jul 19 12:22:24 2012 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E0701065673; Thu, 19 Jul 2012 12:22:24 +0000 (UTC) (envelope-from trent@snakebite.org) Received: from exchange.liveoffice.com (exchla3.liveoffice.com [64.70.67.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2DA8FC17; Thu, 19 Jul 2012 12:22:24 +0000 (UTC) Received: from EXHUB03.exchhosting.com (192.168.11.104) by exhub05.exchhosting.com (192.168.11.101) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 19 Jul 2012 05:22:23 -0700 Received: from EXMBX10.exchhosting.com ([fe80::9c37:32f6:a508:a44f]) by EXHUB03.exchhosting.com ([fe80::ac41:fbe5:3959:ad64%12]) with mapi; Thu, 19 Jul 2012 05:22:22 -0700 From: Trent Nelson To: Andriy Gapon Date: Thu, 19 Jul 2012 05:22:21 -0700 Thread-Topic: dev/isp panic (was Re: CAM Target Layer and dev/isp) Thread-Index: Ac1lqSXylfFymILmST+Z5MqFYExv6A== Message-ID: In-Reply-To: <5007A14B.5020703@FreeBSD.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-scsi@FreeBSD.org" Subject: Re: dev/isp panic (was Re: CAM Target Layer and dev/isp) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2012 12:22:24 -0000 On 7/19/12 1:55 AM, "Andriy Gapon" wrote: >on 18/07/2012 17:00 Matthew Jacob said the following: >> -------------- >>=20 >> db> bt >> Tracing pid 12 tid 100062 td 0xfffffe001c00f470 >> acpi_timer_get_timecount() at 0xffffffff803ccfc6 =3D >> acpi_timer_get_timecount+0x16 >> DELAY() at 0xffffffff80ce68c3 =3D DELAY+0x83 >> ns8250_putc() at 0xffffffff807a17ba =3D ns8250_putc+0x9a >> uart_cnputc() at 0xffffffff807a3b85 =3D uart_cnputc+0x75 >> cnputc() at 0xffffffff808e9cbc =3D cnputc+0x4c >> cnputs() at 0xffffffff808ea0f5 =3D cnputs+0x35 >> putbuf() at 0xffffffff8097400c =3D putbuf+0xac >> kvprintf() at 0xffffffff80972643 =3D kvprintf+0x83 >> vprintf() at 0xffffffff80973b15 =3D vprintf+0x85 >> printf() at 0xffffffff80973be7 =3D printf+0x67 >> isp_prt() at 0xffffffff805c15a0 =3D isp_prt+0xd0 >> isp_async() at 0xffffffff805c6736 =3D isp_async+0x356 >> isp_intr() at 0xffffffff805b854c =3D isp_intr+0x13ac >> isp_platform_intr() at 0xffffffff805c1fd9 =3D isp_platform_intr+0x99 >> intr_event_execute_handlers() at 0xffffffff80907214 =3D >> intr_event_execute_handlers+0x104 >> ithread_loop() at 0xffffffff809089a6 =3D ithread_loop+0xa6 >> fork_exit() at 0xffffffff809038ef =3D fork_exit+0x11f >> fork_trampoline() at 0xffffffff80c5139e =3D fork_trampoline+0xe >> --- trap 0, rip =3D 0, rsp =3D 0xffffff9178bd3cf0, rbp =3D 0 --- >> db> x/s panicstr >> 0xffffffff8130fd08 =3D panicstr: >>=20 >>=20 >> ------------- >>=20 >> Hmm. No panic string because it wasn't a panic. isp driver is trying to >> (successfully) print something and this blew up in the ACPI code. If >>there was a >> bad string it would have blown up in kvprintf. At least that's my read >>of this. > >I think that the vague reference to ACPI is unnecessarily too vague, >given the >quite obvious stack trace (hint: DELAY) and both simplicity and utility of >acpi_timer_get_timecount (essentially an I/O read operation). >But there is no indication in the above stack trace that something blew >up at >all (no magic words like "panic", "trap"). Hrm. What else would cause 'db>' to show up on the console? Ctrl-Alt-Esc and hitting a breakpoint are all I can think of at the moment -- and neither of those are applicable here. Trent.