From owner-freebsd-scsi@FreeBSD.ORG Fri May 18 18:25:02 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F18C106566C; Fri, 18 May 2012 18:25:02 +0000 (UTC) (envelope-from Kashyap.Desai@lsi.com) Received: from na3sys009aog116.obsmtp.com (na3sys009aog116.obsmtp.com [74.125.149.240]) by mx1.freebsd.org (Postfix) with ESMTP id 76BEF8FC18; Fri, 18 May 2012 18:25:00 +0000 (UTC) Received: from paledge01.lsi.com ([192.19.193.42]) (using TLSv1) by na3sys009aob116.postini.com ([74.125.148.12]) with SMTP ID DSNKT7aT9hPyO8nzRN5GCnXAH2XRRrUL5fq1@postini.com; Fri, 18 May 2012 11:25:00 PDT Received: from PALHUB01.lsi.com (128.94.213.114) by PALEDGE01.lsi.com (192.19.193.42) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 18 May 2012 14:27:04 -0400 Received: from inbexch01.lsi.com (135.36.98.37) by PALHUB01.lsi.com (128.94.213.114) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 18 May 2012 14:21:23 -0400 Received: from inbmail01.lsi.com ([135.36.98.64]) by inbexch01.lsi.com ([135.36.98.37]) with mapi; Fri, 18 May 2012 23:51:20 +0530 From: "Desai, Kashyap" To: "freebsd-scsi@freebsd.org" Date: Fri, 18 May 2012 23:51:16 +0530 Thread-Topic: scsi_scan_bus: xpt_create_path failed with status 0x34 Thread-Index: Ac01IwOg7KPUmbgfRKKyHgHdhOqVyg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "gibbs@freebsd.org" , "Kenneth D. Merry" , "McConnell, Stephen" Subject: scsi_scan_bus: xpt_create_path failed with status 0x34 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: Fri, 18 May 2012 18:25:02 -0000 Hi, LSI is doing some testing on FreeBSD-8.3 Driver. We are running te= st case where IOs are running on Drives and HBA reset in loop of 30/60 seco= nd delay. Things are working fine for sometime 3-4 hours. Almost around ~500 iteratio= n of HBA reset, there is no issue. After long run we observer below prints .. --- mpslsi0: proberegister: Unable to probe new device. Unable to allocate soft= c Hard Reset with Port Enable completed in 16 seconds. (xpt0:mpslsi0:0:1:0): scsi_scan_lun: cam_alloc_periph returned an error, ca= n't continue probe scsi_scan_bus: xpt_create_path failed with status 0x34, bus scan halted mpslsi0: Queueing rescan for (xpt0:mpslsi0:0:-1:-1): mpslsi0: (6193)->(mpssas_fw_work) Event Free: [1c] mpslsi0: Hard Reset with Port Enable completed in 11 seconds. camq_init: - cannot malloc array! scsi_scan_bus: xpt_create_path failed with status 0x34, bus scan halted mpslsi0: Completing rescan for (xpt0:mpslsi0:0:-1:-1): ---- At the end there was a kernel crash. Below is back trace. mpslsi0: Queueing rescan for (xpt0:mpslsi0:0:-1:-1): mpslsi0: (6205)->(mpssas_fw_work) Event Free: [1c] mpslsi0: Hard Reset with Port Enable completed in 10 seconds. scsi_scan_bus: xpt_create_path failed with status 0x34, bus scan halted =20 =20 Fatal trap 12: page fault while in kernel mode cpuid =3D 4; apic id =3D 32 fault virtual address =3D 0x40 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc0493f38 stack pointer =3D 0x28:0xc52515dc frame pointer =3D 0x28:0xc52515f8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 12 (swi2: cambio) trap number =3D 12 panic: page fault cpuid =3D 4 KDB: stack backtrace: #0 0xc0a4b157 at kdb_backtrace+0x47 #1 0xc0a186b7 at panic+0x117 #2 0xc0d48cf3 at trap_fatal+0x323 #3 0xc0d48dad at trap_pfault+0xad #4 0xc0d49b35 at trap+0x465 #5 0xc0d32a8c at calltrap+0x6 #6 0xc048e3a7 at camperiphfree+0x97 #7 0xc048e545 at cam_periph_release_locked+0x55 #8 0xc049df7d at probedone+0x136d #9 0xc04958c1 at camisr_runqueue+0x2e1 #10 0xc0495a1f at camisr+0x13f #11 0xc09ed78b at intr_event_execute_handlers+0x13b #12 0xc09eef4a at ithread_loop+0x7a #13 0xc09ea997 at fork_exit+0x97 #14 0xc0d32b04 at fork_trampoline+0x8 Uptime: 6h42m25s mpslsi0: Completing rescan for (xpt0:mpslsi0:0:-1:-1): Any idea if this is a known issue at CAM layer. ? Thanks, Kashyap