From owner-freebsd-mips@freebsd.org Mon Jan 25 19:19:29 2016 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 2333AA461F3 for ; Mon, 25 Jan 2016 19:19:29 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (anongoth.pl [88.156.79.165]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anongoth.pl", Issuer "Let's Encrypt Authority X1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC344618 for ; Mon, 25 Jan 2016 19:19:28 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail (unknown [127.0.1.10]) by anongoth.pl (Postfix) with ESMTP id 69A933B805; Mon, 25 Jan 2016 20:19:24 +0100 (CET) X-Virus-Scanned: amavisd-new at anongoth.pl Received: from anongoth.pl ([127.0.1.10]) by mail (anongoth.pl [127.0.1.10]) (amavisd-new, port 10024) with LMTP id fMYKOwnLIalq; Mon, 25 Jan 2016 20:19:13 +0100 (CET) Received: from [192.168.0.6] (83-238-163-214.static.ip.netia.com.pl [83.238.163.214]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pkubaj) by anongoth.pl (Postfix) with ESMTPSA id 4FB6A3B7F8; Mon, 25 Jan 2016 20:18:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anongoth.pl; s=ANONGOTH; t=1453749553; bh=ONrTgOuWdOkEWmmXxPe296iZ5i7Kb+prUshhacLzgf0=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=usvFjf4jBKBz9DP5h+0wpb7SXZvdvOW9Ve9+9C7ZU24FKAmv6RFgytpJOZ5GYe3x2 RIRwIUa921TuAwd61YLmI7DCAvJZjc6IiwXqadtrm7Wqj6PTq4P968Q29aZ6pZvcIt iAqFBVGxtOk1uVZbcUFYbO4+mBCpAIJLEhUPKIlcS7rJPFeK+JsA+rkArqygnOIE9L L+2GR3xh1wFmQ6akza7yqqIxEWxYXnxKeGmLM7AHe9xMrDrA8E2dB7P3eDWgxTLR8U HztQEna2grMCK1OTNdLVxXJ0grE1VdDuruUbNP/9VxgvEe6OsP8Da+m6Z54Wi+Hx3H 2GMV/eIQO0JDA== Subject: Re: upgrading tl-wr1043nd past r29100 To: Adrian Chadd References: <56A56565.6040503@anongoth.pl> Cc: "freebsd-mips@freebsd.org" From: Piotr Kubaj Message-ID: <56A674E4.2060102@anongoth.pl> Date: Mon, 25 Jan 2016 20:17:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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, 25 Jan 2016 19:19:29 -0000 Actually, I'm not sure why, but it seems like I cannot even build now (it's strange because I could build newer revisions before) anything newer than r291405, because of: `subr.o' is up to date. `chat.o' is up to date. nc.lo: In function `_$$hide$$ nc.lo main': (.text+0x2a9c): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() /home/pkubaj/head/../obj/mips_ap//mips.mips/usr/home/pkubaj/head/tmp/usr/lib/libkvm.a(kvm.o): In function `_kvm_read_core_phdrs': kvm.c:(.text+0x1a60): undefined reference to `elf_begin' kvm.c:(.text+0x1a80): undefined reference to `elf_errmsg' kvm.c:(.text+0x1ac0): undefined reference to `elf_kind' kvm.c:(.text+0x1b04): undefined reference to `gelf_getclass' kvm.c:(.text+0x1b4c): undefined reference to `gelf_getehdr' kvm.c:(.text+0x1b6c): undefined reference to `elf_errmsg' kvm.c:(.text+0x1c10): undefined reference to `elf_getphdrnum' kvm.c:(.text+0x1c34): undefined reference to `elf_errmsg' kvm.c:(.text+0x1cdc): undefined reference to `gelf_getphdr' kvm.c:(.text+0x1cfc): undefined reference to `elf_errmsg' kvm.c:(.text+0x1d4c): undefined reference to `elf_end' kvm.c:(.text+0x1d70): undefined reference to `elf_end' /home/pkubaj/head/../obj/mips_ap//mips.mips/usr/home/pkubaj/head/tmp/usr/lib/libkvm.a(kvm.o): In function `_kvm_open': kvm.c:(.text+0x20bc): undefined reference to `elf_version' kvm.c:(.text+0x2100): undefined reference to `elf_begin' kvm.c:(.text+0x2120): undefined reference to `elf_errmsg' kvm.c:(.text+0x215c): undefined reference to `elf_kind' kvm.c:(.text+0x21a0): undefined reference to `gelf_getehdr' kvm.c:(.text+0x21c0): undefined reference to `elf_errmsg' kvm.c:(.text+0x21f8): undefined reference to `elf_end' kvm.c:(.text+0x220c): undefined reference to `elf_end' --- bsdbox --- *** [bsdbox] Error code 1 make[4]: stopped in /usr/home/pkubaj/obj/mips_ap/mips.mips/usr/home/pkubaj/head/tools/bsdbox 1 error make[4]: stopped in /usr/home/pkubaj/obj/mips_ap/mips.mips/usr/home/pkubaj/head/tools/bsdbox --- bsdbox --- *** [bsdbox] Error code 2 make[3]: stopped in /usr/home/pkubaj/head/tools/bsdbox 1 error And it actually seems like r291406 changed something about libkvm: Add support to libkvm for reading vmcores from other architectures. - Add a kvaddr_type to represent kernel virtual addresses instead of unsigned long. - Add a struct kvm_nlist which is a stripped down version of struct nlist that uses kvaddr_t for n_value. - Add a kvm_native() routine that returns true if an open kvm descriptor is for a native kernel and memory image. .... https://svnweb.freebsd.org/base?view=revision&revision=291406 On 01/25/2016 05:09 AM, Adrian Chadd wrote: > hi, > > can you narrow it down a bit more for me please? > > sorry, right now i'm in the process of moving house and everything's in storage. > > > -a > > > On 24 January 2016 at 15:59, Piotr Kubaj wrote: >> Hi, >> >> I'm trying to upgrade my TP-LINK WR1043nd (1.0). It's currently running >> r291000. The error I'm getting is: >> 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,0x804c >> db> bt >> Tracing pid 1 tid 100001 td 0x8064b000 >> db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 >> 80088a04+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 >> 80087e10+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 >> db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 >> 8008a918+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 (?,?,?,40972010) ra c736be8000000000 sp 0 sz 0 >> pid 1 >> >> >> I'm not sure which revision causes that, but it happens as early as on >> r291500. >> _______________________________________________ >> 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"