From owner-freebsd-mips@FreeBSD.ORG Mon Aug 13 11:07:12 2012 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7ACD1065672 for ; Mon, 13 Aug 2012 11:07:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B868D8FC15 for ; Mon, 13 Aug 2012 11:07:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7DB7C5w007161 for ; Mon, 13 Aug 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7DB7CYP007159 for freebsd-mips@FreeBSD.org; Mon, 13 Aug 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Aug 2012 11:07:12 GMT Message-Id: <201208131107.q7DB7CYP007159@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-mips@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-mips@FreeBSD.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165951 mips [ar913x] [ath] DDR flush isn't being done for the WMAC p kern/163670 mips [mips][arge] arge can't allocate ring buffer on multip 2 problems total. From owner-freebsd-mips@FreeBSD.ORG Mon Aug 13 16:37:53 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74281065675 for ; Mon, 13 Aug 2012 16:37:53 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 789A38FC15 for ; Mon, 13 Aug 2012 16:37:52 +0000 (UTC) Received: by weyx56 with SMTP id x56so3202865wey.13 for ; Mon, 13 Aug 2012 09:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bJbOYFGyEX2kgjdNz5gIN7rG1deKwGGD4QAE4vWxexc=; b=g1tTu8Y51SmaSq7pc5DSDP2nic4qEXfQMhl42wbmenRDqozuCiZXLfIxFXT8njXzRT 5fqyzgzh4ETOuwfg5J5dpbBjnJQ85vNb69dM0SQxwYEkswppTcBwAWo36ixThyfx48wA Wb/L/l/BonKdliT9A27sOOM8Dugd0PlASh75NsXOJj6QP/1kU/a2YgWWAQvAAUyqis2F bzNpCUsLOMOPVdBGzFX6Cj187abW71avTnvhhkKt86helw82eMfsz9hBZ3H5P23bjxIe Q0XUJs5PYFIJarNdy/xKDFVbgKm+r7qStpDGUYldcSvFsISBqyrn2neQGxR8NDUtOd6a K6SQ== MIME-Version: 1.0 Received: by 10.180.81.133 with SMTP id a5mr19812132wiy.17.1344875872296; Mon, 13 Aug 2012 09:37:52 -0700 (PDT) Received: by 10.216.115.3 with HTTP; Mon, 13 Aug 2012 09:37:52 -0700 (PDT) In-Reply-To: <50269AD4.9050804@rice.edu> References: <50228F5C.1000408@rice.edu> <50269AD4.9050804@rice.edu> Date: Mon, 13 Aug 2012 22:07:52 +0530 Message-ID: From: "Jayachandran C." To: Alan Cox Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: mips@freebsd.org Subject: Re: mips pmap patch X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 16:37:54 -0000 On Sat, Aug 11, 2012 at 11:18 PM, Alan Cox wrote: > > On 08/09/2012 10:36, Jayachandran C. wrote: > > On Wed, Aug 8, 2012 at 9:40 PM, Alan Cox wrote: >> >> Can someone please test this patch? It applies some changes to the mips= pmap that were made a long time ago to the amd64 and i386 pmaps. In parti= cular, it reduces the size of a pv entry. >> >> Briefly, the big picture is that in order to move forward with further l= ocking refinements to the VM system's machine-independent layer, I need to = eliminate all uses of the page queues lock from every pmap. In order to re= move the page queues lock from the mips pmap, I need to port the new pv ent= ry allocator from the amd64 and i386 pmaps. This patch is preparation for = that. > > > Tested the patch on XLP for about an hour ('make -j 64 buildworld' on 32 = cpu mips64) and did not see any issues. > > > Thank you for the quick response. I am attaching the next patch for test= ing. > > This patch does two things: > > 1. It ports the new PV entry allocator from x86. This new allocator has = two virtues. First, it doesn't use the page queues lock. Second, it shrin= ks the size of a PV entry by almost half. > > 2. I observed and fixed a rather serious bug in pmap_remove_write(). Aft= er removing write access from the physical page's first mapping, pmap_remov= e_write() then used the wrong "next" pointer. So, the page's second, third= , etc. mapping would not be write protected. Instead, some arbitrary mappi= ng for a completely different page would be write protected, likely leading= to spurious page faults later to reestablish write access to that mapping. > > This patch needs testing in both 32 bit and 64 bit kernels. Ran the compile test on 32 and 64 bit kernels, and did not see any issue. I could not test for more than an hour on 32-bit due to another problem (freelist 1 containing direct-mapped pages runs out of pages after about an hour of compile test). This issue has been there for a long time, I am planning to look at it when I get a chance. JC. From owner-freebsd-mips@FreeBSD.ORG Mon Aug 13 20:28:12 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 926E01065672 for ; Mon, 13 Aug 2012 20:28:12 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh10.mail.rice.edu (mh10.mail.rice.edu [128.42.201.30]) by mx1.freebsd.org (Postfix) with ESMTP id 5BFF98FC0A for ; Mon, 13 Aug 2012 20:28:12 +0000 (UTC) Received: from mh10.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh10.mail.rice.edu (Postfix) with ESMTP id D1C85606F9; Mon, 13 Aug 2012 15:28:11 -0500 (CDT) Received: from mh10.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh10.mail.rice.edu (Postfix) with ESMTP id D03C0606F7; Mon, 13 Aug 2012 15:28:11 -0500 (CDT) X-Virus-Scanned: by amavis-2.7.0 at mh10.mail.rice.edu, auth channel Received: from mh10.mail.rice.edu ([127.0.0.1]) by mh10.mail.rice.edu (mh10.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id 8ZWvMRSg8Ohx; Mon, 13 Aug 2012 15:28:11 -0500 (CDT) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh10.mail.rice.edu (Postfix) with ESMTPSA id 247BB606DE; Mon, 13 Aug 2012 15:28:11 -0500 (CDT) Message-ID: <5029635A.4050209@rice.edu> Date: Mon, 13 Aug 2012 15:28:10 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111113 Thunderbird/8.0 MIME-Version: 1.0 To: "Jayachandran C." References: <50228F5C.1000408@rice.edu> <50269AD4.9050804@rice.edu> In-Reply-To: Content-Type: multipart/mixed; boundary="------------000007030604030806080307" Cc: mips@freebsd.org, Alan Cox Subject: Re: mips pmap patch X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 20:28:12 -0000 This is a multi-part message in MIME format. --------------000007030604030806080307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/13/2012 11:37, Jayachandran C. wrote: > On Sat, Aug 11, 2012 at 11:18 PM, Alan Cox wrote: >> On 08/09/2012 10:36, Jayachandran C. wrote: >> >> On Wed, Aug 8, 2012 at 9:40 PM, Alan Cox wrote: >>> Can someone please test this patch? It applies some changes to the mips pmap that were made a long time ago to the amd64 and i386 pmaps. In particular, it reduces the size of a pv entry. >>> >>> Briefly, the big picture is that in order to move forward with further locking refinements to the VM system's machine-independent layer, I need to eliminate all uses of the page queues lock from every pmap. In order to remove the page queues lock from the mips pmap, I need to port the new pv entry allocator from the amd64 and i386 pmaps. This patch is preparation for that. >> >> Tested the patch on XLP for about an hour ('make -j 64 buildworld' on 32 cpu mips64) and did not see any issues. >> >> >> Thank you for the quick response. I am attaching the next patch for testing. >> >> This patch does two things: >> >> 1. It ports the new PV entry allocator from x86. This new allocator has two virtues. First, it doesn't use the page queues lock. Second, it shrinks the size of a PV entry by almost half. >> >> 2. I observed and fixed a rather serious bug in pmap_remove_write(). After removing write access from the physical page's first mapping, pmap_remove_write() then used the wrong "next" pointer. So, the page's second, third, etc. mapping would not be write protected. Instead, some arbitrary mapping for a completely different page would be write protected, likely leading to spurious page faults later to reestablish write access to that mapping. >> >> This patch needs testing in both 32 bit and 64 bit kernels. > Ran the compile test on 32 and 64 bit kernels, and did not see any issue. > > I could not test for more than an hour on 32-bit due to another > problem (freelist 1 containing direct-mapped pages runs out of pages > after about an hour of compile test). This issue has been there for a > long time, I am planning to look at it when I get a chance. > What exactly happens? panic? deadlock? I'm attaching the next patch. This one replaces the page queues lock with a new lock that is private to the pmap. After this patch gets committed, I will likely prepare a patch correcting the behavior of pmap_clear_modify(). It is not only clearing the modified bit/flag, but also doing two things that it shouldn't: calling vm_page_dirty() and I believe write protecting the page (which will trigger unnecessary soft faults). Alan --------------000007030604030806080307 Content-Type: text/plain; name="mips_pmap18.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mips_pmap18.patch" Index: mips/mips/pmap.c =================================================================== --- mips/mips/pmap.c (revision 239236) +++ mips/mips/pmap.c (working copy) @@ -73,21 +73,28 @@ __FBSDID("$FreeBSD$"); #include #include +#include +#include +#include +#include +#include #include -#include -#include -#include +#include +#include +#ifdef SMP #include +#else +#include +#endif #include +#include + #ifdef DDB #include #endif #include #include -#include -#include -#include #include #include #include @@ -96,11 +103,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include -#ifdef SMP -#include -#endif #include #include @@ -108,10 +110,6 @@ __FBSDID("$FreeBSD$"); #undef PMAP_DEBUG -#ifndef PMAP_SHPGPERPROC -#define PMAP_SHPGPERPROC 200 -#endif - #if !defined(DIAGNOSTIC) #define PMAP_INLINE __inline #else @@ -158,6 +156,17 @@ vm_offset_t kernel_vm_end = VM_MIN_KERNEL_ADDRESS; static void pmap_asid_alloc(pmap_t pmap); /* + * Isolate the global pv list lock from data and other locks to prevent false + * sharing within the cache. + */ +static struct { + struct rwlock lock; + char padding[CACHE_LINE_SIZE - sizeof(struct rwlock)]; +} pvh_global __aligned(CACHE_LINE_SIZE); + +#define pvh_global_lock pvh_global.lock + +/* * Data for the pv entry allocation mechanism */ static TAILQ_HEAD(pch, pv_chunk) pv_chunks = TAILQ_HEAD_INITIALIZER(pv_chunks); @@ -590,6 +599,11 @@ again: pmap_max_asid = VMNUM_PIDS; mips_wr_entryhi(0); mips_wr_pagemask(0); + + /* + * Initialize the global pv list lock. + */ + rw_init(&pvh_global_lock, "pmap pv global"); } /* @@ -1091,9 +1105,9 @@ _pmap_allocpte(pmap_t pmap, unsigned ptepindex, in if ((m = pmap_alloc_direct_page(ptepindex, VM_ALLOC_NORMAL)) == NULL) { if (flags & M_WAITOK) { PMAP_UNLOCK(pmap); - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); pmap_grow_direct_page_cache(); - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); } @@ -1187,20 +1201,9 @@ retry: /*************************************************** -* Pmap allocation/deallocation routines. + * Pmap allocation/deallocation routines. ***************************************************/ -/* - * Revision 1.397 - * - Merged pmap_release and pmap_release_free_page. When pmap_release is - * called only the page directory page(s) can be left in the pmap pte - * object, since all page table pages will have been freed by - * pmap_remove_pages and pmap_remove. In addition, there can only be one - * reference to the pmap and the page directory is wired, so the page(s) - * can never be busy. So all there is to do is clear the magic mappings - * from the page directory and free the page(s). - */ - /* * Release any resources held by the given physical map. * Called when a pmap initialized by pmap_pinit is being released. @@ -1493,7 +1496,7 @@ free_pv_entry(pmap_t pmap, pv_entry_t pv) struct pv_chunk *pc; int bit, field, idx; - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); PMAP_LOCK_ASSERT(pmap, MA_OWNED); PV_STAT(pv_entry_frees++); PV_STAT(pv_entry_spare++); @@ -1548,7 +1551,7 @@ get_pv_entry(pmap_t pmap, boolean_t try) vm_page_t m; int bit, field, idx; - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); PMAP_LOCK_ASSERT(pmap, MA_OWNED); PV_STAT(pv_entry_allocs++); pv_entry_count++; @@ -1616,7 +1619,7 @@ pmap_pvh_remove(struct md_page *pvh, pmap_t pmap, { pv_entry_t pv; - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); TAILQ_FOREACH(pv, &pvh->pv_list, pv_list) { if (pmap == PV_PMAP(pv) && va == pv->pv_va) { TAILQ_REMOVE(&pvh->pv_list, pv, pv_list); @@ -1642,7 +1645,7 @@ static void pmap_remove_entry(pmap_t pmap, vm_page_t m, vm_offset_t va) { - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); pmap_pvh_free(&m->md, pmap, va); if (TAILQ_EMPTY(&m->md.pv_list)) vm_page_aflag_clear(m, PGA_WRITEABLE); @@ -1657,8 +1660,8 @@ pmap_try_insert_pv_entry(pmap_t pmap, vm_page_t mp { pv_entry_t pv; + rw_assert(&pvh_global_lock, RA_WLOCKED); PMAP_LOCK_ASSERT(pmap, MA_OWNED); - mtx_assert(&vm_page_queue_mtx, MA_OWNED); if ((pv = get_pv_entry(pmap, TRUE)) != NULL) { pv->pv_va = va; TAILQ_INSERT_TAIL(&m->md.pv_list, pv, pv_list); @@ -1678,7 +1681,7 @@ pmap_remove_pte(struct pmap *pmap, pt_entry_t *ptq vm_page_t m; vm_paddr_t pa; - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); PMAP_LOCK_ASSERT(pmap, MA_OWNED); oldpte = *ptq; @@ -1719,7 +1722,7 @@ pmap_remove_page(struct pmap *pmap, vm_offset_t va pd_entry_t *pde; pt_entry_t *ptq; - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); PMAP_LOCK_ASSERT(pmap, MA_OWNED); pde = pmap_pde(pmap, va); if (pde == NULL || *pde == 0) @@ -1763,7 +1766,7 @@ pmap_remove(struct pmap *pmap, vm_offset_t sva, vm if (pmap->pm_stats.resident_count == 0) return; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); /* @@ -1799,7 +1802,7 @@ pmap_remove(struct pmap *pmap, vm_offset_t sva, vm } } out: - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); PMAP_UNLOCK(pmap); } @@ -1826,7 +1829,7 @@ pmap_remove_all(vm_page_t m) KASSERT((m->oflags & VPO_UNMANAGED) == 0, ("pmap_remove_all: page %p is not managed", m)); - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); if (m->md.pv_flags & PV_TABLE_REF) vm_page_aflag_set(m, PGA_REFERENCED); @@ -1876,7 +1879,7 @@ pmap_remove_all(vm_page_t m) vm_page_aflag_clear(m, PGA_WRITEABLE); m->md.pv_flags &= ~(PV_TABLE_REF | PV_TABLE_MOD); - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); } /* @@ -1897,7 +1900,7 @@ pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offs if (prot & VM_PROT_WRITE) return; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); for (; sva < eva; sva = va_next) { pt_entry_t pbits; @@ -1945,7 +1948,7 @@ pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offs } } } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); PMAP_UNLOCK(pmap); } @@ -1979,7 +1982,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t mpte = NULL; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); /* @@ -2141,7 +2144,7 @@ validate: mips_icache_sync_range(va, PAGE_SIZE); mips_dcache_wbinv_range(va, PAGE_SIZE); } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); PMAP_UNLOCK(pmap); } @@ -2158,10 +2161,10 @@ void pmap_enter_quick(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot) { - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); (void)pmap_enter_quick_locked(pmap, va, m, prot, NULL); - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); PMAP_UNLOCK(pmap); } @@ -2175,7 +2178,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_offset_t v KASSERT(va < kmi.clean_sva || va >= kmi.clean_eva || (m->oflags & VPO_UNMANAGED) != 0, ("pmap_enter_quick_locked: managed mapping within the clean submap")); - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); PMAP_LOCK_ASSERT(pmap, MA_OWNED); /* @@ -2347,11 +2350,6 @@ pmap_kenter_temporary_free(vm_paddr_t pa) } /* - * Moved the code to Machine Independent - * vm_map_pmap_enter() - */ - -/* * Maps a sequence of resident pages belonging to the same object. * The sequence begins with the given page m_start. This page is * mapped at the given virtual address start. Each subsequent page is @@ -2374,14 +2372,14 @@ pmap_enter_object(pmap_t pmap, vm_offset_t start, psize = atop(end - start); mpte = NULL; m = m_start; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); while (m != NULL && (diff = m->pindex - m_start->pindex) < psize) { mpte = pmap_enter_quick_locked(pmap, start + ptoa(diff), m, prot, mpte); m = TAILQ_NEXT(m, listq); } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); PMAP_UNLOCK(pmap); } @@ -2564,7 +2562,7 @@ pmap_page_exists_quick(pmap_t pmap, vm_page_t m) KASSERT((m->oflags & VPO_UNMANAGED) == 0, ("pmap_page_exists_quick: page %p is not managed", m)); rv = FALSE; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) { if (PV_PMAP(pv) == pmap) { rv = TRUE; @@ -2574,7 +2572,7 @@ pmap_page_exists_quick(pmap_t pmap, vm_page_t m) if (loops >= 16) break; } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); return (rv); } @@ -2601,7 +2599,7 @@ pmap_remove_pages(pmap_t pmap) printf("warning: pmap_remove_pages called with non-current pmap\n"); return; } - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); PMAP_LOCK(pmap); TAILQ_FOREACH_SAFE(pc, &pmap->pm_pvchunk, pc_list, npc) { allfree = 1; @@ -2661,7 +2659,7 @@ pmap_remove_pages(pmap_t pmap) } pmap_invalidate_all(pmap); PMAP_UNLOCK(pmap); - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); } /* @@ -2680,7 +2678,7 @@ pmap_testbit(vm_page_t m, int bit) if (m->oflags & VPO_UNMANAGED) return (rv); - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) { pmap = PV_PMAP(pv); PMAP_LOCK(pmap); @@ -2706,7 +2704,7 @@ pmap_changebit(vm_page_t m, int bit, boolean_t set if (m->oflags & VPO_UNMANAGED) return; - mtx_assert(&vm_page_queue_mtx, MA_OWNED); + rw_assert(&pvh_global_lock, RA_WLOCKED); /* * Loop over all current mappings setting/clearing as appropos If * setting RO do we need to clear the VAC? @@ -2755,7 +2753,7 @@ pmap_page_wired_mappings(vm_page_t m) count = 0; if ((m->oflags & VPO_UNMANAGED) != 0) return (count); - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) { pmap = PV_PMAP(pv); PMAP_LOCK(pmap); @@ -2764,7 +2762,7 @@ pmap_page_wired_mappings(vm_page_t m) count++; PMAP_UNLOCK(pmap); } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); return (count); } @@ -2790,7 +2788,7 @@ pmap_remove_write(vm_page_t m) if ((m->oflags & VPO_BUSY) == 0 && (m->aflags & PGA_WRITEABLE) == 0) return; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) { pmap = PV_PMAP(pv); PMAP_LOCK(pmap); @@ -2811,7 +2809,7 @@ pmap_remove_write(vm_page_t m) PMAP_UNLOCK(pmap); } vm_page_aflag_clear(m, PGA_WRITEABLE); - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); } /* @@ -2826,9 +2824,9 @@ pmap_ts_referenced(vm_page_t m) KASSERT((m->oflags & VPO_UNMANAGED) == 0, ("pmap_ts_referenced: page %p is not managed", m)); if (m->md.pv_flags & PV_TABLE_REF) { - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); m->md.pv_flags &= ~PV_TABLE_REF; - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); return (1); } return (0); @@ -2857,12 +2855,12 @@ pmap_is_modified(vm_page_t m) if ((m->oflags & VPO_BUSY) == 0 && (m->aflags & PGA_WRITEABLE) == 0) return (FALSE); - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); if (m->md.pv_flags & PV_TABLE_MOD) rv = TRUE; else rv = pmap_testbit(m, PTE_D); - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); return (rv); } @@ -2912,12 +2910,12 @@ pmap_clear_modify(vm_page_t m) */ if ((m->aflags & PGA_WRITEABLE) == 0) return; - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); if (m->md.pv_flags & PV_TABLE_MOD) { pmap_changebit(m, PTE_D, FALSE); m->md.pv_flags &= ~PV_TABLE_MOD; } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); } /* @@ -2946,11 +2944,11 @@ pmap_clear_reference(vm_page_t m) KASSERT((m->oflags & VPO_UNMANAGED) == 0, ("pmap_clear_reference: page %p is not managed", m)); - vm_page_lock_queues(); + rw_wlock(&pvh_global_lock); if (m->md.pv_flags & PV_TABLE_REF) { m->md.pv_flags &= ~PV_TABLE_REF; } - vm_page_unlock_queues(); + rw_wunlock(&pvh_global_lock); } /* --------------000007030604030806080307-- From owner-freebsd-mips@FreeBSD.ORG Wed Aug 15 11:45:16 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5E3E106567E; Wed, 15 Aug 2012 11:45:16 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA068FC26; Wed, 15 Aug 2012 11:45:16 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q7FBjF2D057303; Wed, 15 Aug 2012 07:45:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q7FBjFXb057293; Wed, 15 Aug 2012 11:45:15 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 15 Aug 2012 11:45:15 GMT Message-Id: <201208151145.q7FBjFXb057293@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 11:45:16 -0000 TB --- 2012-08-15 09:38:59 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-08-15 09:38:59 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-08-15 09:38:59 - starting HEAD tinderbox run for mips/mips TB --- 2012-08-15 09:38:59 - cleaning the object tree TB --- 2012-08-15 09:38:59 - cvsupping the source tree TB --- 2012-08-15 09:38:59 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-08-15 09:39:58 - building world TB --- 2012-08-15 09:39:58 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 09:39:58 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 09:39:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 09:39:58 - SRCCONF=/dev/null TB --- 2012-08-15 09:39:58 - TARGET=mips TB --- 2012-08-15 09:39:58 - TARGET_ARCH=mips TB --- 2012-08-15 09:39:58 - TZ=UTC TB --- 2012-08-15 09:39:58 - __MAKE_CONF=/dev/null TB --- 2012-08-15 09:39:58 - cd /src TB --- 2012-08-15 09:39:58 - /usr/bin/make -B buildworld >>> World build started on Wed Aug 15 09:39:59 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Aug 15 10:42:52 UTC 2012 TB --- 2012-08-15 10:42:52 - cd /src/sys/mips/conf TB --- 2012-08-15 10:42:52 - /usr/sbin/config -m ADM5120 TB --- 2012-08-15 10:42:52 - skipping ADM5120 kernel TB --- 2012-08-15 10:42:52 - cd /src/sys/mips/conf TB --- 2012-08-15 10:42:52 - /usr/sbin/config -m ALCHEMY TB --- 2012-08-15 10:42:52 - skipping ALCHEMY kernel TB --- 2012-08-15 10:42:52 - cd /src/sys/mips/conf TB --- 2012-08-15 10:42:52 - /usr/sbin/config -m AP93 TB --- 2012-08-15 10:42:52 - building AP93 kernel TB --- 2012-08-15 10:42:52 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 10:42:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 10:42:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 10:42:52 - SRCCONF=/dev/null TB --- 2012-08-15 10:42:52 - TARGET=mips TB --- 2012-08-15 10:42:52 - TARGET_ARCH=mips TB --- 2012-08-15 10:42:52 - TZ=UTC TB --- 2012-08-15 10:42:52 - __MAKE_CONF=/dev/null TB --- 2012-08-15 10:42:52 - cd /src TB --- 2012-08-15 10:42:52 - /usr/bin/make -B buildkernel KERNCONF=AP93 >>> Kernel build for AP93 started on Wed Aug 15 10:42:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP93 completed on Wed Aug 15 10:47:13 UTC 2012 TB --- 2012-08-15 10:47:13 - cd /src/sys/mips/conf TB --- 2012-08-15 10:47:13 - /usr/sbin/config -m AP94 TB --- 2012-08-15 10:47:13 - building AP94 kernel TB --- 2012-08-15 10:47:13 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 10:47:13 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 10:47:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 10:47:13 - SRCCONF=/dev/null TB --- 2012-08-15 10:47:13 - TARGET=mips TB --- 2012-08-15 10:47:13 - TARGET_ARCH=mips TB --- 2012-08-15 10:47:13 - TZ=UTC TB --- 2012-08-15 10:47:13 - __MAKE_CONF=/dev/null TB --- 2012-08-15 10:47:13 - cd /src TB --- 2012-08-15 10:47:13 - /usr/bin/make -B buildkernel KERNCONF=AP94 >>> Kernel build for AP94 started on Wed Aug 15 10:47:13 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP94 completed on Wed Aug 15 10:51:41 UTC 2012 TB --- 2012-08-15 10:51:41 - cd /src/sys/mips/conf TB --- 2012-08-15 10:51:41 - /usr/sbin/config -m AP96 TB --- 2012-08-15 10:51:41 - building AP96 kernel TB --- 2012-08-15 10:51:41 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 10:51:41 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 10:51:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 10:51:41 - SRCCONF=/dev/null TB --- 2012-08-15 10:51:41 - TARGET=mips TB --- 2012-08-15 10:51:41 - TARGET_ARCH=mips TB --- 2012-08-15 10:51:41 - TZ=UTC TB --- 2012-08-15 10:51:41 - __MAKE_CONF=/dev/null TB --- 2012-08-15 10:51:41 - cd /src TB --- 2012-08-15 10:51:41 - /usr/bin/make -B buildkernel KERNCONF=AP96 >>> Kernel build for AP96 started on Wed Aug 15 10:51:41 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP96 completed on Wed Aug 15 10:56:07 UTC 2012 TB --- 2012-08-15 10:56:07 - cd /src/sys/mips/conf TB --- 2012-08-15 10:56:07 - /usr/sbin/config -m AR71XX_BASE TB --- 2012-08-15 10:56:07 - building AR71XX_BASE kernel TB --- 2012-08-15 10:56:07 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 10:56:07 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 10:56:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 10:56:07 - SRCCONF=/dev/null TB --- 2012-08-15 10:56:07 - TARGET=mips TB --- 2012-08-15 10:56:07 - TARGET_ARCH=mips TB --- 2012-08-15 10:56:07 - TZ=UTC TB --- 2012-08-15 10:56:07 - __MAKE_CONF=/dev/null TB --- 2012-08-15 10:56:07 - cd /src TB --- 2012-08-15 10:56:07 - /usr/bin/make -B buildkernel KERNCONF=AR71XX_BASE >>> Kernel build for AR71XX_BASE started on Wed Aug 15 10:56:07 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AR71XX_BASE completed on Wed Aug 15 11:00:25 UTC 2012 TB --- 2012-08-15 11:00:25 - cd /src/sys/mips/conf TB --- 2012-08-15 11:00:25 - /usr/sbin/config -m AR91XX_BASE TB --- 2012-08-15 11:00:25 - building AR91XX_BASE kernel TB --- 2012-08-15 11:00:25 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:00:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:00:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:00:25 - SRCCONF=/dev/null TB --- 2012-08-15 11:00:25 - TARGET=mips TB --- 2012-08-15 11:00:25 - TARGET_ARCH=mips TB --- 2012-08-15 11:00:25 - TZ=UTC TB --- 2012-08-15 11:00:25 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:00:25 - cd /src TB --- 2012-08-15 11:00:25 - /usr/bin/make -B buildkernel KERNCONF=AR91XX_BASE >>> Kernel build for AR91XX_BASE started on Wed Aug 15 11:00:25 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AR91XX_BASE completed on Wed Aug 15 11:04:40 UTC 2012 TB --- 2012-08-15 11:04:40 - cd /src/sys/mips/conf TB --- 2012-08-15 11:04:40 - /usr/sbin/config -m GXEMUL TB --- 2012-08-15 11:04:40 - skipping GXEMUL kernel TB --- 2012-08-15 11:04:40 - cd /src/sys/mips/conf TB --- 2012-08-15 11:04:40 - /usr/sbin/config -m IDT TB --- 2012-08-15 11:04:40 - skipping IDT kernel TB --- 2012-08-15 11:04:40 - cd /src/sys/mips/conf TB --- 2012-08-15 11:04:40 - /usr/sbin/config -m MALTA TB --- 2012-08-15 11:04:40 - skipping MALTA kernel TB --- 2012-08-15 11:04:40 - cd /src/sys/mips/conf TB --- 2012-08-15 11:04:40 - /usr/sbin/config -m MALTA64 TB --- 2012-08-15 11:04:40 - skipping MALTA64 kernel TB --- 2012-08-15 11:04:40 - cd /src/sys/mips/conf TB --- 2012-08-15 11:04:40 - /usr/sbin/config -m OCTEON1 TB --- 2012-08-15 11:04:40 - skipping OCTEON1 kernel TB --- 2012-08-15 11:04:40 - cd /src/sys/mips/conf TB --- 2012-08-15 11:04:40 - /usr/sbin/config -m PB47 TB --- 2012-08-15 11:04:40 - building PB47 kernel TB --- 2012-08-15 11:04:40 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:04:40 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:04:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:04:40 - SRCCONF=/dev/null TB --- 2012-08-15 11:04:40 - TARGET=mips TB --- 2012-08-15 11:04:40 - TARGET_ARCH=mips TB --- 2012-08-15 11:04:40 - TZ=UTC TB --- 2012-08-15 11:04:40 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:04:40 - cd /src TB --- 2012-08-15 11:04:40 - /usr/bin/make -B buildkernel KERNCONF=PB47 >>> Kernel build for PB47 started on Wed Aug 15 11:04:40 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PB47 completed on Wed Aug 15 11:09:08 UTC 2012 TB --- 2012-08-15 11:09:08 - cd /src/sys/mips/conf TB --- 2012-08-15 11:09:08 - /usr/sbin/config -m PB92 TB --- 2012-08-15 11:09:08 - building PB92 kernel TB --- 2012-08-15 11:09:08 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:09:08 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:09:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:09:08 - SRCCONF=/dev/null TB --- 2012-08-15 11:09:08 - TARGET=mips TB --- 2012-08-15 11:09:08 - TARGET_ARCH=mips TB --- 2012-08-15 11:09:08 - TZ=UTC TB --- 2012-08-15 11:09:08 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:09:08 - cd /src TB --- 2012-08-15 11:09:08 - /usr/bin/make -B buildkernel KERNCONF=PB92 >>> Kernel build for PB92 started on Wed Aug 15 11:09:08 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PB92 completed on Wed Aug 15 11:12:30 UTC 2012 TB --- 2012-08-15 11:12:30 - cd /src/sys/mips/conf TB --- 2012-08-15 11:12:30 - /usr/sbin/config -m QEMU TB --- 2012-08-15 11:12:30 - skipping QEMU kernel TB --- 2012-08-15 11:12:30 - cd /src/sys/mips/conf TB --- 2012-08-15 11:12:30 - /usr/sbin/config -m ROUTERSTATION TB --- 2012-08-15 11:12:30 - building ROUTERSTATION kernel TB --- 2012-08-15 11:12:30 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:12:30 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:12:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:12:30 - SRCCONF=/dev/null TB --- 2012-08-15 11:12:30 - TARGET=mips TB --- 2012-08-15 11:12:30 - TARGET_ARCH=mips TB --- 2012-08-15 11:12:30 - TZ=UTC TB --- 2012-08-15 11:12:30 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:12:30 - cd /src TB --- 2012-08-15 11:12:30 - /usr/bin/make -B buildkernel KERNCONF=ROUTERSTATION >>> Kernel build for ROUTERSTATION started on Wed Aug 15 11:12:30 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for ROUTERSTATION completed on Wed Aug 15 11:16:59 UTC 2012 TB --- 2012-08-15 11:16:59 - cd /src/sys/mips/conf TB --- 2012-08-15 11:16:59 - /usr/sbin/config -m ROUTERSTATION_MFS TB --- 2012-08-15 11:16:59 - building ROUTERSTATION_MFS kernel TB --- 2012-08-15 11:16:59 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:16:59 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:16:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:16:59 - SRCCONF=/dev/null TB --- 2012-08-15 11:16:59 - TARGET=mips TB --- 2012-08-15 11:16:59 - TARGET_ARCH=mips TB --- 2012-08-15 11:16:59 - TZ=UTC TB --- 2012-08-15 11:16:59 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:16:59 - cd /src TB --- 2012-08-15 11:16:59 - /usr/bin/make -B buildkernel KERNCONF=ROUTERSTATION_MFS >>> Kernel build for ROUTERSTATION_MFS started on Wed Aug 15 11:16:59 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for ROUTERSTATION_MFS completed on Wed Aug 15 11:21:26 UTC 2012 TB --- 2012-08-15 11:21:26 - cd /src/sys/mips/conf TB --- 2012-08-15 11:21:26 - /usr/sbin/config -m RSPRO TB --- 2012-08-15 11:21:26 - building RSPRO kernel TB --- 2012-08-15 11:21:26 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:21:26 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:21:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:21:26 - SRCCONF=/dev/null TB --- 2012-08-15 11:21:26 - TARGET=mips TB --- 2012-08-15 11:21:26 - TARGET_ARCH=mips TB --- 2012-08-15 11:21:26 - TZ=UTC TB --- 2012-08-15 11:21:26 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:21:26 - cd /src TB --- 2012-08-15 11:21:26 - /usr/bin/make -B buildkernel KERNCONF=RSPRO >>> Kernel build for RSPRO started on Wed Aug 15 11:21:26 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for RSPRO completed on Wed Aug 15 11:25:53 UTC 2012 TB --- 2012-08-15 11:25:53 - cd /src/sys/mips/conf TB --- 2012-08-15 11:25:53 - /usr/sbin/config -m RSPRO_MFS TB --- 2012-08-15 11:25:53 - building RSPRO_MFS kernel TB --- 2012-08-15 11:25:53 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:25:53 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:25:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:25:53 - SRCCONF=/dev/null TB --- 2012-08-15 11:25:53 - TARGET=mips TB --- 2012-08-15 11:25:53 - TARGET_ARCH=mips TB --- 2012-08-15 11:25:53 - TZ=UTC TB --- 2012-08-15 11:25:53 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:25:53 - cd /src TB --- 2012-08-15 11:25:53 - /usr/bin/make -B buildkernel KERNCONF=RSPRO_MFS >>> Kernel build for RSPRO_MFS started on Wed Aug 15 11:25:53 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for RSPRO_MFS completed on Wed Aug 15 11:30:20 UTC 2012 TB --- 2012-08-15 11:30:20 - cd /src/sys/mips/conf TB --- 2012-08-15 11:30:20 - /usr/sbin/config -m RSPRO_STANDALONE TB --- 2012-08-15 11:30:20 - building RSPRO_STANDALONE kernel TB --- 2012-08-15 11:30:20 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:30:20 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:30:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:30:20 - SRCCONF=/dev/null TB --- 2012-08-15 11:30:20 - TARGET=mips TB --- 2012-08-15 11:30:20 - TARGET_ARCH=mips TB --- 2012-08-15 11:30:20 - TZ=UTC TB --- 2012-08-15 11:30:20 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:30:20 - cd /src TB --- 2012-08-15 11:30:20 - /usr/bin/make -B buildkernel KERNCONF=RSPRO_STANDALONE >>> Kernel build for RSPRO_STANDALONE started on Wed Aug 15 11:30:20 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for RSPRO_STANDALONE completed on Wed Aug 15 11:34:48 UTC 2012 TB --- 2012-08-15 11:34:48 - cd /src/sys/mips/conf TB --- 2012-08-15 11:34:48 - /usr/sbin/config -m RT305X TB --- 2012-08-15 11:34:48 - skipping RT305X kernel TB --- 2012-08-15 11:34:48 - cd /src/sys/mips/conf TB --- 2012-08-15 11:34:48 - /usr/sbin/config -m SENTRY5 TB --- 2012-08-15 11:34:48 - skipping SENTRY5 kernel TB --- 2012-08-15 11:34:48 - cd /src/sys/mips/conf TB --- 2012-08-15 11:34:48 - /usr/sbin/config -m SWARM TB --- 2012-08-15 11:34:48 - building SWARM kernel TB --- 2012-08-15 11:34:48 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:34:48 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:34:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:34:48 - SRCCONF=/dev/null TB --- 2012-08-15 11:34:48 - TARGET=mips TB --- 2012-08-15 11:34:48 - TARGET_ARCH=mips TB --- 2012-08-15 11:34:48 - TZ=UTC TB --- 2012-08-15 11:34:48 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:34:48 - cd /src TB --- 2012-08-15 11:34:48 - /usr/bin/make -B buildkernel KERNCONF=SWARM >>> Kernel build for SWARM started on Wed Aug 15 11:34:48 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for SWARM completed on Wed Aug 15 11:37:25 UTC 2012 TB --- 2012-08-15 11:37:25 - cd /src/sys/mips/conf TB --- 2012-08-15 11:37:25 - /usr/sbin/config -m SWARM64 TB --- 2012-08-15 11:37:25 - skipping SWARM64 kernel TB --- 2012-08-15 11:37:25 - cd /src/sys/mips/conf TB --- 2012-08-15 11:37:25 - /usr/sbin/config -m SWARM64_SMP TB --- 2012-08-15 11:37:25 - skipping SWARM64_SMP kernel TB --- 2012-08-15 11:37:25 - cd /src/sys/mips/conf TB --- 2012-08-15 11:37:25 - /usr/sbin/config -m SWARM_SMP TB --- 2012-08-15 11:37:25 - building SWARM_SMP kernel TB --- 2012-08-15 11:37:25 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:37:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:37:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:37:25 - SRCCONF=/dev/null TB --- 2012-08-15 11:37:25 - TARGET=mips TB --- 2012-08-15 11:37:25 - TARGET_ARCH=mips TB --- 2012-08-15 11:37:25 - TZ=UTC TB --- 2012-08-15 11:37:25 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:37:25 - cd /src TB --- 2012-08-15 11:37:25 - /usr/bin/make -B buildkernel KERNCONF=SWARM_SMP >>> Kernel build for SWARM_SMP started on Wed Aug 15 11:37:25 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for SWARM_SMP completed on Wed Aug 15 11:40:03 UTC 2012 TB --- 2012-08-15 11:40:03 - cd /src/sys/mips/conf TB --- 2012-08-15 11:40:03 - /usr/sbin/config -m TP-WN1043ND TB --- 2012-08-15 11:40:03 - building TP-WN1043ND kernel TB --- 2012-08-15 11:40:03 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:40:03 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:40:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:40:03 - SRCCONF=/dev/null TB --- 2012-08-15 11:40:03 - TARGET=mips TB --- 2012-08-15 11:40:03 - TARGET_ARCH=mips TB --- 2012-08-15 11:40:03 - TZ=UTC TB --- 2012-08-15 11:40:03 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:40:03 - cd /src TB --- 2012-08-15 11:40:03 - /usr/bin/make -B buildkernel KERNCONF=TP-WN1043ND >>> Kernel build for TP-WN1043ND started on Wed Aug 15 11:40:03 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for TP-WN1043ND completed on Wed Aug 15 11:44:27 UTC 2012 TB --- 2012-08-15 11:44:27 - cd /src/sys/mips/conf TB --- 2012-08-15 11:44:27 - /usr/sbin/config -m XLP TB --- 2012-08-15 11:44:27 - building XLP kernel TB --- 2012-08-15 11:44:27 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 11:44:27 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 11:44:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 11:44:27 - SRCCONF=/dev/null TB --- 2012-08-15 11:44:27 - TARGET=mips TB --- 2012-08-15 11:44:27 - TARGET_ARCH=mips TB --- 2012-08-15 11:44:27 - TZ=UTC TB --- 2012-08-15 11:44:27 - __MAKE_CONF=/dev/null TB --- 2012-08-15 11:44:27 - cd /src TB --- 2012-08-15 11:44:27 - /usr/bin/make -B buildkernel KERNCONF=XLP >>> Kernel build for XLP started on Wed Aug 15 11:44:27 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_phy.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_vf.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_mbx.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_osdep.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/fdt/fdt_common.c cc1: warnings being treated as errors /src/sys/dev/fdt/fdt_common.c: In function 'fdt_reg_to_rl': /src/sys/dev/fdt/fdt_common.c:457: warning: passing argument 5 of 'rmi_uart_bus_space->bs_map' from incompatible pointer type *** Error code 1 Stop in /obj/mips.mips/src/sys/XLP. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-08-15 11:45:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-08-15 11:45:15 - ERROR: failed to build XLP kernel TB --- 2012-08-15 11:45:15 - 5504.10 user 1050.16 system 7575.92 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Aug 15 20:10:07 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36E771065678; Wed, 15 Aug 2012 20:10:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id DD5DD8FC14; Wed, 15 Aug 2012 20:10:05 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q7FKA5FA028895; Wed, 15 Aug 2012 16:10:05 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q7FKA58p028874; Wed, 15 Aug 2012 20:10:05 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 15 Aug 2012 20:10:05 GMT Message-Id: <201208152010.q7FKA58p028874@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 20:10:07 -0000 TB --- 2012-08-15 18:02:03 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-08-15 18:02:03 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-08-15 18:02:03 - starting HEAD tinderbox run for mips/mips TB --- 2012-08-15 18:02:03 - cleaning the object tree TB --- 2012-08-15 18:04:17 - cvsupping the source tree TB --- 2012-08-15 18:04:17 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-08-15 18:05:17 - building world TB --- 2012-08-15 18:05:17 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 18:05:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 18:05:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 18:05:17 - SRCCONF=/dev/null TB --- 2012-08-15 18:05:17 - TARGET=mips TB --- 2012-08-15 18:05:17 - TARGET_ARCH=mips TB --- 2012-08-15 18:05:17 - TZ=UTC TB --- 2012-08-15 18:05:17 - __MAKE_CONF=/dev/null TB --- 2012-08-15 18:05:17 - cd /src TB --- 2012-08-15 18:05:17 - /usr/bin/make -B buildworld >>> World build started on Wed Aug 15 18:05:18 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Aug 15 19:07:47 UTC 2012 TB --- 2012-08-15 19:07:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:07:47 - /usr/sbin/config -m ADM5120 TB --- 2012-08-15 19:07:47 - skipping ADM5120 kernel TB --- 2012-08-15 19:07:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:07:47 - /usr/sbin/config -m ALCHEMY TB --- 2012-08-15 19:07:47 - skipping ALCHEMY kernel TB --- 2012-08-15 19:07:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:07:47 - /usr/sbin/config -m AP93 TB --- 2012-08-15 19:07:47 - building AP93 kernel TB --- 2012-08-15 19:07:47 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:07:47 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:07:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:07:47 - SRCCONF=/dev/null TB --- 2012-08-15 19:07:47 - TARGET=mips TB --- 2012-08-15 19:07:47 - TARGET_ARCH=mips TB --- 2012-08-15 19:07:47 - TZ=UTC TB --- 2012-08-15 19:07:47 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:07:47 - cd /src TB --- 2012-08-15 19:07:47 - /usr/bin/make -B buildkernel KERNCONF=AP93 >>> Kernel build for AP93 started on Wed Aug 15 19:07:47 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP93 completed on Wed Aug 15 19:11:54 UTC 2012 TB --- 2012-08-15 19:11:54 - cd /src/sys/mips/conf TB --- 2012-08-15 19:11:54 - /usr/sbin/config -m AP94 TB --- 2012-08-15 19:11:54 - building AP94 kernel TB --- 2012-08-15 19:11:54 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:11:54 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:11:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:11:54 - SRCCONF=/dev/null TB --- 2012-08-15 19:11:54 - TARGET=mips TB --- 2012-08-15 19:11:54 - TARGET_ARCH=mips TB --- 2012-08-15 19:11:54 - TZ=UTC TB --- 2012-08-15 19:11:54 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:11:54 - cd /src TB --- 2012-08-15 19:11:54 - /usr/bin/make -B buildkernel KERNCONF=AP94 >>> Kernel build for AP94 started on Wed Aug 15 19:11:54 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP94 completed on Wed Aug 15 19:16:20 UTC 2012 TB --- 2012-08-15 19:16:20 - cd /src/sys/mips/conf TB --- 2012-08-15 19:16:20 - /usr/sbin/config -m AP96 TB --- 2012-08-15 19:16:20 - building AP96 kernel TB --- 2012-08-15 19:16:20 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:16:20 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:16:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:16:20 - SRCCONF=/dev/null TB --- 2012-08-15 19:16:20 - TARGET=mips TB --- 2012-08-15 19:16:20 - TARGET_ARCH=mips TB --- 2012-08-15 19:16:20 - TZ=UTC TB --- 2012-08-15 19:16:20 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:16:20 - cd /src TB --- 2012-08-15 19:16:20 - /usr/bin/make -B buildkernel KERNCONF=AP96 >>> Kernel build for AP96 started on Wed Aug 15 19:16:20 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP96 completed on Wed Aug 15 19:20:47 UTC 2012 TB --- 2012-08-15 19:20:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:20:47 - /usr/sbin/config -m AR71XX_BASE TB --- 2012-08-15 19:20:47 - building AR71XX_BASE kernel TB --- 2012-08-15 19:20:47 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:20:47 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:20:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:20:47 - SRCCONF=/dev/null TB --- 2012-08-15 19:20:47 - TARGET=mips TB --- 2012-08-15 19:20:47 - TARGET_ARCH=mips TB --- 2012-08-15 19:20:47 - TZ=UTC TB --- 2012-08-15 19:20:47 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:20:47 - cd /src TB --- 2012-08-15 19:20:47 - /usr/bin/make -B buildkernel KERNCONF=AR71XX_BASE >>> Kernel build for AR71XX_BASE started on Wed Aug 15 19:20:47 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AR71XX_BASE completed on Wed Aug 15 19:25:09 UTC 2012 TB --- 2012-08-15 19:25:09 - cd /src/sys/mips/conf TB --- 2012-08-15 19:25:09 - /usr/sbin/config -m AR91XX_BASE TB --- 2012-08-15 19:25:09 - building AR91XX_BASE kernel TB --- 2012-08-15 19:25:09 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:25:09 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:25:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:25:09 - SRCCONF=/dev/null TB --- 2012-08-15 19:25:09 - TARGET=mips TB --- 2012-08-15 19:25:09 - TARGET_ARCH=mips TB --- 2012-08-15 19:25:09 - TZ=UTC TB --- 2012-08-15 19:25:09 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:25:09 - cd /src TB --- 2012-08-15 19:25:09 - /usr/bin/make -B buildkernel KERNCONF=AR91XX_BASE >>> Kernel build for AR91XX_BASE started on Wed Aug 15 19:25:09 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AR91XX_BASE completed on Wed Aug 15 19:29:21 UTC 2012 TB --- 2012-08-15 19:29:21 - cd /src/sys/mips/conf TB --- 2012-08-15 19:29:21 - /usr/sbin/config -m GXEMUL TB --- 2012-08-15 19:29:21 - skipping GXEMUL kernel TB --- 2012-08-15 19:29:21 - cd /src/sys/mips/conf TB --- 2012-08-15 19:29:21 - /usr/sbin/config -m IDT TB --- 2012-08-15 19:29:21 - skipping IDT kernel TB --- 2012-08-15 19:29:21 - cd /src/sys/mips/conf TB --- 2012-08-15 19:29:21 - /usr/sbin/config -m MALTA TB --- 2012-08-15 19:29:21 - skipping MALTA kernel TB --- 2012-08-15 19:29:21 - cd /src/sys/mips/conf TB --- 2012-08-15 19:29:21 - /usr/sbin/config -m MALTA64 TB --- 2012-08-15 19:29:21 - skipping MALTA64 kernel TB --- 2012-08-15 19:29:21 - cd /src/sys/mips/conf TB --- 2012-08-15 19:29:21 - /usr/sbin/config -m OCTEON1 TB --- 2012-08-15 19:29:21 - skipping OCTEON1 kernel TB --- 2012-08-15 19:29:21 - cd /src/sys/mips/conf TB --- 2012-08-15 19:29:21 - /usr/sbin/config -m PB47 TB --- 2012-08-15 19:29:21 - building PB47 kernel TB --- 2012-08-15 19:29:21 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:29:21 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:29:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:29:21 - SRCCONF=/dev/null TB --- 2012-08-15 19:29:21 - TARGET=mips TB --- 2012-08-15 19:29:21 - TARGET_ARCH=mips TB --- 2012-08-15 19:29:21 - TZ=UTC TB --- 2012-08-15 19:29:21 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:29:21 - cd /src TB --- 2012-08-15 19:29:21 - /usr/bin/make -B buildkernel KERNCONF=PB47 >>> Kernel build for PB47 started on Wed Aug 15 19:29:21 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PB47 completed on Wed Aug 15 19:33:45 UTC 2012 TB --- 2012-08-15 19:33:45 - cd /src/sys/mips/conf TB --- 2012-08-15 19:33:45 - /usr/sbin/config -m PB92 TB --- 2012-08-15 19:33:45 - building PB92 kernel TB --- 2012-08-15 19:33:45 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:33:45 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:33:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:33:45 - SRCCONF=/dev/null TB --- 2012-08-15 19:33:45 - TARGET=mips TB --- 2012-08-15 19:33:45 - TARGET_ARCH=mips TB --- 2012-08-15 19:33:45 - TZ=UTC TB --- 2012-08-15 19:33:45 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:33:45 - cd /src TB --- 2012-08-15 19:33:45 - /usr/bin/make -B buildkernel KERNCONF=PB92 >>> Kernel build for PB92 started on Wed Aug 15 19:33:45 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for PB92 completed on Wed Aug 15 19:37:06 UTC 2012 TB --- 2012-08-15 19:37:06 - cd /src/sys/mips/conf TB --- 2012-08-15 19:37:06 - /usr/sbin/config -m QEMU TB --- 2012-08-15 19:37:07 - skipping QEMU kernel TB --- 2012-08-15 19:37:07 - cd /src/sys/mips/conf TB --- 2012-08-15 19:37:07 - /usr/sbin/config -m ROUTERSTATION TB --- 2012-08-15 19:37:07 - building ROUTERSTATION kernel TB --- 2012-08-15 19:37:07 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:37:07 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:37:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:37:07 - SRCCONF=/dev/null TB --- 2012-08-15 19:37:07 - TARGET=mips TB --- 2012-08-15 19:37:07 - TARGET_ARCH=mips TB --- 2012-08-15 19:37:07 - TZ=UTC TB --- 2012-08-15 19:37:07 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:37:07 - cd /src TB --- 2012-08-15 19:37:07 - /usr/bin/make -B buildkernel KERNCONF=ROUTERSTATION >>> Kernel build for ROUTERSTATION started on Wed Aug 15 19:37:07 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for ROUTERSTATION completed on Wed Aug 15 19:41:40 UTC 2012 TB --- 2012-08-15 19:41:40 - cd /src/sys/mips/conf TB --- 2012-08-15 19:41:40 - /usr/sbin/config -m ROUTERSTATION_MFS TB --- 2012-08-15 19:41:40 - building ROUTERSTATION_MFS kernel TB --- 2012-08-15 19:41:40 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:41:40 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:41:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:41:40 - SRCCONF=/dev/null TB --- 2012-08-15 19:41:40 - TARGET=mips TB --- 2012-08-15 19:41:40 - TARGET_ARCH=mips TB --- 2012-08-15 19:41:40 - TZ=UTC TB --- 2012-08-15 19:41:40 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:41:40 - cd /src TB --- 2012-08-15 19:41:40 - /usr/bin/make -B buildkernel KERNCONF=ROUTERSTATION_MFS >>> Kernel build for ROUTERSTATION_MFS started on Wed Aug 15 19:41:40 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for ROUTERSTATION_MFS completed on Wed Aug 15 19:46:15 UTC 2012 TB --- 2012-08-15 19:46:15 - cd /src/sys/mips/conf TB --- 2012-08-15 19:46:15 - /usr/sbin/config -m RSPRO TB --- 2012-08-15 19:46:15 - building RSPRO kernel TB --- 2012-08-15 19:46:15 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:46:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:46:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:46:15 - SRCCONF=/dev/null TB --- 2012-08-15 19:46:15 - TARGET=mips TB --- 2012-08-15 19:46:15 - TARGET_ARCH=mips TB --- 2012-08-15 19:46:15 - TZ=UTC TB --- 2012-08-15 19:46:15 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:46:15 - cd /src TB --- 2012-08-15 19:46:15 - /usr/bin/make -B buildkernel KERNCONF=RSPRO >>> Kernel build for RSPRO started on Wed Aug 15 19:46:15 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for RSPRO completed on Wed Aug 15 19:50:49 UTC 2012 TB --- 2012-08-15 19:50:49 - cd /src/sys/mips/conf TB --- 2012-08-15 19:50:49 - /usr/sbin/config -m RSPRO_MFS TB --- 2012-08-15 19:50:49 - building RSPRO_MFS kernel TB --- 2012-08-15 19:50:49 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:50:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:50:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:50:49 - SRCCONF=/dev/null TB --- 2012-08-15 19:50:49 - TARGET=mips TB --- 2012-08-15 19:50:49 - TARGET_ARCH=mips TB --- 2012-08-15 19:50:49 - TZ=UTC TB --- 2012-08-15 19:50:49 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:50:49 - cd /src TB --- 2012-08-15 19:50:49 - /usr/bin/make -B buildkernel KERNCONF=RSPRO_MFS >>> Kernel build for RSPRO_MFS started on Wed Aug 15 19:50:49 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for RSPRO_MFS completed on Wed Aug 15 19:55:14 UTC 2012 TB --- 2012-08-15 19:55:14 - cd /src/sys/mips/conf TB --- 2012-08-15 19:55:14 - /usr/sbin/config -m RSPRO_STANDALONE TB --- 2012-08-15 19:55:14 - building RSPRO_STANDALONE kernel TB --- 2012-08-15 19:55:14 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:55:14 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:55:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:55:14 - SRCCONF=/dev/null TB --- 2012-08-15 19:55:14 - TARGET=mips TB --- 2012-08-15 19:55:14 - TARGET_ARCH=mips TB --- 2012-08-15 19:55:14 - TZ=UTC TB --- 2012-08-15 19:55:14 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:55:14 - cd /src TB --- 2012-08-15 19:55:14 - /usr/bin/make -B buildkernel KERNCONF=RSPRO_STANDALONE >>> Kernel build for RSPRO_STANDALONE started on Wed Aug 15 19:55:14 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for RSPRO_STANDALONE completed on Wed Aug 15 19:59:47 UTC 2012 TB --- 2012-08-15 19:59:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:59:47 - /usr/sbin/config -m RT305X TB --- 2012-08-15 19:59:47 - skipping RT305X kernel TB --- 2012-08-15 19:59:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:59:47 - /usr/sbin/config -m SENTRY5 TB --- 2012-08-15 19:59:47 - skipping SENTRY5 kernel TB --- 2012-08-15 19:59:47 - cd /src/sys/mips/conf TB --- 2012-08-15 19:59:47 - /usr/sbin/config -m SWARM TB --- 2012-08-15 19:59:47 - building SWARM kernel TB --- 2012-08-15 19:59:47 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 19:59:47 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 19:59:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 19:59:47 - SRCCONF=/dev/null TB --- 2012-08-15 19:59:47 - TARGET=mips TB --- 2012-08-15 19:59:47 - TARGET_ARCH=mips TB --- 2012-08-15 19:59:47 - TZ=UTC TB --- 2012-08-15 19:59:47 - __MAKE_CONF=/dev/null TB --- 2012-08-15 19:59:47 - cd /src TB --- 2012-08-15 19:59:47 - /usr/bin/make -B buildkernel KERNCONF=SWARM >>> Kernel build for SWARM started on Wed Aug 15 19:59:47 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for SWARM completed on Wed Aug 15 20:02:26 UTC 2012 TB --- 2012-08-15 20:02:26 - cd /src/sys/mips/conf TB --- 2012-08-15 20:02:26 - /usr/sbin/config -m SWARM64 TB --- 2012-08-15 20:02:26 - skipping SWARM64 kernel TB --- 2012-08-15 20:02:26 - cd /src/sys/mips/conf TB --- 2012-08-15 20:02:26 - /usr/sbin/config -m SWARM64_SMP TB --- 2012-08-15 20:02:26 - skipping SWARM64_SMP kernel TB --- 2012-08-15 20:02:26 - cd /src/sys/mips/conf TB --- 2012-08-15 20:02:26 - /usr/sbin/config -m SWARM_SMP TB --- 2012-08-15 20:02:26 - building SWARM_SMP kernel TB --- 2012-08-15 20:02:26 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 20:02:26 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 20:02:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 20:02:26 - SRCCONF=/dev/null TB --- 2012-08-15 20:02:26 - TARGET=mips TB --- 2012-08-15 20:02:26 - TARGET_ARCH=mips TB --- 2012-08-15 20:02:26 - TZ=UTC TB --- 2012-08-15 20:02:26 - __MAKE_CONF=/dev/null TB --- 2012-08-15 20:02:26 - cd /src TB --- 2012-08-15 20:02:26 - /usr/bin/make -B buildkernel KERNCONF=SWARM_SMP >>> Kernel build for SWARM_SMP started on Wed Aug 15 20:02:26 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for SWARM_SMP completed on Wed Aug 15 20:05:01 UTC 2012 TB --- 2012-08-15 20:05:01 - cd /src/sys/mips/conf TB --- 2012-08-15 20:05:01 - /usr/sbin/config -m TP-WN1043ND TB --- 2012-08-15 20:05:01 - building TP-WN1043ND kernel TB --- 2012-08-15 20:05:01 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 20:05:01 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 20:05:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 20:05:01 - SRCCONF=/dev/null TB --- 2012-08-15 20:05:01 - TARGET=mips TB --- 2012-08-15 20:05:01 - TARGET_ARCH=mips TB --- 2012-08-15 20:05:01 - TZ=UTC TB --- 2012-08-15 20:05:01 - __MAKE_CONF=/dev/null TB --- 2012-08-15 20:05:01 - cd /src TB --- 2012-08-15 20:05:01 - /usr/bin/make -B buildkernel KERNCONF=TP-WN1043ND >>> Kernel build for TP-WN1043ND started on Wed Aug 15 20:05:01 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for TP-WN1043ND completed on Wed Aug 15 20:09:23 UTC 2012 TB --- 2012-08-15 20:09:23 - cd /src/sys/mips/conf TB --- 2012-08-15 20:09:23 - /usr/sbin/config -m XLP TB --- 2012-08-15 20:09:23 - building XLP kernel TB --- 2012-08-15 20:09:23 - CROSS_BUILD_TESTING=YES TB --- 2012-08-15 20:09:23 - MAKEOBJDIRPREFIX=/obj TB --- 2012-08-15 20:09:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-08-15 20:09:23 - SRCCONF=/dev/null TB --- 2012-08-15 20:09:23 - TARGET=mips TB --- 2012-08-15 20:09:23 - TARGET_ARCH=mips TB --- 2012-08-15 20:09:23 - TZ=UTC TB --- 2012-08-15 20:09:23 - __MAKE_CONF=/dev/null TB --- 2012-08-15 20:09:23 - cd /src TB --- 2012-08-15 20:09:23 - /usr/bin/make -B buildkernel KERNCONF=XLP >>> Kernel build for XLP started on Wed Aug 15 20:09:23 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_phy.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_vf.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_mbx.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/e1000/e1000_osdep.c -I/src/sys/dev/e1000 cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=10000 --param large-function-growth=100000 --param max-inline-insns-single=10000 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80100000 -march=mips32 -msoft-float -ffreestanding -Werror /src/sys/dev/fdt/fdt_common.c cc1: warnings being treated as errors /src/sys/dev/fdt/fdt_common.c: In function 'fdt_reg_to_rl': /src/sys/dev/fdt/fdt_common.c:457: warning: passing argument 5 of 'rmi_uart_bus_space->bs_map' from incompatible pointer type *** Error code 1 Stop in /obj/mips.mips/src/sys/XLP. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-08-15 20:10:05 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-08-15 20:10:05 - ERROR: failed to build XLP kernel TB --- 2012-08-15 20:10:05 - 5523.10 user 1051.38 system 7681.98 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Aug 15 22:21:35 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A696E106566B for ; Wed, 15 Aug 2012 22:21:35 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 37CDE8FC0A for ; Wed, 15 Aug 2012 22:21:34 +0000 (UTC) Received: by weyx56 with SMTP id x56so1648665wey.13 for ; Wed, 15 Aug 2012 15:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fH1wP5LGM5HWizeiv4s2W3oqcw9zUBwY0HKVvp4ctnk=; b=qY9xNZcuxpa2AKKgM9sCeB0eEbfBZRR6gMvU6q9YbeCPo06fdUF5FexJ96BKOt2gLF +5Sj4/nU2q/BF1VWuhYULUVFt8X2frLYBWy/hcklNT8VcsGrOsUWF8SsQXLEZSmE07LS n2g3neZqQqVSrZXvMkd2IsZK+oQqbrzmURZ6JZtLch5ncxpIik/xKGr1Uxt7dU5/i4ue AwRYLgPVZgfH4zHWgmRSy547XIiQEMLH0MIzCHybFw5pN3X0fjz/ycy0MZwC88+EpFZv Q7IkJmOs3zI8abisMyvTzcBH2WykGTN2gua2bfr0i0SNFPyQrnBwX3vWVt4NBkZVy8Ro hSdA== MIME-Version: 1.0 Received: by 10.216.123.130 with SMTP id v2mr11122506weh.117.1345069294090; Wed, 15 Aug 2012 15:21:34 -0700 (PDT) Received: by 10.216.115.3 with HTTP; Wed, 15 Aug 2012 15:21:34 -0700 (PDT) In-Reply-To: <5029635A.4050209@rice.edu> References: <50228F5C.1000408@rice.edu> <50269AD4.9050804@rice.edu> <5029635A.4050209@rice.edu> Date: Thu, 16 Aug 2012 03:51:34 +0530 Message-ID: From: "Jayachandran C." To: Alan Cox Content-Type: text/plain; charset=ISO-8859-1 Cc: mips@freebsd.org Subject: Re: mips pmap patch X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 22:21:35 -0000 On Tue, Aug 14, 2012 at 1:58 AM, Alan Cox wrote: > On 08/13/2012 11:37, Jayachandran C. wrote: >> >> On Sat, Aug 11, 2012 at 11:18 PM, Alan Cox wrote: >>> >>> On 08/09/2012 10:36, Jayachandran C. wrote: >>> >>> On Wed, Aug 8, 2012 at 9:40 PM, Alan Cox wrote: >>>> >>>> Can someone please test this patch? It applies some changes to the mips >>>> pmap that were made a long time ago to the amd64 and i386 pmaps. In >>>> particular, it reduces the size of a pv entry. >>>> >>>> Briefly, the big picture is that in order to move forward with further >>>> locking refinements to the VM system's machine-independent layer, I need to >>>> eliminate all uses of the page queues lock from every pmap. In order to >>>> remove the page queues lock from the mips pmap, I need to port the new pv >>>> entry allocator from the amd64 and i386 pmaps. This patch is preparation >>>> for that. >>> >>> >>> Tested the patch on XLP for about an hour ('make -j 64 buildworld' on 32 >>> cpu mips64) and did not see any issues. >>> >>> >>> Thank you for the quick response. I am attaching the next patch for >>> testing. >>> >>> This patch does two things: >>> >>> 1. It ports the new PV entry allocator from x86. This new allocator has >>> two virtues. First, it doesn't use the page queues lock. Second, it >>> shrinks the size of a PV entry by almost half. >>> >>> 2. I observed and fixed a rather serious bug in pmap_remove_write(). >>> After removing write access from the physical page's first mapping, >>> pmap_remove_write() then used the wrong "next" pointer. So, the page's >>> second, third, etc. mapping would not be write protected. Instead, some >>> arbitrary mapping for a completely different page would be write protected, >>> likely leading to spurious page faults later to reestablish write access to >>> that mapping. >>> >>> This patch needs testing in both 32 bit and 64 bit kernels. >> >> Ran the compile test on 32 and 64 bit kernels, and did not see any issue. >> >> I could not test for more than an hour on 32-bit due to another >> problem (freelist 1 containing direct-mapped pages runs out of pages >> after about an hour of compile test). This issue has been there for a >> long time, I am planning to look at it when I get a chance. >> > > What exactly happens? panic? deadlock? The build slows down to a crawl and hangs when it runs out of pages in the freelist. > I'm attaching the next patch. This one replaces the page queues lock with a > new lock that is private to the pmap. Tested this with the same setup and I don't see any issues. > After this patch gets committed, I will likely prepare a patch correcting > the behavior of pmap_clear_modify(). It is not only clearing the modified > bit/flag, but also doing two things that it shouldn't: calling > vm_page_dirty() and I believe write protecting the page (which will trigger > unnecessary soft faults). Let me know if you need any specific tests to be done on these patches. JC. From owner-freebsd-mips@FreeBSD.ORG Thu Aug 16 16:40:20 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C62E106564A for ; Thu, 16 Aug 2012 16:40:20 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh10.mail.rice.edu (mh10.mail.rice.edu [128.42.201.30]) by mx1.freebsd.org (Postfix) with ESMTP id 215A58FC14 for ; Thu, 16 Aug 2012 16:40:19 +0000 (UTC) Received: from mh10.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh10.mail.rice.edu (Postfix) with ESMTP id 2FEB9604D7; Thu, 16 Aug 2012 11:40:19 -0500 (CDT) Received: from mh10.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh10.mail.rice.edu (Postfix) with ESMTP id 2E973604C6; Thu, 16 Aug 2012 11:40:19 -0500 (CDT) X-Virus-Scanned: by amavis-2.7.0 at mh10.mail.rice.edu, auth channel Received: from mh10.mail.rice.edu ([127.0.0.1]) by mh10.mail.rice.edu (mh10.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id ehfmjhkm6Ii9; Thu, 16 Aug 2012 11:40:19 -0500 (CDT) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh10.mail.rice.edu (Postfix) with ESMTPSA id C6148604D5; Thu, 16 Aug 2012 11:40:18 -0500 (CDT) Message-ID: <502D2271.6080105@rice.edu> Date: Thu, 16 Aug 2012 11:40:17 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111113 Thunderbird/8.0 MIME-Version: 1.0 To: "Jayachandran C." References: <50228F5C.1000408@rice.edu> <50269AD4.9050804@rice.edu> <5029635A.4050209@rice.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mips@freebsd.org Subject: Re: mips pmap patch X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 16:40:20 -0000 On 08/15/2012 17:21, Jayachandran C. wrote: > On Tue, Aug 14, 2012 at 1:58 AM, Alan Cox wrote: >> On 08/13/2012 11:37, Jayachandran C. wrote: >>> On Sat, Aug 11, 2012 at 11:18 PM, Alan Cox wrote: >>>> On 08/09/2012 10:36, Jayachandran C. wrote: >>>> >>>> On Wed, Aug 8, 2012 at 9:40 PM, Alan Cox wrote: >>>>> Can someone please test this patch? It applies some changes to the mips >>>>> pmap that were made a long time ago to the amd64 and i386 pmaps. In >>>>> particular, it reduces the size of a pv entry. >>>>> >>>>> Briefly, the big picture is that in order to move forward with further >>>>> locking refinements to the VM system's machine-independent layer, I need to >>>>> eliminate all uses of the page queues lock from every pmap. In order to >>>>> remove the page queues lock from the mips pmap, I need to port the new pv >>>>> entry allocator from the amd64 and i386 pmaps. This patch is preparation >>>>> for that. >>>> >>>> Tested the patch on XLP for about an hour ('make -j 64 buildworld' on 32 >>>> cpu mips64) and did not see any issues. >>>> >>>> >>>> Thank you for the quick response. I am attaching the next patch for >>>> testing. >>>> >>>> This patch does two things: >>>> >>>> 1. It ports the new PV entry allocator from x86. This new allocator has >>>> two virtues. First, it doesn't use the page queues lock. Second, it >>>> shrinks the size of a PV entry by almost half. >>>> >>>> 2. I observed and fixed a rather serious bug in pmap_remove_write(). >>>> After removing write access from the physical page's first mapping, >>>> pmap_remove_write() then used the wrong "next" pointer. So, the page's >>>> second, third, etc. mapping would not be write protected. Instead, some >>>> arbitrary mapping for a completely different page would be write protected, >>>> likely leading to spurious page faults later to reestablish write access to >>>> that mapping. >>>> >>>> This patch needs testing in both 32 bit and 64 bit kernels. >>> Ran the compile test on 32 and 64 bit kernels, and did not see any issue. >>> >>> I could not test for more than an hour on 32-bit due to another >>> problem (freelist 1 containing direct-mapped pages runs out of pages >>> after about an hour of compile test). This issue has been there for a >>> long time, I am planning to look at it when I get a chance. >>> >> What exactly happens? panic? deadlock? > The build slows down to a crawl and hangs when it runs out of pages in > the freelist. I'd like to see the output of "sysctl vm.phys_segs" and "sysctl vm.phys_free" from this machine. Even better would be running "sysctl vm.phys_free" every 60 seconds during the buildworld. Finally, I'd like to know whether or not either "ps" or "top" shows any threads blocked on the "swwrt" wait channel once things slow to a crawl. >> I'm attaching the next patch. This one replaces the page queues lock with a >> new lock that is private to the pmap. > Tested this with the same setup and I don't see any issues. Thanks. >> After this patch gets committed, I will likely prepare a patch correcting >> the behavior of pmap_clear_modify(). It is not only clearing the modified >> bit/flag, but also doing two things that it shouldn't: calling >> vm_page_dirty() and I believe write protecting the page (which will trigger >> unnecessary soft faults). > Let me know if you need any specific tests to be done on these patches. Ok. I don't think that the next change will require any specific tests. Alan