megamgr on 6.1?

Brian Szymanski ski at mediamatters.org
Tue May 9 13:36:22 UTC 2006


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!

Relevant bits of dmesg:
FreeBSD 6.1-RELEASE #0: Tue May  9 09:01:31 EDT 2006
    root at ozelmo.wuhjuhbuh.afraid.org:/usr/obj/usr/src-6.1/sys/OZELMO
amr0: <LSILogic MegaRAID 1.53> mem 0xef000000-0xef00ffff irq 16 at device
13.0 on pci0
amr0: delete logical drives supported by controller
amr0: <LSILogic MegaRAID SATA 150-6D> Firmware 713N, BIOS G119, 64MB RAM
...
amr0: delete logical drives supported by controller
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 953656MB (1953087488 sectors) RAID 5 (optimal)

[root at ozelmo ~/src/megaraid]# kldstat
Id Refs Address    Size     Name
 1    5 0xc0400000 504e7c   kernel
 2    1 0xc4bc2000 1a000    linux.ko


Brian Szymanski
Software and Systems Developer
Media Matters for America
ski at mediamatters.org
aim:   xbrianskix



More information about the freebsd-stable mailing list