megamgr on 6.1?

Michael Proto mike at
Tue May 9 13:43:23 UTC 2006

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 at 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)?


More information about the freebsd-stable mailing list