From owner-freebsd-mips@freebsd.org Wed Feb 8 22:02:49 2017 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 CC7F2CD4116 for ; Wed, 8 Feb 2017 22:02:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 63E6318C for ; Wed, 8 Feb 2017 22:02:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id v186so63662689wmd.0 for ; Wed, 08 Feb 2017 14:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MIYsbTVBc5hUzivOQKIAlcuu2+nFZ5VY4ad0ax0dorA=; b=HbZdz8kQJPUeZVE2ruC52UHdwI//Yt/8aaF15jceeesmKcocJxdKzDP6IM/75KBNIS uuKMTXO03rLdmEGqKPYvotEb5W8PBUiI4lbF1Bc2y1UcbQ1WRdwXfml5RY1a/YBMsrMu nnYV6qnn8sKcVGdKWNWhx+j1KD3lBd4z11Z7+Qzw5zyUbfg12onfiTK17llw2vntY4bL v/05o9xX/IX6KXcTEVLYNynUz8ohxFxps+OIX9m7UHlMK8NfBfFFFe9aTJ8I/WlKqV0V rxzg8QM18dqr1fCESlSvQopnZ3lI4Br2ZwjhxMm3yXgnZMMMaWAM5OnPR8hE5oUR9CWu 0V2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MIYsbTVBc5hUzivOQKIAlcuu2+nFZ5VY4ad0ax0dorA=; b=rzUXfHuPg31r54TMGSHl4K7EleXNVP0DmQ6QVHDxOjYMacnR9QaiQ79hE4DT7W8tw9 tL4LmhhGwvmotMcdMOIOlEEN4uasZ9odIU3bRO3CQrLffD4XwwpvEb6z0JqXbrAlgayI OImYZtblk7Z76AXePVGiPK3kNxr7NDiB0bTtgIpQYjkexaoT8hmZbwZNwXzglH6vzmRO nB4qh8UXFD6O7tECaGNb3xvl/u88pzlMazfAt695Ya7t7VpH4cs4HgLseXoLBdqdq6Z7 aVr+Z8+qme5wOykwv0vKx6N8bE9FAdJTJCEPBAkHbHiMwCavjRxDBctUwTg750iALuGi q8yA== X-Gm-Message-State: AMke39lk8Z37Icur/7MeQ7tBs0zaxQw+K2s0v6mPezSvo/3/lzIKjjVsgOdc8oNkiCL02HcH7lZaS46hSPvkvQ== X-Received: by 10.28.58.204 with SMTP id h195mr19305026wma.116.1486591367659; Wed, 08 Feb 2017 14:02:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.82.162 with HTTP; Wed, 8 Feb 2017 14:02:46 -0800 (PST) In-Reply-To: <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> References: <632017.92175.qm@web101706.mail.ssk.yahoo.co.jp> <805328.90571.qm@web101707.mail.ssk.yahoo.co.jp> <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> From: Adrian Chadd Date: Wed, 8 Feb 2017 14:02:46 -0800 Message-ID: Subject: Re: kld problem at Atheros AR9132 To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 22:02:49 -0000 How are you building that again? I know my way of doing it always outputs elf kernels. -a On 7 February 2017 at 15:28, Mori Hiroki wrote: > Hi > > I still have this problem. I use workaround by old objcopy command. > It's unconvenient. > > "link_elf_lookup_symbol: missing symbol hash table" at boot log indicate > this problem. > > Copyright (c) 1992-2017 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-CURRENT #2 50b7905(rt_patch)-dirty: Tue Feb 7 22:10:26 JST 2017 > hiroki@microserver:/storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/ > mips.mips/storage/home/hiroki/freebsd/sys/Buffalo_WZR-HP-G301NH mips > gcc version 4.2.1 20070831 patched [FreeBSD] > Preloaded elf kernel "kernel" at 0x804332a0. > link_elf_lookup_symbol: missing symbol hash table > link_elf_lookup_symbol: missing symbol hash table > real memory = 67108864 (65536K bytes) > > > ----- Original Message ----- >>From: Mori Hiroki >>To: "freebsd-mips@freebsd.org" >>Date: 2016/9/23, Fri 22:52 >>Subject: Re: kld problem at Atheros AR9132 >> >>Hi. >> >>Still I have this problem. Dose any one have this problem >>process to kernel use by objcopy for u-boot. >> >>I doubt this is big endian issue. >> >>My AR231x port have no problem. Because of redboot not need >>obycopy process. >> >>Regards. >> >>Hiroki Mori >> >>----- Original Message ----- >>>From: Mori Hiroki >>>To: "freebsd-mips@freebsd.org" >>>Date: 2016/4/25, Mon 17:41 >>>Subject: kld problem at Atheros AR9132 >>> >>>Hi >>> >>>I build Atheros AR9132 kernel by head source. I have problem that is >>>can't load kld module. RT3050 have no problem same source. I do >>>delete old object and full build but still have problem. >>> >>># kldload -v ufs >>>linker_load_file: trying to load /boot/kernel/ufs.ko >>> >>>linker_make_file: new file, filename='ufs.ko' for pathname='/boot/kernel/ufs.ko' >>>linker_file_add_dependency: adding kernel as dependency for ufs.ko >>>KLD ufs.ko: depends on kernel - not available or version mismatch >>> >>>linker_file_unload: lf->refs=1 >>>linker_file_unload: file is unloading, informing modules >>>linker_file_unload: lf->refs=2 >>>linker_load_file: trying to load /boot/kernel/ufs.ko >>>linker_load_file: Unsupported file type >>>kldload: an error occurred while loading the module. Please check dmesg(8) for m >>>ore details. >>> >>>If you have advice, please let me know. >>> >>>Thanks >>> >>>Hiroki Mori >>>_______________________________________________ >>>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" >>> >>> >>> >>_______________________________________________ >>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" >> >> >> > _______________________________________________ > 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"