From owner-svn-src-all@freebsd.org Mon Oct 26 14:24:21 2015 Return-Path: Delivered-To: svn-src-all@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 1C167A1C3ED for ; Mon, 26 Oct 2015 14:24:21 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (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 B75131650 for ; Mon, 26 Oct 2015 14:24:20 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by wijp11 with SMTP id p11so168569413wij.0 for ; Mon, 26 Oct 2015 07:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd_org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KJ6MVV+/sueZg1LRqrlTW3y2FXds2HhW7znnEH+YiQk=; b=L6Sgciy2gbBErX2RnLx9X3Er3GIo2b5WxhctgLgSU2PzIRkIV9uidv0klzaN1ndtg7 o+NZtqVWpw/v7RAcqTeaszznh4jq35msqTy61D4yBoPuxsXr7nlffHkaSY8tSmkhW3R7 au/8Qr+4smkVSEGx4ni49E/4mVNyaFpbLxUX23BlwE8nf4mM0avSRHfGGj+JypZFZost 08l7uHefcYLY/nCbJn/VVvHlnfJBSl4YZ+JO6LeqlqKLd95rgcLJrjrhMUIE7FCXomXA PYVsUGv5oZsR6Wc9OnGae22dyPPFlBy/JC9s/YjfE0q8c1ypbcNQKCyPZnfxT6dkdHvu PAmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KJ6MVV+/sueZg1LRqrlTW3y2FXds2HhW7znnEH+YiQk=; b=XFgthn2WE5S2LbkKm/Dmh6SuRMH4jcKUEAjim5ngF+J5yHas2bTjJU2GhVrrudFmWY HyBYyZ+3Bdr4bhXlogJklMVwVv6mwKGGBpDfdzUKZIGQNFkx1g2tZ3YZyk++vpjaOP5t 0Yq+yJQ+IiNKWlxwWUF6shhpXn07ysbNYpVt8OrV0aNGyFpKm20QAbbeGSarwG/cF2WZ uOXtCVvRS5z+LV5AJ8rYxp8ueVYUiFLgsuffzT+bCRPlific7/WcAoLUNmwP9O5u8vtc Yki2P0PR+TdbH34uuZnpvXu+fb69+OuEUSQUg8J74IyR5NjQFhHbxLs9+i0ZdFParPEE cK3Q== X-Gm-Message-State: ALoCoQnsvoEc6oXE2ppCBNWvConXANrYn499Kf4Kwdu/Wr9VnQ9L3gLhJAr2B2JJNArm0YuNBgPO MIME-Version: 1.0 X-Received: by 10.180.102.233 with SMTP id fr9mr15359484wib.59.1445869459114; Mon, 26 Oct 2015 07:24:19 -0700 (PDT) Received: by 10.194.240.226 with HTTP; Mon, 26 Oct 2015 07:24:19 -0700 (PDT) In-Reply-To: References: <201510231539.t9NFdxPe018130@repo.freebsd.org> <562A564D.9080703@citrix.com> <562E1F8F.3010304@FreeBSD.org> Date: Mon, 26 Oct 2015 15:24:19 +0100 Message-ID: Subject: Re: svn commit: r289834 - head/sys/x86/x86 From: Oliver Pinter To: Adrian Chadd Cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 14:24:21 -0000 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 =3D 11; apic id =3D 03 fault virtual address =3D 0x30 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff808a2d22 stack pointer =3D 0x28:0xfffffe07cc75a6f0 frame pointer =3D 0x28:0xfffffe07cc75a770 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 5 (doneq0) trap number =3D 12 panic: page fault cpuid =3D 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 Fatal trap 12: page fault while in kernel mode cpuid =3D 11; apic id =3D 03 fault virtual address =3D 0x30 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff808a2d22 stack pointer =3D 0x28:0xfffffe07cc737710 frame pointer =3D 0x28:0xfffffe07cc737790 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 13 (g_down) trap number =3D 12 panic: page fault cpuid =3D 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 0xffffffff802c0735 at adastrategy+0xf5 #17 0xffffffff80554206 at g_disk_start+0x426 Uptime: 2m29s Extra info, it's a Dell R410, with 2x1TB disc in mirrored raidz + plus a gmirrored partition. > > > > -adrian > > > On 26 October 2015 at 05:53, Oliver Pinter > wrote: >> Hi Roger! >> >> On 10/26/15, Roger Pau Monn=C3=A9 wrote: >>> El 26/10/15 a les 13.24, Adrian Chadd ha escrit: >>>> Hi, >>>> >>>> I've started seeing panics on -head with ATA code doing a dmamap load >>>> -> panic. I'll test by reverting this patch and see what happens, but >>>> when it /does/ happen I can't get a crashdump, so debugging will be >>>> less easy. >>>> >>>> Has anyone else seen this? >>> >>> I've got another report regarding ATA page-faults from Oliver Pinter. >>> The crash he was seeing was caused by bus_dmamap_load_ccb, but the call= s >>> to the specific dma functions where optimized away. Can you figure out >>> which bounce_* function causes this specifically? >> >> I have already deleted the broken kernel, and I'm now running on >> kernel without this patch. >> >>> >>> Thanks, Roger. >>> >>> _______________________________________________ >>> svn-src-head@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/svn-src-head >>> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >>> >