From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 13 21:34:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 934C81065686 for ; Tue, 13 Mar 2012 21:34:16 +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 136308FC14 for ; Tue, 13 Mar 2012 21:34:15 +0000 (UTC) Received: by lagv3 with SMTP id v3so1274924lag.13 for ; Tue, 13 Mar 2012 14:34:08 -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=aYqfvRQkP5bvD+YOysUcLdcexOTfB9jflBAr6Xs/6SU=; b=BUc/4eYNoF49HFbuxOjxxgWIcjCwmlG5djZDE5lMQwygO2nMnnv1Hp9ZvLMmBo1u2B RXnZgggw3rCGhWzIbVlVWdxId16d6JUmrOOOUrUnAlH0LuPxfSOICmB7ziuwYcnly8nD J6NZ9x1CWSdpegyZ3meK4T2mPQBPrSubEcuNTQx8RgcuOXtWkKGq2Rde7ehib4TbyANC tvysf6YZU8dXXilIH0QQTxUcUyM00CRLx/p6mQ97X3yrIYnjHBzssyZPQy7JA1cM4Ijr Oj0R/3SS8yMWxw44iUUfsoruArVyEL8AzhuXtVkOA4AFEbYxXn+PJv2ICg+jsYRlwFAQ vu0w== MIME-Version: 1.0 Received: by 10.152.105.241 with SMTP id gp17mr131161lab.21.1331674448583; Tue, 13 Mar 2012 14:34:08 -0700 (PDT) Received: by 10.152.13.72 with HTTP; Tue, 13 Mar 2012 14:34:08 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Mar 2012 22:34:08 +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: Tue, 13 Mar 2012 21:34:16 -0000 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.