From owner-freebsd-bugs@freebsd.org Sun Jan 17 08:44:08 2016 Return-Path: Delivered-To: freebsd-bugs@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 9277BA831C2 for ; Sun, 17 Jan 2016 08:44:08 +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 69C811FF4 for ; Sun, 17 Jan 2016 08:44:08 +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 u0H8i8lj015076 for ; Sun, 17 Jan 2016 08:44:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206328] Crash on shutdown with swap on NFS file Date: Sun, 17 Jan 2016 08:44:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: tvijlbrief@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 08:44:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206328 Bug ID: 206328 Summary: Crash on shutdown with swap on NFS file Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: tvijlbrief@gmail.com When swap is using an NFS file, and it is filled before shutdown, eg by usi= ng stress -m 4 --vm-keep a crash occurs on a "shutdown -r" which prevents a reboot: Jan 17 09:26:12 rpibsd syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...4 4 4 1 1 1 0 0 0 done All buffers synced. No strategy for buffer at 0xc1a47b30 vnode 0xc2a60240: tag none, type VBAD usecount 1, writecount 0, refcount 448277 mountedhere 0 flags (VI_DOOMED) lock type nfs: UNLOCKED swap_pager: I/O error - pagein failed; blkno 23904,size 4096, error 45 panic: swap_pager_force_pagein: read from swap failed KDB: enter: panic [ thread pid 1 tid 100001 ] Stopped at $d.13: ldrb r15, [r15, r15, ror r15]! db>=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Example is from Raspberry because I have a serial console attached, but it also happens on a 64 bit Intel VirtualBox guest, so it is easy to reproduce= .=20 /etc/fstab: swan.v7f.eu:/export/all/bsd /media/swan nfs rw,bg,noauto 0 0 /media/swan/swap none swap sw 0 0 A "swapoff -a" before shutdown prevents the problem --=20 You are receiving this mail because: You are the assignee for the bug.=