From owner-freebsd-stable@FreeBSD.ORG Tue May 9 14:15:32 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 D861116A532 for ; Tue, 9 May 2006 14:15:32 +0000 (UTC) (envelope-from ski@mediamatters.org) Received: from mail.mediamatters.org (mail.mediamatters.org [63.240.197.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BA143D6E for ; Tue, 9 May 2006 14:15:32 +0000 (GMT) (envelope-from ski@mediamatters.org) Received: by mail.mediamatters.org (Postfix, from userid 33) id 3195196C362; Tue, 9 May 2006 10:15:31 -0400 (EDT) Received: from 68.49.189.193 (SquirrelMail authenticated user ski) by mail.mediamatters.org with HTTP; Tue, 9 May 2006 10:15:31 -0400 (EDT) Message-ID: <2296.68.49.189.193.1147184131.squirrel@mail.mediamatters.org> In-Reply-To: <44609C78.4070902@jellydonut.org> References: <2107.68.49.189.193.1147181773.squirrel@mail.mediamatters.org> <44609C78.4070902@jellydonut.org> Date: Tue, 9 May 2006 10:15:31 -0400 (EDT) From: "Brian Szymanski" To: "Michael Proto" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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 14:15:35 -0000 Oh, duh, it's been so long since I used linux binary emulation that I forgot all about brandelf... Thanks Michael! ... But now that the binary is properly branded, I get a different error: Error opening terminal: xterm. I get the same error for xterm-color, cons25, vt220, and everything else I've tried... (and I know for a fact that TERM=xterm works on my linux machines)... Any ideas? Cheers, Brian > 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 > > Brian Szymanski Software and Systems Developer Media Matters for America ski@mediamatters.org skype: xbrianskix aim: xbrianskix