From owner-freebsd-mips@freebsd.org Sat Oct 10 16:21:33 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 866B7A10F91 for ; Sat, 10 Oct 2015 16:21:33 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 641861788; Sat, 10 Oct 2015 16:21:32 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id BDFCCC1FF6; Sat, 10 Oct 2015 09:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1444494086; bh=xjUtM07TbCguHl1wQilJpdjyGyjz1avKHQ7qvIi14R4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=jDDAGgkIMjgDezlLz4xJ0phr1CZwHgPBtVjEb9hAFU7NdIUafRTk1CB5mt7aMi5Ua wC9/vdvs17q9aaI4H2RbUYX/rw1y8frldb0dpkkYiwzgkFXo6aoPzKqaJ3SUM7lBWw s451DLdO35K1UrNDGVplWcKWUrvB+/Wg/zzrOAjM= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pkubaj) with ESMTPSA id EC4911403DB Subject: Re: Kernel config for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> Cc: freebsd-mips@freebsd.org From: Piotr Kubaj Message-ID: <56193AFD.90201@riseup.net> Date: Sat, 10 Oct 2015 18:21:17 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned" X-Virus-Scanned: clamav-milter 0.98.7 at mx1.riseup.net X-Virus-Status: Clean 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, 10 Oct 2015 16:21:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/08/2015 17:47, Adrian Chadd wrote: > I'll go try reflashing my tl-wr1043nd v1 today. >=20 > Which instrucitons are you following? >=20 >=20 > a >=20 >=20 > On 7 October 2015 at 21:52, Piotr Kubaj wrote: >> On 10/08/2015 06:47, Piotr Kubaj wrote: >>> On 10/07/2015 20:08, Adrian Chadd wrote: >>>> Hi, >>>> >>>> Just run -HEAD, or be prepared to MFC everything in the mips code an= d >>>> wifi stack/drivers to stable/10. >>>> >>>> -HEAD works fine. You should just try it. :) >>>> >>>> >>>> >>>> -adrian >>>> >>>> >>>> On 7 October 2015 at 02:18, Eugene Grosbein wro= te: >>>>> On 07.10.2015 14:57, Piotr Kubaj wrote: >>>>>> @eugen >>>>>> You could just copy//WDR3600's kernel config to sys/misc/conf in s= table/10. It's quite possible that it will work. >>>>> >>>>> I made diff between stable/10 and head for MIPS-related source file= s >>>>> and there are lots of non-trivial (for me) changes in head. >>>>> >>>>> I will create virtual machine with VBox and build head there >>>>> as I do not run head on my desktop but 10.2 >>>>> >>>>> >>> I've tried to upgrade my 1043nd to HEAD but it caused me just problem= s :P >>> >>> >>> Is this error known? >>> >>> >>> start_init: trying /sbin/init >>> rtl8366rb0port0: link state changed to UP >>> init died (signal 0, exit 1) >>> panic: Going nowhere without my init! >>> KDB: enter: panic >>> [ thread pid 1 tid 100001 ] >>> Stopped at kdb_enter+0x4c: lui at,0x804b >>> db> bt >>> Tracing pid 1 tid 100001 td 0x8064b000 >>> db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 >>> 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 >>> 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 >>> db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 >>> 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0 >>> kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0 >>> trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0 >>> MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 s= z 1 >>> kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0 >>> vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0 >>> panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1 >>> exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0 >>> sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0 >>> trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0 >>> MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz= 0 >>> pid 1 >>> >>> >>> >>> >>> >>> I'm not sure if that matters but I have 64 MB RAM, so I have changed >>> AR71XX_REALMEM to 64*1024*1024. >>> >> I've noticed that higher in the logs there is: >> MAP: No valid partition found at map/rootfs.uncompress >> Today I've updated my HEAD src (to r289115) and built another image and it seems to work. Unfortunately, I didn't check what revision I was at earlier. I just want to ask about a few things in boot logs: MAP: No valid partition found at map/rootfs.uncompress hwpmc: SOFT/16/64/0x67 MIPS24K/2/32/0x1ff Root mount waiting for: usbus0 uhub0: 1 port with 1 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub0 Trying to mount root from ufs:map/rootfs.uncompress []... warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init rtl8366rb0port1: link state changed to UP Oct 10 16:01:31 init: login_getclass: unknown class 'daemon' MAP: No valid partition found at md0 random: unblocking device. MAP: No valid partition found at md0 MAP: No valid partition found at md1 MAP: No valid partition found at md1 MAP: No valid partition found at md2 MAP: No valid partition found at md2 *** Populating /var .. *** Loading configuration files .. *** Restoring from /dev/map/cfg .. gunzip: unknown compression format 1+0 records in 1+0 records out 65536 bytes transferred in 0.168223 secs (389578 bytes/sec) 0 blocks *** Completed. *** setting up hostname *** Load kernel modules .. bridgestp kldload: can't load bridgestp: module already loaded or in kernel .. if_bridge kldload: can't load if_bridge: No such file or directory .. random kldload: can't load random: No such file or directory Should there be those "No valid partition found"? Also, those "No such file or directory" when loading kernel modules also worries me. I'm not sure whether I had these errors before, but now it caught my attention. --2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWGTsDAAoJEC9nKukRsfY+RbUP/jYZA/z1CGaH7PT+xnYrO6qQ 2S8+KIWg3aYYWIVX3j29NX9JP2tGm6ux06ZWj9kA+J9M9beMCKzx05n8A2UEOfrC wkS2UtKoLfuRLVDskBJ91OhUFUM+fwKgKMj0j9LwQz769Yk3tn/PUAsVjvmi/M3h tvMADIkNM5MEicFaP7msSN7d8HiVc7sy6ATbXFTUPxDxhLlx05WnKhn/tclcRznO HGST+ehdf+UVqV+pLd5RImWhjLLXRVQ4bC4YQ7a1ME3iBF9NvLCncVfpLd5HWGPq C7yA8YU3mWkDEUxK5y4ry6yOOBOS5gDaMgIPw9MLcjnoXzD3Z3wG3Et+ngflRFUp c/aH+vEJJtnT/OLi46uSXyK0w84JwGKN0U4CXRZWoLasopCGhibpnhZM3sxMRBJf m/ne9FmGGIUzkPl6lhMlFWC1MOPS7VORmmaMZr2llit72l5HiW7x0pFcOmjD7CeG ShMk6Rs5UjDwWDoKVWK8FjrCawQyv0I1JLCMEQTCFoesJVndO+I6WFrt0HABt+Lt WSX1vXDPhIwVf6caUN/CVV4GfelmPVHaOrTRyMcqJi1bNq33Fl/eACXJUmboyBXp 6ri2NjotUulTOGfpBXY6+Dowg9H2EuXEfxPSlq4/vXSHyavQQYv53wvm6iKwMsK5 QLzX0NNlO/6Xbr+oysgO =a/gp -----END PGP SIGNATURE----- --2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned--