From owner-freebsd-mips@freebsd.org Wed Sep 30 18:35:56 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABE5BA0C41A for ; Wed, 30 Sep 2015 18:35:56 +0000 (UTC) (envelope-from eugen@eg.sd.rdtc.ru) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 18E911818; Wed, 30 Sep 2015 18:35:54 +0000 (UTC) (envelope-from eugen@eg.sd.rdtc.ru) X-Envelope-To: adrian@freebsd.org Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t8UIMqE2047644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Sep 2015 20:22:54 +0200 (CEST) (envelope-from eugen@eg.sd.rdtc.ru) X-Envelope-From: eugen@eg.sd.rdtc.ru Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id t8UIMhrr083462 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Oct 2015 01:22:43 +0700 (KRAT) (envelope-from eugen@eg.sd.rdtc.ru) Received: (from eugen@localhost) by eg.sd.rdtc.ru (8.15.2/8.15.2/Submit) id t8UIMg3Z083461; Thu, 1 Oct 2015 01:22:42 +0700 (KRAT) (envelope-from eugen) Date: Thu, 1 Oct 2015 01:22:42 +0700 From: Eugene Grosbein To: freebsd-mips@freebsd.org Subject: Kernel config for TPLink TL WDR3600 Message-ID: <20150930182242.GA83339@rdtc.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-Report: * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay * domain * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net 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: Wed, 30 Sep 2015 18:35:56 -0000 Hi! I've got TPLink TL WDR3600 to make me familiar with FreeBSD/mips platform. Following instructions at https://wiki.freebsd.org/FreeBSD/mips and https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 , I'm trying to build tl-wdr3600. The build starts just fine but fails to find kernel configuration that defaults to non-existing file "TL-WDR4300": ===> usr.bin/svn/svnrdump (all) -------------------------------------------------------------- >>> World build completed on Thu Oct 1 00:33:49 KRAT 2015 -------------------------------------------------------------- *** Target Done. *** Target : buildkernel MAKEOBJDIRPREFIX: /usr/src/../obj/mips_ap/ *** Stage : buildkernel ERROR: Missing kernel configuration file(s) (TL-WDR4300). --- buildkernel --- *** [buildkernel] Error code 1 I use 10.2-STABLE build box and sources. Please point me to right direction, where can I find suitable kernel configuration example or how to write kernel config for this MIPS32 device myself. I have enough experience using FreeBSD in general (since 2.2.5-RELEASE), building and running "embedded" FreeBSD i386/amd64 systems in particular (PicoBSD, NanoBSD with GEODE/SOEKRIS harwdare), but MIPS is new for me. Eugene Grosbein From owner-freebsd-mips@freebsd.org Wed Sep 30 19:21:19 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFB3CA0C7BA for ; Wed, 30 Sep 2015 19:21:19 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5DFE17B4 for ; Wed, 30 Sep 2015 19:21:19 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.100.102] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 9F142193E80 for ; Wed, 30 Sep 2015 19:21:17 +0000 (UTC) Subject: Re: Kernel config for TPLink TL WDR3600 To: freebsd-mips@freebsd.org References: <20150930182242.GA83339@rdtc.ru> From: Sean Bruno Message-ID: <560C362C.4060306@freebsd.org> Date: Wed, 30 Sep 2015 12:21:16 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150930182242.GA83339@rdtc.ru> Content-Type: text/plain; charset=windows-1252 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: Wed, 30 Sep 2015 19:21:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 09/30/15 11:22, Eugene Grosbein wrote: > Hi! > > I've got TPLink TL WDR3600 to make me familiar with FreeBSD/mips > platform. > > Following instructions at https://wiki.freebsd.org/FreeBSD/mips and > > https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 > , I'm trying to build tl-wdr3600. > > The build starts just fine but fails to find kernel configuration > that defaults to non-existing file "TL-WDR4300": > > ===> usr.bin/svn/svnrdump (all) > -------------------------------------------------------------- >>>> World build completed on Thu Oct 1 00:33:49 KRAT 2015 > -------------------------------------------------------------- *** > Target Done. *** Target : buildkernel > MAKEOBJDIRPREFIX: /usr/src/../obj/mips_ap/ *** Stage > : buildkernel ERROR: Missing kernel configuration file(s) > (TL-WDR4300). --- buildkernel --- *** [buildkernel] Error code 1 > > I use 10.2-STABLE build box and sources. Yeah, I don't think many of us run stable anything in this universe. The kernconf you are looking for is in -current. sean > > Please point me to right direction, where can I find suitable > kernel configuration example or how to write kernel config for this > MIPS32 device myself. > > I have enough experience using FreeBSD in general (since > 2.2.5-RELEASE), building and running "embedded" FreeBSD i386/amd64 > systems in particular (PicoBSD, NanoBSD with GEODE/SOEKRIS > harwdare), but MIPS is new for me. > > Eugene Grosbein _______________________________________________ > 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" > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWDDYoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kx4oH/ihdj5X+XWZRPSC4V+fUKWq8 JiyTD2pBwn1P/viVitFZB3yBfnnGYF+ZEI0VYqPsoftzZphD1XHUVnYtM/tQ+kZ+ O5JN1L+Bcr/Ix5rMM2AtI0cvVA65DQBSveogaL9/ug859a7nXirNzenR+8fuusFb Uw1Gla+uYphBTxZ1BS9LNuBPi2LLFmnvdOGDUHTgqUgcYt3hRTXeR2NNZMUd5ZEL Nd9VRHl3SE9Rou+TeXPNv91IOO69PgCQnQwKRMAm9lijBiAY6Wduu53zFLqscpRy /6vdP16WN2YXi1v0ew2CN3E08b+nBxOPErO61p0AqyzghalDSiWMf7M4/JlHmBA= =z1j5 -----END PGP SIGNATURE----- From owner-freebsd-mips@freebsd.org Thu Oct 1 04:34:56 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8DB1A0C144 for ; Thu, 1 Oct 2015 04:34:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F98D1F94; Thu, 1 Oct 2015 04:34:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioii196 with SMTP id i196so72072378ioi.3; Wed, 30 Sep 2015 21:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VGvWJt/vx5dtvgpo6xv2VEWsD3u4P7tZ5e3pmsd9Yvs=; b=rJlwJK5QALpBLqjbbaU6Fs2AMT6VkpUKy5eqITajLa+K/ezgOGzTKOe+1wB9f/39zN bDmvFtzvMHWOAhcVqrbLfumvrnPh04w4sVqatRCmSr81HneoFsmRWEIGgVSZimhTI9EF aYMilrHrAoeamtjFstYSQtDWT+Z7Upd4203L5cTWR8SOv3tw+G/ZgS9BynfLA6hiWBDE aksoFCwG3vYCtSMnFsrI+4mtwXF3QPfp8fi9SHZW/EsjFHDWaFWHVSJKHdJruuMsr5fh mZ9K3e+O1apX8zS9p5AwSENm7CxHfLCHJy0HBpXHzshBCf8LCG4iDYjrvvOCDdOrMnFl 6YwQ== MIME-Version: 1.0 X-Received: by 10.107.46.228 with SMTP id u97mr8534199iou.165.1443674095903; Wed, 30 Sep 2015 21:34:55 -0700 (PDT) Received: by 10.36.46.15 with HTTP; Wed, 30 Sep 2015 21:34:55 -0700 (PDT) In-Reply-To: <560C362C.4060306@freebsd.org> References: <20150930182242.GA83339@rdtc.ru> <560C362C.4060306@freebsd.org> Date: Wed, 30 Sep 2015 21:34:55 -0700 Message-ID: Subject: Re: Kernel config for TPLink TL WDR3600 From: Adrian Chadd To: Sean Bruno 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: Thu, 01 Oct 2015 04:34:57 -0000 hi yes! you'll need to build -HEAD to run on the MIPS AP. Don't worry, we keep HEAD on MIPS pretty stable! -a On 30 September 2015 at 12:21, Sean Bruno wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > > > On 09/30/15 11:22, Eugene Grosbein wrote: >> Hi! >> >> I've got TPLink TL WDR3600 to make me familiar with FreeBSD/mips >> platform. >> >> Following instructions at https://wiki.freebsd.org/FreeBSD/mips and >> >> https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 >> , I'm trying to build tl-wdr3600. >> >> The build starts just fine but fails to find kernel configuration >> that defaults to non-existing file "TL-WDR4300": >> >> ===> usr.bin/svn/svnrdump (all) >> -------------------------------------------------------------- >>>>> World build completed on Thu Oct 1 00:33:49 KRAT 2015 >> -------------------------------------------------------------- *** >> Target Done. *** Target : buildkernel >> MAKEOBJDIRPREFIX: /usr/src/../obj/mips_ap/ *** Stage >> : buildkernel ERROR: Missing kernel configuration file(s) >> (TL-WDR4300). --- buildkernel --- *** [buildkernel] Error code 1 >> >> I use 10.2-STABLE build box and sources. > > > Yeah, I don't think many of us run stable anything in this universe. > The kernconf you are looking for is in -current. > > sean > >> >> Please point me to right direction, where can I find suitable >> kernel configuration example or how to write kernel config for this >> MIPS32 device myself. >> >> I have enough experience using FreeBSD in general (since >> 2.2.5-RELEASE), building and running "embedded" FreeBSD i386/amd64 >> systems in particular (PicoBSD, NanoBSD with GEODE/SOEKRIS >> harwdare), but MIPS is new for me. >> >> Eugene Grosbein _______________________________________________ >> 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" >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQF8BAEBCgBmBQJWDDYoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w > ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx > MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kx4oH/ihdj5X+XWZRPSC4V+fUKWq8 > JiyTD2pBwn1P/viVitFZB3yBfnnGYF+ZEI0VYqPsoftzZphD1XHUVnYtM/tQ+kZ+ > O5JN1L+Bcr/Ix5rMM2AtI0cvVA65DQBSveogaL9/ug859a7nXirNzenR+8fuusFb > Uw1Gla+uYphBTxZ1BS9LNuBPi2LLFmnvdOGDUHTgqUgcYt3hRTXeR2NNZMUd5ZEL > Nd9VRHl3SE9Rou+TeXPNv91IOO69PgCQnQwKRMAm9lijBiAY6Wduu53zFLqscpRy > /6vdP16WN2YXi1v0ew2CN3E08b+nBxOPErO61p0AqyzghalDSiWMf7M4/JlHmBA= > =z1j5 > -----END PGP SIGNATURE----- > _______________________________________________ > 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 Fri Oct 2 17:10:18 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2129FA0E1D0 for ; Fri, 2 Oct 2015 17:10:18 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07EEF1323 for ; Fri, 2 Oct 2015 17:10:17 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.100.102] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 6C37A193E80 for ; Fri, 2 Oct 2015 17:10:16 +0000 (UTC) To: freebsd-mips@freebsd.org From: Sean Bruno Subject: Jemalloc update breaks qemu-bsd-user for mips packages Message-ID: <560EBA77.1010303@freebsd.org> Date: Fri, 2 Oct 2015 10:10:15 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Fri, 02 Oct 2015 17:10:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I'm a bit stumped and have no recourse at this time. MIPS package building via qemu-bsd-user jails is currently broken after the jemalloc update at svn r286871. Just attempt to build ports-mgmt/pkg and you'll see a failure in jemalloc. This does *not* happen with qemu-system-mips and is bsd-user specific. qemu-bsd-user code is here in my github repo: https://github.com/seanbruno/qemu-bsd-user/tree/bsd-user Error from jemalloc: : /usr/local/poudriere/jails/11mipstest/usr/src/lib/libc/../../contrib/jem alloc/include/jemalloc/internal/tsd.h:625: Failed assertion: "tsd->state == tsd_state_reincarnated" : /usr/local/poudriere/jails/11mipstest/usr/src/lib/libc/../../contrib/jem alloc/include/jemalloc/internal/tsd.h:625: Failed assertion: "tsd->state == tsd_state_reincarnated" qemu: uncaught target signal 6 (Abort trap) - core dumped - --- libucl/src/libucl_la-ucl_emitter_utils.lo --- : /usr/local/poudriere/jails/11mipstest/usr/src/lib/libc/../../contrib/jem alloc/include/jemalloc/internal/tsd.h:625: Failed assertion: "tsd->state == tsd_state_reincarnated" : /usr/local/poudriere/jails/11mipstest/usr/src/lib/libc/../../contrib/jem alloc/include/jemalloc/internal/tsd.h:625: Failed assertion: "tsd->state == tsd_state_reincarnated" - --- libucl/src/libucl_static_la-ucl_emitter_utils.lo --- cc: Internal error: Abort trap (program cc1) Please submit a full bug report. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWDrp1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kdPgIAJKhP+5nxiNrYEGVU41do0AX oMyyWS//HWZWkhBe0aE8b4MWRw/bR0+kn398Ky5jKEFGuCHQQyUREMWP994oPEBw KP3bH9F9YkD0wGpm/c3aVR9JMPvXvdZGMJDcSszWmDhD9MIEIFtVstO2ebkxOztw r4ZG0IdWYCmIachErrDAd1GCqC1GKVl8wD4wzUWswEUkWoj+qMAQAEl057ERhu9t iRkdKh3CbCFH92FKoHtwcZBUSQoo9MYGyxTd3h73QnulljQMQBl9FozIg6qGEopE TjKyQZjnOPpcrCXgPu/qNaGQlbmS7UNzw5F8TNZjl+pYSxhUwGDT8mvAkOwda+Q= =4s+g -----END PGP SIGNATURE-----