Bug 136163 - sysutils/megacli won't work on 7.1, amd64
Summary: sysutils/megacli won't work on 7.1, amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 17:30 UTC by Michael Scheidell
Modified: 2009-09-07 12:20 UTC (History)
0 users

See Also:


Attachments
patch.txt (557 bytes, text/plain)
2009-06-30 08:45 UTC, Vladimir Laskov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheidell 2009-06-29 17:30:04 UTC
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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-29 17:30:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

gabor@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-29 17:30:20 UTC
Maintainer of sysutils/megacli,

Please note that PR ports/136163 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136163

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-29 17:30:24 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Vladimir Laskov 2009-06-30 08:45:28 UTC
Hello!
thanks for PR

please commit this patch

/Vladimir Ermakov
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-09-07 12:14:10 UTC
gabor       2009-09-07 11:13:56 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/megacli     Makefile 
  Log:
  - Set IA32_BINARY_PORT to check Linux emulation availability
  - Bump PORTREVISION
  
  PR:             ports/136163
  Submitted by:   Michael Scheidell <scheidell@secnap.net>
  Approved by:    Vladimir Ermakov <samflanker@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.2       +2 -0      ports/sysutils/megacli/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Gabor Kovesdan freebsd_committer freebsd_triage 2009-09-07 12:14:14 UTC
State Changed
From-To: feedback->closed

Committed, thanks.