From owner-freebsd-scsi@FreeBSD.ORG Tue Oct 14 12:10:27 2014 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA005426 for ; Tue, 14 Oct 2014 12:10:26 +0000 (UTC) Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A5B3273 for ; Tue, 14 Oct 2014 12:10:25 +0000 (UTC) Received: from mail-wg0-f47.google.com ([74.125.82.47]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKVD0Sq4piGDXRooYJ6fe4LKSGQwwq3HdL@postini.com; Tue, 14 Oct 2014 05:10:26 PDT Received: by mail-wg0-f47.google.com with SMTP id x13so10619346wgg.6 for ; Tue, 14 Oct 2014 05:10:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to:content-type; bh=psTnRSjEUs+yBWhmTTELnIRRjqsRJB0nrUwOBiDTMbA=; b=h8s2tMUwnSiMDukD8SFJxhdC6eznbDK92s7Fu8P+F98HE64Y65+EnLBSGnTVz908tu 8WTD4SQOy/hu76YK3/y6FDC1aCruTf2eE24OtRMsRLRMftGc9flhP6bhONojntvxJL2M VmJKY9zFGgdolX2Wc663JBFjcU3y/h0Q1NwhxHmSWwg/zEFhmEKQpruTCLluw78Ltm0x MoUcw1rrHa4ylZ/Gr0gHj4hjgoTwG2wspYqPM2w5sxlBdJHKZNynHZw9z2GEWlGNjr98 UVchUZFeLPt86YREP2c+EplTZ0r65rX4krLmlFblHmxl2qGz6LNmQV5SeeTPU3cFk2rK KYQA== X-Gm-Message-State: ALoCoQlYL6HIDZwfgjqsvdMuQ78YSsSTfAfW8VfUH5jrVVX6WbNibb4A2+zhDekdHl5Xhm/N8P0PwpwSKQ9SsuQyAminPmIFK5+s2gLxWrPR1OwZYDLcLcq31hp/LUxB7FxlmkHSEDBOS6DBUDxl7af1osWToVBfww== X-Received: by 10.194.122.104 with SMTP id lr8mr4938437wjb.64.1413288618582; Tue, 14 Oct 2014 05:10:18 -0700 (PDT) X-Received: by 10.194.122.104 with SMTP id lr8mr4938427wjb.64.1413288618440; Tue, 14 Oct 2014 05:10:18 -0700 (PDT) From: Sibananda Sahu MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac/np9BCy5iKwT5iRxubV5rLHobSfQ== Date: Tue, 14 Oct 2014 17:40:17 +0530 Message-ID: <98ab5ec15a11496d6a4c2c28f27e01d0@mail.gmail.com> Subject: PAGE FAULT in kernel mode at the vm_page_alloc() call To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 12:10:27 -0000 Hi, We were doing internal testing using mrsas driver for certain feature on FreeBSD-10-release. While test execution ,we have observed frequent kernel panic in same code path on FreeBSD 10. Please find more detail about test case and symptoms. 1. Create more than 64 VD using latest mrsas feature which supports Extended VD. (This issue may not be related to this, but just wanted to highlight exact steps) All 240 VD is able to detect in =E2=80=9Ccamcontrol=E2=80=9D. 2. Using LSI StorCli utility do Full Init on all 240 Virtual Drives those are connected behind an LSI controller. Eventually, we observe kernel panic with below backtraces. It is a random behavior but seems to be occurring at the same place all the time, i.e. around vm_page_alloc() call. -- KDB: stack backtrace: #0 0xffffffff808e7dd0 at kdb_backtrace+0x60 #1 0xffffffff808af8b5 at panic+0x155 #2 0xffffffff80c8e692 at trap_fatal+0x3a2 #3 0xffffffff80c8e969 at trap_pfault+0x2c9 #4 0xffffffff80c8e0f6 at trap+0x5e6 #5 0xffffffff80c75392 at calltrap+0x8 #6 0xffffffff80b1d1e9 at vm_page_alloc+0x389 #7 0xffffffff80b0f9fe at kmem_back+0xde #8 0xffffffff80b0f8f6 at kmem_malloc+0x66 #9 0xffffffff80b08c6b at uma_large_malloc+0x4b #10 0xffffffff80898c33 at malloc+0x103 #11 0xffffffff8030eaf5 at enc_daemon+0x1c5 #12 0xffffffff8088198a at fork_exit+0x9a #13 0xffffffff80c758ce at fork_trampoline+0xe -- Here I have attached the crash dump text file to grep more info. If you need more information from us, with some more config or debug parameters enabled or something else, please let me know. I can do some experiment to root cause the issue. I also check on web, but there was not clear direction on this type of kernel panic ..but looks like many folks encountered similar issues. Also, I verified same behavior on latest FreeBSD-11-Current as well. (Revision 273072) Thanks