Re: Unclean sync in current

From: Kevin Oberman <oberman_at_es.net>
Date: Fri, 28 Mar 2003 16:29:32 -0800
> Date: Fri, 28 Mar 2003 16:18:59 -0800
> From: David Schultz <das_at_FreeBSD.ORG>
> 
> Thus spake Kevin Oberman <oberman_at_es.net>:
> > I've been seeing this for a couple of weeks since I updated my laptop to
> > CURRENT. I do a normal shutdown (-p or -r) and reboot. The shutdown
> > looked normal, with no problems reported with the sync, but, when the
> > system is rebooted, the partitions are all shown as possibly
> > unclean. From my dmesg:
> > Mounting root from ufs:/dev/ad0s3a
> > WARNING: / was not properly dismounted
> > WARNING: / was not properly dismounted
> > WARNING: /tmp was not properly dismounted
> > WARNING: /usr was not properly dismounted
> > WARNING: /var was not properly dismounted
> > 
> > All disks are mounted with soft-updates enabled. 
> > 
> > I don't see any other reports of this. Is this unique to my system?
> 
> Unlike the SCSI driver, the ATA driver does not send a flush cache
> command to your disks before powering off the system.  The kernel
> waits for five seconds in either case, but for some disks that may
> not be sufficient.
> 
> The following patch should fix that, although it may have rotted a
> bit in the last two months given Soeren's sweeping ATA changes.  I
> also edited an unrelated change out of the diff, which might
> confuse patch(1).  If you run into problems getting it to apply,
> let me know and I'll fix it when I'm back from vacation.

Thanks, but the issue was not a write cache problem. It was the change
in the UFS1 super-block in V5. After I performed an fsck_ffs on each
partition, the errors vanished. All appears to be running fine.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Fri Mar 28 2003 - 15:29:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC