From owner-freebsd-mips@freebsd.org Mon Apr 23 07:32:37 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0211FA21A3 for ; Mon, 23 Apr 2018 07:32:37 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (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 3BAAA76455 for ; Mon, 23 Apr 2018 07:32:37 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x22e.google.com with SMTP id o123-v6so10816228lfe.8 for ; Mon, 23 Apr 2018 00:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=3A69pW6Cc6YEXbVUVqaZzY7dE/rjBwhRRJ6hZO0bb3Y=; b=lW0ymhD6p7/h2BNVl4egCCVb5sqmK9dlLvZQxobqsAq0PcmqSCzBdPpLRyvHP0BqxX ehbYNaZeQ0ZPZijmrMkMkm4TksHkrFaUkNa/iqFh6TCAKmuRM+amTs3bezaP6ewx22Hh 0g9oxhHsutvyWK2b/GY3GPyuzx3Ap/37SmPvcV6BvGa6Iv9GPv8VvCZhuxAR9LrhSTW8 078I2pZax1hIpHsNRId7+aGc0aQlsRZshlS14FCOAgkyHtdcV9YShXiy/lrCH9jf3BsZ TNv2xbrbAUv5t7WszD8TOMzpLVEyv3tQB5Xk820D8lDCiT7vfcsQoRxbLrH2kERidf5D Kg/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=3A69pW6Cc6YEXbVUVqaZzY7dE/rjBwhRRJ6hZO0bb3Y=; b=JehzCmV15hAVRdOBSwAcSJ9rYqjxeDdZdxHHG384TVRlGhgQoYRM2+3n8y1/NttSlJ aSTT61WERMFr844GSpqiu1cl80Be6eUf9cfo0NukHcpXnt0okyS9nkiKOvdB/qq50QsH TYXIwkYEPvoLj78nBHyLq7T/Vq38yJ8qW23qTk1PI/D8IUeqrjJ1ySyGK2ZjYxKWLmNP 4pS6YlyS1ebVRZFnqc+8rtw94DgrIndiA+ILlC2tw2RZ+795idvhPebnhRD2a9KgYvky GlMEWmp/HRY30Qf8HcXmK67rlRIWnqVh+TMqKE405dmqYpkE5/I+f7LiTL6yyW/R5wZG 2fRw== X-Gm-Message-State: ALQs6tDGhDrh/gv3y45M7KUTRHcjT4m90Cpr/fWxxpOibqFhNX4jXytK B/qPViZ4vgD490WMpjF0aZKi3A== X-Google-Smtp-Source: AB8JxZoBxJg/5pKiqNlXgsIgOJlJ09iCd+dwfjN+1FAo8kijI7NMDyEs1TAwzVvTVqV+ODjgIHU//Q== X-Received: by 10.46.149.214 with SMTP id y22mr4137608ljh.90.1524468755686; Mon, 23 Apr 2018 00:32:35 -0700 (PDT) Received: from [192.168.1.131] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.googlemail.com with ESMTPSA id m11sm2206173lji.64.2018.04.23.00.32.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 00:32:34 -0700 (PDT) To: freebsd-mips@FreeBSD.org From: "Jukka A. Ukkonen" Subject: Has anyone tried the MIPS port on old SGI tower case systems like Octeon? Message-ID: <6424234f-275b-fb66-6703-19879a32ebd1@gmail.com> Date: Mon, 23 Apr 2018 10:32:09 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 07:32:38 -0000 Hello all, Has anyone tried the MIPS port on old SGI tower case systems like Octeon or Octeon2? If so, are there any old SGI models which are known to work with FreeBSD/mips? --jau From owner-freebsd-mips@freebsd.org Mon Apr 23 08:11:13 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7695FA5EF9 for ; Mon, 23 Apr 2018 08:11:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (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 85AE57DA92 for ; Mon, 23 Apr 2018 08:11:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x231.google.com with SMTP id d24-v6so7571975iob.5 for ; Mon, 23 Apr 2018 01:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VplK21z+rH0sU47jLd9Q7Yuk8lV0S013P73wZriDKxQ=; b=sEicLOYecmXWUUOcP1G0tPMA0yTgFJINmBhjk7q9Z6sWm1AnIrdYVmYaTJjjfE6jI7 M5E1QttXqaPqjjJn+BwpzgwrMCGNrZn2MYtNNDmMPlagUBkblisrqxIIww+m+PdSypNy ZIXZ+xn1VJmpswKN2u0jHFwt1DYEkI7iY++Mb/4RI+81A16Kdk5I6thgBeuMc8JhzJqu 1L3ZgkP7g3WugJbWzh/4CGOyWGdO55lyLxB0qMdZ8Qc7yJmfnJF0wlm1+lrjEqsArOqM 48Fc12F1XyMVbgNFXZmdAyJBdpWoodcO7CExmqhFJ8MRjUZwaJ+S5lQQC33qeGcITUMe 4F3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VplK21z+rH0sU47jLd9Q7Yuk8lV0S013P73wZriDKxQ=; b=l0O7xAiMVKNzqvVEJwJcVWv790hI42d4LOV2Zsw2CpIDlAgflsbAIwPVs269qfrTML xmo95Cuk3fwFZpkLls9m71P2fjDMdw5gKvGJPN+ypqlwn2xvn9XEN4tgcfzhkteGskHF G+2OhqVwk7rV6Ag/njlQH57vDgYueKW3CZCLSJsqndXHKBTfp/d9oVIg73tqpYfv+d9H FzEbWxpudVWViBU75WOXAdQu2DpqvHnaziutzft6V7CRYdjbj9pP3SZHkMoU9wCNklEL 97g98sA3wZHk1BRb5OdVXKN5TpIwGLC29nbmWdhMG4l+EsidXo3PcRUHh5uA6BeByq53 UcqA== X-Gm-Message-State: ALQs6tBUz9D4/y3OBXrwIDZM7vk3A7ra8lji1z1IjoPAiD2D+Fea9Wap 3WlYkzKmOuO8LVBDO1i8eyb+IMY4PNfXmBbyoVPOvw== X-Google-Smtp-Source: AIpwx48D3HUgkM+y+/IprPGBuU6fJQx3EeAnUAvSxdAgzI5PGWFMCZ6pdL4Ss0uwdonHicvql3xOK7Xh5AsQGVvW4S0= X-Received: by 2002:a6b:be01:: with SMTP id o1-v6mr20082785iof.299.1524471071718; Mon, 23 Apr 2018 01:11:11 -0700 (PDT) MIME-Version: 1.0 References: <6424234f-275b-fb66-6703-19879a32ebd1@gmail.com> In-Reply-To: <6424234f-275b-fb66-6703-19879a32ebd1@gmail.com> From: Warner Losh Date: Mon, 23 Apr 2018 08:11:00 +0000 Message-ID: Subject: Re: Has anyone tried the MIPS port on old SGI tower case systems like Octeon? To: Jukka Ukkonen Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 08:11:13 -0000 On Mon, Apr 23, 2018, 1:32 AM Jukka A. Ukkonen wrote: > > Hello all, > > Has anyone tried the MIPS port on old SGI tower case systems > like Octeon or Octeon2? If so, are there any old SGI models > which are known to work with FreeBSD/mips? > I think you mean Octane... none of the old SGI gear is supportedby the FreeBSD/mips port. There are a lot of errata for those old chips we simply do not have code for. Octeon is a newer chip that we do have support for. It was never used by SGI. Warner > --jau > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > From owner-freebsd-mips@freebsd.org Mon Apr 23 12:19:04 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7037FB76B5 for ; Mon, 23 Apr 2018 12:19:03 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 3DA996D73D for ; Mon, 23 Apr 2018 12:19:03 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id q5-v6so14600441lff.12 for ; Mon, 23 Apr 2018 05:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fP3U6aROsfAvLFEEPxdh1Nz5+C6cYdpbUHmA1dVHtwk=; b=reDSUunLKfQLsIcHlCqHFk5Mmq/wIjdzii4ozq3BmCMG+GB9edgCVgxrTo2Zww0NqM 0gxS4XKccbsJvLe7PeOgA6KHaYDCrYjCz4UCf2ZZsgG1bG6vTmm7FZHVFkMhBrg9gEAq /o3cRHlb1uhYQQ0U9dfD+tANJWGWx2M0ZIaxfAopr8CE7nKAGAB5wLR7uOO0xoUW0g+m ar7+zv7xFgFKIkqowWCS1AUsyllVbGF2CpLbMw7rHYnKI7wSrnjwLHINBDTbTZig/wWF ySAnpiWhvZarJpf890dj5nKVBotg11K55Am9bdgn0Wz2m/snFftPi6uFntqNu2aXAAMZ arFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fP3U6aROsfAvLFEEPxdh1Nz5+C6cYdpbUHmA1dVHtwk=; b=OWT+c7gichr2VsillfxCucOWsnWjhhr8s4DvXTMgIhASSfCOCIX4T8KS+0wqwGapeA FKGBRj5JKpo8gm65yb8QLTLi9gcnrukBJiOjLJkziQgcLY411rx+3LajJCyeRqVg3FJU KrgJSW4aDbUolF6ktbhuifFA+ZlX+T8zXXJQ8APvYcRhsBF0OIaS9zKUxTJpyE7hyJRa mF3cFyyl1oi5ejMEAakzJmqDU2dOn5EAiOhA0C8ciDdhlsicGE1Q/26+SSRXJ3QesNdv CfcoBvuQW1hH1IhWCTq7k2mYjJAM8rB9a5HHgyos4WiEClOOu/UDUaZThrBFmydK/S/F rhPg== X-Gm-Message-State: ALQs6tBms6uqQ2wMdo+nR1CexBSV1C9aMZiGeg7oJHkIITCR+d2LxJ8I C1mnoYVkrKBwivFRHCnsNs4= X-Google-Smtp-Source: AB8JxZq9wNHfM/BXOToWDmwcWyj8/+fAEDe2R+XhuhmLZ52qbJ2kuGJ0o3q0khbEzA+qAUJ6IzzMKA== X-Received: by 10.46.135.85 with SMTP id q21mr5862076ljj.45.1524485941006; Mon, 23 Apr 2018 05:19:01 -0700 (PDT) Received: from [192.168.1.193] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.gmail.com with ESMTPSA id i62-v6sm73870lfa.22.2018.04.23.05.18.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 05:19:00 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: Has anyone tried the MIPS port on old SGI tower case systems like Octeon? From: Jukka Ukkonen X-Mailer: iPad Mail (15E216) In-Reply-To: Date: Mon, 23 Apr 2018 15:18:58 +0300 Cc: freebsd-mips@freebsd.org Message-Id: <0116B26A-AEE1-4D62-A557-D07ACB3EF2D6@gmail.com> References: <6424234f-275b-fb66-6703-19879a32ebd1@gmail.com> To: Warner Losh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 12:19:04 -0000 Uublii...! - My brain has been mixing things again. Octane is what I meant. My mistake, sorry! It is kind of sad there is no support for the old SGI iron, but then again NetBSD and OpenBSD seem to support quite a number of old SGIs. --jau > On 23 Apr 2018, at 11.11, Warner Losh wrote: >=20 >=20 >=20 >> On Mon, Apr 23, 2018, 1:32 AM Jukka A. Ukkonen wrote: >>=20 >> Hello all, >>=20 >> Has anyone tried the MIPS port on old SGI tower case systems >> like Octeon or Octeon2? If so, are there any old SGI models >> which are known to work with FreeBSD/mips? >=20 >=20 >=20 > I think you mean Octane... none of the old SGI gear is supportedby the Fre= eBSD/mips port. There are a lot of errata for those old chips we simply do n= ot have code for. >=20 > Octeon is a newer chip that we do have support for. It was never used by S= GI. >=20 > Warner >> --jau >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" From owner-freebsd-mips@freebsd.org Mon Apr 23 14:49:10 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D58DFFA0F51 for ; Mon, 23 Apr 2018 14:49:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (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 69E626DC4A for ; Mon, 23 Apr 2018 14:49:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x244.google.com with SMTP id p3-v6so10798466itc.0 for ; Mon, 23 Apr 2018 07:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=roMSiCxDWKgNsIvLG22QA/W0JnTv/USrwh7CoQyBSbM=; b=1zxRsCDiz1DECLe91MFKQGWGAB2WdDFA0PD0dxo2WrRHgTQUVi1X90/oFmXMzgFUoO BHv6i3bTuWdcknJtebiMG7fFZJ+LJbLMumyyoTIcxJWKkRYvRgbN87Xa65dmSUFLa0oX UB7vHdepobeLDy7OUv7LdVUkhPRJsvMF3QXL2HB8T6iK75Qu+BGr1bheQXN6oDntfeeL vfmn1KMkKPPLc3PACIu0o0kAFqplOWcTIsxgykAY8ZYxv0JwweEuli2vYE8gXHrJ/rLO I7dZg3+gPlOcBwZTn/Jirf38gVMT7VFo9lnO3cSg1ZyAOzCMVvPw3i1d0YAL3MbAxIVN sAyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=roMSiCxDWKgNsIvLG22QA/W0JnTv/USrwh7CoQyBSbM=; b=ccl5MkJI6HnuevXXy63H2tC0AX1zW4CIrkFkrqqcLm/N/1Z3PDhEaR4XNh3Dc2OyCk +XclVZnvQEBsvbrJqjd9glvrc+3gtn+OGfznRM+Qt4EjEw0OGMHrJ8euNm+bNeYlUwIU SDMGU31cW8wSDWDi//oZnHX1X8GM6+uW2IUX9V2sI14UFaqY6eTMHJpKt3Zq5Mg1AsCC fu9EoVkct1pymlPGNQLdXqigZU+bTjEIvalLxFN4khVAJS2gjQM7q1QyJwPaes2IPdLS yAP6Hocyw2X/uesjC/wi0iVE0ErqLhQLFU+Tfh0w/6wIMnqdSjNwz8mcAUPJol5Vz+wq QCug== X-Gm-Message-State: ALQs6tBKrFdxGelfDtXbSgiTSRNq17Nmu3wVohMbn77uZO0/6XEMUH88 QAHXw6ryW48KtKgmozcmoUfDKKWfpuzjXAL8HupUhg== X-Google-Smtp-Source: AIpwx4/AI8VNw2H3t34F9ljTbHXqlS0+60g/F0w6L2mULrB0szM1gbLYA52MzMhpjolnMU15/jGMheEedisiTX/Pz1Q= X-Received: by 2002:a24:e983:: with SMTP id f125-v6mr14245726ith.36.1524494948626; Mon, 23 Apr 2018 07:49:08 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:a604:0:0:0:0:0 with HTTP; Mon, 23 Apr 2018 07:49:08 -0700 (PDT) X-Originating-IP: [50.227.106.226] In-Reply-To: <0116B26A-AEE1-4D62-A557-D07ACB3EF2D6@gmail.com> References: <6424234f-275b-fb66-6703-19879a32ebd1@gmail.com> <0116B26A-AEE1-4D62-A557-D07ACB3EF2D6@gmail.com> From: Warner Losh Date: Mon, 23 Apr 2018 08:49:08 -0600 X-Google-Sender-Auth: d1H-xpS_C88mv1vzp063VUAQUj0 Message-ID: Subject: Re: Has anyone tried the MIPS port on old SGI tower case systems like Octeon? To: Jukka Ukkonen Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 14:49:10 -0000 There's a lot of work to support these devices, and there's not a lot of reward for it. The R10000, R12000 and R14000 CPUs all have TLB issues which force specialized trap handlers that are somewhat tricky to get right. It's a lot of work to get working and keep working for systems that are as fast as a Pentium III, but harder to get parts for... There's no developers that has one in service, so while it would be nice if we ran on this cool, historically important MIPS flavor, the benefits haven't been there in the past, and are only less likely to be there in the future. Warner On Mon, Apr 23, 2018 at 6:18 AM, Jukka Ukkonen wrote: > > Uublii...! - My brain has been mixing things again. > Octane is what I meant. My mistake, sorry! > It is kind of sad there is no support for the old SGI > iron, but then again NetBSD and OpenBSD seem to > support quite a number of old SGIs. > > --jau > > > On 23 Apr 2018, at 11.11, Warner Losh wrote: > > > > On Mon, Apr 23, 2018, 1:32 AM Jukka A. Ukkonen wrote: > >> >> Hello all, >> >> Has anyone tried the MIPS port on old SGI tower case systems >> like Octeon or Octeon2? If so, are there any old SGI models >> which are known to work with FreeBSD/mips? >> > > > I think you mean Octane... none of the old SGI gear is supportedby the > FreeBSD/mips port. There are a lot of errata for those old chips we simply > do not have code for. > > Octeon is a newer chip that we do have support for. It was never used by > SGI. > > Warner > >> --jau >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> > From owner-freebsd-mips@freebsd.org Mon Apr 23 15:50:51 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA518FA4DE9 for ; Mon, 23 Apr 2018 15:50:51 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (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 2375F7C968 for ; Mon, 23 Apr 2018 15:50:51 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id g203-v6so15700701lfg.11 for ; Mon, 23 Apr 2018 08:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HkTDYVV+ViqGL5twIHRXtUTPwvW22VvKl9heEA1ZqjI=; b=bsTGio9bbG2Y5BvGwR3kZgtVLVox20aKBzP1/cjuU0wEqqEHKVlQCk8I72HS65Xzi9 eM7Iibwmgpk/mxe0M8hH9FZlBDKgGKe2efxtgcAzzke5sB10a/dzOzhxpyKjWg5Qhd8N Jt07bXqKkNB2Ovm2YQlBggmIkmNFzgNgWVCob+4xsMvFzqboX9QYgbmyytSX2hLrzLqJ OfOX7IFfig9SgaOR5JDVgS7s1dyWdyvBKFKauEiRfK/VMsqsun3PFL2VkpjkY1Sh7lTj 9o1tGN4Ce+/ug9DAJsBXpmrGBmEAxjP+L8Zu0Z5BSXcAW3UA++qvKtPOzEiAWefvl4SQ IDbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HkTDYVV+ViqGL5twIHRXtUTPwvW22VvKl9heEA1ZqjI=; b=F9Ge0R9gSR8x9gOCQiMrKlR9VJQdjR8mlz0oXB+UitQ6/fSFc5L2Jjau4A/BwiXj7w 81CfceSOJLX5Wof9jNzlUxT25w0fM5YZdUEb+ipCgNusHa1pf5A17wOLfA3+6lEBaY0X bQzRXfGtQjdcoxlR7fWo6lxKRrOHs9jvXapLkX3cGmH7ywb+GSYT/rpppI6u5StAb5fp Q4XSvhu0hI2AGlk1SNIQ5kysvlBSRg/aAec0ZbwP8HRZ51olG8rxuYM6IviVMb6ZURoN USl7t7V6IpnIv07G/eiR5822s7H7a1dRRmLVLC8SwNyU2WW/euw/Hze2TCnSP7Ab9WCD mvSg== X-Gm-Message-State: ALQs6tAif1nMvwYpGsm6E5WYDu9A4ekZ4rcSkzafm+fwoAlv+xIbnUlO ciP/E6ZWIuwuZw0stVDarv7nWw== X-Google-Smtp-Source: AIpwx49yOunZTvN215lDLXI6XKmBei038eijWVhwx/IwU77AgB912kgprY/GEHuNwlqcJ6PyIa9dxw== X-Received: by 10.46.9.65 with SMTP id 62mr13732201ljj.33.1524498647123; Mon, 23 Apr 2018 08:50:47 -0700 (PDT) Received: from [192.168.1.193] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.gmail.com with ESMTPSA id s25-v6sm2836225lfc.21.2018.04.23.08.50.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 08:50:46 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: Has anyone tried the MIPS port on old SGI tower case systems like Octeon? From: Jukka Ukkonen X-Mailer: iPad Mail (15E216) In-Reply-To: Date: Mon, 23 Apr 2018 18:50:45 +0300 Cc: "freebsd-mips@freebsd.org" Message-Id: <6202FC60-A362-46CB-B9F0-2EF3C1D5380B@gmail.com> References: <6424234f-275b-fb66-6703-19879a32ebd1@gmail.com> <0116B26A-AEE1-4D62-A557-D07ACB3EF2D6@gmail.com> To: Warner Losh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 15:50:52 -0000 I did not try to say FreeBSD should support the old SGI iron. I only wanted to state the fact that luckily there are alternatives which being branches of the BSD family have pretty similar behavior and general feel to them. Nobody needs to change ones brain completely to start using another BSD variant for a while. No worries. --jau > On 23 Apr 2018, at 17.49, Warner Losh wrote: >=20 > There's a lot of work to support these devices, and there's not a lot of r= eward for it. The R10000, R12000 and R14000 CPUs all have TLB issues which f= orce specialized trap handlers that are somewhat tricky to get right. It's a= lot of work to get working and keep working for systems that are as fast as= a Pentium III, but harder to get parts for... There's no developers that h= as one in service, so while it would be nice if we ran on this cool, histori= cally important MIPS flavor, the benefits haven't been there in the past, an= d are only less likely to be there in the future. >=20 > Warner >=20 >> On Mon, Apr 23, 2018 at 6:18 AM, Jukka Ukkonen wrote: >>=20 >> Uublii...! - My brain has been mixing things again. >> Octane is what I meant. My mistake, sorry! >> It is kind of sad there is no support for the old SGI >> iron, but then again NetBSD and OpenBSD seem to >> support quite a number of old SGIs. >>=20 >> --jau >>=20 >>=20 >>> On 23 Apr 2018, at 11.11, Warner Losh wrote: >>>=20 >>>=20 >>>=20 >>>> On Mon, Apr 23, 2018, 1:32 AM Jukka A. Ukkonen wrote= : >>>>=20 >>>> Hello all, >>>>=20 >>>> Has anyone tried the MIPS port on old SGI tower case systems >>>> like Octeon or Octeon2? If so, are there any old SGI models >>>> which are known to work with FreeBSD/mips? >>>=20 >>>=20 >>>=20 >>> I think you mean Octane... none of the old SGI gear is supportedby the Fre= eBSD/mips port. There are a lot of errata for those old chips we simply do n= ot have code for. >>>=20 >>> Octeon is a newer chip that we do have support for. It was never used by= SGI. >>>=20 >>> Warner >>>> --jau >>>> _______________________________________________ >>>> freebsd-mips@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>>> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"= >=20 From owner-freebsd-mips@freebsd.org Mon Apr 23 23:40:39 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC2AEFAE1A6 for ; Mon, 23 Apr 2018 23:40:38 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DBF4864BD for ; Mon, 23 Apr 2018 23:40:37 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id w3NNePqV028822 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 24 Apr 2018 01:40:26 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1524526826; bh=g7QZVyvR9K1nAb19xjfzXET/s0jEPNp7fSg60iqa/hc=; h=Date:From:To:Cc:Subject:Reply-To; b=kR2ou/0H4oCK2O4EnkDMqfLvWdWBRFBBs1P/09fztJAU40ZLfHesuC5tF/n8oXdcH 5OvOhd5TKEA/hBz50zLB5sRwtQ6Cz4rnhfF3DjIx8eYeAJb0aY0Ebe43uLLwugaiCU WSnJ3MSO4RWtgWmmAhPI77lRSQ/05RbwmRmT79go= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id w3NNeLTj022180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 24 Apr 2018 01:40:21 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTPS id w3NNeLaQ067411 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Apr 2018 01:40:21 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id w3NNeLc3067410; Tue, 24 Apr 2018 01:40:21 +0200 (CEST) (envelope-from ticso) Date: Tue, 24 Apr 2018 01:40:21 +0200 From: Bernd Walter To: freebsd-mips@freebsd.org Cc: Bernd Walter Subject: WDR-4300 problems Message-ID: <20180423234020.GW85060@cicely7.cicely.de> Reply-To: ticso@cicely.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely7.cicely.de 11.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 23:40:39 -0000 I'm running a TP-Link WDR4300 on an image I'd build end of 2015 with freebsd-wifi-build. Now I want another system (and later on update the other one), but I also never liked the mini OS and I need a few more features on it. Since I never had success with stable rootfs on USB drives on any Atheros based system I like to go nfsroot instead. Now that's where my problem begin. I also started with freebsd-wifi-build as I remembered that it created a perfectly fine root tree. I've started with current (r332885) and fresh checked out freebsd-wifi-build (9d8dfe08a6bccd6f94b742b23c6cf0952691e149). I did the following changes: [70]cicely7> svn diff Index: TL-WDR4300 =================================================================== --- TL-WDR4300 (revision 332885) +++ TL-WDR4300 (working copy) @@ -39,8 +39,8 @@ options AR71XX_ENV_UBOOT # uzip - to boot natively from flash -device geom_uzip -options GEOM_UZIP +#device geom_uzip +#options GEOM_UZIP # Used for the static uboot partition map device geom_map @@ -51,4 +51,10 @@ options ATH_EEPROM_FIRMWARE # Boot off of the rootfs, as defined in the geom_map setup. -options ROOTDEVNAME=\"ufs:map/rootfs.uzip\" +options BOOTP +options BOOTP_NFSROOT +options BOOTP_NFSV3 +options BOOTP_WIRED_TO=arge0 +options BOOTP_COMPAT +options ROOTDEVNAME=\"nfs:10.1.1.16/data/apx1.cicely.de\" + Index: std.AR934X =================================================================== --- std.AR934X (revision 332885) +++ std.AR934X (working copy) @@ -27,12 +27,17 @@ options SCHED_4BSD #4BSD scheduler options INET #InterNETworking -#options INET6 #InterNETworking +options INET6 #InterNETworking options TCP_HHOOK # hhook(9) framework for TCP #options NFSCL #Network Filesystem Client options PSEUDOFS #Pseudo-filesystem framework options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions +options NFSCL # Network Filesystem Client +options NFSD # Network Filesystem Server +options NFSLOCKD # Network Lock Manager +options NFS_ROOT # NFS usable as /, requires NFSCL + # PMC options HWPMC_HOOKS @@ -43,9 +48,9 @@ #options WITNESS #options WITNESS_SKIPSPIN options FFS #Berkeley Fast Filesystem -#options SOFTUPDATES #Enable FFS soft updates support +options SOFTUPDATES #Enable FFS soft updates support #options UFS_ACL #Support for access control lists -#options UFS_DIRHASH #Improve performance on big directories +options UFS_DIRHASH #Improve performance on big directories options NO_FFS_SNAPSHOT # We don't require snapshot support include "std.AR_MIPS_BASE" I created build/cfg/tl-wdr4300 based on wdr3600: [182]cicely1# diff -u build/cfg/tl-wdr3600 build/cfg/tl-wdr4300 --- build/cfg/tl-wdr3600 2018-04-23 15:59:36.616020809 +0200 +++ build/cfg/tl-wdr4300 2018-04-23 18:07:13.158492990 +0200 @@ -5,8 +5,8 @@ # The configuration load/save script needs to know the # configuration partition name and location. -BIN_CFG_PARTITION="/dev/map/cfg" -BIN_CFG_SIZE="65536" +#BIN_CFG_PARTITION="/dev/map/cfg" +#BIN_CFG_SIZE="65536" RECOVERY_PIN="16" RECOVERY_PIN_ACTIVE="0" @@ -57,15 +57,15 @@ TPLINK_IMG_NAME="FreeBSD" TPLINK_IMG_VERSION="FreeBSD-HEAD" # New-style board config -TPLINK_HARDWARE_ID=0x36000001 +TPLINK_HARDWARE_ID=0x43000001 TPLINK_HARDWARE_VER=1 TPLINK_HARDWARE_FLASHID=8M TPLINK_FIRMWARE_RESERV=0x40000 # Building the firmware image -X_BUILD_BUILD_IMG_DEFAULTS="fetchpkgs mfsroot makepkgs addpkgs fsimage tplink" +X_BUILD_BUILD_IMG_DEFAULTS="fetchpkgs mfsroot makepkgs addpkgs tplink" # Configuration file overrides X_CFG_DEFAULT_ETHER="arge0" X_CFG_DEFAULT_HOSTNAME="freebsd-tl-wdr3600" -X_PACKAGELIST="dropbear dnsmasq lua lzo2 openvpn" +#X_PACKAGELIST="dropbear dnsmasq lua lzo2 openvpn" Initially I only changed the HARDWARE_ID, but it failed somewhere with dropbear and since I didn't need that part, I'd disabled it. Now my problems - and there are a few of them. USB controller and the external USB hub are found, but the system didn't notice when I plug an USB stick in. Maybe neither da nor ugen is compiled in, have to reinstall the rootfs to test. A freebsd-wifi-build commit mentions USB support was removed, so maybe the config in the OS tree gets modified somewhere as da is within std.AR934X The root/mips_ap/ tree lacks propper file properties (user, permission, ...), even when build as root. This is a minor issue to handle but anyway. I think this problem also exists in my 2015 build. Maybe I should create it with a standard cross build run instead? Also missing was /bin/cc - there is no compiler and therefor I can't compile any ports, but at least packages worked. The 2015 build had a compiler in the tree. devmatch coredumps: devmatch: Can't read linker hints file. Apr 23 20:22:57 apx1 kernel: BAD_PAGE_FAULT: pid 696 tid 100049 (devmatch), uid 0: pc 0x400e60 got a read fault (type 0x2) at 0 Apr 23 20:22:57 apx1 kernel: Trapframe Register Dump: Apr 23 20:22:57 apx1 kernel: zero: 0 at: 0 v0: 0xfffffffffffffffc v1: 0 Apr 23 20:22:57 apx1 kernel: a0: 0x7fffeabc a1: 0x40441968 a2: 0x404419c8 a3: 0x404417a8 Apr 23 20:22:57 apx1 kernel: t0: 0 t1: 0 t2: 0x4 t3: 0 Apr 23 20:22:57 apx1 kernel: t4: 0x5851f42d t5: 0x1 t6: 0x20 t7: 0x402398 Apr 23 20:22:57 apx1 kernel: t8: 0xd t9: 0x400e50 s0: 0x406123c4 s1: 0x4043a00a Apr 23 20:22:57 apx1 kernel: s2: 0x4043a008 s3: 0x40441940 s4: 0x404419c8 s5: 0 Apr 23 20:22:57 apx1 kernel: s6: 0x410000 s7: 0x410000 k0: 0 k1: 0 Apr 23 20:22:57 apx1 kernel: gp: 0x41b130 sp: 0x7fffe898 s8: 0x410000 ra: 0x40144c Apr 23 20:22:57 apx1 kernel: sr: 0xfc13 mullo: 0x5fd8 mulhi: 0xfd badvaddr: 0 Apr 23 20:22:57 apx1 kernel: cause: 0x8 pc: 0x400e60 Apr 23 20:22:57 apx1 kernel: Page table info for pc address 0x400e60: pde = 0x80f6f000, pte = 0xa01a2c5a Apr 23 20:22:57 apx1 kernel: Dumping 4 words starting at pc address 0x400e60: Apr 23 20:22:57 apx1 kernel: 8c620000 24630004 03e00008 ac830000 Apr 23 20:22:57 apx1 kernel: Page table info for bad address 0: pde = 0, pte = 0 Segmentation fault (core dumped) Yes, there is no kernel.hints, even after renaming the kernel directory from kernel.*WDR4300* to kernel. Ethernet worked fine and also nfs rootfs worked well so far. But there are no WiFi devices. dmesg mentions none and net.wlan.devices doesn't exist. Then I tried building stable, but it failed during the build itsself: /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/libcompiler_rt.a(ffsdi2.o) uses -msoft-float /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/libcompiler_rt.a(floatunsidf.o) uses -msoft-float /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/libcompiler_rt.a(fixunsdfsi.o) uses -msoft-float /usr/local/bin/mips-unknown-freebsd11.0-ld: Warning: libc.so.7.full uses -mhard-float (set by /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crti.o), /data/builder-new/builder/wdr-4300/11/../obj/mips_ap//mips.mips/data/builder-new/builder/wdr-4300/11/tmp/usr/lib/crtendS.o uses -msoft-float collect2: error: ld returned 1 exit status --- libc.so.7.full --- *** [libc.so.7.full] Error code 1 make[4]: stopped in /data/builder-new/builder/wdr-4300/11/lib/libc 1 error make[4]: stopped in /data/builder-new/builder/wdr-4300/11/lib/libc --- lib/libc__L --- *** [lib/libc__L] Error code 2 make[3]: stopped in /data/builder-new/builder/wdr-4300/11 1 error make[3]: stopped in /data/builder-new/builder/wdr-4300/11 --- libraries --- *** [libraries] Error code 2 make[2]: stopped in /data/builder-new/builder/wdr-4300/11 1 error make[2]: stopped in /data/builder-new/builder/wdr-4300/11 --- _libraries --- *** [_libraries] Error code 2 make[1]: stopped in /data/builder-new/builder/wdr-4300/11 1 error make[1]: stopped in /data/builder-new/builder/wdr-4300/11 --- buildworld --- *** [buildworld] Error code 2 make: stopped in /data/builder-new/builder/wdr-4300/11 1 error make: stopped in /data/builder-new/builder/wdr-4300/11 202.912u 60.836s 3:26.91 127.4% 22727+876k 12+45659io 5482pf+0w Exit 1 [67]cicely7# pwd /data/builder-new/builder/wdr-4300/11 This is the dmesg with current, which was missing the WiFi devices: U-Boot 1.1.4 (Jun 17 2013 - 12:31:57) U-boot DB120 DRAM: 128 MB id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB Using default environment PCIe Reset OK!!!!!! In: serial Out: serial Err: serial Net: ag934x_enet_initialize... No valid address in Flash. Using fixed address wasp reset mask:c03300 WASP ----> S17 PHY * : cfg1 0x7 cfg2 0x7114 eth0: ba:be:fa:ce:08:41 athrs17_reg_init: complete eth0 up eth0 Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... ar934x_chip_detect_sys_frequency: mdio=100MHz CPU platform: Atheros AR9344 rev 2 CPU Frequency=560 MHz CPU DDR Frequency=450 MHz CPU AHB Frequency=225 MHz platform frequency: 560 MHz CPU reference clock: 40 MHz CPU MDIO clock: 100 MHz arguments: a0 = 00000007 a1 = a7f8ffb0 a2 = 08000000 a3 = 00000008 Cmd line:argv is invalid Environment: envp is invalid Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 max line size = 32 cpu0: MIPS Technologies processor v76.151 MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes) L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line L2 cache: disabled Config1=0xbee3519e Config2=0x80001000 Config3=0x2c20 Config7=0x80000800 Physical memory chunk(s): 0x625000 - 0x7ffffff, 127774720 bytes (31195 pages) Maxmem is 0x8000000 ar934x_chip_init_gmac: gmac_cfg=0x00000001 ar934x_configure_gmac: ETH_CFG=0x00000001 ar71xx: Overriding MAC from EEPROM ar71xx: Board MAC: c4:e9:84:7d:cc:1a ar71xx: devid 'ath.0', MAC offset '0' hint.ath.0.macaddr => c4:e9:84:7d:cc:1a ar71xx: devid 'ath.1', MAC offset '-1' hint.ath.1.macaddr => c4:e9:84:7d:cc:19 ar71xx: devid 'arge.0', MAC offset '-2' hint.arge.0.macaddr => c4:e9:84:7d:cc:18 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #2 r332885M: Mon Apr 23 19:36:21 CEST 2018 ticso@cicely7.cicely.de:/data/builder-new/builder/wdr-4300/obj/mips_ap/data/builder-new/builder/wdr-4300/head/mips.mips/sys/TL-WDR4300 mips gcc version 6.3.0 (FreeBSD Ports Collection for mips) Preloaded elf kernel "kernel" at 0x8061ec7c. real memory = 134217728 (131072K bytes) Physical memory chunk(s): 0x006b9000 - 0x07de1fff, 124948480 bytes (30505 pages) avail memory = 124514304 (118MB) arc4random: no preloaded entropy cache random: entropy device external interface mem: null: nfslock: pseudo-device nexus0: ar71xx_caldata: ar71xx_caldata0 already exists; skipping it nexus0: failed to add child: ar71xx_caldata0 random: harvesting attach, 8 bytes (4 bits) from nexus0 ar71xx_caldata0 on nexus0 ar71xx_caldata0: map.0.ath_fixup_addr=0x1fff0000; size=16384 ar71xx_caldata0: EEPROM firmware: 0x1fff0000 @ 16384 bytes firmware: 'ar71xx_caldata.0.map.0.eeprom_firmware' version 1: 16384 bytes loaded at 0xc086a000 ar71xx_caldata0: device EEPROM 'ar71xx_caldata.0.map.0.eeprom_firmware' registered random: harvesting attach, 8 bytes (4 bits) from ar71xx_caldata0 argemdio0: at mem 0x19000000-0x19000fff on nexus0 mdio0: on argemdio0 mdioproxy0: on mdio0 random: harvesting attach, 8 bytes (4 bits) from mdioproxy0 arswitch0: on mdio0 arswitch0: ar8327_fetch_pdata_port: port 0: speed=3, duplex=1, txpause=1, rxpause=1 arswitch0: ar8327_fetch_pdata_pad: pad 0: mode=6, rxclk_sel=0, txclk_sel=0, txclk_delay_sel=1, rxclk_delay_sel=2, txclk_delay_en=1, rxclk_enable_en=1, sgmii_delay_en=0, pipe_rxclk_sel=0 arswitch0: ar8327_phy_fixup: called; phy=0; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=1; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=2; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=3; chiprev=4 arswitch0: ar8327_phy_fixup: called; phy=4; chiprev=4 arswitch0: ar8327_atu_learn_default: TODO! miibus0: on arswitch0 ukphy0: PHY 0 on miibus0 ukphy0: OUI 0x00c82e, model 0x0003, rev. 4 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy0 random: harvesting attach, 8 bytes (4 bits) from miibus0 miibus1: on arswitch0 ukphy1: PHY 1 on miibus1 ukphy1: OUI 0x00c82e, model 0x0003, rev. 4 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy1 random: harvesting attach, 8 bytes (4 bits) from miibus1 miibus2: on arswitch0 ukphy2: PHY 2 on miibus2 ukphy2: OUI 0x00c82e, model 0x0003, rev. 4 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy2 random: harvesting attach, 8 bytes (4 bits) from miibus2 miibus3: on arswitch0 ukphy3: PHY 3 on miibus3 ukphy3: OUI 0x00c82e, model 0x0003, rev. 4 ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy3 random: harvesting attach, 8 bytes (4 bits) from miibus3 miibus4: on arswitch0 ukphy4: PHY 4 on miibus4 ukphy4: OUI 0x00c82e, model 0x0003, rev. 4 ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy4 random: harvesting attach, 8 bytes (4 bits) from miibus4 etherswitch0: on arswitch0 random: harvesting attach, 8 bytes (4 bits) from etherswitch0 mdio1: on arswitch0 mdioproxy1: on mdio1 random: harvesting attach, 8 bytes (4 bits) from mdioproxy1 random: harvesting attach, 8 bytes (4 bits) from mdio1 random: harvesting attach, 8 bytes (4 bits) from arswitch0 random: harvesting attach, 8 bytes (4 bits) from mdio0 random: harvesting attach, 8 bytes (4 bits) from argemdio0 argemdio1: at mem 0x1a000000-0x1a000fff on nexus0 mdio2: on argemdio1 mdioproxy2: on mdio2 random: harvesting attach, 8 bytes (4 bits) from mdioproxy2 arswitch1: on mdio2 arswitch1: ar9340_hw_global_setup: GMII arswitch1: ar9340_hw_global_setup: PHY4 - Local miibus5: on arswitch1 ukphy5: PHY 0 on miibus5 ukphy5: OUI 0x00c82e, model 0x0004, rev. 2 ukphy5: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy5 random: harvesting attach, 8 bytes (4 bits) from miibus5 miibus6: on arswitch1 ukphy6: PHY 1 on miibus6 ukphy6: OUI 0x00c82e, model 0x0004, rev. 2 ukphy6: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy6 random: harvesting attach, 8 bytes (4 bits) from miibus6 miibus7: on arswitch1 ukphy7: PHY 2 on miibus7 ukphy7: OUI 0x00c82e, model 0x0004, rev. 2 ukphy7: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy7 random: harvesting attach, 8 bytes (4 bits) from miibus7 miibus8: on arswitch1 ukphy8: PHY 3 on miibus8 ukphy8: OUI 0x00c82e, model 0x0004, rev. 2 ukphy8: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy8 random: harvesting attach, 8 bytes (4 bits) from miibus8 miibus9: on arswitch1 ukphy9: PHY 4 on miibus9 ukphy9: OUI 0x00c82e, model 0x0004, rev. 2 ukphy9: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from ukphy9 random: harvesting attach, 8 bytes (4 bits) from miibus9 etherswitch1: on arswitch1 random: harvesting attach, 8 bytes (4 bits) from etherswitch1 mdio3: on arswitch1 mdioproxy3: on mdio3 random: harvesting attach, 8 bytes (4 bits) from mdioproxy3 random: harvesting attach, 8 bytes (4 bits) from mdio3 random: harvesting attach, 8 bytes (4 bits) from arswitch1 random: harvesting attach, 8 bytes (4 bits) from mdio2 random: harvesting attach, 8 bytes (4 bits) from argemdio1 clock0: on nexus0 Timecounter "MIPS32" frequency 280000000 Hz quality 800 Event timer "MIPS32" frequency 280000000 Hz quality 800 random: harvesting attach, 8 bytes (4 bits) from clock0 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCD random: harvesting attach, 8 bytes (4 bits) from uart0 random: harvesting attach, 8 bytes (4 bits) from apb0 ehci0: at mem 0x1b000100-0x1b0010ff irq 1 on nexus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci0: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus0 random: harvesting attach, 8 bytes (4 bits) from ehci0 pcib0 at irq 0 on nexus0 pcib0: ar724x_pci_slot_fixup: checking dev pcib0, 0/0/0 pcib0: found EEPROM at 0x1fff4000 on 0.0.0 pcib0: EEPROM firmware: 0x1fff4000 @ 16384 bytes firmware: 'pcib.0.bus.0.0.0.eeprom_firmware' version 1: 16384 bytes loaded at 0xc0892000 pcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registered pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x168c, dev=0x0033, revid=0x01 domain=0, bus=0, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 3 supports D0 D1 D3 current D0 MSI supports 4 messages, 64 bit, vector masks map[10]: type Memory, range 64, base 0, size 17, enabled pci0: at device 0.0 (no driver attached) random: harvesting attach, 8 bytes (4 bits) from pci0 random: harvesting attach, 8 bytes (4 bits) from pcib0 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: Overriding MAC address from environment: 'c4:e9:84:7d:cc:18' arge0: arge_fetch_pll_config: pll_1000 = 0x6000000 arge0: arge_attach: overriding MII mode to 'RGMII' mii_attach_proxy: not attaching, no mdio device hint for arge0 arge0: finishing attachment, phymask 0000, proxy null arge0: bpf attached arge0: Ethernet address: c4:e9:84:7d:cc:18 random: harvesting attach, 8 bytes (4 bits) from arge0 arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: arge_attach: overriding MII mode to 'GMII' arge1: Generating random ethernet address. mii_attach_proxy: not attaching, no mdio device hint for arge1 arge1: finishing attachment, phymask 0000, proxy null arge1: bpf attached arge1: Ethernet address: 62:73:64:9c:90:ef random: harvesting attach, 8 bytes (4 bits) from arge1 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 mode 0 on spibus0 mx25l0: device type w25q64, size 8192K in 128 sectors of 64K, erase size 4K random: harvesting attach, 8 bytes (4 bits) from mx25l0 random: harvesting attach, 8 bytes (4 bits) from spibus0 random: harvesting attach, 8 bytes (4 bits) from spi0 ar71xx_wdog0: on nexus0 random: harvesting attach, 8 bytes (4 bits) from ar71xx_wdog0 Device configuration finished. Timecounters tick every 1.000 msec lo0: bpf attached tcp_init: net.inet.tcp.tcbhashsize auto tuned to 2048 arswitch0port1: link state changed to DOWN arswitch0port2: link state changed to DOWN arswitch0port3: link state changed to DOWN arswitch0port4: link state changed to DOWN arswitch0port5: link state changed to DOWN arswitch1port1: link state changed to DOWN arswitch1port2: link state changed to DOWN arswitch1port3: link state changed to DOWN arswitch1port4: link state changed to DOWN arswitch1port5: link state changed to DOWN GEOM: new disk flash/spi0 MAP: flash/spi0: 0x20000, data=0x20000 "/dev/map/u-boot" MAP: search flash/spi0 for key ".!/bin/sh" from 0x20000, step 0x10000 usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 MAP: flash/spi0: 20000x1b0000, data=0x1b0000 "/dev/map/kernel" MAP: search flash/spi0 for key ".!/bin/sh" from 0x20000, step 0x10000 MAP: flash/spi0: 1d0000x600000, data=0x600000 "/dev/map/rootfs" MAP: flash/spi0: 7d0000x10000, data=0x10000 "/dev/map/cfg" MAP: flash/spi0: 7e0000x10000, data=0x10000 "/dev/map/mib0" MAP: flash/spi0: 7f0000x10000, data=0x10000 "/dev/map/ART" bootpc_init: wired to interface 'arge0' Sending DHCP Discover packet from interface arge0 (c4:e9:84:7d:cc:18) uhub0: 1 port with 1 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub0 arswitch0: arswitch_miipollstat: port 1: port -> UP arswitch0port2: link state changed to UP ugen0.2: at usbus0 uhub1 on uhub0 uhub1: on usbus0 Received DHCP Offer packet on arge0 from 10.1.1.16 (accepted) uhub1: 4 ports with 4 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub1 Sending DHCP Request packet from interface arge0 (c4:e9:84:7d:cc:18) Received DHCP Ack packet on arge0 from 10.1.1.16 (accepted) (got root path) arge0 at 10.1.1.129 server 10.1.1.16 server name cicely11.cicely.de boot file pxeboot subnet mask 255.255.255.0 router 10.1.1.4 rootfs 10.1.1.16:/data/apx1.cicely.de/ hostname dyn1-129.cicely.de Adjusted interface arge0 Trying to mount root from nfs: []... NFS ROOT: 10.1.1.16:/data/apx1.cicely.de/ Warning: no time-of-day clock registered, system time will not be set accurately Warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Interface arge0 IP-Address 10.1.1.129 Broadcast 10.1.1.255 Setting hostuuid: 1b19873c-1dd2-11b2-91a8-c4e9847dcc18. Setting hostid: 0xe603710b. No suitable dump device was found. Starting file system checks: random: unblocking device. mount_nfs: can't update /var/db/mounttab for 10.1.1.16:/data/apx1.cicely.de Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat Setting hostname: apx1.cicely.de. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . ... -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-mips@freebsd.org Tue Apr 24 17:31:46 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E310AFACC1A for ; Tue, 24 Apr 2018 17:31:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (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 543757EA1E for ; Tue, 24 Apr 2018 17:31:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id g21-v6so23285448wrb.8 for ; Tue, 24 Apr 2018 10:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zjwQfzmlOWXWOxwJTOAcZ08sEI4smFgFjLOxOMkk7Q0=; b=UFu5v+ndfdeg7+FmMqL1bAbp3gb8i9YBqbTLsO7Y0JNEcTpu9M4uG077FozHJzov7i JMzSGePkqWCHX9AYWXu0oNUIryab8bQ7xo817XPkIwIoReDhE2pHJ5YXE0486Ob2qKVI Ksmhw/MXoVXAvq1BD7ChOqpRyO7B+7/xTdy3vdVjpupdmGeT7zmqmKXyDBo6Fe6vyX6H mxqSAMXQ+dHYXyGsr6AHGZEyj8vhGQ5UCpuQN5G9kjvuHKo+1kaUhkOpSLGD5qPRAIf4 T9Lb4OZ7rk2HrhXH9/UGnJyFsauL4DB6hoFTJMgah2sbEYBeKM+K09fShrVWSk4zr+jD HTIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zjwQfzmlOWXWOxwJTOAcZ08sEI4smFgFjLOxOMkk7Q0=; b=PKC8tsJo9WqGSoJCsfnOeGvQqe8wtIOIC6OiMdh3NjJ4UtQjhntoIpgsFFM6+aqW4L nuYv1rAtc+ELjivTnNiv0bZ9lAcwyhxPO7yxX+pRK4N6+Tb63vKAjs51PLvThbniSPA7 UPyqhelH33+8ThyC63ZE2lmfczLNMOi+ChyRWy1Mov4yOVQhVZPgqilx/+L443bbDRqM cMend7JrbjO9rq66ZECnaxt4n3qpgN4btsuG9fDluJobedJ/VZvoPqZFWTymkvABjEp+ 4YSC9THWo00xS99nn2DV7kh0T7KNcLBaVXboT9Jjx6bItkzukkIxo1iN/yrZtPkiALeX ba5Q== X-Gm-Message-State: ALQs6tDSLJ3zxDcNxHJIRF7mx8nNd7uJ4lF+I1+eX5mqP2vyJ5PyGXlQ K2ko0E9Ny5Dvll2POczlF73ycTC67/HoSvAEaUFnGQ== X-Google-Smtp-Source: AIpwx489zN0C8VdsopVlI9slgKBhovTiW21qBTNPG0CYRymk1HkC1mog4CkmX1q1udzUEfnbqLuB4pJgFl7hpuc7yl4= X-Received: by 2002:adf:c003:: with SMTP id z3-v6mr20442883wre.177.1524591104287; Tue, 24 Apr 2018 10:31:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.239.15 with HTTP; Tue, 24 Apr 2018 10:31:42 -0700 (PDT) In-Reply-To: <20180423234020.GW85060@cicely7.cicely.de> References: <20180423234020.GW85060@cicely7.cicely.de> From: Adrian Chadd Date: Tue, 24 Apr 2018 10:31:42 -0700 Message-ID: Subject: Re: WDR-4300 problems To: ticso@cicely.de Cc: "freebsd-mips@freebsd.org. Robert Pera" , Bernd Walter Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 17:31:46 -0000 Hi! * I'd love more features, but yeah, the base libraries are really really big. :( * Yes, the wifi pieces are kernel modules, so just build them and kldload the wifi stack and driver modules as part of your runtime. * Yes, I think to save on kernel space I didn't include everything to run off of a USB rootfs by default. It's not hard to do - you just need to include everything in the kernel image. * .. but if it still doesn't detect it then we have to see if there's a GPIO line to assert to enable power to that USB port. Hope that helps! -adrian From owner-freebsd-mips@freebsd.org Tue Apr 24 23:14:17 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD111FB613A for ; Tue, 24 Apr 2018 23:14:16 +0000 (UTC) (envelope-from enquiry@evlink.com.my) Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-pu1apc01hn0209.outbound.protection.outlook.com [104.47.126.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C986275B33 for ; Tue, 24 Apr 2018 23:14:15 +0000 (UTC) (envelope-from enquiry@evlink.com.my) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evlinkmy.onmicrosoft.com; s=selector1-evlink-com-my; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Jzs6n0PlQqKa/Yr0WO0PW3M5uwIOU3/24l7GCWxN86Q=; b=U3ayaiE3xbiYeKr14KHieKSJgoo1uIPrwh0xdmz/SOq53OvSOSF3ePp0/f/Kdtuz/8XJrU4mDVmr82hpcgJBh0oQx3xQ9BQ+hX+EyEE5GPTUQw+I5NB0Y38e74Ku5CXU5NOEdV4bA6DLvB8Ta3H4yrwOpt3Qbw++xYFctg3258Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=enquiry@evlink.com.my; Received: from evlink.com.my (157.119.122.217) by KL1PR06MB1238.apcprd06.prod.outlook.com (2a01:111:e400:7820::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Tue, 24 Apr 2018 23:14:09 +0000 From: Customers Service To: freebsd-mips@freebsd.org Subject: Bank Advice Date: 24 Apr 2018 16:14:20 -0700 Message-ID: <20180424161420.C40AF615B186B839@evlink.com.my> X-Originating-IP: [157.119.122.217] X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To KL1PR06MB1238.apcprd06.prod.outlook.com (2a01:111:e400:7820::20) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(9333020)(4627221)(201702281549075)(7048125)(7026125)(7024125)(7027125)(7023125)(2017052603328)(7153060)(7193020); SRVR:KL1PR06MB1238; X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1238; 3:LsxCxseiabWXp7KdTt0mhdr8h6ihF7Mt8d0yY+zIbVFJr31rtJwhas40Vzjg/WzmaZKO+iF2h/sEDG+3ThBpAT84mv1b6hUqmLfB6/2Q8+9JORUMCYJ16x7aSJYTxJqqhLdjSKA9dLFXFj9+u48yKp+juEp/GlYHnbiBE0U0xxSVdXeVgJmwZ/JFyAoJBEOyahyQFES5GzV8N1vjMScHDEQjoTD2LpK4IPv6aGEwftNj4nWgwlgIuNbRBBf9gT1+; 25:MaqLp2EmLHKuIDO2nJtrcv6miUDVWHl0JNqT+PIuDMDcPX0zvwsNVUHpo1d8vEaKvTag+hx7BSXuHRPRt+H0RwbltzSHNxxUd40iAbuNTqE9OSnANGVf4sXzLQoCV2/pjQxGYGkaDfWkmR6Nj7/f0yf1QN0fMGri48eMXwz3onfjayG0zF0NSYk7pxBX/zB8geubunQZy1QGl2gACNqWx7iH8znnIQOy4bJ9LTcST/mleYg9LqcZsjqTYQ3bBgccg45UUFbKFuou4QOf7PbIEg1s8KX/M7X+w1dYZP8CYWiVDtEtwyZklVdoKsXZWe6+l79avsjX+XfCIINZ9DOoxa8+T8mITz6S+hFWFqPO1vM=; 31:klHepjPzmTd2QO1VjRkuFP3BuhaUNqhU1jntO9pmrMXuNi0N7Ei7xenDZEF2jg/Iu5MjXIxAYxFQs8neD9fDkTumiQwF3nS+ciGPpN+fy9fFXwl5MaW18qud7+RirzlbXBXg9ykP0aKkU2dSU+q5eFDz/LtwcRfDTkrPIYvmYQuGOUCZQm709xoFQAcNUQnwTyAbCU5X2DxK8R0mACsR1mJxoaUkqbUj0M8RtvdC/mE= X-MS-TrafficTypeDiagnostic: KL1PR06MB1238: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(73312121905874)(211936372134217); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6041310)(20161123564045)(20161123558120)(2016111802025)(20161123560045)(20161123562045)(6043046)(6072148)(201708071742011); SRVR:KL1PR06MB1238; BCL:0; PCL:0; RULEID:; SRVR:KL1PR06MB1238; X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1238; 4:22XJ9/AFXaMTD0l3PLygoo7hjF4oXrCIYmnXSeryt0+UFHsriwlRGzap1hjEBOCsGQ/u5fgKa8MYDN/nLc367XHSZSGeUPfnsGZdCnxI539YIU7xvbbc7QON1m74Pb+DYjOOsVnP6C89ZijD2tB3/O6UZ9+KHiVLY58T+8QXwOPzBV+wq/kNE8gVaQbfHehHdOOAAndoCUUpYbsDdvBqC+FStDKqFDbZEdMa8ZvAQY9bbVEfe07MeI52WPBP57PYMiYfHmOwF1/G3x4NV+2KcokdWdB2rRE5XLJi7ETSimE/od7xLII6IerdKzZ+x7ERE0zNeHAoe4nGTyW5E9DzskiRzXytjva7z2EshOUOLGg= X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(7966004)(376002)(346002)(396003)(39380400002)(39850400004)(366004)(199004)(189003)(413944005)(16799955002)(36756003)(53416004)(50466002)(508600001)(106356001)(23846002)(105586002)(33656002)(74482002)(2351001)(69596002)(54836003)(25786009)(6116002)(1076002)(97876018)(68736007)(347745004)(606006)(6916009)(23756003)(3846002)(5890100001)(2361001)(2906002)(15650500001)(55046002)(186003)(16526019)(28505004)(486006)(476003)(2616005)(956004)(4743002)(386003)(52116002)(5660300001)(7116003)(7696005)(103936005)(26005)(59450400001)(8676002)(6666003)(316002)(236005)(86362001)(81156014)(81166006)(3480700004)(6306002)(8936002)(8746002)(66066001)(575854001)(8266002)(53936002)(7736002)(55016002)(97736004)(570100007); DIR:OUT; SFP:1501; SCL:5; SRVR:KL1PR06MB1238; H:evlink.com.my; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1; Received-SPF: None (protection.outlook.com: evlink.com.my does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; KL1PR06MB1238; 23:Sf463A1qERuLXxNcmxT40seTx8neviVryIwWY+f?= =?iso-8859-1?Q?8MED0DsI4nyPZdy65dwjqv8EYO5/KrggmZMs+7l8XN19ja8RxXFq+glx7D?= =?iso-8859-1?Q?pebU0Mni/jdpJhwGYNb2C+iBdGdP9UyLKmYbojx7o1+CSzdDCejW+liL3M?= =?iso-8859-1?Q?u0VqSWVxEK/qR0PMon2iuwzE3Asv63WU1XXmhSdox8lNdE4YCkWww3rHSg?= =?iso-8859-1?Q?eWt2emDC6Vr1/nlMfgeZFtgOGZQ5utbJsRVvIMFcxQ58u5Huj3nxNbmkoN?= =?iso-8859-1?Q?RnEv6agvU5Aw3AMpppHwf0slS+v7GInA/JIHs1f6WhZYr9mvGJd9Td4sXU?= =?iso-8859-1?Q?DWP+QbqhS3t+WwOa3p9OSJEE4pXF3ecbQp97Ma7QBwGx9Wh6ZHrzijAs3n?= =?iso-8859-1?Q?nqYCIEpQZNqtptLG+oOOUlGaOXtQhfYdXmt7rq9TGO9S9zmdZLii43kR/g?= =?iso-8859-1?Q?3EPfbQTnqbs/eBdALw/2ax7KHIWJvqxd+Y0F/0sZWhGf1ua/7z9mcQ0emn?= =?iso-8859-1?Q?ETII82L1p0K6u0lgKComIU6VnZcx1QMQEAZ/wE+vmkIQaks6Y6z5PICg4q?= =?iso-8859-1?Q?rBw45BQqvsDrCe1Z0Bom2n/UvCE90SBjgs478LL3aa2Uh46+VkquLDnUi5?= =?iso-8859-1?Q?zQxhX8zpTmxvngqWszascOEVLedw2P3Z2/nJUEPzB4wIJ9En7y+6m2hYPw?= =?iso-8859-1?Q?d220IA8nyxKWbLcXlUMluLs7wBTShFUv8BW5CegRO5ZsMzPUxr2u2371YE?= =?iso-8859-1?Q?lOmA7xU8O9udy/1rwt+mmUzm3tOW2pjm4UkDQ5sxrOYmB6ldPFb9UIdQlz?= =?iso-8859-1?Q?bLvlKuye5vFRdZJPWkGXprf2IJgk4W+kG9GsTUkKmXpTdK2O1zVkD/34gA?= =?iso-8859-1?Q?mh1z0wIBTiMWfAUojYlSrlDZHj5h+jia+5dCLRj1MXG9r/NgTMeiWeluiJ?= =?iso-8859-1?Q?ck0GW4QNYqj7XwhmzqrYvHotiwluLbnVkKanzyb3Jn48cN6S/yrG4zGno0?= =?iso-8859-1?Q?z1HnZyPQ6A+Mxdh+HzYLgzDShLB1IAnieT4qE4/d2rf1aytUIgzXAs1NLa?= =?iso-8859-1?Q?egJ0oZNri8ILy8MkNkR2VFEfi3yynyHRpD8rQuyvvrJeT55zAkc81Y3SCv?= =?iso-8859-1?Q?O8hVNurNG19VKlByoopm1HJpO1w5ucC6S2IEkKRLV25T3UI3n79a6SNtvK?= =?iso-8859-1?Q?cu01CK38EeT1A70qjgoO8kbEei/iBSiY61w5fkoPch/dN7adW+bjAtvrJU?= =?iso-8859-1?Q?SfvRnW4OIczzr4eN3tJCiU0YT79jXvIBhzJGZKhnJUpQQ6TL0dFTjfvNnI?= =?iso-8859-1?Q?swfwx/tL3RQ1DRKOxL+fNl6hPuhpqgS2EA/mYT52QUl4nijJg1l2EWc4Ep?= =?iso-8859-1?Q?kzGt/inkcdv/X1ENFBxIqZNq5kOzDAPRC+n73MgEFIzbZPonB+kOAdVhOo?= =?iso-8859-1?Q?c67l2a5MNk1mYXjLV1UOmA98b8TX1/e4Z1zjZxTJC8ymTGojb00W4UAgr/?= =?iso-8859-1?Q?xf40Rq+Y78ZgYN6qTgXMcPVrPwvHbz/ANlja8EJyZy/OBQ+E1rdLlXe7uN?= =?iso-8859-1?Q?aRTUDMLCQP+58+Yf+1aWBI3L9hCUmAueOchCREBdWKvG3iefmfsty6Qg/p?= =?iso-8859-1?Q?E6M9o2lNOyhUzFMTvAy/CfBmie5UgYSA9p3WzAKItCg5lscqBTd9tJAgek?= =?iso-8859-1?Q?YnKXwyrFL4Pz3gSKZ5nl4Wdny0zthXjq7i7ggOTZQ7Wewc2/Mh7czN+vGJ?= =?iso-8859-1?Q?6?= X-Microsoft-Antispam-Message-Info: 9dTHAVdR7ihCAZ8+wu2be7xCDAtwgBVQUcbVYNX7o8qmMdPZqCoFcmIe3h45xe9UafCEF8OnQnmtn1Q7JrnlwEIh/QVS/67nxaHXu0UM6DCbuUBloMFxfBFY+zLf/chpPC+4PuafZWohGoKLu4xrEVrRm42kxA8KXOu+HQim6iRDXJhIRbOYmQ9isgvCLI00zwaw5uIlBSBaeYuOqvwUTNfEGnEyNj4soF1xt13wdKgZ3ua5qaqVWPpTv0lPVCq8Kzwy88oQyVbUrNsVfh0LfGC/juh/vz7b+sfeoNgj9O/xsIuq0A1OuzELQ+sgkn84GyDlSW61RKa+iMaW7NfN9daHN9OXjBf9Gj82MT2QfSPNZlUJSOmw15T+31OoJnJ+yAxgztgPfDAoibdoPT2bGnQThEx4kc8XyCl2qe/HjJeOPM/Vcr8oB9C0zMingPofUCHjJw3Q0pKa4XmF5ZO1VbHvVsl+K3u03CtscbLQZ/naXkUM9exf7vPqBu5ANsQ4IqMglGQFE/ID2f4t+Wq9yjqpWnNx6fSWXpfxlptmY9L8RKXP04rbMFwQy5c3n5hjKulyY88jR1/RTX1lT94yBaD1Q1XGZm39oV7usG2CsvMMt14hQv0VM/LICwWTCEh2wZLpiAjer/hGxmNtt9M46Q== X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1238; 6:By2sQ655LqRlFKq6BEwZ1CVfV0/nWTpgO7wKk3Bo6p/gzmlhb1vIIKdS+1n/F1R4B89UWDSxhYeE+13HzwPW5QaLwel8pY4u4TbfDzt/u0gxcrzA/cMuP9YPJtMP1C3wpBk4X803ml3g0p92PNDWjJkssPz1UKbJe/PL7VmcKjKmAkiYioowHZzHTslDTNuLI5PkcdBj6u+ZVU9K53alZnXrgFSJJeKeVwuUpld1hC6AOMlP0ca/x+pYUEtdkSltzau57QRjho81y8h3+tBeiliWBdbbDUN8mkBmgtExnl7/pBA/HLch9NlpyseD5PXTiTt2msi6zlGRSla1Bdndv1HkOSoT3ykl7USRDESLysZ2iRLhSNe+ftG+F3pu1L+wDAb6e8keeCwEOztzFNvGwWm3NuqGwkNSRNyekBa6hLmNqvYbIJpzwKZ1GMYWaKnkZ6woNNPv8srXa82/v0Lg8TyJcP5LMb4ogStJHYFSCG1YlZE2wB3s/i/RhgVUcc+R0931Zf0WKXZMOEXmbthcuA==; 5:7RewGfsUcWqPUj96DNNiaFphkOH3m25VvYPCHPHGK4Q/Sf0SIICwZI4vxDrKzMRkCMic+an2sM7f8+CN30qNZKVT1U+Bb1C2/LTe+4K0Dw0n/B3LyIwiMdENVCIfrvNcktTO3nEDCPcVyN0x3Aw3ZEfR6scubThOZYF+uGIlxYg=; 24:rMDHjpv559FSAEsRhiFpd4NR0ctC2fgjGbQ9j2Ve6/OL4qSgjeTr0OR/QU0B+KW4zpZqPuX7kZTiET0FRYF2OA== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1238; 7:NpphT4Jzjgp54z71lpwOuvD6ERlNkaJkVMjTSMGg0oRgA/Qwx4X+2YRMaiwy38yIcykm9EkCVNGL+FnvMvWwYQXVuYBFEho1HpUOUGmOqWOBMKpquveQy9HMzSxLIXc/T5TS5NnYa3HsRp1qfuKoi/kdO+oZT06BUmDSybD6cphU3dh4mvqcdfS+mQwkuMqEUasM4xVsT3btvREPWuR5y65A2LK9nTuiUqfgqrs+yOTQPbNjz394WnzKbFraUZ6V X-MS-Office365-Filtering-Correlation-Id: 2eb6ef41-f796-4d17-c4ae-08d5aa3915fe X-OriginatorOrg: evlink.com.my X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 23:14:09.9012 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2eb6ef41-f796-4d17-c4ae-08d5aa3915fe X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: c6337ecd-1372-4c03-ba9a-e9fa77944c7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB1238 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 23:14:17 -0000 From owner-freebsd-mips@freebsd.org Wed Apr 25 06:04:18 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E42A6FBDD1F for ; Wed, 25 Apr 2018 06:04:17 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh502-vm5.bullet.mail.kks.yahoo.co.jp (nh502-vm5.bullet.mail.kks.yahoo.co.jp [183.79.56.150]) by mx1.freebsd.org (Postfix) with SMTP id E2188680C7 for ; Wed, 25 Apr 2018 06:04:16 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh502.bullet.mail.kks.yahoo.co.jp with NNFMP; 25 Apr 2018 06:02:00 -0000 Received: from [183.79.100.135] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 25 Apr 2018 06:02:00 -0000 Received: from [127.0.0.1] by omp504.mail.kks.yahoo.co.jp with NNFMP; 25 Apr 2018 06:02:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 229811.60692.bm@omp504.mail.kks.yahoo.co.jp Received: (qmail 24091 invoked by uid 60001); 25 Apr 2018 06:02:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1524636119; bh=9J+XiFiFimzeVtibro+5tZ8I+HEOW3mbrhfE0v2M78E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EvfdT9toimkEoGEQcbbltAAljSS9eklerY3qq6qYhF4eXPo6jbxk+MSzLWvVxWUKjfl7Q+YyydLuTfpj7VXCrva98E48rCujNpaRY07+e97o636Y1B5/YMJkuPqMMgFWlfxwqqng2v/rHOrCX/m2bt2DuEDdnHtWN3TVbVG5XX0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QBfrStqziiwSZ4U/OtfxR0CBZT6OlwRhlw9iJVTZqLYYWlzCQtKZx9OPfLecTm4pypGYHMOZqivLnSz7FFnIhIWfUYngWvxUkrCyad6NBfetfjp13qeNja0gpoy8UwXRb+1EiWeCSm2jREcJKvyQcu3/8KBG0/MJMtTT3M3NiS0=; Message-ID: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> X-YMail-OSG: MbFAxkkVM1l_HvdqEEzOaYDMAMyxk_Rw...nxVPwJtcrCjTqsIo248FiTkVKp2H27cqco1AaHJVFpiGhuY.1dKCW3PZ3kVkWPrwjIvxY6FFM6HmaLtgxSamf5O1nTjBPt3nPRA5KTGZs5KontEhlEyXthRnIFSD4un2efR.JZLRjmql5P8I7z0YAvAhoazDO9fDwjLXBTLkwnrlcE6VXp4s2AYJU5OMm7hp1ubIuOO_DFEOEmr9aO_ymPko3UrfHzxJ490FnR2Tq855dVV2kuUWZKwytk9DhDCoYaOH3tFmyCwHxjk4V5MikHOtjfna0qq3yVn6c3mvoWGlSyhj5__d2j1JFbJK356zrA5Qnm0qTTO7niQFDo83qoQ84C_jH_eTjjfc2EOlFs3mCf8Ub.oHMCp6isen4kdywczTHGUPqNT9.DCg.U.po74EtKquxQGdlP7TG0V9CjQFCKiVu3zp6cwewdOqcE52i2byhBoebTCfzAZr.xIV8JirS8rh.b98cI7I6x0DjnQzvgCLuUSSuKYhsyzY6nxdWh1bgbS9irPSyp4m5DjSw.PtzVuqhAhejl3eA67j3pVvYXr9UQnaBC1EAELsUYW3IfEIMHRHQzns836BLFUpiZMMlpSA7zw-- Received: from [203.165.91.75] by web101709.mail.ssk.yahoo.co.jp via HTTP; Wed, 25 Apr 2018 15:01:58 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: fbflMgYVM1kwYYWQN6znqfusL68xyQuxdi5WFFCFf4pabR8bNued3USGg.x49DGd9YDV4sU73orpFBy4MkQZRaGWUlYiBrCmGnzrhmvniZUpaBUHFbnQppX7UNZBlv1sullj Date: Wed, 25 Apr 2018 15:01:58 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: build error on mips by gcc To: "jhb@freebsd.org" Cc: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 06:04:18 -0000 Hi=0A=0AI build today current. I have compile error at atheros by gcc.=0A= =0Acc -isystem /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRout= er/tmp/s=0Atorage/home/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/= home/hiroki/zorg=0A/obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/h= iroki/freebsd/mips.mips/=0Atmp/usr/lib -B/storage/home/hiroki/zorg/obj/stor= age/home/hiroki/zorg/ZRouter/tmp=0A/storage/home/hiroki/freebsd/mips.mips/t= mp/usr/lib --sysroot=3D/storage/home/hirok=0Ai/zorg/obj/storage/home/hiroki= /zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips=0A.mips/tmp -B/storage/h= ome/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s=0Atorage/home/hi= roki/freebsd/mips.mips/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasi=0Ang =A0= -nostdinc=A0 -I. -I/storage/home/hiroki/freebsd/sys -I/storage/home/hiroki= /fr=0Aeebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -incl= ude opt_glo=0Abal.h=A0 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=3D0x800010= 00 -march=3Dmips32 -MD=A0 -=0AMF.depend.pm_machdep.o -MTpm_machdep.o -msoft= -float -ffreestanding -fwrapv -Wall=0A=A0-Wredundant-decls -Wnested-externs= -Wstrict-prototypes -Wmissing-prototypes -Wp=0Aointer-arith -Winline -Wcas= t-qual -Wundef -Wno-pointer-sign -fformat-extensions=A0=0A-Wmissing-include= -dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-unini=0Atialized= =A0 -fno-common -fms-extensions -finline-limit=3D768 --param inline-unit-gr= o=0Awth=3D100 --param large-function-growth=3D1000 --param max-inline-insns= -single=3D1000=A0=0A-DMACHINE_ARCH=3D'"mips"'=A0 -std=3Diso9899:1999 -Werro= r=A0 /storage/home/hiroki/freebsd=0A/sys/mips/mips/pm_machdep.c=0Acc1: warn= ings being treated as errors=0A/storage/home/hiroki/freebsd/sys/mips/mips/p= m_machdep.c: In function 'ptrace_sin=0Agle_step':=0A/storage/home/hiroki/fr= eebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l=0Ax' expects type= 'long unsigned int', but argument 4 has type 'uintptr_t' [-Wform=0Aat]=0A/= storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format= '%l=0Ax' expects type 'long unsigned int', but argument 5 has type 'uintpt= r_t' [-Wform=0Aat]=0A/storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.= c: In function 'ptrace_cle=0Aar_single_step':=0A/storage/home/hiroki/freebs= d/sys/mips/mips/pm_machdep.c:505: warning: format '%l=0Ax' expects type 'lo= ng unsigned int', but argument 5 has type 'uintptr_t' [-Wform=0Aat]=0A*** E= rror code 1=0A=0AStop.=0Amake[3]: stopped in /storage/home/hiroki/zorg/obj/= storage/home/hiroki/zorg/ZRout=0Aer/tmp/storage/home/hiroki/freebsd/mips.mi= ps/sys/IOData_WN-G300R=0A*** Error code 1=0A=0AStop.=0Amake[2]: stopped in = /storage/home/hiroki/freebsd=0A*** Error code 1=0A=0AStop.=0Amake[1]: stopp= ed in /storage/home/hiroki/freebsd=0A*** Error code 1 From owner-freebsd-mips@freebsd.org Wed Apr 25 10:35:33 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 229DFFC2DDF for ; Wed, 25 Apr 2018 10:35:33 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A81A0811CA; Wed, 25 Apr 2018 10:35:31 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id w3PAZIMn077847 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 25 Apr 2018 12:35:19 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1524652519; bh=MDnzhTWr7GxGWhdGLR2UxXgT5i0pPrIJ5yXX6zgLRI4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=fBNoXG/YTlR/+NQoSgxuKBmggehyNz0z0nXnMosBnpWJ08JTPDaDe06TPx+hGasBn nDzrPUwCxx2BL2qxxuAvpkNZzRHfrm9EkjOa9iHsy35PMg9AVowOO+bl9on63UBNr/ G1HN0z7srXUgYFrUNNvv9X9JHwI9zMF3BPkfMFas= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id w3PAZFXW055825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 25 Apr 2018 12:35:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTPS id w3PAZEgp032098 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Apr 2018 12:35:14 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id w3PAZEQX032097; Wed, 25 Apr 2018 12:35:14 +0200 (CEST) (envelope-from ticso) Date: Wed, 25 Apr 2018 12:35:14 +0200 From: Bernd Walter To: Mori Hiroki Cc: "jhb@freebsd.org" , "freebsd-mips@freebsd.org" Subject: Re: build error on mips by gcc Message-ID: <20180425103513.GA85060@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> X-Operating-System: FreeBSD cicely7.cicely.de 11.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 10:35:33 -0000 On Wed, Apr 25, 2018 at 03:01:58PM +0900, Mori Hiroki wrote: > Hi > > I build today current. I have compile error at atheros by gcc. > > cc -isystem /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s > torage/home/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/home/hiroki/zorg > /obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips.mips/ > tmp/usr/lib -B/storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp > /storage/home/hiroki/freebsd/mips.mips/tmp/usr/lib --sysroot=/storage/home/hirok > i/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/storage/home/hiroki/freebsd/mips > .mips/tmp -B/storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRouter/tmp/s > torage/home/hiroki/freebsd/mips.mips/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasi > ng   -nostdinc  -I. -I/storage/home/hiroki/freebsd/sys -I/storage/home/hiroki/fr > eebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_glo > bal.h  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80001000 -march=mips32 -MD  - > MF.depend.pm_machdep.o -MTpm_machdep.o -msoft-float -ffreestanding -fwrapv -Wall >  -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wp > ointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions  > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-unini > tialized  -fno-common -fms-extensions -finline-limit=768 --param inline-unit-gro > wth=100 --param large-function-growth=1000 --param max-inline-insns-single=1000  > -DMACHINE_ARCH='"mips"'  -std=iso9899:1999 -Werror  /storage/home/hiroki/freebsd > /sys/mips/mips/pm_machdep.c > cc1: warnings being treated as errors > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c: In function 'ptrace_sin > gle_step': > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l > x' expects type 'long unsigned int', but argument 4 has type 'uintptr_t' [-Wform > at] > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:268: warning: format '%l > x' expects type 'long unsigned int', but argument 5 has type 'uintptr_t' [-Wform > at] > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c: In function 'ptrace_cle > ar_single_step': > /storage/home/hiroki/freebsd/sys/mips/mips/pm_machdep.c:505: warning: format '%l > x' expects type 'long unsigned int', but argument 5 has type 'uintptr_t' [-Wform > at] > *** Error code 1 > > Stop. > make[3]: stopped in /storage/home/hiroki/zorg/obj/storage/home/hiroki/zorg/ZRout > er/tmp/storage/home/hiroki/freebsd/mips.mips/sys/IOData_WN-G300R > *** Error code 1 > > Stop. > make[2]: stopped in /storage/home/hiroki/freebsd > *** Error code 1 > > Stop. > make[1]: stopped in /storage/home/hiroki/freebsd > *** Error code 1 Same for me, must have happened somewhere between r332885 and 332970. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-mips@freebsd.org Wed Apr 25 19:50:53 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D62E8FAE2C9 for ; Wed, 25 Apr 2018 19:50:53 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (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 4BD1A75D8B for ; Wed, 25 Apr 2018 19:50:53 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-wr0-x230.google.com with SMTP id g21-v6so26981039wrb.8 for ; Wed, 25 Apr 2018 12:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Lybfu8V8Rnnt8kAYkEEWLmNE8YYHiIaImK9UCD9az7o=; b=VM9HTWjl48z4hX0apfXBtw/I5HyPb74e5X25ej+VJ3vCZ7AFYQXRoWHoXT50nzFwgL cvByaDPMhOV6GE27LO0NmiiXjDdIAGZaZ/vbXd8bSSxlnYs6F4K4RHQ2gFS8M7xNBzrj Pth01nZwklHlR/5UMnNwDQRa0fm7a9EwXrmRgwN64Hek7eMDvZbDvajHTv1zPAp1wGoD KpCnJoJLNQ5AIEUEPcrawvArazVOsWMPgw+7Tg5tUaDGyxf8XpRfiybnVCz5FbwBC/QL grenGc8pokocQP2m6NznDV71jdYb6otXzg5kavcpAXUT39x7QFu9gurH7nxR1dNJc3v+ QOmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Lybfu8V8Rnnt8kAYkEEWLmNE8YYHiIaImK9UCD9az7o=; b=UYvK32iEwG/W+wSccgz756/B9IH6VUMd4zQJxiRfJME+8ycGFeIsKYf9Xqief9Pbhv MwgRmJWhNw1P1ArNJEUGt7BvW9L9vDxzQAK7zC/Xlys5Y5C5PIEVMva5XMhGAk9jSJGw aao3hxg9FpTM617plKyC65C7WBM4KtqQeekK1g46/EMi7AOlquBkat0RsFro0mRtHqd3 Uh4xmOP/XHDNV/DnWeItmiYhYcQR2czHQzFtUXSMoxSsL3b77uh86PbreCguZj3Lhi2d NZXWBI0fmKGz61U0tme9n0Ql4+yNT/Vy0s8qPZCsu4U/RABv+zViNpRyADNgkZv430Cj sVtA== X-Gm-Message-State: ALQs6tDR1UWB/hmfvS5PluEvVsbKZcB6hvwTdwvCh7naQYoU05/lpICL NG14PJvHTkJ8BAQ7kpD4P+TlMqvLkIE/IwOCTDh0lOt2 X-Google-Smtp-Source: AIpwx49Bk3JX+JUZDo2fa18BwohwJPU4bqtO097qSGudLYqfmPsMF5sDMek5UFuY91vOiOZwmybSLtKuL44XOWnbPe8= X-Received: by 2002:adf:a9aa:: with SMTP id b39-v6mr24534000wrd.36.1524685852210; Wed, 25 Apr 2018 12:50:52 -0700 (PDT) MIME-Version: 1.0 Sender: lwhsu.freebsd@gmail.com Received: by 10.28.41.196 with HTTP; Wed, 25 Apr 2018 12:50:51 -0700 (PDT) In-Reply-To: <20180425103513.GA85060@cicely7.cicely.de> References: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> <20180425103513.GA85060@cicely7.cicely.de> From: Li-Wen Hsu Date: Thu, 26 Apr 2018 03:50:51 +0800 X-Google-Sender-Auth: CumSrL2fFLalLiwWdUyIcsBwc1g Message-ID: Subject: Re: build error on mips by gcc To: ticso@cicely.de Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 19:50:54 -0000 On Wed, Apr 25, 2018 at 6:35 PM, Bernd Walter wrote: > On Wed, Apr 25, 2018 at 03:01:58PM +0900, Mori Hiroki wrote: >> Hi >> >> I build today current. I have compile error at atheros by gcc. > > Same for me, must have happened somewhere between r332885 and 332970. I think it is fixed by r333010. -- Li-Wen Hsu https://lwhsu.org From owner-freebsd-mips@freebsd.org Wed Apr 25 22:36:20 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9389AFB21AB for ; Wed, 25 Apr 2018 22:36:20 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1124A7BF1D; Wed, 25 Apr 2018 22:36:19 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id w3PMa9Zj093497 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 26 Apr 2018 00:36:10 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1524695771; bh=/LnDqwN7uVDMkJ963ppzYa1SNXmBEJ7pLc8mCZs2ICU=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=l/atmyVZGKa+e0tmEIqtcmLRP6rTKznDKG4GjIg0rKfIVgIMaFrc5j2E/grYfG9T4 vcg9dy3WT526EW+xDRpWnXcDfxu1Pf5olXnZenNwDUtZcRwaEkigLjsAxoZ5bZ1z8I G0BKflad9u8EEV390JwOUV5wPHBqBg5DZdgDu680= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id w3PMa7DA068693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 26 Apr 2018 00:36:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTPS id w3PMa6e5059407 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Apr 2018 00:36:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id w3PMa6sd059358; Thu, 26 Apr 2018 00:36:06 +0200 (CEST) (envelope-from ticso) Date: Thu, 26 Apr 2018 00:36:06 +0200 From: Bernd Walter To: Li-Wen Hsu Cc: ticso@cicely.de, Mori Hiroki , "freebsd-mips@freebsd.org" Subject: Re: build error on mips by gcc Message-ID: <20180425223606.GB85060@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <995916.6656.qm@web101709.mail.ssk.yahoo.co.jp> <20180425103513.GA85060@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 11.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 22:36:20 -0000 On Thu, Apr 26, 2018 at 03:50:51AM +0800, Li-Wen Hsu wrote: > On Wed, Apr 25, 2018 at 6:35 PM, Bernd Walter wrote: > > On Wed, Apr 25, 2018 at 03:01:58PM +0900, Mori Hiroki wrote: > >> Hi > >> > >> I build today current. I have compile error at atheros by gcc. > > > > Same for me, must have happened somewhere between r332885 and 332970. > > I think it is fixed by r333010. Think you for the info. I will retry. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-mips@freebsd.org Thu Apr 26 10:01:44 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7C71FA8A4C for ; Thu, 26 Apr 2018 10:01:44 +0000 (UTC) (envelope-from dingorth@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 E3F967A2DA for ; Thu, 26 Apr 2018 10:01:43 +0000 (UTC) (envelope-from dingorth@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id l16so12130112wmh.2 for ; Thu, 26 Apr 2018 03:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NjNY19P/LIW7So6G3XUr0C6cBNGREETTQCPAFQ8pl4g=; b=SvuIrtNKkn/x8U1fz/ZNulLRSUngvFGBGW3Veml4GboQFxEIffTx9PU+p+SxWaSVE7 fBt4CijaoacxgY2r6A2Nbzrq1AsAQ2ngY2Utf3Vxf2ZCbL7wYqJcF+n10mvRIX3dE27G Uy52lHeD8bRnuSSMwwsHCF4t71evyK1bOZAP82YHKlOg2B5sRoM9Nqe0mY6fDfdS7joa fl/Dgzixb8r5+HAmcksOpmrbpHN5qUsleV4EXdlPPl2EUP1/+DfaFZ8hZF3UJENM+Abv gLo5d2LLVKgvGTeBN/kIzr0EsJSBjf6zt4qc1VjBRdfpSY5k6Y7wZu/VNmy6uIN68NQu TNOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NjNY19P/LIW7So6G3XUr0C6cBNGREETTQCPAFQ8pl4g=; b=s6ipuOr6OpAr+lLFLIL3pbHj9KDppKBm9fHg7CAYjyHV/AHiIaVZ9Xbv+SzHe3DRiq DsV5QaeVpDnBxKVh7W2eX91605gh98TQDjxje2Xs37rCmq00KD2AmQhmNC7oZs5Mm4Ds ZlklcWSNYPJEkAOb7xGAzmUSmI0EJrzuwqfELD96ulxAmep+e2md9o/k/dWAvQWfOYTO CE/L9P2GTN9x7jgXbGmnMt/fXgzJFuNyIFRVlcqWezNMG+ibPyZ3mWr9HCX/nMNiK3+3 c4q0H70cnmAYABKW1u5940f2EtXo32EZ8mlWSehtnXTTzWPNOsDK6JL++XO1ivo3yffg LR+g== X-Gm-Message-State: ALQs6tCgJMtQcte3nVEaR66VyGfBbbFNSabTuHktZ044g0tBBqaCz+pn PuI/R/aezexHVoOdbu0imVMX9TYBKpUiIqxEx7I5PAIR X-Google-Smtp-Source: AIpwx48jackP2XHA9xt27oT5ZUo/+yrCdVgWKycyc29TK5du2kB+pJgUSdS6QXpxjtRhowLvSjK5zoNcXDlL8sMYTPU= X-Received: by 10.28.48.149 with SMTP id w143mr18860954wmw.88.1524736902655; Thu, 26 Apr 2018 03:01:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.102.193 with HTTP; Thu, 26 Apr 2018 03:01:11 -0700 (PDT) From: Jan Mazur Date: Thu, 26 Apr 2018 12:01:11 +0200 Message-ID: Subject: What is the purpose of MipsEmulateBranch function? To: freebsd-mips@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 10:01:44 -0000 Hi I'm wondering why FreeBSD has to simulate branches when the faulting instruction is in the branch delay slot. I'm curious about MipsEmulateBranch function, which is defined in http://bxr.su/FreeBSD/sys/mips/mips/trap.c#MipsEmulateBranch Why can't you just restart execution from the branch instruction? From owner-freebsd-mips@freebsd.org Thu Apr 26 15:51:34 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EBCDDFB10FE for ; Thu, 26 Apr 2018 15:51:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 79D2A82859 for ; Thu, 26 Apr 2018 15:51:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id f3-v6so31578703iob.13 for ; Thu, 26 Apr 2018 08:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XkFZutIOXCdmXI+VVRGcud1lXagbLoSfV0nm14X0jPg=; b=OinQF4p1BCjneO3Zk3yVs4l9/ARyZ8tT29Qx9F25IICs/6EHYoS2jfa4DLFowAwSDW 80BEpdJ5gITkgM+1LAur+xWsUx7MaeHYloJirkdtneHHhky7z/65C4yUEw8RaQDicxkL Z18fjJJCdY+bQKhV8ibkIqya9heuJ42pvVzncV5vmTPS3yuicRZCuI5as+9EIXGlKXI9 WPtyQraC7iyLBBd0h3kpkdfwkRMq2Pw9f/M5OiWHTpyMHffOstFnxwUo5WiGdbBF1M3l lAsgMGi5SmkJqSKKZXgoiepxfHUqVKuLFa0ecwYJzZr7+mBexc7Pjgjllqe4yITmOyXJ TBkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XkFZutIOXCdmXI+VVRGcud1lXagbLoSfV0nm14X0jPg=; b=uYOSOYHAjzNe6C1h0RorIG4MLFPsIvc4p3y4UHtZKOlF+NdrvBKtjmGOVmCccBGVlJ ZnjVi0r91muTj8Gq5JFkAixV7IXqyfCWnc0PsuFB63d57WfaleITw4EYSC5nePhezfWV V0BhY+Nb/FaBEyoY9Wg3AuWtbyN4aFPjOPPqnEBuXoLki+Pxm5r19Z0mPDPjH39Xhvi2 bWBycEx7tQfyyRGKLOZUJtfMoQFLql3Y4Echn1EkiMAbCH3pHXHDtKKxQQPCbpKVy588 193EAb3yGXnWSNkh9X0HJNhZgMQikqmEg9BpIfwO95bgRGgUVBK01hsWHqpUhe2i9K2L Qudg== X-Gm-Message-State: ALQs6tCEioGdJGAjkuS4c28shrIWeKVBRvs/wi9kvtrGsOvEvG0tLGSb xLnX30SY4zqlXzsgTn0r22Q+2Dt8RqUUckVKRlWBFg== X-Google-Smtp-Source: AB8JxZrh2EcEY1/t73o5VR/NBjvT7lQihl1p7YpPyhvusOSjjmXezo5njwBW/Ixikl8L0QkpqHwNPpgjq52YTLaxOKg= X-Received: by 2002:a6b:3846:: with SMTP id f67-v6mr35560980ioa.117.1524757892370; Thu, 26 Apr 2018 08:51:32 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:a65a:0:0:0:0:0 with HTTP; Thu, 26 Apr 2018 08:51:31 -0700 (PDT) X-Originating-IP: [192.55.54.60] In-Reply-To: References: From: Warner Losh Date: Thu, 26 Apr 2018 09:51:31 -0600 X-Google-Sender-Auth: sOzacaI47kPtVoUEPPYm-tg3OF8 Message-ID: Subject: Re: What is the purpose of MipsEmulateBranch function? To: Jan Mazur Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 15:51:34 -0000 On Thu, Apr 26, 2018 at 4:01 AM, Jan Mazur wrote: > Hi > > I'm wondering why FreeBSD has to simulate branches when the faulting > instruction is in the branch delay slot. > I'm curious about MipsEmulateBranch function, which is defined in > http://bxr.su/FreeBSD/sys/mips/mips/trap.c#MipsEmulateBranch > > Why can't you just restart execution from the branch instruction? > You can't restart a branch in the delay slot, so you have to emulate the branch. It's used in various places to adjust the return PC of the trap frame data when an instruction in the delay slot causes a fault. Warner From owner-freebsd-mips@freebsd.org Thu Apr 26 15:59:12 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5B8AFB1466 for ; Thu, 26 Apr 2018 15:59:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (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 75186849A4 for ; Thu, 26 Apr 2018 15:59:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id B103D10A87D; Thu, 26 Apr 2018 11:59:11 -0400 (EDT) From: John Baldwin To: freebsd-mips@freebsd.org Cc: Jan Mazur Subject: Re: What is the purpose of MipsEmulateBranch function? Date: Thu, 26 Apr 2018 08:56:49 -0700 Message-ID: <101684495.RDgfxnoLgE@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 26 Apr 2018 11:59:11 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 15:59:13 -0000 On Thursday, April 26, 2018 12:01:11 PM Jan Mazur wrote: > Hi > > I'm wondering why FreeBSD has to simulate branches when the faulting > instruction is in the branch delay slot. > I'm curious about MipsEmulateBranch function, which is defined in > http://bxr.su/FreeBSD/sys/mips/mips/trap.c#MipsEmulateBranch > > Why can't you just restart execution from the branch instruction? For single-stepping via PT_STEP you need to place the next breakpoint instruction at the target of the branch, so you don't emulate the branch, but you need to know what it will do so you know where to place the breakpoint. For cpu_fetch_syscall_args, we don't want to return to the existing instruction and retrigger the system call unless the system call fails with ERESTART, so we need to manually advance PC to the next instruction. The handler for 'trap' instructions similarly needs to advance PC past the instruction rather than restarting it and staying in an infinite loop. The code to handle unaligned stores wants to simulate the load or store and advance PC rather than retrying the instruction. -- John Baldwin From owner-freebsd-mips@freebsd.org Fri Apr 27 05:18:15 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB6D1FC0E64 for ; Fri, 27 Apr 2018 05:18:15 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh504-vm4.bullet.mail.kks.yahoo.co.jp (nh504-vm4.bullet.mail.kks.yahoo.co.jp [183.79.57.90]) by mx1.freebsd.org (Postfix) with SMTP id E6B20710C2 for ; Fri, 27 Apr 2018 05:18:14 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh504.bullet.mail.kks.yahoo.co.jp with NNFMP; 27 Apr 2018 05:16:00 -0000 Received: from [183.79.100.136] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 27 Apr 2018 05:16:00 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 27 Apr 2018 05:16:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 356862.36735.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 67306 invoked by uid 60001); 27 Apr 2018 05:16:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1524806160; bh=hj0KJyahPLB/B8w+EpsMBMnsQ7YWr60PtAzQuCBho4w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nCutztuf014mmPQvNvUOhine6WCP2NyCQDorOz6ne7JM6Gsf51FTp4e9MPvVtTWapOD39FRT6aB5KfJveipY/8TgeNTJgbT9mgo/Kmx7Y16PB/+pr1y+XWW9+zCnDZeitsg2tx5oBe85OS+uM1dYa/bRnM+Q2aJuqs28yTFiO/E= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fdmozS5/hvrJTbD4PhkyqFSJ0AkMOieDoowZUBgfNYs0FPjtsKUa9IzHuvlmuD+6xRtJF/Lr+fihS5zsiy+5SBjw6gqA7/xkXDQn3lUTw3IqNGMuK8zocT0OhDhB4vbPspoGD0ZFQizWFFd9Vga91rmMmk8bNVpSQNXA9dgvvs8=; Message-ID: <73305.58919.qm@web101701.mail.ssk.yahoo.co.jp> X-YMail-OSG: Xs30_oIVM1llW7AIccUuc7urjyqAtT9P29hmmIji5S92unV7bp2FkWiDgWLtBMqzrPkRAY2..Q9SRqknK7hzAl16iCiSv1TgHQDH45er00ulHT.IfZemW930UJqK3WhoNup41.8nShmqsLWof_DfUy_vGTNZ5FTznSrZEZqvFwOdm3sGPkVydOWujG6Ko6iY_pbi0u6m8PK6c0U9OihXzBLqr_TcNfebGvsoxtzHshH9tzjPb9i6C4RzLjnM8mT2bTKpy9MXEg1NyRE88ozGG1XF9fgcq32.ltsqwIYrxnMYIIj9T67HY8ax39EY7UuF3n.otQQky1uUXrKZn3DgaZh7QGDoYPHnCGsyYZ9vd7ny.bTruE.9wzOuXJTKbNej3Ryv7hgZznqPCSpLlXWHEFsV0yrtaBSXDtgX9OksE4q4tSPYlMd6X3Kh3pi_ICm8qlRXzxZGmr3wUE291nEoXCKRRO3xY2AyhaOjMxf6cb3Bx4lDL4g5uUHnDAqnwGRI6fzHbQL8K1wB8SEzPsmOMULpNb8P8P_5q54pfR57BZXMvmdBti0Bspxy5Agx4mNNWr4DZfYroe.uB8NPp75LdB.cT4tb2A3DcaoEKzLYRt18C.X.vjC93MFwf_ljcNJ1Qw-- Received: from [203.165.91.75] by web101701.mail.ssk.yahoo.co.jp via HTTP; Fri, 27 Apr 2018 14:15:58 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: BozR8hYVM1m5Hr1JVlXGVdDc8dH374A.H7xAYvY9x5GTcXSVoI_DClFitOJ0VFHlghbDAi2cwK7JJsKLTj5fHgr3sBCT.p48kg3Aow8S0K_Q.ayR8L2J7EaKltir0aRpziVR References: <203849.20364.qm@web101705.mail.ssk.yahoo.co.jp> Date: Fri, 27 Apr 2018 14:15:58 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: [solved] Re: can't reboot at AR9341 To: Adrian Chadd Cc: "freebsd-mips@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2018 05:18:16 -0000 Hi=0A=0AI build today current and flash it.=0A=0Areboot is not hang up now.= =0A=0AThanks=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> From= : Adrian Chadd =0A> To: Mori Hiroki =0A> Cc: "freebsd-mips@freebsd.org" =0A> = Date: 2018/4/18, Wed 15:45=0A> Subject: Re: can't reboot at AR9341=0A> =0A>= hi,=0A> =0A> is it just spinning in vfs_bio_getpages() some more?=0A> =0A>= =0A> -a=0A> =0A> =0A> On 14 April 2018 at 22:58, Mori Hiroki wrote:=0A>> Hi.=0A>> =0A>> I try today current on AR9341.=0A>>= =0A>> Recently FreeBSD current can't reboot.=A0 Syncing disks and stop.= =0A>> =0A>> I do break to debugger.=0A>> =0A>> If you have advice please = let me know.=0A>> =0A>> # reboot=0A>> 1970-01-01T00:00:52.698897+00:00=A0= getty 61 - - open /dev/ttyu1: No such =0A> file or=0A>> directory=0A>> W= aiting (max 60 seconds) for system process `vnlru' to stop... done=0A>> Wa= iting (max 60 seconds) for system process `bufdaemon' to stop... done=0A>> = Waiting (max 60 seconds) for system process `syncer' to stop...=0A>> Sync= ing disks, vnodes remaining... 0 0 KDB: enter: Break to debugger=0A>> [ th= read pid 5 tid 100029 ]=0A>> Stopped at=A0 =A0 =A0 _DYNAMIC_LINKING+0xb:= =0A>> db> where=0A>> Tracing pid 5 tid 100029 td 0x8063d000=0A>> kdb_ent= er+0x48 (?,?,?,?) ra 80140ba4 sp c06d5b70 sz 24=0A>> kdb_break+0x28 (?,?,?= ,?) ra 80070870 sp c06d5b88 sz 24=0A>> uart_bus_ipend+0x570 (?,?,?,?) ra 8= 00d337c sp c06d5ba0 sz 80=0A>> intr_event_handle+0x88 (?,?,?,?) ra 802a91a= 4 sp c06d5bf0 sz 48=0A>> __bswapsi2+0x4a8 (?,?,?,?) ra 800d337c sp c06d5c2= 0 sz 56=0A>> intr_event_handle+0x88 (?,?,?,?) ra 802b122c sp c06d5c58 sz 4= 8=0A>> cpu_intr+0x138 (?,?,?,?) ra 802908c8 sp c06d5c88 sz 56=0A>> MipsKe= rnIntr+0x110 (?,?,?,?) ra 0 sp c06d5cc0 sz 0=0A>> --- exception, cause fff= fffff8063d000 badvaddr 1f ---=0A>> spinlock_exit+0x78 (?,?,?,?) ra 8029495= 4 sp c06d5d88 sz 0=0A>> spinlock_exit+0x1c (?,?,?,?) ra 80109bd8 sp c06d5d= 88 sz 24=0A>> wakeup+0x38 (?,?,?,?) ra 800dbe18 sp c06d5da0 sz 32=0A>> kp= roc_suspend_check+0x54 (?,?,?,?) ra 801918c0 sp c06d5dc0 sz 64=0A>> vfs_bi= o_getpages+0x894 (?,?,?,?) ra 800d0404 sp c06d5e00 sz 88=0A>> fork_exit+0x= 80 (?,?,?,?) ra 8029e150 sp c06d5e58 sz 40=0A>> fork_trampoline+0x10 (?,?,= ?,?) ra 0 sp c06d5e80 sz 0=0A>> db>=0A>> =0A>> __________________________= _____________________=0A>> freebsd-mips@freebsd.org mailing list=0A>> htt= ps://lists.freebsd.org/mailman/listinfo/freebsd-mips=0A>> To unsubscribe, = send any mail to =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A>