From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 14 18:22:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ED02106566C for ; Wed, 14 Mar 2012 18:22:33 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7B0E8FC0C for ; Wed, 14 Mar 2012 18:22:32 +0000 (UTC) Received: by lagv3 with SMTP id v3so2392732lag.13 for ; Wed, 14 Mar 2012 11:22:31 -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:content-transfer-encoding; bh=KGAwsPMr0Zxz/iKaubYtpo4qWq5hIpBH+6zboBUnYFo=; b=i6CEyel1rmb8heQFFPN6WYHt6dyXNtQ0uJIsNk4UCm0d1uFeWV2fav2lOUkL4AJPWz FfsfjtFcVuisaKBAnERwI1zlLgrXPYkiPaPbkRBFMN9Q2yUj0joaltYoBc88evha6MrB 9FPNXETsj5Tdh+gk9Alqc88zj0p+pTTlUL2n0omRRAGS3wZF8fOaS+GoC2D01mdpNpD1 dNLVVmKAMdiyqTSJhYI1yoZootqptphPRys91OyfJbDkhQqe8xBYD8uYZy7iTTLLdTtw BFNmO5Dn+IOf1K4GB2EjNXIEttWzErIH0xY4L/RNR8iM+Ul+C75rsNmVCggGlDJxOTqu KODg== MIME-Version: 1.0 Received: by 10.152.105.241 with SMTP id gp17mr2966193lab.21.1331749351768; Wed, 14 Mar 2012 11:22:31 -0700 (PDT) Received: by 10.152.13.72 with HTTP; Wed, 14 Mar 2012 11:22:31 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Mar 2012 19:22:31 +0100 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Hackers Subject: Re: hack.So: could not read symbols X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 18:22:33 -0000 On Tue, Mar 13, 2012 at 10:34 PM, Fernando Apestegu=EDa wrote: > On Tue, Mar 13, 2012 at 12:23 AM, Ryan Stone wrote: >> 2012/3/12 Fernando Apestegu=EDa : >>> I'm using 9.0-RELEASE. >>> >>> I downloaded the snapshot "9.0-CURRENT-201012" and tried to build it's >>> kernel but I get this error: >>> >>> hack.So: could not read symbols: File in wrong format >>> >>> file reports this: >>> >>> ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically >>> linked, not stripped >>> >>> I compared this file with the same file generated during the >>> compilation of the 9.0-RELEASE GENERIC kernel and they are identical. >>> >>> What's the problem here? >> >> I saw a similar issue trying to build a stable/8 kernel on >> 9.0-RELEASE. =A0Doing a make kernel-toolchain before make buildkernel >> fixed the issue. > > Yep, that was it. Thank you! > > I was able to compile the kernel but it can not mount root fs. It > reports error 19 (ENODEV). Weird. It tries to mount ada0p2 that is > properly detected if I type "?" when I get the mount prompt. Any idea why this happens? My filesystem is UFS + SUJ. I tried also with 9.0-RELEASE-201101 snapshot and it is unable to mount the root fs too. Thanks in advance.