NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54969 (Disk cache is no longer flushed on shutdown)



The following reply was made to PR kern/54969; it has been noted by GNATS.

From: "Greg A. Woods" <woods%planix.ca@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
Subject: Re: kern/54969 (Disk cache is no longer flushed on shutdown)
Date: Thu, 06 May 2021 15:44:15 -0700

 --pgp-sign-Multipart_Thu_May__6_15:44:03_2021-1
 Content-Type: text/plain; charset=US-ASCII
 
 At Wed, 5 May 2021 15:51:08 +0200, "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost> wrote:
 Subject: Re: kern/54969 (Disk cache is no longer flushed on shutdown)
 >
 > Please report if this fix really works.
 
 I think this reboot shows definitively that it really works.
 
 I left a couple of processes with CWD in the filesystem, one being a
 nohup'ed sleep and the other being the console login shell, and here we
 see /build having to be forcefully unmounted, after all but one of dm(4)
 devices detach, with the relevant dm1 (and its underlying dk(4) and
 sd(4) devices) only detaching after the unmount:
 
 [ 3868.1813906] syncing disks... done
 [ 3868.1913903] unmounted more.local:/vcs from /more/vcs, type nfs
 [ 3868.1913903] unmounted more.local:/work from /more/work, type nfs
 [ 3868.2514795] unmounted more.local:/home from /more/home, type nfs
 [ 3868.2514795] unmounted more.local:/archive from /more/archive, type nfs
 [ 3868.2614057] unmount of /build (/dev/mapper/scratch-build) failed with error 16
 [ 3868.2614057] unmounted procfs from /proc, type procfs
 [ 3868.2614057] unmounted ptyfs from /dev/pts, type ptyfs
 [ 3868.2614057] unmounted kernfs from /kern, type kernfs
 [ 3868.3313995] unmounted /dev/dk3 from /usr/pkg, type ffs
 [ 3868.4114046] unmounted /dev/dk2 from /var, type ffs
 [ 3868.5615043] unmount of / (/dev/dk0) failed with error 16
 [ 3868.5615043] WARNING: some file systems would not unmount
 [ 3868.5615043] unmount of /build (/dev/mapper/scratch-build) failed with error 16
 [ 3868.5615043] unmount of / (/dev/dk0) failed with error 16
 [ 3868.5615043] WARNING: some file systems would not unmount
 [ 3870.2715341] brgphy1: detached
 [ 3870.2915786] bnx1: detached
 [ 3871.9916481] brgphy0: detached
 [ 3872.0117375] bnx0: detached
 [ 3872.0117375] pci6: detached
 [ 3872.0117375] pci4: detached
 [ 3872.0117375] sd2: detached
 [ 3872.0117375] cd1: detached
 [ 3872.0216581] ppb5: detached
 [ 3872.0216581] ppb3: detached
 [ 3872.0216581] scsibus2: detached
 [ 3872.0216581] scsibus1: detached
 [ 3872.0216581] pci5: detached
 [ 3872.0216581] pci3: detached
 [ 3872.2016539] brgphy2: detached
 [ 3872.2216614] bnx2: detached
 [ 3872.2316580] ppb4: detached
 [ 3872.2316580] ppb2: detached
 [ 3872.2316580] uhub6: detached
 [ 3872.2316580] cd0: detached
 [ 3872.2316580] pci14: detached
 [ 3872.2316580] pci7: detached
 [ 3872.2316580] pci2: detached
 [ 3872.2316580] atapibus0: detached
 [ 3872.2316580] uhub4: detached
 [ 3872.2316580] uhub2: detached
 [ 3872.2316580] uhub1: detached
 [ 3872.2316580] uhub0: detached
 [ 3872.2316580] com1: detached
 [ 3872.2316580] ppb13: detached
 [ 3872.2316580] ppb6: detached
 [ 3872.2416575] ppb1: detached
 [ 3872.2416575] atabus0: detached
 [ 3872.2416575] usb3: detached
 [ 3872.2416575] usb2: detached
 [ 3872.2416575] usb1: detached
 [ 3872.2416575] usb0: detached
 [ 3872.2416575] pci13: detached
 [ 3872.2416575] pci12: detached
 [ 3872.2416575] pci11: detached
 [ 3872.2416575] pci10: detached
 [ 3872.2416575] pci9: detached
 [ 3872.2416575] pci1: detached
 [ 3872.2416575] uhci3: detached
 [ 3872.2416575] uhci2: detached
 [ 3872.2416575] uhci1: detached
 [ 3872.2416575] uhci0: detached
 [ 3872.2416575] ppb12: detached
 [ 3872.2416575] pchb7: detached
 [ 3872.2416575] pchb6: detached
 [ 3872.2416575] pchb5: detached
 [ 3872.2416575] pchb4: detached
 [ 3872.2416575] pchb3: detached
 [ 3872.2416575] pchb2: detached
 [ 3872.2416575] pchb1: detached
 [ 3872.2416575] ppb11: detached
 [ 3872.2416575] ppb10: detached
 [ 3872.2416575] ppb9: detached
 [ 3872.2416575] ppb8: detached
 [ 3872.2416575] ppb0: detached
 [ 3872.2416575] pchb0: detached
 [ 3872.2416575] ipmi_acpi0: detached
 [ 3872.2416575] dm8: detached
 [ 3872.2416575] dm7: detached
 [ 3872.2416575] dm6: detached
 [ 3872.2416575] dm5: detached
 [ 3872.2416575] dm4: detached
 [ 3872.2416575] dm3: detached
 [ 3872.2416575] dm2: detached
 [ 3872.2416575] cgd3: detached
 [ 3872.2416575] vnd3: detached
 [ 3872.2416575] cgd2: detached
 [ 3872.2416575] vnd2: detached
 [ 3872.2416575] cgd1: detached
 [ 3872.2416575] vnd1: detached
 [ 3872.2416575] cgd0: detached
 [ 3872.2416575] vnd0: detached
 [ 3872.2416575] dk4 at sd0 (LVM-vg0) deleted
 [ 3872.2416575] dk4: detached
 [ 3872.2416575] dk3 at sd0 (/usr/pkg) deleted
 [ 3872.2416575] dk3: detached
 [ 3872.2416575] dk2 at sd0 (/var) deleted
 [ 3872.2416575] dk2: detached
 [ 3872.2416575] dk1 at sd0 (swap) deleted
 [ 3872.2416575] dk1: detached
 [ 3872.2416575] unmount of /build (/dev/mapper/scratch-build) failed with error 16
 [ 3872.2416575] unmount of / (/dev/dk0) failed with error 16
 [ 3872.2416575] WARNING: some file systems would not unmount
 [ 3872.2416575] forcefully unmounting /dev/mapper/scratch-build from /build...
 [ 3872.2516597] forcefully unmounted /dev/mapper/scratch-build from /build, type ffs
 [ 3872.2516597] unmount of / (/dev/dk0) failed with error 16
 [ 3872.2516597] WARNING: some file systems would not unmount
 [ 3872.2516597] dm1: detached
 [ 3872.2516597] dk5 at sd1 (scratchdisk0) deleted
 [ 3872.2516597] dk5: detached
 [ 3872.2516597] unmount of / (/dev/dk0) failed with error 16
 [ 3872.2516597] WARNING: some file systems would not unmount
 [ 3872.2516597] sd1: detached
 [ 3872.2516597] unmount of / (/dev/dk0) failed with error 16
 [ 3872.2516597] WARNING: some file systems would not unmount
 [ 3872.2516597] forcefully unmounting /dev/dk0 from /...
 [ 3872.2616634] forcefully unmounted /dev/dk0 from /, type ffs
 [ 3872.2616634] unmounting done
 [ 3872.2616634] turning off swap... done
 [ 3872.2616634] dk0 at sd0 (/) deleted
 [ 3872.2616634] sd0: detached
 [ 3872.2616634] scsibus0: detached
 [ 3872.4517420] mfi0: detached
 [ 3872.4517420] pci8: detached
 [ 3872.4517420] ppb7: detached
 [ 3872.4517420] unmounting done
 [ 3872.4517420] turning off swap... done
 [ 3872.4517420] rebooting...
 (XEN) [2021-05-06 21:54:10.835] Hardware Dom0 shutdown: rebooting machine
 
 
 
 --
 					Greg A. Woods <gwoods%acm.org@localhost>
 
 Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
 Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>
 
 --pgp-sign-Multipart_Thu_May__6_15:44:03_2021-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 Content-Description: OpenPGP Digital Signature
 
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCYJRxOAAKCRBmfXG3eL/0
 f+wYAKCPGlT0WmH7UQe6LCAof9I8foZrTACfajB64psSESwde8rdlwSEk4WfzAs=
 =b8EV
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Thu_May__6_15:44:03_2021-1--
 


Home | Main Index | Thread Index | Old Index