[Bug 224479] kernel panic in reboot+swapoff sys call
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 3 03:48:29 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224479
--- Comment #25 from ota at j.email.ne.jp ---
Isn't this problem because "umount" happens before "swapoff"?
I also use NFS swapfiles from time to time and when I forget to swapoff such
files before shutdown, kernel panics, too.
# mount -t nfs xxx:/yyy /mnt/nfs
# dd if=/dev/zero of=/mnt/nfs/swap bs=1M seek=999
# swapon /mnt/ntfs/swap
# --- use swap....
# i.e. mount -t tmpfs tmp /mnt/tmpfs; dd if=/dev/zero of=/mnt/tmpfs/fill
# shutdown -p now
I'm not sure what kinds of side effects will happen if we "swapoff" before
"umount", though...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list