From owner-freebsd-mips@freebsd.org Sun Oct 11 01:08:43 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 C00F4A10EF5 for ; Sun, 11 Oct 2015 01:08:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81218923 for ; Sun, 11 Oct 2015 01:08:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbni9 with SMTP id ni9so1404180igb.1 for ; Sat, 10 Oct 2015 18:08:42 -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=i0nSEGAp80IUg1cZ8oxACFJCapWjQLQTokFFKH8LayE=; b=icKZkGgvI/ybwzZoeNDCiiuPs2QUg6GiGObXaYyguxmNM8M04c4lB5PYt68VaSfPWv K2HBvq2eXroDA/JkIxm85ba6C7DGhVIltdlcPY0HnMM8BTRXNo1a6bLKzu3cXwB7lhJb jnfYWer3718Hn9QF5DAh1EeIEgZk1wLZjpqSIYGEG844/jRs0smfXKSIexJ3TCDAyJmu H8ktR1M5HAZW5I+0TfHo4T1ftVek/qbtsdcitQUbvMQ2fC2SZLywB0rdw5bu67AifB6W xVSFC6WHWGN6Fass94nUsQMxQMJHW8FKUIZeKXDH/G3ReyvbO42S4WEvXeHoLQSTTIu5 ckrw== MIME-Version: 1.0 X-Received: by 10.50.61.137 with SMTP id p9mr6068428igr.37.1444525722715; Sat, 10 Oct 2015 18:08:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.2.10 with HTTP; Sat, 10 Oct 2015 18:08:42 -0700 (PDT) In-Reply-To: <56193AFD.90201@riseup.net> References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <56193AFD.90201@riseup.net> Date: Sat, 10 Oct 2015 18:08:42 -0700 X-Google-Sender-Auth: e3vaK6D2fhZ0kSKBdTL9lL6brtc Message-ID: Subject: Re: Kernel config for TPLink TL WDR3600 From: Adrian Chadd To: Piotr Kubaj 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, 11 Oct 2015 01:08:43 -0000 No valid partition is found; it's trying to figure out what partition type each flash partition is, and it doesn't find anything useful. The kernel modules is fine; the default config file is the same for all platforms regardless of whether things are modules or not. I should just update /all/ of the platforms to assume everything is a module. -adrian On 10 October 2015 at 09:21, Piotr Kubaj wrote: > On 10/08/2015 17:47, Adrian Chadd wrote: >> I'll go try reflashing my tl-wr1043nd v1 today. >> >> Which instrucitons are you following? >> >> >> a >> >> >> 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 and >>>>> wifi stack/drivers to stable/10. >>>>> >>>>> -HEAD works fine. You should just try it. :) >>>>> >>>>> >>>>> >>>>> -adrian >>>>> >>>>> >>>>> On 7 October 2015 at 02:18, Eugene Grosbein wrote: >>>>>> On 07.10.2015 14:57, Piotr Kubaj wrote: >>>>>>> @eugen >>>>>>> You could just copy//WDR3600's kernel config to sys/misc/conf in stable/10. It's quite possible that it will work. >>>>>> >>>>>> I made diff between stable/10 and head for MIPS-related source files >>>>>> 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 problems :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 sz 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. >