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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224479

--- 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=/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.

help

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