Re: make[6]: stopped in /usr/src/lib/bind/dns

From: Gavin Atkinson <gavin_at_FreeBSD.org>
Date: Wed, 14 Aug 2013 15:33:21 +0100 (BST)
On Mon, 12 Aug 2013, AN wrote:
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #78 r253966: Mon Aug  5
> 14:42:05 CDT 2013     root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
> 
> # svn info
> Path: .
> Working Copy Root Path: /usr/src
> URL: svn://svn.freebsd.org/base/head
> Relative URL: ^/head
> Repository Root: svn://svn.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 254252
> Node Kind: directory
> Schedule: normal
> Last Changed Author: ed
> Last Changed Rev: 254252
> Last Changed Date: 2013-08-12 13:17:45 -0500 (Mon, 12 Aug 2013)

[...]

> /usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/zone.c:14682:11: warning:
> null character ignored
>       [-Wnull-character]
>         isc_time_
>                  ^
> /usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/zone.c:14682:12: warning:
> null character ignored
>       [-Wnull-character]
>         isc_time_<U+0000>
>                          ^
> /usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/zone.c:14682:13: warning:
> null character ignored
>       [-Wnull-character]
>         isc_time_<U+0000><U+0000>
>                                  ^
[...]
> /usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/zone.c:14682:23: warning:
> null character ignored
>       [-Wnull-character]
> 
> isc_time_<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
> 
> ^

OK, this doesn't look good.  Somehow, that file appears to contain a load 
of \0 characters.

Looking into where exactly in the file this appears (lines 14678-14688):

                set_resigntime(zone);
                UNLOCK_ZONE(zone);
        }

        isc_time_settoepoch(&zone->refreshkeytime);

        /*
         * If we're doing key maintenance, set the key refresh timer to
         * the next scheduled key event or to one hour in the future,
         * whichever is sooner.
         */

The null characters start exactly at 0x60000 into the file, a page 
boundary:

005ffd0  6e 74 69 6d 65 28 7a 6f 6e 65 29 3b 0a 09 09 55 |ntime(zone);...U|
005ffe0  4e 4c 4f 43 4b 5f 5a 4f 4e 45 28 7a 6f 6e 65 29 |NLOCK_ZONE(zone)|
005fff0  3b 0a 09 7d 0a 0a 09 69 73 63 5f 74 69 6d 65 5f |;..}...isc_time_|
0060000  73 65 74 74 6f 65 70 6f 63 68 28 26 7a 6f 6e 65 |settoepoch(&zone|
0060010  2d 3e 72 65 66 72 65 73 68 6b 65 79 74 69 6d 65 |->refreshkeytime|
0060020  29 3b 0a 0a 09 2f 2a 0a 09 20 2a 20 49 66 20 77 |);.../*.. * If w|

So, at least one whole page has been replaced by a page of zeros.  This 
feels like it could actually be a VM issue, though it could also be 
storage.  What drives are you using on this system (AHCI?  SSD?), and are 
you using anything like e.g. geom_mirror?  A full dmesg may be useful.

Gavin
Received on Wed Aug 14 2013 - 12:39:05 UTC

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