Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 16:29:32 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Kevin Oberman <oberman@es.net>, current@FreeBSD.ORG
Subject:   Re: Unclean sync in current 
Message-ID:  <20030329002935.C900169@ptavv.es.net>
In-Reply-To: Message from David Schultz <das@FreeBSD.ORG>  <20030329001859.GA22238@HAL9000.homeunix.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 28 Mar 2003 16:18:59 -0800
> From: David Schultz <das@FreeBSD.ORG>
> 
> Thus spake Kevin Oberman <oberman@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@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030329002935.C900169>