From owner-freebsd-fs@freebsd.org Wed May 25 22:02:30 2016 Return-Path: Delivered-To: freebsd-fs@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 05E4FB4A63C for ; Wed, 25 May 2016 22:02:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2E091103 for ; Wed, 25 May 2016 22:02:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4PM2TCr073014 for ; Wed, 25 May 2016 22:02:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 209158] node / npm triggering zfs rename deadlock Date: Wed, 25 May 2016 22:02:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: doug@freebsd.con.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 22:02:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209158 --- Comment #22 from Doug Luce --- With that patch, the npm install that used to hang no longer does. The panic didn't happen until the thing had been up a few hours: Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 02 fault virtual address =3D 0xc0 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff82310db4 stack pointer =3D 0x28:0xfffffe01236e0600 frame pointer =3D 0x28:0xfffffe01236e0710 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 2533 (emacs-25.0.93) trap number =3D 12 panic: page fault cpuid =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe01236e0= 0c0 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe01236e0170 vpanic() at vpanic+0x189/frame 0xfffffe01236e01f0 panic() at panic+0x43/frame 0xfffffe01236e0250 trap_fatal() at trap_fatal+0x36b/frame 0xfffffe01236e02b0 trap_pfault() at trap_pfault+0x200/frame 0xfffffe01236e0330 trap() at trap+0x4cc/frame 0xfffffe01236e0540 calltrap() at calltrap+0x8/frame 0xfffffe01236e0540 --- trap 0xc, rip =3D 0xffffffff82310db4, rsp =3D 0xfffffe01236e0610, rbp = =3D 0xfffffe01236e0710 --- zfs_freebsd_rename() at zfs_freebsd_rename+0xe4/frame 0xfffffe01236e0710 VOP_RENAME_APV() at VOP_RENAME_APV+0xfc/frame 0xfffffe01236e0740 kern_renameat() at kern_renameat+0x4a6/frame 0xfffffe01236e09a0 amd64_syscall() at amd64_syscall+0x2de/frame 0xfffffe01236e0ab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe01236e0ab0 --- syscall (128, FreeBSD ELF64, sys_rename), rip =3D 0x807c5fbaa, rsp =3D 0x7fffffffc418, rbp =3D 0x7fffffffc450 --- Uptime: 2h36m30s Dumping 1470 out of 4064 MB: (CTRL-C to abort) ..2%..11%..21%..31%..41%..51%..61%..71%..81%..91% Dump complete Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset: Restarting BSP cpu_reset_proxy: Stopped CPU 1 --=20 You are receiving this mail because: You are the assignee for the bug.=