From owner-freebsd-mips@FreeBSD.ORG Sun Jun 7 03:00:18 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96E526AC for ; Sun, 7 Jun 2015 03:00:18 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id 797F91A37 for ; Sun, 7 Jun 2015 03:00:18 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from darkside (unknown [177.64.207.123]) by calvin.arroway.org (Postfix) with ESMTPA id C41F530215 for ; Sun, 7 Jun 2015 00:00:11 -0300 (BRT) Date: Sun, 7 Jun 2015 00:00:10 -0300 From: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Subject: Re: Updates to freebsd-wifi-build Message-Id: <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> In-Reply-To: References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 03:00:18 -0000 On Fri, 5 Jun 2015 10:08:19 -0700 Adrian Chadd wrote: > Hi! > > 2/5ghz should work fine now - I fixed the mac address detection for > those units. (It's in -HEAD though, so run -HEAD.) > > Yes, the USB works fine and you can use it for storage. :) > > > -adrian Hi folks, is this known ? I am trying to set the wifi (both radios), and when I reboot I get it. thanks, matheus All buffers synced. lock order reversal: 1st 0x80d37814 ufs (ufs) @ /none/FreeBSD/head/sys/kern/vfs_mount.c:1227 2nd 0x80df0814 devfs (devfs) @ /none/FreeBSD/head/sys/ufs/ffs/ffs_vfsops.c:1376 KDB: stack backtrace: db_trace_thread+30 (?,?,?,?) ra c83ab8c800000018 sp 0 sz 0 db_trace_self+1c (?,?,?,?) ra c83ab8e000000018 sp 0 sz 0 800858b0+34 (?,?,?,?) ra c83ab8f8000001a0 sp 0 sz 0 kdb_backtrace+44 (?,?,?,?) ra c83aba9800000018 sp 0 sz 0 801927b4+34 (?,?,?,?) ra c83abab000000020 sp 0 sz 0 witness_checkorder+af4 (?,?,8032b934,560) ra c83abad000000050 sp 0 sz 1 __lockmgr_args+9a8 (?,?,80df0834,?) ra c83abb2000000080 sp 0 sz 1 vop_stdlock+4c (?,?,?,?) ra c83abba000000028 sp 0 sz 0 VOP_LOCK1_APV+f4 (?,?,?,?) ra c83abbc800000020 sp 0 sz 0 _vn_lock+8c (?,?,?,?) ra c83abbe800000050 sp 0 sz 0 ffs_flushfiles+98 (?,?,?,?) ra c83abc3800000038 sp 0 sz 0 8027455c+bc (?,?,?,?) ra c83abc7000000040 sp 0 sz 0 dounmount+9cc (80d85810,?,?,?) ra c83abcb000000060 sp 100000000 sz 0 vfs_unmountall+64 (?,?,?,?) ra c83abd1000000028 sp 0 sz 0 kern_reboot+570 (?,?,?,?) ra c83abd3800000068 sp 0 sz 0 sys_reboot+44 (?,?,?,?) ra c83abda000000018 sp 0 sz 0 trap+808 (?,?,?,?) ra c83abdb8000000c8 sp 0 sz 0 MipsUserGenException+10c (?,?,?,4049ed20) ra c83abe8000000000 sp 0 sz 0 pid 342 Uptime: 4m18s Rebooting... -- "We will call you Cygnus, the God of balance you shall be." From owner-freebsd-mips@FreeBSD.ORG Sun Jun 7 05:57:41 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FA2EB52 for ; Sun, 7 Jun 2015 05:57:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (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 477E91335 for ; Sun, 7 Jun 2015 05:57:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbpi8 with SMTP id pi8so41452740igb.1 for ; Sat, 06 Jun 2015 22:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cc70ekuHjI93w7LYoI+V/8EZWh1mEXsoRIexYjXo5EU=; b=Ys6ZY14p0x6nWmQ5RFdrvQNuh6KQfmW98pIdYwb/PVVn1gvlFL/SJMKEJ9Dv1UHEQi NqnEo88itrw4WZ0pe2wePENmNrgo6dy/CRDPHxSHuKUKWzGBG+kLGgxRMZr4Hru80BBt bXnFINu5EHDqV5f+zX8e5VAqnmkLwasS3V85fbjmzuDtFAiAMVDlWBYVHu2q/l6YORU7 8FDzno8Or9Kk11lXGsu9rgBTyAOoh5FLaasEfdfy3B1BBvmvSUyl8D7kAygyPbaDtigc l2u0DLAyMgL25fQMT0aq08Baacmm88OU1SKNPuHBRH9vnUFqJx3iUTYZQGfOm54bCKet nEIw== MIME-Version: 1.0 X-Received: by 10.107.5.210 with SMTP id 201mr13073226iof.88.1433656660612; Sat, 06 Jun 2015 22:57:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sat, 6 Jun 2015 22:57:40 -0700 (PDT) In-Reply-To: <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> Date: Sat, 6 Jun 2015 22:57:40 -0700 X-Google-Sender-Auth: KYSfV-aK2ONwOdsLJPptayN730I Message-ID: Subject: Re: Updates to freebsd-wifi-build From: Adrian Chadd To: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 05:57:41 -0000 That's a known reboot LOR. :( -a On 6 June 2015 at 20:00, Nenhum_de_Nos wrote: > On Fri, 5 Jun 2015 10:08:19 -0700 > Adrian Chadd wrote: > >> Hi! >> >> 2/5ghz should work fine now - I fixed the mac address detection for >> those units. (It's in -HEAD though, so run -HEAD.) >> >> Yes, the USB works fine and you can use it for storage. :) >> >> >> -adrian > > Hi folks, > > is this known ? > > I am trying to set the wifi (both radios), and when I reboot I get it. > > thanks, > > matheus > > All buffers synced. > lock order reversal: > 1st 0x80d37814 ufs (ufs) @ /none/FreeBSD/head/sys/kern/vfs_mount.c:1227 > 2nd 0x80df0814 devfs (devfs) @ /none/FreeBSD/head/sys/ufs/ffs/ffs_vfsops.c:1376 > KDB: stack backtrace: > db_trace_thread+30 (?,?,?,?) ra c83ab8c800000018 sp 0 sz 0 > db_trace_self+1c (?,?,?,?) ra c83ab8e000000018 sp 0 sz 0 > 800858b0+34 (?,?,?,?) ra c83ab8f8000001a0 sp 0 sz 0 > kdb_backtrace+44 (?,?,?,?) ra c83aba9800000018 sp 0 sz 0 > 801927b4+34 (?,?,?,?) ra c83abab000000020 sp 0 sz 0 > witness_checkorder+af4 (?,?,8032b934,560) ra c83abad000000050 sp 0 sz 1 > __lockmgr_args+9a8 (?,?,80df0834,?) ra c83abb2000000080 sp 0 sz 1 > vop_stdlock+4c (?,?,?,?) ra c83abba000000028 sp 0 sz 0 > VOP_LOCK1_APV+f4 (?,?,?,?) ra c83abbc800000020 sp 0 sz 0 > _vn_lock+8c (?,?,?,?) ra c83abbe800000050 sp 0 sz 0 > ffs_flushfiles+98 (?,?,?,?) ra c83abc3800000038 sp 0 sz 0 > 8027455c+bc (?,?,?,?) ra c83abc7000000040 sp 0 sz 0 > dounmount+9cc (80d85810,?,?,?) ra c83abcb000000060 sp 100000000 sz 0 > vfs_unmountall+64 (?,?,?,?) ra c83abd1000000028 sp 0 sz 0 > kern_reboot+570 (?,?,?,?) ra c83abd3800000068 sp 0 sz 0 > sys_reboot+44 (?,?,?,?) ra c83abda000000018 sp 0 sz 0 > trap+808 (?,?,?,?) ra c83abdb8000000c8 sp 0 sz 0 > MipsUserGenException+10c (?,?,?,4049ed20) ra c83abe8000000000 sp 0 sz 0 > pid 342 > Uptime: 4m18s > Rebooting... > > > > -- > > "We will call you Cygnus, > the God of balance you shall be." > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://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 Jun 8 00:01:35 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E801AD00 for ; Mon, 8 Jun 2015 00:01:34 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id B30781CF6 for ; Mon, 8 Jun 2015 00:01:34 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from optimus (unknown [179.190.233.69]) by calvin.arroway.org (Postfix) with ESMTPA id 83032301C7 for ; Sun, 7 Jun 2015 21:01:32 -0300 (BRT) Date: Sun, 7 Jun 2015 21:01:27 -0300 From: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Subject: Re: Updates to freebsd-wifi-build Message-Id: <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> In-Reply-To: References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 00:01:35 -0000 On Sat, 6 Jun 2015 22:57:40 -0700 Adrian Chadd wrote: > That's a known reboot LOR. :( Adrian, is it possible to send the config rc.conf for the second ath ? (ath1) the 2.4GHz is fine, but the 5GHz won't start at all. I get this: # ifconfig wlan1 up [zone: mbuf_cluster] kern.ipc.nmbclusters limit reached # ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 if I try by hand, or: *** Interface: wlan1: start ath_hal_reg_write: reg=0x000080e0, val=0xffffffa0, pm=1 ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1 wlan1: bpf attached wlan1: bpf attached wlan1: Ethernet address: xxx ifconfig: unknown/undefined channel number 6 flags 0x10000 *** Interface: bridge0: start bridge0: bpf attached bridge0: Ethernet address: xxx wlan0: promiscuous mode enabled bridge0: link state changed to UP wlan1: promiscuous mode enabled arge0: promiscuous mode enabled *** Interface: bridge0: done if I use the /etc/rc.d/base/net start script. thanks, matheus > -a > > > On 6 June 2015 at 20:00, Nenhum_de_Nos wrote: > > On Fri, 5 Jun 2015 10:08:19 -0700 > > Adrian Chadd wrote: > > > >> Hi! > >> > >> 2/5ghz should work fine now - I fixed the mac address detection for > >> those units. (It's in -HEAD though, so run -HEAD.) > >> > >> Yes, the USB works fine and you can use it for storage. :) > >> > >> > >> -adrian > > > > Hi folks, > > > > is this known ? > > > > I am trying to set the wifi (both radios), and when I reboot I get it. > > > > thanks, > > > > matheus > > > > All buffers synced. > > lock order reversal: > > 1st 0x80d37814 ufs (ufs) @ /none/FreeBSD/head/sys/kern/vfs_mount.c:1227 > > 2nd 0x80df0814 devfs (devfs) @ /none/FreeBSD/head/sys/ufs/ffs/ffs_vfsops.c:1376 > > KDB: stack backtrace: > > db_trace_thread+30 (?,?,?,?) ra c83ab8c800000018 sp 0 sz 0 > > db_trace_self+1c (?,?,?,?) ra c83ab8e000000018 sp 0 sz 0 > > 800858b0+34 (?,?,?,?) ra c83ab8f8000001a0 sp 0 sz 0 > > kdb_backtrace+44 (?,?,?,?) ra c83aba9800000018 sp 0 sz 0 > > 801927b4+34 (?,?,?,?) ra c83abab000000020 sp 0 sz 0 > > witness_checkorder+af4 (?,?,8032b934,560) ra c83abad000000050 sp 0 sz 1 > > __lockmgr_args+9a8 (?,?,80df0834,?) ra c83abb2000000080 sp 0 sz 1 > > vop_stdlock+4c (?,?,?,?) ra c83abba000000028 sp 0 sz 0 > > VOP_LOCK1_APV+f4 (?,?,?,?) ra c83abbc800000020 sp 0 sz 0 > > _vn_lock+8c (?,?,?,?) ra c83abbe800000050 sp 0 sz 0 > > ffs_flushfiles+98 (?,?,?,?) ra c83abc3800000038 sp 0 sz 0 > > 8027455c+bc (?,?,?,?) ra c83abc7000000040 sp 0 sz 0 > > dounmount+9cc (80d85810,?,?,?) ra c83abcb000000060 sp 100000000 sz 0 > > vfs_unmountall+64 (?,?,?,?) ra c83abd1000000028 sp 0 sz 0 > > kern_reboot+570 (?,?,?,?) ra c83abd3800000068 sp 0 sz 0 > > sys_reboot+44 (?,?,?,?) ra c83abda000000018 sp 0 sz 0 > > trap+808 (?,?,?,?) ra c83abdb8000000c8 sp 0 sz 0 > > MipsUserGenException+10c (?,?,?,4049ed20) ra c83abe8000000000 sp 0 sz 0 > > pid 342 > > Uptime: 4m18s > > Rebooting... > > > > > > > > -- > > > > "We will call you Cygnus, > > the God of balance you shall be." > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" -- Nenhum_de_Nos From owner-freebsd-mips@FreeBSD.ORG Mon Jun 8 02:56:58 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96699508 for ; Mon, 8 Jun 2015 02:56:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (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 5CBB31562 for ; Mon, 8 Jun 2015 02:56:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbpi8 with SMTP id pi8so51892715igb.1 for ; Sun, 07 Jun 2015 19:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=aHw6LT7Aqt0r48n2Ke+eZSE9d05K95jJWIctJhGtvhg=; b=c/0bSyTn9PmSt+Uyp59UN83XQrojnMllHpewemv4olhXsop4y19qxdbcYDy+IGjBwn 9W0WBNN+dPKLGArb7fisTOu9lhJlXldCJYZwHmQL4kTbPxde5iiDfyX0RvDGgK1QLo04 i9tzLY0zcehMY+UFBW75Wg5p/BvNivbOZVM1b6iKwmstXW4Fut6+tI3/yAKzTSFzYB4x vmNYK/vKMNDHfbuzbPmIVjOnueK3OafNhByL0n9zMe4z5CIsr8upZj8HJ7/8hu5rcp8L kKe99EROeILj7QOJ/PSMbRW7BQEP/2InNsRSxzoFLDBf1ACvQUCJwoE2tuEFeh7VGg+Y P6hw== MIME-Version: 1.0 X-Received: by 10.50.73.198 with SMTP id n6mr10703317igv.32.1433732217775; Sun, 07 Jun 2015 19:56:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 7 Jun 2015 19:56:57 -0700 (PDT) In-Reply-To: <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> Date: Sun, 7 Jun 2015 19:56:57 -0700 X-Google-Sender-Auth: C__LvfYcgMH36oy671s3cEthJyw Message-ID: Subject: Re: Updates to freebsd-wifi-build From: Adrian Chadd To: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 02:56:58 -0000 Ah, the key there is the mbufs message. Hm. I thought I committed a fix for that. -a From owner-freebsd-mips@FreeBSD.ORG Mon Jun 8 03:02:10 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF913AC0 for ; Mon, 8 Jun 2015 03:02:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::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 852AE18B1 for ; Mon, 8 Jun 2015 03:02:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iesa3 with SMTP id a3so89615897ies.2 for ; Sun, 07 Jun 2015 20:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=1WgV2S5NuvkRp15UhO7mfVjvc6+cEB9ZQkW+MSiJhMI=; b=auWvv8NRzUF9FdwFveQIsEHb6jMfVwEI/VuaN4Z4qz5U5s+BdaQMNreyxbyaqQDMCi NflN7bTOE/Wulm0UFkUf+VvpLSeVzOwC+8cFz7dH91g/8Qzm61cBLIOE8AzW9cH/WLDt q3GqZ+8aEagCSGn8beafEB8gxoh3OCphzHcakkOo93dQHCC/oY2xA5kb36J48fgTDOJN TPjPTao7cAeGFWymGXOph6cuqwtjzJVVDs29AE4sna9mTLnrgdtDkaw1BzmHX+QZ0UTw XepPmBef/vYHZffL61SaSwwHUEwztqsagD5uspsmizWWMb2TF+Jnq9NZEb2PA58WWRyV U/jg== MIME-Version: 1.0 X-Received: by 10.42.176.8 with SMTP id bc8mr21232722icb.22.1433732529915; Sun, 07 Jun 2015 20:02:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 7 Jun 2015 20:02:09 -0700 (PDT) In-Reply-To: References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> Date: Sun, 7 Jun 2015 20:02:09 -0700 X-Google-Sender-Auth: l9oX68sI4nQLMMqyiJNCHov10d0 Message-ID: Subject: Re: Updates to freebsd-wifi-build From: Adrian Chadd To: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 03:02:10 -0000 Ok, I just added this to AR71XX_BASE: # For small memory footprints options VM_KMEM_SIZE_SCALE=1 You can add that and rebuild - you don't have to update -HEAD. Thanks, -a On 7 June 2015 at 19:56, Adrian Chadd wrote: > Ah, the key there is the mbufs message. Hm. I thought I committed a > fix for that. > > > > -a From owner-freebsd-mips@FreeBSD.ORG Mon Jun 8 23:09:18 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32138883 for ; Mon, 8 Jun 2015 23:09:18 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id 112E1109E for ; Mon, 8 Jun 2015 23:09:17 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from optimus (unknown [179.190.233.69]) by calvin.arroway.org (Postfix) with ESMTPA id 9077B301CC for ; Mon, 8 Jun 2015 20:09:10 -0300 (BRT) Date: Mon, 8 Jun 2015 20:09:06 -0300 From: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Subject: Re: Updates to freebsd-wifi-build Message-Id: <20150608200906.e640da2c6fd5c2c5b42d9dc1@eternamente.info> In-Reply-To: References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2015 23:09:18 -0000 On Sun, 7 Jun 2015 20:02:09 -0700 Adrian Chadd wrote: > Ok, I just added this to AR71XX_BASE: > > # For small memory footprints > options VM_KMEM_SIZE_SCALE=1 > > You can add that and rebuild - you don't have to update -HEAD. > > Thanks, Adrian, is this file: sys/mips/conf/AR71XX_BASE I did and that issue is gone, thanks :) But I get the same error about channel 7 and stuff *** Interface: wlan1: start ath_hal_reg_write: reg=0x000080e0, val=0xffffffa0, pm=1 ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1 wlan1: bpf attached wlan1: bpf attached wlan1: Ethernet address: xxx ifconfig: unknown/undefined channel number 6 flags 0x10000 My rc.conf for wlan1 is: netif_wlan1_enable="YES" netif_wlan1_type="wifi" netif_wlan1_wifi_mode="hostap" netif_wlan1_descr="default" netif_wlan1_addrtype="none" netif_wlan1_name="wlan1" netif_wlan1_wifi_parent="ath1" netif_wlan1_wifi_createargs1="country US regdomain FCC3" netif_wlan1_wifi_createargs2="channel 36:ht/40 up" netif_wlan1_wifi_hostap_ssid="WLAN-TT_" netif_wlan1_wifi_hostap_wpa_passphrase="my password" netif_wlan1_wifi_hostap_wpa_mode=3 netif_wlan1_wifi_hostap_wpa_key_mgmt="WPA-PSK" netif_wlan1_wifi_hostap_wpa_pairwise="CCMP TKIP" does anyone has a working config for this ath1 (the 5GHz one) ? thanks, > -a > > > On 7 June 2015 at 19:56, Adrian Chadd wrote: > > Ah, the key there is the mbufs message. Hm. I thought I committed a > > fix for that. > > > > > > > > -a -- Nenhum_de_Nos From owner-freebsd-mips@FreeBSD.ORG Tue Jun 9 15:51:56 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45F723B2 for ; Tue, 9 Jun 2015 15:51:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::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 0A7C91488 for ; Tue, 9 Jun 2015 15:51:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iebmu5 with SMTP id mu5so17177629ieb.1 for ; Tue, 09 Jun 2015 08:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/MA9Ea6nrJn5LFr/KGHYpPhl+VFAB5mu8A7vEi5UijM=; b=PXDRBQH3oJLKLF+u51ITtQIUXOujug2j02qyjdyU7ayttny2Pcf0Ud6FCIrnMvwElY dZmVBigu+oJeSXAogcQ0N9hsaLwiILTkANaoFwvgrOyFq/8thwrf6RM3C2AMeObmHJQf a5hI9JmQsfx5gpPxfL3W7zJRZKSTvaHBoFjpfIkrqn0gvuXUrHM+KFJhqJjvnuIc/GGr oaH44ARlKRj/5BScRw6G3ba4/bdlyQWfw2i854UDRvD3zNiErKeGZLCW3xL4/FivmA2d zVoeO18cZ8ddW+2WVEL+sEXlyS9eTEmuc7qnOsNEO8Nbb4Hydl5jOtBWIOgD5k9z9fCW S37w== MIME-Version: 1.0 X-Received: by 10.42.176.8 with SMTP id bc8mr29952433icb.22.1433865115440; Tue, 09 Jun 2015 08:51:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Tue, 9 Jun 2015 08:51:55 -0700 (PDT) In-Reply-To: <20150608200906.e640da2c6fd5c2c5b42d9dc1@eternamente.info> References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> <20150608200906.e640da2c6fd5c2c5b42d9dc1@eternamente.info> Date: Tue, 9 Jun 2015 08:51:55 -0700 X-Google-Sender-Auth: AYXp_ucqyIAceo07d70veK0Lhg4 Message-ID: Subject: Re: Updates to freebsd-wifi-build From: Adrian Chadd To: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 15:51:56 -0000 Hi, Check the wiki - the channel parameters changed. you don't need to use createargs now. -a On 8 June 2015 at 16:09, Nenhum_de_Nos wrote: > On Sun, 7 Jun 2015 20:02:09 -0700 > Adrian Chadd wrote: > >> Ok, I just added this to AR71XX_BASE: >> >> # For small memory footprints >> options VM_KMEM_SIZE_SCALE=1 >> >> You can add that and rebuild - you don't have to update -HEAD. >> >> Thanks, > > Adrian, > > is this file: > > sys/mips/conf/AR71XX_BASE > > I did and that issue is gone, thanks :) > > But I get the same error about channel 7 and stuff > > *** Interface: wlan1: start > ath_hal_reg_write: reg=0x000080e0, val=0xffffffa0, pm=1 > ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1 > wlan1: bpf attached > wlan1: bpf attached > wlan1: Ethernet address: xxx > ifconfig: unknown/undefined channel number 6 flags 0x10000 > > My rc.conf for wlan1 is: > > netif_wlan1_enable="YES" > netif_wlan1_type="wifi" > netif_wlan1_wifi_mode="hostap" > netif_wlan1_descr="default" > netif_wlan1_addrtype="none" > netif_wlan1_name="wlan1" > netif_wlan1_wifi_parent="ath1" > netif_wlan1_wifi_createargs1="country US regdomain FCC3" > netif_wlan1_wifi_createargs2="channel 36:ht/40 up" > netif_wlan1_wifi_hostap_ssid="WLAN-TT_" > netif_wlan1_wifi_hostap_wpa_passphrase="my password" > netif_wlan1_wifi_hostap_wpa_mode=3 > netif_wlan1_wifi_hostap_wpa_key_mgmt="WPA-PSK" > netif_wlan1_wifi_hostap_wpa_pairwise="CCMP TKIP" > > does anyone has a working config for this ath1 (the 5GHz one) ? > > thanks, > >> -a >> >> >> On 7 June 2015 at 19:56, Adrian Chadd wrote: >> > Ah, the key there is the mbufs message. Hm. I thought I committed a >> > fix for that. >> > >> > >> > >> > -a > > > -- > Nenhum_de_Nos > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" From owner-freebsd-mips@FreeBSD.ORG Tue Jun 9 21:56:10 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CF2C404 for ; Tue, 9 Jun 2015 21:56:10 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id EED3B1D5F for ; Tue, 9 Jun 2015 21:56:09 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from [10.1.1.51] (unknown [177.64.207.123]) by calvin.arroway.org (Postfix) with ESMTPA id 941DE301F6 for ; Tue, 9 Jun 2015 18:56:07 -0300 (BRT) User-Agent: K-9 Mail for Android In-Reply-To: References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> <20150608200906.e640da2c6fd5c2c5b42d9dc1@eternamente.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Updates to freebsd-wifi-build From: Nenhum_de_Nos Date: Tue, 09 Jun 2015 18:56:07 -0300 CC: "freebsd-mips@freebsd.org" Message-ID: <527D427B-9836-46EC-AF55-B5E26DB6874F@eternamente.info> X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 21:56:10 -0000 On June 9, 2015 12:51:55 PM GMT-03:00, Adrian Chadd wrote: >Hi, > >Check the wiki - the channel parameters changed. you don't need to use >createargs now. > >-a Thanks, it starts fine but I get no ssid name in the signal and it comes out as 2.4ghz... No idea why. > >On 8 June 2015 at 16:09, Nenhum_de_Nos >wrote: >> On Sun, 7 Jun 2015 20:02:09 -0700 >> Adrian Chadd wrote: >> >>> Ok, I just added this to AR71XX_BASE: >>> >>> # For small memory footprints >>> options VM_KMEM_SIZE_SCALE=1 >>> >>> You can add that and rebuild - you don't have to update -HEAD. >>> >>> Thanks, >> >> Adrian, >> >> is this file: >> >> sys/mips/conf/AR71XX_BASE >> >> I did and that issue is gone, thanks :) >> >> But I get the same error about channel 7 and stuff >> >> *** Interface: wlan1: start >> ath_hal_reg_write: reg=0x000080e0, val=0xffffffa0, pm=1 >> ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1 >> wlan1: bpf attached >> wlan1: bpf attached >> wlan1: Ethernet address: xxx >> ifconfig: unknown/undefined channel number 6 flags 0x10000 >> >> My rc.conf for wlan1 is: >> >> netif_wlan1_enable="YES" >> netif_wlan1_type="wifi" >> netif_wlan1_wifi_mode="hostap" >> netif_wlan1_descr="default" >> netif_wlan1_addrtype="none" >> netif_wlan1_name="wlan1" >> netif_wlan1_wifi_parent="ath1" >> netif_wlan1_wifi_createargs1="country US regdomain FCC3" >> netif_wlan1_wifi_createargs2="channel 36:ht/40 up" >> netif_wlan1_wifi_hostap_ssid="WLAN-TT_" >> netif_wlan1_wifi_hostap_wpa_passphrase="my password" >> netif_wlan1_wifi_hostap_wpa_mode=3 >> netif_wlan1_wifi_hostap_wpa_key_mgmt="WPA-PSK" >> netif_wlan1_wifi_hostap_wpa_pairwise="CCMP TKIP" >> >> does anyone has a working config for this ath1 (the 5GHz one) ? >> >> thanks, >> >>> -a >>> >>> >>> On 7 June 2015 at 19:56, Adrian Chadd wrote: >>> > Ah, the key there is the mbufs message. Hm. I thought I committed >a >>> > fix for that. >>> > >>> > >>> > >>> > -a >> >> >> -- >> Nenhum_de_Nos >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to >"freebsd-mips-unsubscribe@freebsd.org" -- "We will call you Cygnus, the God of balance you shall be." From owner-freebsd-mips@FreeBSD.ORG Thu Jun 11 17:07:15 2015 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67495C30 for ; Thu, 11 Jun 2015 17:07:15 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id 4481C187D for ; Thu, 11 Jun 2015 17:07:15 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from M32391 (unknown [200.164.157.132]) by calvin.arroway.org (Postfix) with ESMTPA id D86D4301C6 for ; Thu, 11 Jun 2015 14:07:07 -0300 (BRT) Date: Thu, 11 Jun 2015 14:06:53 -0300 From: Nenhum_de_Nos Cc: "freebsd-mips@freebsd.org" Subject: Re: Updates to freebsd-wifi-build Message-Id: <20150611140653.9da33a60525781fae817a83a@eternamente.info> In-Reply-To: <527D427B-9836-46EC-AF55-B5E26DB6874F@eternamente.info> References: <20150604190836.faa7547dddf44f410dd47712@eternamente.info> <20150605125525.19ab63f12c0319b037bcaf06@eternamente.info> <20150607000010.6f928a93f18a9bad788f8151@eternamente.info> <20150607210127.cfab1565ffed3a298ba791d0@eternamente.info> <20150608200906.e640da2c6fd5c2c5b42d9dc1@eternamente.info> <527D427B-9836-46EC-AF55-B5E26DB6874F@eternamente.info> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 17:07:15 -0000 On Tue, 09 Jun 2015 18:56:07 -0300 Nenhum_de_Nos wrote: > > > On June 9, 2015 12:51:55 PM GMT-03:00, Adrian Chadd wrote: > >Hi, > > > >Check the wiki - the channel parameters changed. you don't need to use > >createargs now. > > > >-a > > Thanks, it starts fine but I get no ssid name in the signal and it comes out as 2.4ghz... No idea why. Anyone had success on using the 5GHz radio ? I just get 2.4GHz signal, but the ath1 (says there mode 11na) is the 5GHz one. info bellow. thanks ! *** Interface: wlan1: start ath_hal_reg_write: reg=0x000080e0, val=0xffffffa0, pm=1 ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1 wlan1: bpf attached wlan1: bpf attached wlan1: Ethernet address: xxxx Configuration file: /var/run/hostapd.wlan1.conf Using interface wlan1 with hwaddr xxxx and ssid "WLAN-TT_" wlan1: interface state UNINITIALIZED->ENABLED wlan1: AP-ENABLED *** Interface: wlan1: done ath1: flags=8843 metric 0 mtu 2290 ether xxxx media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running wlan1: flags=8943 metric 0 mtu 1500 ether xxxx media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running ssid WLAN-TT_ channel 36 (5180 MHz 11a ht/40+) bssid xxxx regdomain FCC country US ecm authmode WPA1+WPA2/802.11i privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 5 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 groups: wlan > > > >On 8 June 2015 at 16:09, Nenhum_de_Nos > >wrote: > >> On Sun, 7 Jun 2015 20:02:09 -0700 > >> Adrian Chadd wrote: > >> > >>> Ok, I just added this to AR71XX_BASE: > >>> > >>> # For small memory footprints > >>> options VM_KMEM_SIZE_SCALE=1 > >>> > >>> You can add that and rebuild - you don't have to update -HEAD. > >>> > >>> Thanks, > >> > >> Adrian, > >> > >> is this file: > >> > >> sys/mips/conf/AR71XX_BASE > >> > >> I did and that issue is gone, thanks :) > >> > >> But I get the same error about channel 7 and stuff > >> > >> *** Interface: wlan1: start > >> ath_hal_reg_write: reg=0x000080e0, val=0xffffffa0, pm=1 > >> ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1 > >> wlan1: bpf attached > >> wlan1: bpf attached > >> wlan1: Ethernet address: xxx > >> ifconfig: unknown/undefined channel number 6 flags 0x10000 > >> > >> My rc.conf for wlan1 is: > >> > >> netif_wlan1_enable="YES" > >> netif_wlan1_type="wifi" > >> netif_wlan1_wifi_mode="hostap" > >> netif_wlan1_descr="default" > >> netif_wlan1_addrtype="none" > >> netif_wlan1_name="wlan1" > >> netif_wlan1_wifi_parent="ath1" > >> netif_wlan1_wifi_createargs1="country US regdomain FCC3" > >> netif_wlan1_wifi_createargs2="channel 36:ht/40 up" > >> netif_wlan1_wifi_hostap_ssid="WLAN-TT_" > >> netif_wlan1_wifi_hostap_wpa_passphrase="my password" > >> netif_wlan1_wifi_hostap_wpa_mode=3 > >> netif_wlan1_wifi_hostap_wpa_key_mgmt="WPA-PSK" > >> netif_wlan1_wifi_hostap_wpa_pairwise="CCMP TKIP" > >> > >> does anyone has a working config for this ath1 (the 5GHz one) ? > >> > >> thanks, > >> > >>> -a > >>> > >>> > >>> On 7 June 2015 at 19:56, Adrian Chadd wrote: > >>> > Ah, the key there is the mbufs message. Hm. I thought I committed > >a > >>> > fix for that. > >>> > > >>> > > >>> > > >>> > -a > >> > >> > >> -- > >> Nenhum_de_Nos > >> _______________________________________________ > >> freebsd-mips@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips > >> To unsubscribe, send any mail to > >"freebsd-mips-unsubscribe@freebsd.org" > > -- > "We will call you Cygnus, > the God of balance you shall be." > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" -- "We will call you Cygnus, the God of balance you shall be." From owner-freebsd-mips@FreeBSD.ORG Sat Jun 13 22:41:35 2015 Return-Path: Delivered-To: freebsd-mips@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61BB0B90 for ; Sat, 13 Jun 2015 22:41:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::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 2EBAB2E2 for ; Sat, 13 Jun 2015 22:41:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iecrd14 with SMTP id rd14so11313981iec.3 for ; Sat, 13 Jun 2015 15:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=+271wmPuRYr+o1bcHhJHwnXZJi8UQZbQQF1pFecKU0o=; b=YhKxXrpWWrCdLsr1P0Jh5OnYwwePtrababyg9XfLe/vqG5LT9RNqPFNoRwsWXvkUi1 S8I00wnuhGsX5NLfZ9yjFD9qi/14r1fW8yzTZczys67lx4abe6P3R+PKDQHotR/GdZfo P+94mfQY3y320UkvsquYk8lrNPvS7B/ZjpGxpj/ZHzpg/KS/gVAlJfZ1rVSUud0Tuqcn Dn6XDdBgqxEuK1IAA5KjLGVOs9gvI19nK74+WA6biZIgguC+55+BLGt1ij1Ecwr2ONNG z4sv/kLmp0ANOUxiW6ZuOl84t/sO7zclh+i8J4aV9Im/lhx//ZEeUZ4GwBzbS58wRnAN dWzg== MIME-Version: 1.0 X-Received: by 10.107.5.210 with SMTP id 201mr25585455iof.88.1434235294444; Sat, 13 Jun 2015 15:41:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sat, 13 Jun 2015 15:41:34 -0700 (PDT) Date: Sat, 13 Jun 2015 15:41:34 -0700 X-Google-Sender-Auth: 8G2rYGh26nWLFk6QuCUVytJt3uU Message-ID: Subject: [rfc] fix umul_ppmm() in our libgcc From: Adrian Chadd To: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2015 22:41:35 -0000 Hi, our libgcc in -base is very .. old. It chokes when compiling for mips32. This patch seems to do the right thing. Does anyone have any positive/negative feedback? Thanks, -adrian Index: contrib/gcc/longlong.h =================================================================== --- contrib/gcc/longlong.h (revision 284090) +++ contrib/gcc/longlong.h (working copy) @@ -584,11 +584,11 @@ #if defined (__mips__) && W_TYPE_SIZE == 32 #define umul_ppmm(w1, w0, u, v) \ - __asm__ ("multu %2,%3" \ - : "=l" ((USItype) (w0)), \ - "=h" ((USItype) (w1)) \ - : "d" ((USItype) (u)), \ - "d" ((USItype) (v))) + do { \ + UDItype __ll = (UDItype)(u) * (v); \ + w1 = __ll >> 32; \ + w0 = __ll; \ + } while (0) #define UMUL_TIME 10 #define UDIV_TIME 100 #endif /* __mips__ */