Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2013 16:19:36 -0400
From:      J David <j.david.lists@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-stable@freebsd.org, Dimitry Andric <dim@freebsd.org>
Subject:   Re: Phantom nulls in usbdevs.h during 9-STABLE kernel build
Message-ID:  <CABXB=RTq1-Wj9RNqVSt10B7JEgS-0_SfERiUU%2Bcr7wVabwfUiw@mail.gmail.com>
In-Reply-To: <20130705032754.GO91021@kib.kiev.ua>
References:  <CABXB=RRuvueMQ=KpEy=04RT9n-z%2BW_Ap%2BTDWZn6xqVet1=w-LA@mail.gmail.com> <2D61560D-E3D9-4558-8715-8215DBBF21D9@FreeBSD.org> <CABXB=RSpLo7sXR3F74QYrtOwYvk3OKGou0h9XQtu3b0E-hNxYw@mail.gmail.com> <F1DF4DC8-97F4-4770-97F9-ADE0685F1E4E@freebsd.org> <CABXB=RT87QJsH_CM6QSrJeXRn76VTMQ4SXhop9Ge%2BW8_vto_nw@mail.gmail.com> <20130705032754.GO91021@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 4, 2013 at 11:27 PM, Konstantin Belousov <kostikbel@gmail.com>wrote:

> Try to apply r252528 and see if it helps.
>

OK, I svn up'd to get the clang changes and applied this patch as well.
 (Built tree off of local /usr/obj to avoid hitting the problem while
building with the patch.)

So far I have built the kernel 4 times with clang on NFS-mounted /usr/obj
with no problems, so things seem improved although reading the commit
description it sounds more like generalized corruption would result, so I
don't really understand why it would crop up so consistently only in this
one file.  (But it's entirely possible I misunderstood the commit message.)

It seems like usbdevs.h gets written once early in the boot process and
then never again.  So if this is indeed the fix, I wonder what the build
does to exercise that bug so frequently.

Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABXB=RTq1-Wj9RNqVSt10B7JEgS-0_SfERiUU%2Bcr7wVabwfUiw>