Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 16:26:17 GMT
From:      Michael Scheidell <scheidell@secnap.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136163: sysutils/megacli won't work on 7.1, amd64
Message-ID:  <200906291626.n5TGQHjM023591@www.freebsd.org>
Resent-Message-ID: <200906291630.n5TGU4gi094689@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136163
>Category:       ports
>Synopsis:       sysutils/megacli won't work on 7.1, amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 29 16:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        7.1
>Organization:
SECNAP Network Security
>Environment:
uname -a
FreeBSD tpa.ionspam.net 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Thu Jun 18 20:05:47 EDT 2009     root@tpa.ionspam.net:/usr/obj/usr/src/sys/WARDEN  amd64

>Description:
megacli is distributed as a 32bit binary only, and the ports install does not descern if 7.1 or 6.4 or 32bit i386 or amd64 installed.

example:

on a 6.4, amd64, megactl works fine (does it require the 32bit libs?) ports makefile doesn't for it, doesn't include it.

6.4 kernel has 32bit libs compiled in, 7.1 does not

(again, biggest problem is that the makefile doesn't stop the install, and doesn't force)

 file /usr/local/sbin/MegaCli
/usr/local/sbin/MegaCli: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped


but amd64 kernel compiled with this, so should work:

options         COMPAT_IA32


(doesn't work on amd64, freebsd 7.1, works fine same hardware, amd64, freebsd 6.4)


>How-To-Repeat:
buy a $10,000 server, put 7.1 amd64 on it, install megacli and try it

you get this:

MegaCli -AdpAllInfo -aAll
Bad system call (core dumped)

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906291626.n5TGQHjM023591>