From owner-svn-src-head@freebsd.org Wed Jul 12 19:52:22 2017 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 CF7F3DA2265; Wed, 12 Jul 2017 19:52:22 +0000 (UTC) (envelope-from peter@wemm.org) Received: from smtp2.wemm.org (smtp2.wemm.org [192.203.228.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B901C75676; Wed, 12 Jul 2017 19:52:22 +0000 (UTC) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (canning.wemm.org [192.203.228.65]) by smtp2.wemm.org (Postfix) with ESMTP id 6662D69A; Wed, 12 Jul 2017 12:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1499889136; bh=4x1gbAAvvLCg6yTMlZdcLHw0xHqRu5uIbzDq1sPq5Fs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BgxmegaSa8U7lkjqpWIjStFuBGgxbget5A/OuH1u7/nP3NdJ4bbytwEcKmIQ2d90B vwinc0NtXhrjdTQqnFLPXc7y6Vgl1RgAjUjHs+AE/ylt7vGR7wcmDn31MxYBFXhoUa +cxBFCONZDVtKEbzwA0hmGsOCs3N3kyYmMSzrXzo= From: Peter Wemm To: Andriy Gapon Cc: svn-src-head@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r320452 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys Date: Wed, 12 Jul 2017 12:52:14 -0700 Message-ID: <1620155.k5U0yJ7ekR@overcee.wemm.org> User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT; KDE/4.14.10; amd64; ; ) In-Reply-To: <2227668.mxUYtcVILl@overcee.wemm.org> References: <201706281359.v5SDxKDB033681@repo.freebsd.org> <2865573.6VCVxXl8ZR@overcee.wemm.org> <2227668.mxUYtcVILl@overcee.wemm.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2290573.tQ58bQ8BqM"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 12 Jul 2017 19:52:22 -0000 --nextPart2290573.tQ58bQ8BqM Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Tuesday, July 11, 2017 11:55:47 PM Peter Wemm wrote: > On Tuesday, July 11, 2017 11:08:15 PM Peter Wemm wrote: > > On Wednesday, June 28, 2017 01:59:20 PM Andriy Gapon wrote: > > > A side bonus of this change is that now a vdev zio has a pointe= r > > > to its corresponding bio while the zio is active. > >=20 > > fault virtual address =3D 0x28 > >=20 > >=20 > > db> where > > Tracing pid 0 tid 100471 td 0xfffff80005452000 > > vdev_geom_io_done() at vdev_geom_io_done+0x36/frame 0xfffffe0239f9e= aa0 > > zio_vdev_io_done() at zio_vdev_io_done+0x176/frame 0xfffffe0239f9ea= d0 > > zio_execute() at zio_execute+0xac/frame 0xfffffe0239f9eb20 >=20 > Oops, truncated. >=20 >=20 > taskqueue_run_locked() at taskqueue_run_locked+0x127/frame > 0xfffffe0239f9eb80 taskqueue_thread_loop() at > taskqueue_thread_loop+0xc8/frame 0xfffffe0239f9ebb0 fork_exit() at > fork_exit+0x85/frame 0xfffffe0239f9ebf0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0239f9ebf0 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- Likewise with a disk failing or being put offline. eg: the explicit o= fflining=20 case, making a vdev degrade: root@nope.ysv:/home/peter # zpool offline zroot mfid5p3 atal trap 12: page fault while in kernel mode cpuid =3D 4; apic id =3D 04 Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x28 Fatal trap 12: page fault while in kernel mode Fatal trap 12: page fault while in kernel mode Fatal trap 12: page fault while in kernel mode cpuid =3D 7; apic id =3D 07 cpuid =3D 1; apic id =3D 01 fault virtual address=09=3D 0x28 fault code=09=09=3D supervisor read data, page not present cpuid =3D 3; cpuid =3D 5; apic id =3D 03 Fatal trap 12: page fault while in kernel mode apic id =3D 05 fault virtual address=09=3D 0x28 fault virtual address=09=3D 0x28 fault code=09=09=3D supervisor read data, page not present instruction pointer=09=3D 0x20:0xffffffff803aab56 stack pointer=09 =3D 0x28:0xfffffe085fb3aa90 instruction pointer=09=3D 0x20:0xffffffff803aab56 fault code=09=09=3D supervisor read data, page not present cpuid =3D 6; fault virtual address=09=3D 0x28 Fatal trap 12: page fault while in kernel mode fault code=09=09=3D supervisor read data, page not present instruction pointer=09=3D 0x20:0xffffffff803aab56 stack pointer=09 =3D 0x28:0xfffffe085fb3fa90 frame pointer=09 =3D 0x28:0xfffffe085fb3aaa0 fault code=09=09=3D supervisor read data, page not present cpuid =3D 2; apic id =3D 02 apic id =3D 06 instruction pointer=09=3D 0x20:0xffffffff803aab56 fault virtual address=09=3D 0x28 fault code=09=09=3D supervisor read data, page not present stack pointer=09 =3D 0x28:0xfffffe085fb30a90 instruction pointer=09=3D 0x20:0xffffffff803aab56 stack pointer=09 =3D 0x28:0xfffffe085fb35a90 frame pointer=09 =3D 0x28:0xfffffe085fb3faa0 code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b stack pointer=09 =3D 0x28:0xfffffe085fb44a90 frame pointer=09 =3D 0x28:0xfffffe085fb44aa0 code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, long 1, def32 0, gran 1 fault virtual address=09=3D 0x28 =09=09=09=3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags=09=3D interrupt enabled, instruction pointer=09=3D 0x2= 0:6 frame pointer=09 =3D 0x28:0xfffffe085fb30aa0 code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b frame pointer=09 =3D 0x28:0xfffffe085fb35aa0 code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b resume, IOPL =3D 0 stack pointer=09 =3D 0x28:0xfffffe085fb26a90 =09=09=09=3D DPL 0, pres 1, long 1, def32 0, gran 1 =09=09=09=3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags=09=3D fault code=09=09=3D supervisor read data, page n= ot frame pointer=09 =3D 0x28:0xfffffe085fb26aa0 instruction pointer=09=3D 0x20:0xffffffff803aab56 processor eflags=09=3D interrupt enabled, code segment=09=09=3D base b =09=09=09=3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D 0 (zio_write_intr_2) [ thread pid 0 tid 100500 ] Stopped at vdev_geom_io_done+0x36: movq 0x28(%rbx),%rsi db> where Tracing pid 0 tid 100500 td 0xfffff8000aae6000 vdev_geom_io_done() at vdev_geom_io_done+0x36/frame 0xfffffe085fb30aa0 zio_vdev_io_done() at zio_vdev_io_done+0x176/frame 0xfffffe085fb30ad0 zio_execute() at zio_execute+0xac/frame 0xfffffe085fb30b20 taskqueue_run_locked() at taskqueue_run_locked+0x127/frame 0xfffffe085f= b30b80 taskqueue_thread_loop() at taskqueue_thread_loop+0xc8/frame 0xfffffe085= fb30bb0 fork_exit() at fork_exit+0x85/frame 0xfffffe085fb30bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe085fb30bf0 =2D-- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- db>=20 =2D-=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI= 6FJV UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246 --nextPart2290573.tQ58bQ8BqM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEBgrA0Vr/vfNVuPoUNdaXCeyAngQFAllmfe4ACgkQNdaXCeyA ngSo5ggAgZhd2TJF8LgBHNPATXvpnRBc6Cc75ziyroB5GXwkNnpwFy+bNIECsvff 4mxpw76talPoBbbyfjPlL7yBHnBsYKqU2KbH883If7eslPe1GHDzNta8o4z+jVje rk2QfM1hr/z6iQrT4Fj8KHFiuw3t0BVpoIhm1EripSvL+UEjwc1T8UJINnP9EFle CboNc4MHzZWM8Z3VL+8jg/d5I0uL+K/SrtCzlZHYB1b4LdN5mrABWdfuCMv9tvUO eVXZEy605xFRrj+OpfmbRaTCmwNqAMFF9X3IQSR0T86TyvOq8ggD7jOGUqV/KeEm oQzkFYOMQDJxIkcElB/gAAVDP7ZGqA== =epb0 -----END PGP SIGNATURE----- --nextPart2290573.tQ58bQ8BqM--