From owner-freebsd-stable@FreeBSD.ORG Tue May 9 13:43:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37BAF16A409 for ; Tue, 9 May 2006 13:43:23 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail.secureworks.net (mail.secureworks.net [65.114.32.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 6ED4B43D46 for ; Tue, 9 May 2006 13:43:22 +0000 (GMT) (envelope-from mike@jellydonut.org) Received: (qmail 22562 invoked from network); 9 May 2006 13:43:20 -0000 Received: from unknown (HELO ?192.168.14.135?) (63.239.86.253) by 0 with SMTP; 9 May 2006 13:43:20 -0000 Message-ID: <44609C78.4070902@jellydonut.org> Date: Tue, 09 May 2006 09:43:20 -0400 From: Michael Proto User-Agent: Thunderbird 1.5.0.2 (X11/20060503) MIME-Version: 1.0 To: Brian Szymanski References: <2107.68.49.189.193.1147181773.squirrel@mail.mediamatters.org> In-Reply-To: <2107.68.49.189.193.1147181773.squirrel@mail.mediamatters.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: megamgr on 6.1? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 13:43:23 -0000 Brian Szymanski wrote: > Hi... > > I saw this in the 6.1 release notes and eagerly upgraded: > "The amr(4) driver now supports ioctl(2) requests necessary for Linux > LSI MegaRaid tools on FreeBSD's Linux emulation environment." > > However, when I pulled over a megamgr.bin binary from a linux machine, and > try to execute it on my freebsd machine, I get: > [root@ozelmo ~/src/megaraid]# ./megamgr.bin > ELF binary type "0" not known. > bash: ./megamgr.bin: cannot execute binary file > > Has anyone got this working? What did they need? Any help would be > appreciated, as I'm seriously sick of megarc :) > > Thanks in advance! > Since it appears to require Linux emulation, have you tried branding the binary is a Linux ELF with brandelf(1)? -Proto