Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 13:46:30 +0530
From:      "Andriy Tkachuk" <andrit@ukr.net>
To:        <freebsd-hackers@freebsd.org>
Subject:   Re: giving up on 1 buffers error messsage 
Message-ID:  <00c601c51b12$5a9f0760$090210ac@BORJA>
References:  <Pine.LNX.4.61.0502221205400.8328@antitrust.cs.utah.edu>

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

It is interesting why threre is no answer for this question so long time,
regardless that it was posted 2 times :)

For me it is also interesting to get the answer for this question
since from time to time i also confused by such msgs on
shutdown.

>
> syncing disks... 54 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up on 1
> buffers
>
>
> Hi,
>
> I am referring to the message when the code in kern_shutdown.c in bsd
> 4.10 is called at the time of boot() system call
>
> My understanding is that this message tells us that 1 buffer from the
> buffer cache was not successfully flushed to disk, since the last call to
> sync(). Is that right? In that case what happens to this buffer? Is it
> discarded and assume that fsck will fix this on reboot?
>
> Since the syncer process runs periodically, can this error message be
> avoided if we wait long enough to guarantee flushing to disk (I have tried
> with DELAYS upto 30 seconds but I still get the error sometimes).
>
> I am actually trying to use this same code at a different point in time
> (not during shutdown, but to take a checkpoint), so I am not sure if that
> contributes to this error message?
>
>
>
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c601c51b12$5a9f0760$090210ac>