From owner-freebsd-questions@FreeBSD.ORG Sat Jul 31 17:31:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D4CD106566B for ; Sat, 31 Jul 2010 17:31:19 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A0BA48FC28 for ; Sat, 31 Jul 2010 17:31:18 +0000 (UTC) Received: by bwz12 with SMTP id 12so1445202bwz.13 for ; Sat, 31 Jul 2010 10:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UqTJ6mn4VX7FYMQzMwDcOULdM5UMHNXnA/1jpiGBS00=; b=GEUvXfCuMyAjJkoeDrqYGFHOBXaIWIVltn37K59DhbfWGVPQQFuvz7hKv9yce+itd8 bEOPfUjK8JKLrsjAxR8TT+k7EVfHtBUmtq1GVU3mmGVT9oJuLbJ5GCyLjOYdRBNEGOaU GTEd7FcxDPDGwdvVXbiDMuyBleyZP36CxT+1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YYphNTvzOAvj7uU/yv75IaXNjB0cTz03h3K35EN4/HfNOCGc0XuFmwrDRBdeJWAbyl ImVZk3VrZspghgje+rEemzXOw+vD2xMZ0HXo6K08d3qtSO53br7yf//7/Z+bj0Q7j2Ve qkzw19P1cjRGLrdftCM8YxvEoAO5YywIKHTNs= MIME-Version: 1.0 Received: by 10.204.83.167 with SMTP id f39mr2359842bkl.151.1280597477251; Sat, 31 Jul 2010 10:31:17 -0700 (PDT) Received: by 10.204.64.71 with HTTP; Sat, 31 Jul 2010 10:31:17 -0700 (PDT) In-Reply-To: References: Date: Sat, 31 Jul 2010 19:31:17 +0200 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: William Vining Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: Unable to kldload linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2010 17:31:19 -0000 On Sat, Jul 31, 2010 at 6:19 PM, William Vining wrote: > Hi, > > I have just upgraded my system to 8.1-RELEASE > > $ uname -a > FreeBSD makalu.abqhomenet 8.1-RELEASE FreeBSD 8.1-RELEASE #10: Thu Jul > 29 08:12:40 MDT 2010 > root@makalu.abqhomenet:/usr/obj/usr/src/sys/FRAGMENT =A0amd64 > > only to find that I cannot load linux.ko > > # kldload linux > kldload: can't load linux: Exec format error > > I tried compiling it into my kernel and recieved a message that > COMPAT_LINUX was not a valid option. > > Has anybody got any advice/knowledge about this 'exec format error', > I've tried recompiling the kernel without success (in loading the > module), and I've even compiled the module on its own and was still > unable to load it. > > # kldload /sys/modules/linux/linux.ko > kldload: can't load linux: Exec format error > > I get the same error with the linprocfs and linsysfs modules. Yes, and in addition, they depend on linux.ko > > Any thoughts? Try adding options COMPAT_LINUX32 recompile your kernel and try again. > > Thanks, > Will > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >