[Bug 206328] Crash on shutdown with swap on NFS file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 17 08:44:08 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206328
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 at FreeBSD.org
Reporter: tvijlbrief at gmail.com
When swap is using an NFS file, and it is filled before shutdown, eg by using
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>
==================================
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.
/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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list