Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2018 03:48:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224479] kernel panic in reboot+swapoff sys call
Message-ID:  <bug-224479-8-ylx8FZ9B66@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224479-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224479-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224479

--- Comment #25 from ota@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=3D/dev/zero of=3D/mnt/nfs/swap bs=3D1M seek=3D999
# swapon /mnt/ntfs/swap
# --- use swap....
# i.e. mount -t tmpfs tmp /mnt/tmpfs; dd if=3D/dev/zero of=3D/mnt/tmpfs/fill
# shutdown -p now

I'm not sure what kinds of side effects will happen if we "swapoff" before
"umount", though...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224479-8-ylx8FZ9B66>