From owner-svn-src-head@freebsd.org Thu Oct 29 16:08:37 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1CC9A2177A; Thu, 29 Oct 2015 16:08:37 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43F8D12A8; Thu, 29 Oct 2015 16:08:37 +0000 (UTC) (envelope-from royger@gmail.com) Received: by wikq8 with SMTP id q8so289258818wik.1; Thu, 29 Oct 2015 09:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=IEcSn07YpSWsjmcKeejW0kk1+n+TI8XU02GyYxXsVug=; b=utqEcjuMhgtNQ7nYRd1NF4edK/xtnc5DFZlkL5Tx8dCat6REbt3eVke9xctL60pTd2 RPLcz5az+xwb7i8vG12jfvVLfOtgZF2/TN6Uqccv/BFU353OyZgwp+YPQHG2zV/iBreh CUWda0QfFNZ3pA+lrM6v7WZl3YOMX2bsmPbNl7gw24nWcJiOmYsWnS0FPCffA/410/9a /QkJ7CEpWQ+GYxMZCbACgG0rjXmSEV0zTEYjPVghbwPGYIGBrRtF0B1rShxrTNqIhs+S Y0K2E0NSDqtmhlFvluBhFmZHjEpBGJgTOpO+dKS6ASYBv1W7qaE0gzK9c8wNNY0EQF/d ZBgg== X-Received: by 10.194.143.43 with SMTP id sb11mr3543303wjb.120.1446134915762; Thu, 29 Oct 2015 09:08:35 -0700 (PDT) Received: from MacBook-Air-de-Roger.local (97.Red-81-35-53.dynamicIP.rima-tde.net. [81.35.53.97]) by smtp.gmail.com with ESMTPSA id m143sm4218859wmb.1.2015.10.29.09.08.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Oct 2015 09:08:34 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Subject: Re: svn commit: r289834 - head/sys/x86/x86 To: Oliver Pinter , Adrian Chadd References: <201510231539.t9NFdxPe018130@repo.freebsd.org> <562A564D.9080703@citrix.com> <562E1F8F.3010304@FreeBSD.org> Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <5632447B.1020402@FreeBSD.org> Date: Thu, 29 Oct 2015 17:08:27 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 16:08:37 -0000 El 26/10/15 a les 15.24, Oliver Pinter ha escrit: > On 10/26/15, Adrian Chadd wrote: >> Hi, >> >> I'll take a photo of it when it breaks next. >> >> Would you mind reverting it for now until we can figure it out? > > btw, this was the two kernel panic what I got: > > Fatal trap 12: page fault while in kernel mode > cpuid = 11; apic id = 03 > fault virtual address = 0x30 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff808a2d22 > stack pointer = 0x28:0xfffffe07cc75a6f0 > frame pointer = 0x28:0xfffffe07cc75a770 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 5 (doneq0) > trap number = 12 > panic: page fault > cpuid = 11 > KDB: stack backtrace: > #0 0xffffffff80641647 at kdb_backtrace+0x67 > #1 0xffffffff80606762 at vpanic+0x182 > #2 0xffffffff806067e3 at panic+0x43 > #3 0xffffffff8084eef1 at trap_fatal+0x351 > #4 0xffffffff8084f0e4 at trap_pfault+0x1e4 > #5 0xffffffff8084e82f at trap+0x4bf > #6 0xffffffff80830d57 at calltrap+0x8 > #7 0xffffffff8063beab at _bus_dmamap_load_ccb+0x1fb > #8 0xffffffff8063bc51 at bus_dmamap_load_ccb+0x91 > #9 0xffffffff8042dcad at ata_dmaload+0x11d > #10 0xffffffff8042df7e at ata_begin_transaction+0x7e > #11 0xffffffff8042c18e at ataaction+0x9ce > #12 0xffffffff802a220f at xpt_run_devq+0x5bf > #13 0xffffffff802a17ad at xpt_action_default+0x94d > #14 0xffffffff802c0024 at adastart+0x8b4 > #15 0xffffffff802a2e93 at xpt_run_allocq+0x193 > #16 0xffffffff802c0ea0 at adadone+0x280 > #17 0xffffffff802a5310 at xpt_done_process+0x3a0 > Uptime: 1m40s Hello, I've been able to reproduce this by tweaking blkfront dma tag, and the issue was due to an off-by-one error. I've got an updated patch that applies on top of current HEAD, would any of you two mind giving it a try? https://people.freebsd.org/~royger/bounce_load_ma.patch Thanks, Roger.