From owner-freebsd-arm@freebsd.org Mon Sep 14 08:57:32 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A11B4A015C2 for ; Mon, 14 Sep 2015 08:57:32 +0000 (UTC) (envelope-from zhaoshenglong@huawei.com) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "myname.my.domain", Issuer "www.mirapoint.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A0EFF15D7 for ; Mon, 14 Sep 2015 08:57:29 +0000 (UTC) (envelope-from zhaoshenglong@huawei.com) Received: from 172.24.1.50 (EHLO szxeml430-hub.china.huawei.com) ([172.24.1.50]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CSH46512; Mon, 14 Sep 2015 16:42:37 +0800 (CST) Received: from [127.0.0.1] (10.177.16.142) by szxeml430-hub.china.huawei.com (10.82.67.185) with Microsoft SMTP Server id 14.3.235.1; Mon, 14 Sep 2015 16:42:23 +0800 Message-ID: <55F6886D.1090900@huawei.com> Date: Mon, 14 Sep 2015 16:42:21 +0800 From: Shannon Zhao User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Daniel Kiper , Ard Biesheuvel CC: Stefano Stabellini , Mark Rutland , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Ian.Campbell@citrix.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "xen-devel@lists.xen.org" , "julien.grall@citrix.com" , "freebsd-arm@freebsd.org" , "matt.fleming@intel.com" , "christoffer.dall@linaro.org" , "jbeulich@suse.com" , "peter.huangpeng@huawei.com" , "shannon.zhao@linaro.org" , Konrad Rzeszutek Wilk Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters References: <20150910112418.GC29293@leverpostej> <20150910121514.GE29293@leverpostej> <20150910144938.GI29293@leverpostej> <20150910162302.GN29293@leverpostej> <20150911124643.GB4530@olila.local.net-space.pl> <20150911154534.GD4530@olila.local.net-space.pl> In-Reply-To: <20150911154534.GD4530@olila.local.net-space.pl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Mon, 14 Sep 2015 11:20:47 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 08:57:32 -0000 On 2015/9/11 23:45, Daniel Kiper wrote: > On Fri, Sep 11, 2015 at 03:30:15PM +0200, Ard Biesheuvel wrote: >> On 11 September 2015 at 15:14, Stefano Stabellini >> wrote: >>> On Fri, 11 Sep 2015, Daniel Kiper wrote: >>>> On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote: >>>>>>> C) When you could go: >>>>>>> >>>>>>> DT -> Discover Xen -> Xen-specific stuff -> Xen-specific EFI/ACPI discovery >>>>>> >>>>>> I take you mean discovering Xen with the usual Xen hypervisor node on >>>>>> device tree. I think that C) is a good option actually. I like it. Not >>>>>> sure why we didn't think about this earlier. Is there anything EFI or >>>>>> ACPI which is needed before Xen support is discovered by >>>>>> arch/arm64/kernel/setup.c:setup_arch -> xen_early_init()? >>>>> >>>>> Currently lots (including the memory map). With the stuff to support >>>>> SPCR, the ACPI discovery would be moved before xen_early_init(). >>>>> >>>>>> If not, we could just go for this. A lot of complexity would go away. >>>>> >>>>> I suspect this would still be fairly complex, but would at least prevent >>>>> the Xen-specific EFI handling from adversely affecting the native case. >>>>> >>>>>>> D) If you want to be generic: >>>>>>> EFI -> EFI application -> EFI tables -> ACPI tables -> Xen-specific stuff >>>>>>> \------------------------------------------/ >>>>>>> (virtualize these, provide shims to Dom0, but handle >>>>>>> everything in Xen itself) >>>>>> >>>>>> I think that this is good in theory but could turn out to be a lot of >>>>>> work in practice. We could probably virtualize the RuntimeServices but >>>>>> the BootServices are troublesome. >>>>> >>>>> What's troublesome with the boot services? >>>>> >>>>> What can't be simulated? >>>> >>>> How do you want to access bare metal EFI boot services from dom0 if they >>>> were shutdown long time ago before loading dom0 image? What do you need >>>> from EFI boot services in dom0? >>> >>> That's right. Trying to emulate BootServices after the real >>> ExitBootServices has already been called seems like a very bad plan. >>> >>> I think that whatever interface we come up with, would need to be past >>> ExitBootServices. >> >> It feels like this discussion is going in circles. >> >> When we discussed this six months ago, we already concluded that, >> since UEFI is the only specified way that the presence of ACPI is >> advertised on an ARM system, we need to emulate UEFI to some extent. >> >> So we need the EFI system table to expose the UEFI configuration table >> that carries the ACPI root pointer. >> >> Since ACPI support also relies on the UEFI memory map (I think?), we >> need that as well. >> >> These two items are exactly what we pass via the UEFI DT properties, >> so we should indeed promote the current de-facto binding to a proper >> binding, and renaming the properties makes sense in that context. >> >> I agree that this should also include a description of the expected >> state of the firmware, i.e., that ExitBootServices() has been called, >> and that the memory map has been populated with virtual address, which >> have been installed using SetVirtualAddressMap() if they differ from >> the physical addresses. (The current implementation on the kernel side >> is perfectly capable of dealing with a 1:1 mapping). >> >> Beyond that, there is no point in pretending to be a full UEFI >> implementation, imo. Boot services are not required, nor are runtime >> services (only the current EFI init code on arm needs to be modified >> to deal with a NULL runtime services pointer) > > Taking into account above I think that you have most of the code in place. > Please take a look at linux/arch/x86/xen/efi.c, linux/drivers/acpi/osl.c > and linux/drivers/xen/efi.c (maybe somewhere else). In general you should > create ARM version of xen_efi_init() (x86 version you can find in > linux/drivers/xen/efi.c; it is very simple thing), maybe add some > code in a few places and voila. > It only needs to apply following patch to fix a bug in Linux kernel when mapping EFI_MEMORY_RUNTIME memory. Author: Shannon Zhao Date: Thu Aug 20 14:54:58 2015 +0800 arm64/efi: Fix a bug when no EFI_MEMORY_RUNTIME memory found Currently if the attribute type of all the EFI Memory Descriptors are not EFI_MEMORY_RUNTIME, efi_virtmap_init will return true. But at this case, it expect false as there are no EFI memory for RUNTIME. Fix it by introducing a status to show whether it finds EFI_MEMORY_RUNTIME. Signed-off-by: Shannon Zhao diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c index e8ca6ea..bad7f87 100644 --- a/arch/arm64/kernel/efi.c +++ b/arch/arm64/kernel/efi.c @@ -233,6 +233,7 @@ void __init efi_init(void) static bool __init efi_virtmap_init(void) { efi_memory_desc_t *md; + bool status = false; for_each_efi_memory_desc(&memmap, md) { u64 paddr, npages, size; @@ -264,8 +265,11 @@ static bool __init efi_virtmap_init(void) prot = PAGE_KERNEL; create_pgd_mapping(&efi_mm, paddr, md->virt_addr, size, prot); + status = true; } - return true; + if (status) + return true; + return false; } -- Shannon From owner-freebsd-arm@freebsd.org Mon Sep 14 09:15:17 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13989A03383 for ; Mon, 14 Sep 2015 09:15:17 +0000 (UTC) (envelope-from ard.biesheuvel@linaro.org) Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C985E11DB for ; Mon, 14 Sep 2015 09:15:16 +0000 (UTC) (envelope-from ard.biesheuvel@linaro.org) Received: by ioii196 with SMTP id i196so158916596ioi.3 for ; Mon, 14 Sep 2015 02:15:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=OPQm8N1k1w61M5EAvdGEZUinv9YP0jqZalrS5JKiaIA=; b=QyFOtavUL3FNDZztpVpG2f+Vz6WC65BqYx0BiSyNl26yHz9jasHchC3zQuY1nI1nqF fE05Ji2eHLdJ+7zwJSpR+QqmT9w24wxcYe4vMBLTrDCKiYPS1thHGFMIpWBIcRTMeVI5 HhZlInNUbdTSqaPAN2chUn8YoIaf3efftrrJuXX19W4qmXqsQIn3VYQTYL7GdWmSH8SM DsZz9qFm1nVYT6lkaLQNEOGwrKA0SM3Kk9QFf1cR9G2FQfZXz+OwzPPzT+dTfh0+gS3m 2vGc0IbbM/SUy3ra+7XJogGOcDB/mvy/H+C+ZYOVG/oZsx5VWWSmxxTgY3Cz7UqOFuGB H2eg== X-Gm-Message-State: ALoCoQkQdSLeGcswQIXxtgWzbfc4pGky9gcMH95338Djm7/xo/wKqORxW3SoeS0AVtCyTNtM0G7L MIME-Version: 1.0 X-Received: by 10.107.169.234 with SMTP id f103mr21866056ioj.130.1442221765706; Mon, 14 Sep 2015 02:09:25 -0700 (PDT) Received: by 10.36.138.69 with HTTP; Mon, 14 Sep 2015 02:09:25 -0700 (PDT) In-Reply-To: <55F6886D.1090900@huawei.com> References: <20150910112418.GC29293@leverpostej> <20150910121514.GE29293@leverpostej> <20150910144938.GI29293@leverpostej> <20150910162302.GN29293@leverpostej> <20150911124643.GB4530@olila.local.net-space.pl> <20150911154534.GD4530@olila.local.net-space.pl> <55F6886D.1090900@huawei.com> Date: Mon, 14 Sep 2015 11:09:25 +0200 Message-ID: Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters From: Ard Biesheuvel To: Shannon Zhao Cc: Daniel Kiper , Stefano Stabellini , Mark Rutland , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Ian.Campbell@citrix.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "xen-devel@lists.xen.org" , "julien.grall@citrix.com" , "freebsd-arm@freebsd.org" , "matt.fleming@intel.com" , "christoffer.dall@linaro.org" , "jbeulich@suse.com" , "peter.huangpeng@huawei.com" , "shannon.zhao@linaro.org" , Konrad Rzeszutek Wilk Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Mon, 14 Sep 2015 11:21:33 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 09:15:17 -0000 On 14 September 2015 at 10:42, Shannon Zhao wrote: [..] > > It only needs to apply following patch to fix a bug in Linux kernel when > mapping EFI_MEMORY_RUNTIME memory. > Could you explain why you think efi_virtmap_init() should fail if there are no EFI_MEMORY_RUNTIME regions? The absence of such regions is allowed by the spec, so efi_virtmap_init() is correct imo to return success. If you are trying to work around the issue where Xen does not expose any Runtime Services regions, there is simply no way to do that and be still UEFI compliant. I have suggested before that we should perhaps tolerate this anyway, by considering the case where the EFI System Table has a NULL runtime services pointer. But rigging efi_virtmap_init() like this is really not the way to achieve that. -- Ard. > Author: Shannon Zhao > Date: Thu Aug 20 14:54:58 2015 +0800 > > arm64/efi: Fix a bug when no EFI_MEMORY_RUNTIME memory found > > Currently if the attribute type of all the EFI Memory Descriptors are > not EFI_MEMORY_RUNTIME, efi_virtmap_init will return true. But at this > case, it expect false as there are no EFI memory for RUNTIME. Fix it by > introducing a status to show whether it finds EFI_MEMORY_RUNTIME. > > Signed-off-by: Shannon Zhao > > diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c > index e8ca6ea..bad7f87 100644 > --- a/arch/arm64/kernel/efi.c > +++ b/arch/arm64/kernel/efi.c > @@ -233,6 +233,7 @@ void __init efi_init(void) > static bool __init efi_virtmap_init(void) > { > efi_memory_desc_t *md; > + bool status = false; > > for_each_efi_memory_desc(&memmap, md) { > u64 paddr, npages, size; > @@ -264,8 +265,11 @@ static bool __init efi_virtmap_init(void) > prot = PAGE_KERNEL; > > create_pgd_mapping(&efi_mm, paddr, md->virt_addr, size, > prot); > + status = true; > } > - return true; > + if (status) > + return true; > + return false; > } > > -- > Shannon > From owner-freebsd-arm@freebsd.org Mon Sep 14 09:25:47 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82CF8A039DC for ; Mon, 14 Sep 2015 09:25:47 +0000 (UTC) (envelope-from mark.rutland@arm.com) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6248B17FC for ; Mon, 14 Sep 2015 09:25:46 +0000 (UTC) (envelope-from mark.rutland@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ECC6675; Mon, 14 Sep 2015 02:25:53 -0700 (PDT) Received: from leverpostej (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6CCEA3F318; Mon, 14 Sep 2015 02:25:34 -0700 (PDT) Date: Mon, 14 Sep 2015 10:25:19 +0100 From: Mark Rutland To: Daniel Kiper Cc: "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Ian.Campbell@citrix.com" , Konrad Rzeszutek Wilk , Stefano Stabellini , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "xen-devel@lists.xen.org" , "ard.biesheuvel@linaro.org" , "freebsd-arm@freebsd.org" , "matt.fleming@intel.com" , "christoffer.dall@linaro.org" , "jbeulich@suse.com" , Shannon Zhao , "julien.grall@citrix.com" , "peter.huangpeng@huawei.com" , "linux-arm-kernel@lists.infradead.org" , "shannon.zhao@linaro.org" Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters Message-ID: <20150914092518.GA10307@leverpostej> References: <20150910112418.GC29293@leverpostej> <20150910121514.GE29293@leverpostej> <20150910144938.GI29293@leverpostej> <20150910162302.GN29293@leverpostej> <20150911124643.GB4530@olila.local.net-space.pl> <20150911162559.GA8726@leverpostej> <20150912113655.GG4530@olila.local.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150912113655.GG4530@olila.local.net-space.pl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 14 Sep 2015 11:22:17 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 09:25:47 -0000 On Sat, Sep 12, 2015 at 12:36:55PM +0100, Daniel Kiper wrote: > On Fri, Sep 11, 2015 at 05:25:59PM +0100, Mark Rutland wrote: > > On Fri, Sep 11, 2015 at 01:46:43PM +0100, Daniel Kiper wrote: > > > On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote: > > [...] > > > > > What's troublesome with the boot services? > > > > > > > > What can't be simulated? > > > > > > How do you want to access bare metal EFI boot services from dom0 if they > > > were shutdown long time ago before loading dom0 image? > > > > I don't want to. > > > > I asked "What can't be simulated?" because I assumed everything > > necessary/mandatory could be simulated without needinng access to any > > real EFI boot services. > > > > As far as I can see all that's necessary is to provide a compatible > > interface. > > Could you be more precise what do you need? Please enumerate. UEFI spec has > more than 2500 pages and I do not think that we need all stuff in dom0. > > > > What do you need from EFI boot services in dom0? > > > > The ability to call ExitBootServices() and SetVirtualAddressMap() on a > > _virtual_ address map for _virtual_ services provided by the hypervisor. > > I am confused. Why do you need that? Please remember, EFI is owned and > operated by Xen hypervisor. dom0 does not have direct access to EFI. Let's take a step back. My objection here is to passing the Dom0 kernel properties as if it were booted with direct access to a full UEFI, then later fixing that up (when Xen is detected and we apply its hypercall EFI implementation). If the kernel cannot use EFI natively, why pretend to the kernel that it can? The hypercall implementation is _not_ EFI (though it provides access to some services). The two ways I can see providing Dom0 with EFI services are: * Have Xen create shims for any services, in which any hypercalls live, and pass these to the kernel with a virtual system table. This keeps the interface to the kernel the same regardless of Xen. * Have the kernel detect Xen EFI capability via Xen, without passing the usual native EFI parameters. This can then be installed into the kernel in a Xen-specific manner, and we know from the outset that Xen-specific caveats apply. As per my original email, I'm not against the renaming of the stub parameters if we standardise the rest of the details, but I believe that's orthogonal to the Xen Dom0 case. Thanks, Mark. From owner-freebsd-arm@freebsd.org Mon Sep 14 09:35:03 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93BA5A0207D for ; Mon, 14 Sep 2015 09:35:03 +0000 (UTC) (envelope-from zhaoshenglong@huawei.com) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [58.251.152.64]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "myname.my.domain", Issuer "www.mirapoint.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 667AD1F3D for ; Mon, 14 Sep 2015 09:35:01 +0000 (UTC) (envelope-from zhaoshenglong@huawei.com) Received: from 172.24.1.47 (EHLO szxeml422-hub.china.huawei.com) ([172.24.1.47]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CUX65972; Mon, 14 Sep 2015 17:31:51 +0800 (CST) Received: from [127.0.0.1] (10.177.16.142) by szxeml422-hub.china.huawei.com (10.82.67.152) with Microsoft SMTP Server id 14.3.235.1; Mon, 14 Sep 2015 17:31:35 +0800 Message-ID: <55F693F5.8030203@huawei.com> Date: Mon, 14 Sep 2015 17:31:33 +0800 From: Shannon Zhao User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Ard Biesheuvel CC: Daniel Kiper , Stefano Stabellini , Mark Rutland , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Ian.Campbell@citrix.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "xen-devel@lists.xen.org" , "julien.grall@citrix.com" , "freebsd-arm@freebsd.org" , "matt.fleming@intel.com" , "christoffer.dall@linaro.org" , "jbeulich@suse.com" , "peter.huangpeng@huawei.com" , "shannon.zhao@linaro.org" , Konrad Rzeszutek Wilk Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters References: <20150910112418.GC29293@leverpostej> <20150910121514.GE29293@leverpostej> <20150910144938.GI29293@leverpostej> <20150910162302.GN29293@leverpostej> <20150911124643.GB4530@olila.local.net-space.pl> <20150911154534.GD4530@olila.local.net-space.pl> <55F6886D.1090900@huawei.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Mon, 14 Sep 2015 11:22:33 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 09:35:03 -0000 On 2015/9/14 17:09, Ard Biesheuvel wrote: > On 14 September 2015 at 10:42, Shannon Zhao wrote: > [..] > >> >> It only needs to apply following patch to fix a bug in Linux kernel when >> mapping EFI_MEMORY_RUNTIME memory. >> > > Could you explain why you think efi_virtmap_init() should fail if > there are no EFI_MEMORY_RUNTIME regions? > My understanding is that if there are no EFI_MEMORY_RUNTIME regions, it means we can't use runtime services and should not set the bit EFI_RUNTIME_SERVICES of efi.flags. But if efi_virtmap_init() return true, the bit will be set. > The absence of such regions is allowed by the spec, so > efi_virtmap_init() is correct imo to return success. > Sorry, not well know about the spec. Could you point out where the spec says this? > If you are trying to work around the issue where Xen does not expose > any Runtime Services regions, there is simply no way to do that and be > still UEFI compliant. I have suggested before that we should perhaps > tolerate this anyway, by considering the case where the EFI System > Table has a NULL runtime services pointer. But rigging > efi_virtmap_init() like this is really not the way to achieve that. > -- Shannon From owner-freebsd-arm@freebsd.org Mon Sep 14 09:49:24 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A597A02C75 for ; Mon, 14 Sep 2015 09:49:24 +0000 (UTC) (envelope-from prvs=69285c8ee=Stefano.Stabellini@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 14FCE159D for ; Mon, 14 Sep 2015 09:49:23 +0000 (UTC) (envelope-from prvs=69285c8ee=Stefano.Stabellini@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,527,1437436800"; d="scan'208";a="303377731" Date: Mon, 14 Sep 2015 10:47:12 +0100 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: Mark Rutland CC: Daniel Kiper , "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Ian.Campbell@citrix.com" , Konrad Rzeszutek Wilk , Stefano Stabellini , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "xen-devel@lists.xen.org" , "ard.biesheuvel@linaro.org" , "freebsd-arm@freebsd.org" , "matt.fleming@intel.com" , "christoffer.dall@linaro.org" , "jbeulich@suse.com" , Shannon Zhao , "julien.grall@citrix.com" , "peter.huangpeng@huawei.com" , "linux-arm-kernel@lists.infradead.org" , "shannon.zhao@linaro.org" Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters In-Reply-To: <20150914092518.GA10307@leverpostej> Message-ID: References: <20150910112418.GC29293@leverpostej> <20150910121514.GE29293@leverpostej> <20150910144938.GI29293@leverpostej> <20150910162302.GN29293@leverpostej> <20150911124643.GB4530@olila.local.net-space.pl> <20150911162559.GA8726@leverpostej> <20150912113655.GG4530@olila.local.net-space.pl> <20150914092518.GA10307@leverpostej> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-DLP: MIA2 X-Mailman-Approved-At: Mon, 14 Sep 2015 11:23:01 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 09:49:24 -0000 On Mon, 14 Sep 2015, Mark Rutland wrote: > On Sat, Sep 12, 2015 at 12:36:55PM +0100, Daniel Kiper wrote: > > On Fri, Sep 11, 2015 at 05:25:59PM +0100, Mark Rutland wrote: > > > On Fri, Sep 11, 2015 at 01:46:43PM +0100, Daniel Kiper wrote: > > > > On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote: > > > > [...] > > > > > > > What's troublesome with the boot services? > > > > > > > > > > What can't be simulated? > > > > > > > > How do you want to access bare metal EFI boot services from dom0 if they > > > > were shutdown long time ago before loading dom0 image? > > > > > > I don't want to. > > > > > > I asked "What can't be simulated?" because I assumed everything > > > necessary/mandatory could be simulated without needinng access to any > > > real EFI boot services. > > > > > > As far as I can see all that's necessary is to provide a compatible > > > interface. > > > > Could you be more precise what do you need? Please enumerate. UEFI spec has > > more than 2500 pages and I do not think that we need all stuff in dom0. > > > > > > What do you need from EFI boot services in dom0? > > > > > > The ability to call ExitBootServices() and SetVirtualAddressMap() on a > > > _virtual_ address map for _virtual_ services provided by the hypervisor. > > > > I am confused. Why do you need that? Please remember, EFI is owned and > > operated by Xen hypervisor. dom0 does not have direct access to EFI. > > Let's take a step back. > > My objection here is to passing the Dom0 kernel properties as if it were > booted with direct access to a full UEFI, then later fixing that up > (when Xen is detected and we apply its hypercall EFI implementation). > > If the kernel cannot use EFI natively, why pretend to the kernel that it > can? The hypercall implementation is _not_ EFI (though it provides > access to some services). > > The two ways I can see providing Dom0 with EFI services are: > > * Have Xen create shims for any services, in which any hypercalls live, > and pass these to the kernel with a virtual system table. This keeps > the interface to the kernel the same regardless of Xen. A not a fan of three-point estimates, so I am just going to say that "this looks like a lot of work". Also emulating services is known to be prone to errors. > * Have the kernel detect Xen EFI capability via Xen, without passing the > usual native EFI parameters. This can then be installed into the > kernel in a Xen-specific manner, and we know from the outset that > Xen-specific caveats apply. I prefer this approach by far. In the future we might have to move the xen_early_init call earlier (before ACPI and EFI Runtime Services get initialized). > As per my original email, I'm not against the renaming of the stub > parameters if we standardise the rest of the details, but I believe > that's orthogonal to the Xen Dom0 case. From owner-freebsd-arm@freebsd.org Mon Sep 14 12:20:08 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A9C19CA584 for ; Mon, 14 Sep 2015 12:20:08 +0000 (UTC) (envelope-from daniel.kiper@oracle.com) Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "aserp1040.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1975417A4 for ; Mon, 14 Sep 2015 12:20:07 +0000 (UTC) (envelope-from daniel.kiper@oracle.com) Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t8ECJo5p011172 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 14 Sep 2015 12:19:50 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t8ECJnF5009374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Sep 2015 12:19:49 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t8ECJipf012377; Mon, 14 Sep 2015 12:19:45 GMT Received: from olila.local.net-space.pl (/10.175.193.101) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 14 Sep 2015 05:19:43 -0700 Date: Mon, 14 Sep 2015 14:19:36 +0200 From: Daniel Kiper To: Mark Rutland Cc: "devicetree@vger.kernel.org" , "linux-efi@vger.kernel.org" , "Ian.Campbell@citrix.com" , Konrad Rzeszutek Wilk , Stefano Stabellini , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "xen-devel@lists.xen.org" , "ard.biesheuvel@linaro.org" , "freebsd-arm@freebsd.org" , "matt.fleming@intel.com" , "christoffer.dall@linaro.org" , "jbeulich@suse.com" , Shannon Zhao , "julien.grall@citrix.com" , "peter.huangpeng@huawei.com" , "linux-arm-kernel@lists.infradead.org" , "shannon.zhao@linaro.org" Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters Message-ID: <20150914121936.GH4530@olila.local.net-space.pl> References: <20150910121514.GE29293@leverpostej> <20150910144938.GI29293@leverpostej> <20150910162302.GN29293@leverpostej> <20150911124643.GB4530@olila.local.net-space.pl> <20150911162559.GA8726@leverpostej> <20150912113655.GG4530@olila.local.net-space.pl> <20150914092518.GA10307@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150914092518.GA10307@leverpostej> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Mailman-Approved-At: Mon, 14 Sep 2015 14:08:56 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 12:20:08 -0000 On Mon, Sep 14, 2015 at 10:25:19AM +0100, Mark Rutland wrote: > On Sat, Sep 12, 2015 at 12:36:55PM +0100, Daniel Kiper wrote: > > On Fri, Sep 11, 2015 at 05:25:59PM +0100, Mark Rutland wrote: > > > On Fri, Sep 11, 2015 at 01:46:43PM +0100, Daniel Kiper wrote: > > > > On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote: > > > > [...] > > > > > > > What's troublesome with the boot services? > > > > > > > > > > What can't be simulated? > > > > > > > > How do you want to access bare metal EFI boot services from dom0 if they > > > > were shutdown long time ago before loading dom0 image? > > > > > > I don't want to. > > > > > > I asked "What can't be simulated?" because I assumed everything > > > necessary/mandatory could be simulated without needinng access to any > > > real EFI boot services. > > > > > > As far as I can see all that's necessary is to provide a compatible > > > interface. > > > > Could you be more precise what do you need? Please enumerate. UEFI spec has > > more than 2500 pages and I do not think that we need all stuff in dom0. > > > > > > What do you need from EFI boot services in dom0? > > > > > > The ability to call ExitBootServices() and SetVirtualAddressMap() on a > > > _virtual_ address map for _virtual_ services provided by the hypervisor. > > > > I am confused. Why do you need that? Please remember, EFI is owned and > > operated by Xen hypervisor. dom0 does not have direct access to EFI. > > Let's take a step back. > > My objection here is to passing the Dom0 kernel properties as if it were > booted with direct access to a full UEFI, then later fixing that up > (when Xen is detected and we apply its hypercall EFI implementation). > > If the kernel cannot use EFI natively, why pretend to the kernel that it > can? The hypercall implementation is _not_ EFI (though it provides > access to some services). > > The two ways I can see providing Dom0 with EFI services are: > > * Have Xen create shims for any services, in which any hypercalls live, > and pass these to the kernel with a virtual system table. This keeps > the interface to the kernel the same regardless of Xen. > > * Have the kernel detect Xen EFI capability via Xen, without passing the > usual native EFI parameters. This can then be installed into the > kernel in a Xen-specific manner, and we know from the outset that > Xen-specific caveats apply. It works on x86 in that way and I suppose that it can work in that way on ARM too. So, just go and reuse existing code. That is all. Daniel From owner-freebsd-arm@freebsd.org Tue Sep 15 15:07:44 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 195ABA04729 for ; Tue, 15 Sep 2015 15:07:44 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D39EE1226 for ; Tue, 15 Sep 2015 15:07:43 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by vkgd64 with SMTP id d64so81807604vkg.0 for ; Tue, 15 Sep 2015 08:07:42 -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=KlllydZ/l3vjQKqHBIquTaj6hQTMMmd6o5CC+V2xCRc=; b=fQzQrjGW9caa22JvuwtZsfANLX35cmaUgV8YUkz2Y+6v2CUy/s2Pu6Bzkz/1xVYNvP YPAxr8dMU13HKI/1JXAHNOTVI4X4Lxl3C4RAqTbGREXwsHbmMdYzle/sIQUTF0zYuVQN +zxmXWcU/1uxnTYwbIeHHk/dn4rWbUvtrpuWyBzV8jJefak4Ghw2w4NdJSzzyUEiWpCa llaW3Dl6mLSPflYfv8fdu5U9W4hs22cwy8Fc50Bd3ECwntkAUQoFjBtrL4h0RaKTNWF5 udxoHTdc3v3vXcGFAQ6ScXrILIU6y+JcyjUL7w4hMWtlXHFqh7fosEMU4tVuF+XgK6aa wOtQ== MIME-Version: 1.0 X-Received: by 10.31.147.129 with SMTP id v123mr11886705vkd.23.1442329662805; Tue, 15 Sep 2015 08:07:42 -0700 (PDT) Received: by 10.31.232.6 with HTTP; Tue, 15 Sep 2015 08:07:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Sep 2015 08:07:42 -0700 Message-ID: Subject: Re: ARM pkg repo From: jungle Boogie To: Matthias Gamsjager Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 15:07:44 -0000 On 6 September 2015 at 23:38, Matthias Gamsjager wrote: > Hallo, > > where can I find the status of the official pkgng ARM repo? The only > repos I could find are private ones. > I don't know of the status but I see this build from the 11th: http://chips.ysv.freebsd.org/build.html?mastername=11armv6-default&build=2015-09-11_21h01m04s > > > - > Matthias -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si From owner-freebsd-arm@freebsd.org Tue Sep 15 22:52:52 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D4469C25B3 for ; Tue, 15 Sep 2015 22:52:52 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6D76D1CAF; Tue, 15 Sep 2015 22:52:52 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 9E546999; Tue, 15 Sep 2015 22:52:50 +0000 (UTC) Date: Tue, 15 Sep 2015 22:52:45 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: hiren@FreeBSD.org, emaste@FreeBSD.org, brd@FreeBSD.org, cem@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <375411705.16.1442357569968.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1144 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 22:52:52 -0000 FreeBSD_HEAD_arm64 - Build #1144 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1144/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1144/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1144/console Change summaries: 287832 by brd: Remove redundant 'man page' Reviewed by: allanjude 287831 by cem: kevent(2): Note DOOMED vnodes with NOTE_REVOKE In poll mode, check for and wake VBAD vnodes. (Vnodes that are VBAD at registration will never be woken by the RECLAIM trigger.) Add post-VOP_RECLAIM hook to trigger notes on vnode reclamation. (Vnodes that were fine at registration but are vgoned while being monitored should signal waiters.) Reviewed by: kib Approved by: markj (mentor) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3675 287830 by hiren: Remove unnecessary tcp state transition call. Differential Revision: D3451 Reviewed by: markj MFC after: 2 weeks Sponsored by: Limelight Networks 287829 by emaste: arm64: add xhci driver and umass/ukbd to GENERIC for Cavium ThunderX Sponsored by: The FreeBSD Foundation The end of the build log: [...truncated 142247 lines...] --- smcphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/smcphy.c --- smscphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/smscphy.c --- tdkphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/tdkphy.c --- tlphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/tlphy.c --- truephy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/truephy.c --- ukphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/ukphy.c --- ukphy_subr.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/ukphy_subr.c --- xmphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mii/xmphy.c --- miibus_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mii/miibus_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror miibus_if.c --- dwmmc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mmc/host/dwmmc.c --- mmcbr_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror mmcbr_if.c --- mmc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mmc/mmc.c --- mmcsd.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/mmc/mmcsd.c --- mmcbus_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror mmcbus_if.c --- ofw_fdt.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/ofw/ofw_fdt.c --- openfirm.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/ofw/openfirm.c --- ofw_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/ofw/ofw_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror ofw_if.c --- uart_core.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/uart/uart_core.c --- uart_dev_pl011.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/uart/uart_dev_pl011.c --- uart_tty.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/uart/uart_tty.c --- uart_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/uart/uart_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror uart_if.c --- xhci_pci.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/controller/xhci_pci.c --- usb_controller.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/controller/usb_controller.c --- usb_handle_request.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/usb_handle_request.c --- usb_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror usb_if.c --- umass.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/storage/umass.c --- usb_device.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/usb_device.c --- usb_quirk.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/quirk/usb_quirk.c --- virtio.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/virtio/virtio.c --- virtqueue.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/virtio/virtqueue.c --- virtio_bus_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/virtio/virtio_bus_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror virtio_bus_if.c --- virtio_mmio.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/dev/virtio/mmio/virtio_mmio.c --- virtio_mmio_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/virtio/mmio/virtio_mmio_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror virtio_mmio_if.c --- g_part.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/part/g_part.c --- g_part_bsd.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/part/g_part_bsd.c --- g_part_gpt.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/part/g_part_gpt.c --- g_part_mbr.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/part/g_part_mbr.c --- g_part_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror g_part_if.c --- g_raid_ctl.o --- --- md_ddf.o --- --- g_raid_ctl.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/g_raid_ctl.c --- md_ddf.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/md_ddf.c --- md_intel.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/md_intel.c --- md_jmicron.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/md_jmicron.c --- md_nvidia.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/md_nvidia.c --- md_promise.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/md_promise.c --- md_sii.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/md_sii.c --- g_raid_md_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/raid/g_raid_md_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror g_raid_md_if.c --- g_raid.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/g_raid.c --- tr_concat.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/tr_concat.c --- tr_raid0.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/tr_raid0.c --- tr_raid1.o --- --- tr_raid1e.o --- --- tr_raid1.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/tr_raid1.c --- tr_raid1e.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/tr_raid1e.c --- tr_raid5.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/geom/raid/tr_raid5.c --- g_raid_tr_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/raid/g_raid_tr_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror g_raid_tr_if.c --- kern_linker.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/kern/kern_linker.c --- link_elf.o --- --- elf_machdep.o --- --- link_elf.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/kern/link_elf.c --- elf_machdep.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/elf_machdep.c --- linker_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror linker_if.c --- crypto.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/opencrypto/crypto.c --- cryptosoft.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/opencrypto/cryptosoft.c --- cryptodev_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/opencrypto/cryptodev_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror cryptodev_if.c --- gic.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/gic.c /usr/src/sys/arm64/arm64/gic.c:304:1: warning: unused function 'arm_gic_ipi_read' [-Wunused-function] arm_gic_ipi_read(device_t dev, int i) ^ /usr/src/sys/arm64/arm64/gic.c:321:1: warning: unused function 'arm_gic_ipi_clear' [-Wunused-function] arm_gic_ipi_clear(device_t dev, int ipi) ^ --- gic_v3.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/gic_v3.c --- gic.o --- 2 warnings generated. --- gic_v3_fdt.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/gic_v3_fdt.c --- gic_v3_its.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/gic_v3_its.c --- intr_machdep.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/intr_machdep.c --- pic_if.o --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/arm64/arm64/pic_if.m -c ; cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror pic_if.c --- copyinout.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -x assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/copyinout.S --- exception.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -x assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/exception.S --- locore.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -x assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/locore.S --- support.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -x assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/support.S --- swtch.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -x assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror /usr/src/sys/arm64/arm64/swtch.S --- vers.c --- MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC --- vers.o --- cc -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mgeneral-regs-only -ffixed-x18 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -std=iso9899:1999 -Werror vers.c --- kernel.debug --- linking kernel.debug ukbd.o: In function `ukbd_driver_load': /usr/src/sys/dev/usb/input/ukbd.c:2149: undefined reference to `kbd_delete_driver' /usr/src/sys/dev/usb/input/ukbd.c:2146: undefined reference to `kbd_add_driver' ukbd.o: In function `ukbd_probe': /usr/src/sys/dev/usb/input/ukbd.c:981: undefined reference to `kbd_get_switch' ukbd.o: In function `ukbd_attach': /usr/src/sys/dev/usb/input/ukbd.c:1185: undefined reference to `kbd_init_struct' /usr/src/sys/dev/usb/input/ukbd.c:1215: undefined reference to `kbd_set_maps' /usr/src/sys/dev/usb/input/ukbd.c:1265: undefined reference to `kbd_register' /usr/src/sys/dev/usb/input/ukbd.c:1273: undefined reference to `kbd_attach' /usr/src/sys/dev/usb/input/ukbd.c:1280: undefined reference to `genkbd_diag' ukbd.o: In function `ukbd_detach': /usr/src/sys/dev/usb/input/ukbd.c:1336: undefined reference to `kbd_detach' /usr/src/sys/dev/usb/input/ukbd.c:1345: undefined reference to `kbd_unregister' ukbd.o: In function `ukbd_read_char_locked': /usr/src/sys/dev/usb/input/ukbd.c:1732: undefined reference to `genkbd_keyaction' ukbd.o: In function `ukbd_ioctl_locked': /usr/src/sys/dev/usb/input/ukbd.c:1897: undefined reference to `genkbd_commonioctl' ukbd.o:(.data+0x310): undefined reference to `genkbd_get_fkeystr' ukbd.o:(.data+0x320): undefined reference to `genkbd_diag' *** [kernel.debug] Error code 1 make[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC 1 error make[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC *** [buildkernel] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson597883588077866861.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 rm: FreeBSD_HEAD_arm64/lib/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/lib: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib32/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32: Directory not empty rm: FreeBSD_HEAD_arm64/usr/bin/ypchsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/crontab: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/su: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/passwd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opieinfo: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opiepasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/yppasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/login: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib: Directory not empty rm: FreeBSD_HEAD_arm64/usr: Directory not empty rm: FreeBSD_HEAD_arm64/sbin/init: Operation not permitted rm: FreeBSD_HEAD_arm64/sbin: Directory not empty rm: FreeBSD_HEAD_arm64/libexec/ld-elf32.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec/ld-elf.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec: Directory not empty rm: FreeBSD_HEAD_arm64: Directory not empty + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Tue Sep 15 23:24:45 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 612E99CDAC0 for ; Tue, 15 Sep 2015 23:24:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E31B1EFB; Tue, 15 Sep 2015 23:24:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by igbkq10 with SMTP id kq10so24214962igb.0; Tue, 15 Sep 2015 16:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=MubssFc0w0/zP7MVpc+OVOgcS2Jf7niZIlH+9y7mTpU=; b=TXgmqgSi68VMdZ425q9iPAJH77hB4icZQuebRWc/XQH8gK9uEwHUQyLCcCVE6g6o72 TgF1I0R/MsrCSFHvkwxjUp++HnPgjDdLULlfiQyYz6Z/9j2nBV/jL5PAGbfI6l5yzEaW 7zeTfns3zlDhhv4m9BWcqJKsAUj+a5ItOMbzQ/ZhsvoH/BusQBALQI7ms7b5slst29Pp mpvZkvVrJ1emDZvCtnE0SDTTy/voIRBKS768c0xz1tXlRcKsUm5AvL2KkweS/m4o+iIU 0uvB7/rpUco8vi/ETTy0mSpspPDJ/5WiEMKHmPDa2OWvp1AGLjR92+T3UtK0hPb3NCmX twVw== X-Received: by 10.50.88.101 with SMTP id bf5mr9993377igb.97.1442359484671; Tue, 15 Sep 2015 16:24:44 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.158.75 with HTTP; Tue, 15 Sep 2015 16:24:25 -0700 (PDT) In-Reply-To: <375411705.16.1442357569968.JavaMail.jenkins@jenkins-9.freebsd.org> References: <375411705.16.1442357569968.JavaMail.jenkins@jenkins-9.freebsd.org> From: Ed Maste Date: Tue, 15 Sep 2015 19:24:25 -0400 X-Google-Sender-Auth: 9GvPh74X8Ka-QS0pG_VI0dcH70c Message-ID: Subject: Re: FreeBSD_HEAD_arm64 - Build #1144 - Failure To: "freebsd-arm@freebsd.org" Cc: hiren panchasara , Brad Davis , cem@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 23:24:45 -0000 On 15 September 2015 at 18:52, wrote: > FreeBSD_HEAD_arm64 - Build #1144 - Failure: > > Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1144/ > Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1144/changes > Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1144/console My fault, thanks cem@ for pointing this out. Fix coming shortly. From owner-freebsd-arm@freebsd.org Wed Sep 16 00:52:50 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C4AC9CD40A for ; Wed, 16 Sep 2015 00:52:50 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id F1C4E1326; Wed, 16 Sep 2015 00:52:49 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id C4BA69D8; Wed, 16 Sep 2015 00:52:48 +0000 (UTC) Date: Wed, 16 Sep 2015 00:52:46 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: emaste@FreeBSD.org, mjg@FreeBSD.org, jhb@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <322724548.18.1442364767722.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <375411705.16.1442357569968.JavaMail.jenkins@jenkins-9.freebsd.org> References: <375411705.16.1442357569968.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1145 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2015 00:52:50 -0000 FreeBSD_HEAD_arm64 - Build #1145 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1145/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1145/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1145/console Change summaries: 287836 by emaste: arm64: add kbd.c to the build for ukbd to fix the build Pointy hat to: emaste 287835 by mjg: sysctl: switch sysctllock to a sleepable rmlock, take 2 This restores r285125. Previous attempt was reverted due to a bug in rmlocks, which is fixed since r287833. 287833 by jhb: Threads holding a read lock of a sleepable rm lock are not permitted to sleep. The rmlock implementation enforces this by disabling sleeping when a read lock is acquired. To simplify the implementation, sleeping is disabled for most of the duration of rm_rlock. However, it doesn't need to be disabled until the lock is acquired. If a sleepable rm lock is contested, then rm_rlock may need to acquire the backing sx lock. This tripped the overly-broad assertion. Fix by relaxing the assertion around the call to sx_xlock(). Reported by: mjg Reviewed by: kib, mjg MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D3324 From owner-freebsd-arm@freebsd.org Wed Sep 16 02:21:42 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F76F9C2E42 for ; Wed, 16 Sep 2015 02:21:42 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7F631210 for ; Wed, 16 Sep 2015 02:21:41 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id t8G2JvHT017482; Tue, 15 Sep 2015 19:19:57 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id t8G2JvFF017481; Tue, 15 Sep 2015 19:19:57 -0700 (PDT) (envelope-from fbsd) Date: Tue, 15 Sep 2015 19:19:57 -0700 From: bob prohaska To: Warner Losh Cc: bob prohaska , freebsd-arm@freebsd.org Subject: Re: Reproducible crashes on RPI2 under 11-CURRENT using stress2 Message-ID: <20150916021957.GA17471@www.zefox.net> References: <20150903001037.GC33831@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2015 02:21:42 -0000 Hi Warner, On Wed, Sep 02, 2015 at 06:26:45PM -0600, Warner Losh wrote: > The interrupt controller code is not SMP safe. It needs to be fixed or > you'll see instability under load. Stuff like these crashes. > > Run a UP kernel if you need to do high loads. > Does the interrupt controller change behavior when in single user? If not the problems may lie elsewhere.. Running an OS build in single user mode on RPI2 (with necessary services such as swap and powerd turned on) seems to result in a uniformly successful compilation. So far no smsc0 warnings and no crashes in about four tries. Times are a bit slow, ~18 hours. Top reports all four cpu cores active, which suggests that multiprocessing is also active. Kernel config is default, with the ULE scheduler. Thanks for reading, and any insights! bob prohaska From owner-freebsd-arm@freebsd.org Wed Sep 16 09:58:23 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FBC19CDAFC for ; Wed, 16 Sep 2015 09:58:23 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C3061518 for ; Wed, 16 Sep 2015 09:58:23 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by ioii196 with SMTP id i196so225873893ioi.3 for ; Wed, 16 Sep 2015 02:58:22 -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=UlTYl/9Dm+06AorTYE9x/xZA+44Qs8NK3I7rDcAH+U4=; b=LRrU930VGJKyliDBW7QsvIJGi6j9o61bqwWNeKjmOlneowDhUHIN3CzJkIIcPbIE2G 0u3pOA/ImP/B/8CzlhHkUuoUOi/qVNam/EBCOalKrLijw3i6s3rjsKpTliUNIX1XMYWw MxifzijjiaM7RX0WX9YvY/xmjN2Q69pGz5vZ6KO5DWeEqMtoCjUSAou9CmLE9IMPFFrY wCF5A/uvoUlgIOE9JWAK3l+Ih28+hhIj9T9EkdvS5Dbds05POPh9tUpsN8I5a7L2Zy0R S8KD2LUEqn/69wCFkymcEBiQRbisvFFKkzc1IgYoN1xpOiyBybua/ENqa5QaCZzbZKAA f/PQ== MIME-Version: 1.0 X-Received: by 10.107.157.11 with SMTP id g11mr9919505ioe.30.1442397502742; Wed, 16 Sep 2015 02:58:22 -0700 (PDT) Received: by 10.64.239.201 with HTTP; Wed, 16 Sep 2015 02:58:22 -0700 (PDT) In-Reply-To: <20150916021957.GA17471@www.zefox.net> References: <20150903001037.GC33831@www.zefox.net> <20150916021957.GA17471@www.zefox.net> Date: Wed, 16 Sep 2015 11:58:22 +0200 Message-ID: Subject: Re: Reproducible crashes on RPI2 under 11-CURRENT using stress2 From: Svatopluk Kraus To: bob prohaska Cc: Warner Losh , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2015 09:58:23 -0000 I have a solution for the panics waiting for review: https://reviews.freebsd.org/D3617 You are welcome to try it. Svatopluk Kraus On Wed, Sep 16, 2015 at 4:19 AM, bob prohaska wrote: > Hi Warner, > > On Wed, Sep 02, 2015 at 06:26:45PM -0600, Warner Losh wrote: >> The interrupt controller code is not SMP safe. It needs to be fixed or >> you'll see instability under load. Stuff like these crashes. >> >> Run a UP kernel if you need to do high loads. >> > > Does the interrupt controller change behavior when in single user? > If not the problems may lie elsewhere.. > > Running an OS build in single user mode on RPI2 (with necessary > services such as swap and powerd turned on) seems to result > in a uniformly successful compilation. So far no smsc0 warnings > and no crashes in about four tries. Times are a bit slow, ~18 hours. > > Top reports all four cpu cores active, which suggests that > multiprocessing is also active. Kernel config is default, > with the ULE scheduler. > > Thanks for reading, and any insights! > > bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Wed Sep 16 16:25:58 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FC359C26AD for ; Wed, 16 Sep 2015 16:25:58 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C1011A38 for ; Wed, 16 Sep 2015 16:25:58 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZcFWl-000AIR-U1 for freebsd-arm@freebsd.org; Wed, 16 Sep 2015 17:25:48 +0100 Date: Wed, 16 Sep 2015 17:25:47 +0100 From: John To: freebsd-arm@freebsd.org Subject: some problems with run0 freebsd11/rpi2 Message-ID: <20150916162546.GA54013@potato.growveg.org> Reply-To: freebsd-arm@freebsd.org Mail-Followup-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: John X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2015 16:25:58 -0000 Hello list, I'm having a devil of a job getting a usb wifi dongle to work properly. I'm using CURRENT r286947. The dongle is identified as: run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 00:87:RE:DA:CT:ED The man page for run says a firmware needed to be loaded, so it was: Sep 16 03:34:18 potato kernel: run0: firmware RT3071 ver. 0.33 loaded also found I had to load ccmp because at the moment, contrary to the wlan man page, it doesn't auto-load: Sep 16 03:23:50 potato kernel: ieee80211_load_module: load the wlan_ccmp module by hand for now. kldstat looks line this: $ kldstat Id Refs Address Size Name 1 35 0xc0100000 784e20 kernel 2 1 0xc4417000 b000 fdescfs.ko 3 1 0xc4586000 b000 ums.ko 4 1 0xc4498000 b000 uhid.ko 5 1 0xc45bf000 20000 if_run.ko 6 3 0xc45e0000 51000 wlan.ko 7 2 0xc463b000 b000 firmware.ko 8 1 0xc4663000 a000 pflog.ko 9 1 0xc468c000 40000 pf.ko 10 1 0xc44cf000 b000 runfw.ko 11 1 0xc5df7000 12000 uhci.ko 12 1 0xc5e09000 12000 ohci.ko 13 1 0xc4efe000 a000 wlan_amrr.ko 14 1 0xc6603000 e000 wlan_ccmp.ko What the actual problem is, is the interface comes up, is available for 10 seconds to a minute, goes down, comes up, ad nauseam. Is it me, the wifi usb, usb itself, or the kernel/driver? Sep 16 06:47:19 potato wpa_supplicant[38412]: wlan0: Associated with 10:0d:RE:DA:CT:ED Sep 16 06:47:22 potato wpa_supplicant[38412]: wlan0: WPA: Key negotiation completed with 10:0d:RE:DA:CT:ED [PTK=CCMP GTK=CCMP] Sep 16 06:47:22 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 10:0d:RE:DA:CT:ED completed [id=0 id_str=] Sep 16 06:47:39 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=0 Sep 16 06:47:39 potato kernel: wlan0: link state changed to DOWN Sep 16 06:47:41 potato wpa_supplicant[38412]: wlan0: Trying to associate with 10:0d:RE:DA:CT:ED (SSID='REDACTED' freq=2412 MHz) Sep 16 06:47:51 potato wpa_supplicant[38412]: wlan0: Authentication with 10:0d:RE:DA:CT:ED timed out. Sep 16 06:47:51 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=3 locally_generated=1 Sep 16 06:48:09 potato wpa_supplicant[38412]: wlan0: Trying to associate with 10:0d:RE:DA:CT:ED (SSID='REDACTED' freq=2412 MHz) Sep 16 06:48:09 potato kernel: wlan0: link state changed to UP Sep 16 06:48:09 potato wpa_supplicant[38412]: wlan0: Associated with 10:0d:RE:DA:CT:ED Sep 16 06:48:11 potato wpa_supplicant[38412]: wlan0: WPA: Key negotiation completed with 10:0d:RE:DA:CT:ED [PTK=CCMP GTK=CCMP] Sep 16 06:48:11 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 10:0d:RE:DA:CT:ED completed [id=0 id_str=] Sep 16 06:48:29 potato kernel: wlan0: link state changed to DOWN Sep 16 06:48:29 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=0 Sep 16 06:48:31 potato wpa_supplicant[38412]: wlan0: Trying to associate with 10:0d:RE:DA:CT:ED (SSID='REDACTED' freq=2412 MHz) Sep 16 06:48:31 potato kernel: wlan0: link state changed to UP Sep 16 06:48:31 potato wpa_supplicant[38412]: wlan0: Associated with 10:0d:RE:DA:CT:ED Sep 16 06:48:32 potato wpa_supplicant[38412]: wlan0: WPA: Key negotiation completed with 10:0d:RE:DA:CT:ED [PTK=CCMP GTK=CCMP] Sep 16 06:48:32 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 10:0d:RE:DA:CT:ED completed [id=0 id_str=] Sep 16 06:49:13 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=0 Sep 16 06:49:13 potato kernel: wlan0: link state changed to DOWN ping: sendto: Network is down ping: sendto: Network is down ping: sendto: Network is down ping: sendto: No buffer space available ping: sendto: No buffer space available 64 bytes from 192.168.1.1: icmp_seq=250 ttl=64 time=9.297 ms 64 bytes from 192.168.1.1: icmp_seq=254 ttl=64 time=13.435 ms 64 bytes from 192.168.1.1: icmp_seq=256 ttl=64 time=5.430 ms 64 bytes from 192.168.1.1: icmp_seq=257 ttl=64 time=3.670 ms 64 bytes from 192.168.1.1: icmp_seq=259 ttl=64 time=6.287 ms ping: sendto: Network is down ping: sendto: Network is down ping: sendto: Network is down ping: sendto: No buffer space available 64 bytes from 192.168.1.1: icmp_seq=264 ttl=64 time=19.030 ms 64 bytes from 192.168.1.1: icmp_seq=265 ttl=64 time=4.295 ms 64 bytes from 192.168.1.1: icmp_seq=266 ttl=64 time=3.199 ms 64 bytes from 192.168.1.1: icmp_seq=267 ttl=64 time=2.705 ms 64 bytes from 192.168.1.1: icmp_seq=268 ttl=64 time=3.570 ms 64 bytes from 192.168.1.1: icmp_seq=269 ttl=64 time=4.039 ms 64 bytes from 192.168.1.1: icmp_seq=271 ttl=64 time=30.060 ms 64 bytes from 192.168.1.1: icmp_seq=273 ttl=64 time=3.649 ms 64 bytes from 192.168.1.1: icmp_seq=274 ttl=64 time=4.681 ms 64 bytes from 192.168.1.1: icmp_seq=278 ttl=64 time=28.680 ms 64 bytes from 192.168.1.1: icmp_seq=279 ttl=64 time=25.553 ms 64 bytes from 192.168.1.1: icmp_seq=280 ttl=64 time=21.684 ms 64 bytes from 192.168.1.1: icmp_seq=282 ttl=64 time=23.208 ms 64 bytes from 192.168.1.1: icmp_seq=284 ttl=64 time=11.321 ms ping: sendto: Network is down ping: sendto: Network is down ping: sendto: No buffer space available ping: sendto: No buffer space available 64 bytes from 192.168.1.1: icmp_seq=291 ttl=64 time=10.184 ms 64 bytes from 192.168.1.1: icmp_seq=298 ttl=64 time=5.662 ms 64 bytes from 192.168.1.1: icmp_seq=299 ttl=64 time=4.545 ms 64 bytes from 192.168.1.1: icmp_seq=300 ttl=64 time=4.888 ms 64 bytes from 192.168.1.1: icmp_seq=301 ttl=64 time=6.296 ms 64 bytes from 192.168.1.1: icmp_seq=304 ttl=64 time=14.067 ms 64 bytes from 192.168.1.1: icmp_seq=306 ttl=64 time=24.352 ms 192.168.1.1 is my wireless router. Might be worthwhile to note that the device, though recognised in dmesg, would not associate at all while connected to the (powered) usb extended hub but would while directly connected to a usb port mounted on the pi PCB itself. thanks, -- John From owner-freebsd-arm@freebsd.org Thu Sep 17 11:56:47 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EFBE9CE6F2 for ; Thu, 17 Sep 2015 11:56:47 +0000 (UTC) (envelope-from zhaoshenglong@huawei.com) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [58.251.152.64]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "myname.my.domain", Issuer "www.mirapoint.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E61D0177F for ; Thu, 17 Sep 2015 11:56:46 +0000 (UTC) (envelope-from zhaoshenglong@huawei.com) Received: from 172.24.1.49 (EHLO SZXEML429-HUB.china.huawei.com) ([172.24.1.49]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CVH33600; Thu, 17 Sep 2015 19:43:58 +0800 (CST) Received: from [127.0.0.1] (10.177.16.142) by SZXEML429-HUB.china.huawei.com (10.82.67.184) with Microsoft SMTP Server id 14.3.235.1; Thu, 17 Sep 2015 19:43:43 +0800 Message-ID: <55FAA76C.4070607@huawei.com> Date: Thu, 17 Sep 2015 19:43:40 +0800 From: Shannon Zhao User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: , CC: , , , , , , , , , , , , , , Subject: Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters References: <1441874516-11364-1-git-send-email-zhaoshenglong@huawei.com> In-Reply-To: <1441874516-11364-1-git-send-email-zhaoshenglong@huawei.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 17 Sep 2015 12:50:16 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 11:56:47 -0000 Hi, >From the comments on this patch, IIUC, we don't object to the change brought by this patch. What we didn't reach an agreement is how to support runtime service for Dom0. Right? If so, I think this patch doesn't conflict with adding support for runtime service in the future. So could we move this patch forward? Then I could continue working on adding ARM ACPI support on Xen. Any comments? Thanks, -- Shannon On 2015/9/10 16:41, Shannon Zhao wrote: > From: Shannon Zhao > > These EFI stub parameters are used to internal communication between EFI > stub and Linux kernel and EFI stub creates these parameters. But for Xen > on ARM when booting with UEFI, Xen will create a minimal DT providing > these parameters for Dom0 and Dom0 is not only Linux kernel, but also > other OS (such as FreeBSD) which will be used in the future. So here > we plan to standardize the names by dropping the prefix "linux," and > make them common to other OS. Also this will not break the compatibility > since these parameters are used to internal communication between EFI > stub and kernel. > > Signed-off-by: Shannon Zhao > --- > Look at [1] for the discussion about this in Xen ML. The purpose of this > patch is to standardize the names to make Linux ARM kernel work on Xen > with UEFI. Also it hopes other OS(e.g. FreeBSD), which will be used as > Dom0 on Xen, could support this mechanism as well. > > [1]http://lists.xenproject.org/archives/html/xen-devel/2015-08/msg02250.html > > Documentation/arm/uefi.txt | 10 +++++----- > drivers/firmware/efi/efi.c | 10 +++++----- > drivers/firmware/efi/libstub/fdt.c | 10 +++++----- > 3 files changed, 15 insertions(+), 15 deletions(-) > > diff --git a/Documentation/arm/uefi.txt b/Documentation/arm/uefi.txt > index d60030a..8c83243 100644 > --- a/Documentation/arm/uefi.txt > +++ b/Documentation/arm/uefi.txt > @@ -45,18 +45,18 @@ following parameters: > ________________________________________________________________________________ > Name | Size | Description > ================================================================================ > -linux,uefi-system-table | 64-bit | Physical address of the UEFI System Table. > +uefi-system-table | 64-bit | Physical address of the UEFI System Table. > -------------------------------------------------------------------------------- > -linux,uefi-mmap-start | 64-bit | Physical address of the UEFI memory map, > +uefi-mmap-start | 64-bit | Physical address of the UEFI memory map, > | | populated by the UEFI GetMemoryMap() call. > -------------------------------------------------------------------------------- > -linux,uefi-mmap-size | 32-bit | Size in bytes of the UEFI memory map > +uefi-mmap-size | 32-bit | Size in bytes of the UEFI memory map > | | pointed to in previous entry. > -------------------------------------------------------------------------------- > -linux,uefi-mmap-desc-size | 32-bit | Size in bytes of each entry in the UEFI > +uefi-mmap-desc-size | 32-bit | Size in bytes of each entry in the UEFI > | | memory map. > -------------------------------------------------------------------------------- > -linux,uefi-mmap-desc-ver | 32-bit | Version of the mmap descriptor format. > +uefi-mmap-desc-ver | 32-bit | Version of the mmap descriptor format. > -------------------------------------------------------------------------------- > linux,uefi-stub-kern-ver | string | Copy of linux_banner from build. > -------------------------------------------------------------------------------- > diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c > index d6144e3..3878715 100644 > --- a/drivers/firmware/efi/efi.c > +++ b/drivers/firmware/efi/efi.c > @@ -481,11 +481,11 @@ static __initdata struct { > int offset; > int size; > } dt_params[] = { > - UEFI_PARAM("System Table", "linux,uefi-system-table", system_table), > - UEFI_PARAM("MemMap Address", "linux,uefi-mmap-start", mmap), > - UEFI_PARAM("MemMap Size", "linux,uefi-mmap-size", mmap_size), > - UEFI_PARAM("MemMap Desc. Size", "linux,uefi-mmap-desc-size", desc_size), > - UEFI_PARAM("MemMap Desc. Version", "linux,uefi-mmap-desc-ver", desc_ver) > + UEFI_PARAM("System Table", "uefi-system-table", system_table), > + UEFI_PARAM("MemMap Address", "uefi-mmap-start", mmap), > + UEFI_PARAM("MemMap Size", "uefi-mmap-size", mmap_size), > + UEFI_PARAM("MemMap Desc. Size", "uefi-mmap-desc-size", desc_size), > + UEFI_PARAM("MemMap Desc. Version", "uefi-mmap-desc-ver", desc_ver) > }; > > struct param_info { > diff --git a/drivers/firmware/efi/libstub/fdt.c b/drivers/firmware/efi/libstub/fdt.c > index ef5d764..e94589a 100644 > --- a/drivers/firmware/efi/libstub/fdt.c > +++ b/drivers/firmware/efi/libstub/fdt.c > @@ -118,31 +118,31 @@ efi_status_t update_fdt(efi_system_table_t *sys_table, void *orig_fdt, > /* Add FDT entries for EFI runtime services in chosen node. */ > node = fdt_subnode_offset(fdt, 0, "chosen"); > fdt_val64 = cpu_to_fdt64((u64)(unsigned long)sys_table); > - status = fdt_setprop(fdt, node, "linux,uefi-system-table", > + status = fdt_setprop(fdt, node, "uefi-system-table", > &fdt_val64, sizeof(fdt_val64)); > if (status) > goto fdt_set_fail; > > fdt_val64 = cpu_to_fdt64((u64)(unsigned long)memory_map); > - status = fdt_setprop(fdt, node, "linux,uefi-mmap-start", > + status = fdt_setprop(fdt, node, "uefi-mmap-start", > &fdt_val64, sizeof(fdt_val64)); > if (status) > goto fdt_set_fail; > > fdt_val32 = cpu_to_fdt32(map_size); > - status = fdt_setprop(fdt, node, "linux,uefi-mmap-size", > + status = fdt_setprop(fdt, node, "uefi-mmap-size", > &fdt_val32, sizeof(fdt_val32)); > if (status) > goto fdt_set_fail; > > fdt_val32 = cpu_to_fdt32(desc_size); > - status = fdt_setprop(fdt, node, "linux,uefi-mmap-desc-size", > + status = fdt_setprop(fdt, node, "uefi-mmap-desc-size", > &fdt_val32, sizeof(fdt_val32)); > if (status) > goto fdt_set_fail; > > fdt_val32 = cpu_to_fdt32(desc_ver); > - status = fdt_setprop(fdt, node, "linux,uefi-mmap-desc-ver", > + status = fdt_setprop(fdt, node, "uefi-mmap-desc-ver", > &fdt_val32, sizeof(fdt_val32)); > if (status) > goto fdt_set_fail; > From owner-freebsd-arm@freebsd.org Thu Sep 17 15:25:57 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 264F49CE816 for ; Thu, 17 Sep 2015 15:25:57 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D104C13AE for ; Thu, 17 Sep 2015 15:25:56 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.9/8.14.9) with ESMTP id t8HFPYo6068357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 17 Sep 2015 23:25:34 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.9/8.14.9/Submit) id t8HFPYe3068356 for freebsd-arm@freebsd.org; Thu, 17 Sep 2015 23:25:34 +0800 (CST) (envelope-from kevlo) Date: Thu, 17 Sep 2015 23:25:34 +0800 From: Kevin Lo To: freebsd-arm@freebsd.org Subject: Re: some problems with run0 freebsd11/rpi2 Message-ID: <20150917152534.GA68343@ns.kevlo.org> References: <20150916162546.GA54013@potato.growveg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150916162546.GA54013@potato.growveg.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 15:25:57 -0000 On Wed, Sep 16, 2015 at 05:25:47PM +0100, John wrote: > > Hello list, Hi John, > I'm having a devil of a job getting a usb wifi dongle to work properly. I'm > using CURRENT r286947. The dongle is identified as: > > run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 00:87:RE:DA:CT:ED > > The man page for run says a firmware needed to be loaded, so it was: > > Sep 16 03:34:18 potato kernel: run0: firmware RT3071 ver. 0.33 loaded > > also found I had to load ccmp because at the moment, contrary to the wlan man > page, it doesn't auto-load: > > Sep 16 03:23:50 potato kernel: ieee80211_load_module: load the wlan_ccmp module by hand for now. > > kldstat looks line this: > > $ kldstat > Id Refs Address Size Name > 1 35 0xc0100000 784e20 kernel > 2 1 0xc4417000 b000 fdescfs.ko > 3 1 0xc4586000 b000 ums.ko > 4 1 0xc4498000 b000 uhid.ko > 5 1 0xc45bf000 20000 if_run.ko > 6 3 0xc45e0000 51000 wlan.ko > 7 2 0xc463b000 b000 firmware.ko > 8 1 0xc4663000 a000 pflog.ko > 9 1 0xc468c000 40000 pf.ko > 10 1 0xc44cf000 b000 runfw.ko > 11 1 0xc5df7000 12000 uhci.ko > 12 1 0xc5e09000 12000 ohci.ko > 13 1 0xc4efe000 a000 wlan_amrr.ko > 14 1 0xc6603000 e000 wlan_ccmp.ko > > What the actual problem is, is the interface comes up, is available for 10 > seconds to a minute, goes down, comes up, ad nauseam. Is it me, the wifi usb, > usb itself, or the kernel/driver? Does it work on your PC or laptop? > Sep 16 06:47:19 potato wpa_supplicant[38412]: wlan0: Associated with 10:0d:RE:DA:CT:ED > Sep 16 06:47:22 potato wpa_supplicant[38412]: wlan0: WPA: Key negotiation completed with 10:0d:RE:DA:CT:ED [PTK=CCMP GTK=CCMP] > Sep 16 06:47:22 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 10:0d:RE:DA:CT:ED completed [id=0 id_str=] > Sep 16 06:47:39 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=0 > Sep 16 06:47:39 potato kernel: wlan0: link state changed to DOWN > Sep 16 06:47:41 potato wpa_supplicant[38412]: wlan0: Trying to associate with 10:0d:RE:DA:CT:ED (SSID='REDACTED' freq=2412 MHz) > Sep 16 06:47:51 potato wpa_supplicant[38412]: wlan0: Authentication with 10:0d:RE:DA:CT:ED timed out. > Sep 16 06:47:51 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=3 locally_generated=1 > Sep 16 06:48:09 potato wpa_supplicant[38412]: wlan0: Trying to associate with 10:0d:RE:DA:CT:ED (SSID='REDACTED' freq=2412 MHz) > Sep 16 06:48:09 potato kernel: wlan0: link state changed to UP > Sep 16 06:48:09 potato wpa_supplicant[38412]: wlan0: Associated with 10:0d:RE:DA:CT:ED > Sep 16 06:48:11 potato wpa_supplicant[38412]: wlan0: WPA: Key negotiation completed with 10:0d:RE:DA:CT:ED [PTK=CCMP GTK=CCMP] > Sep 16 06:48:11 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 10:0d:RE:DA:CT:ED completed [id=0 id_str=] > Sep 16 06:48:29 potato kernel: wlan0: link state changed to DOWN > Sep 16 06:48:29 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=0 > Sep 16 06:48:31 potato wpa_supplicant[38412]: wlan0: Trying to associate with 10:0d:RE:DA:CT:ED (SSID='REDACTED' freq=2412 MHz) > Sep 16 06:48:31 potato kernel: wlan0: link state changed to UP > Sep 16 06:48:31 potato wpa_supplicant[38412]: wlan0: Associated with 10:0d:RE:DA:CT:ED > Sep 16 06:48:32 potato wpa_supplicant[38412]: wlan0: WPA: Key negotiation completed with 10:0d:RE:DA:CT:ED [PTK=CCMP GTK=CCMP] > Sep 16 06:48:32 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-CONNECTED - Connection to 10:0d:RE:DA:CT:ED completed [id=0 id_str=] > Sep 16 06:49:13 potato wpa_supplicant[38412]: wlan0: CTRL-EVENT-DISCONNECTED bssid=10:0d:RE:DA:CT:ED reason=0 > Sep 16 06:49:13 potato kernel: wlan0: link state changed to DOWN > > ping: sendto: Network is down > ping: sendto: Network is down > ping: sendto: Network is down > ping: sendto: No buffer space available > ping: sendto: No buffer space available > 64 bytes from 192.168.1.1: icmp_seq=250 ttl=64 time=9.297 ms > 64 bytes from 192.168.1.1: icmp_seq=254 ttl=64 time=13.435 ms > 64 bytes from 192.168.1.1: icmp_seq=256 ttl=64 time=5.430 ms > 64 bytes from 192.168.1.1: icmp_seq=257 ttl=64 time=3.670 ms > 64 bytes from 192.168.1.1: icmp_seq=259 ttl=64 time=6.287 ms > ping: sendto: Network is down > ping: sendto: Network is down > ping: sendto: Network is down > ping: sendto: No buffer space available > 64 bytes from 192.168.1.1: icmp_seq=264 ttl=64 time=19.030 ms > 64 bytes from 192.168.1.1: icmp_seq=265 ttl=64 time=4.295 ms > 64 bytes from 192.168.1.1: icmp_seq=266 ttl=64 time=3.199 ms > 64 bytes from 192.168.1.1: icmp_seq=267 ttl=64 time=2.705 ms > 64 bytes from 192.168.1.1: icmp_seq=268 ttl=64 time=3.570 ms > 64 bytes from 192.168.1.1: icmp_seq=269 ttl=64 time=4.039 ms > 64 bytes from 192.168.1.1: icmp_seq=271 ttl=64 time=30.060 ms > 64 bytes from 192.168.1.1: icmp_seq=273 ttl=64 time=3.649 ms > 64 bytes from 192.168.1.1: icmp_seq=274 ttl=64 time=4.681 ms > 64 bytes from 192.168.1.1: icmp_seq=278 ttl=64 time=28.680 ms > 64 bytes from 192.168.1.1: icmp_seq=279 ttl=64 time=25.553 ms > 64 bytes from 192.168.1.1: icmp_seq=280 ttl=64 time=21.684 ms > 64 bytes from 192.168.1.1: icmp_seq=282 ttl=64 time=23.208 ms > 64 bytes from 192.168.1.1: icmp_seq=284 ttl=64 time=11.321 ms > ping: sendto: Network is down > ping: sendto: Network is down > ping: sendto: No buffer space available > ping: sendto: No buffer space available > 64 bytes from 192.168.1.1: icmp_seq=291 ttl=64 time=10.184 ms > 64 bytes from 192.168.1.1: icmp_seq=298 ttl=64 time=5.662 ms > 64 bytes from 192.168.1.1: icmp_seq=299 ttl=64 time=4.545 ms > 64 bytes from 192.168.1.1: icmp_seq=300 ttl=64 time=4.888 ms > 64 bytes from 192.168.1.1: icmp_seq=301 ttl=64 time=6.296 ms > 64 bytes from 192.168.1.1: icmp_seq=304 ttl=64 time=14.067 ms > 64 bytes from 192.168.1.1: icmp_seq=306 ttl=64 time=24.352 ms > > 192.168.1.1 is my wireless router. Might be worthwhile to note that the > device, though recognised in dmesg, would not associate at all while connected > to the (powered) usb extended hub but would while directly connected > to a usb port mounted on the pi PCB itself. > > thanks, > -- > John Kevin