new port sysutils/amrstat: This port provides an utility for getting information from LSI Logic's MegaRAID RAID controllers. It also includes a daily periodic script that (optionally) also makes use of sysutils/megarc. Fix: The port source is also available as tarball from http://sources.zabbadoz.net/freebsd/ports/experimental/ \ sysutils-amrstat-20060611-01.tar
Responsible Changed From-To: freebsd-ports-bugs->erwin I'll take it.
State Changed From-To: open->closed Port added, thanks!
Supplied binary file in archive runs on 5.4 without problem. uname -a FreeBSD albatros.telecom.by 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #1: Mon Jun 5 14:04:54 EEST 2006 root@albatros.telecom.by:/usr/src/sys/i386/compile/ALBATROS i386 sudo ./amrstat -g Product <MegaRAID SATA 150-6D> Firmware 713N BIOS G119 SCSI channels 1 Fibre loops 0 Memory size 64 MB Battery status not present, charge unknown Logical volume 0 optimal (372.61 GB, RAID0) Logical volume 1 optimal (372.61 GB, RAID0) Logical volume 2 optimal (372.61 GB, RAID0) Logical volume 3 optimal (372.61 GB, RAID0) Logical volume 4 optimal (372.61 GB, RAID0) Logical volume 5 optimal (372.61 GB, RAID0) Physical drive 0:0 online Physical drive 0:1 online Physical drive 0:2 online Physical drive 0:3 online Physical drive 0:4 online Physical drive 0:5 online But does not compiles: cc -O -pipe -march=pentiumpro -static -Wall -Werror -I/usr/src/sys/dev/amr -o amrstat amrstat.c amrstat.c: In function `describe_drive': amrstat.c:539: error: structure has no member named `ae_pdrivestate' amrstat.c:550: error: structure has no member named `ae_pdrivestate' amrstat.c:556: error: structure has no member named `ae_pdrivestate' *** Error code 1 Stop in /usr/local/src/amrstat. Signed, Oleg Gawriloff.
On Sat, 30 Dec 2006, Oleg Gawriloff wrote: Hi, > Supplied binary file in archive runs on 5.4 without problem. depending on which bindary you refer to you might be lucky or not. I don't know about the current state of amr(4) in RELENG_5 to be honest and I won't be able to test/verify/... anything. > uname -a > FreeBSD albatros.telecom.by 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #1: Mon > Jun 5 14:04:54 EEST 2006 > root@albatros.telecom.by:/usr/src/sys/i386/compile/ALBATROS i386 > > sudo ./amrstat -g > ... > > But does not compiles: > cc -O -pipe -march=pentiumpro -static -Wall -Werror -I/usr/src/sys/dev/amr > -o amrstat amrstat.c > amrstat.c: In function `describe_drive': > amrstat.c:539: error: structure has no member named `ae_pdrivestate' > amrstat.c:550: error: structure has no member named `ae_pdrivestate' > amrstat.c:556: error: structure has no member named `ae_pdrivestate' > *** Error code 1 > > Stop in /usr/local/src/amrstat. yes, we know. That's why the port has: .if ${OSVERSION} < 600105 IGNORE= does not build on FreeBSD 6.0 or earlier .endif Basically noone was interested in backporting amrstat to also compile on 5.x (and maybe some src/sys/dev/amr changes would still be needed too). If you want to backport and can test it you can send patches to Jung-uk Kim (jkim@) and me (or just a follow up to the PR) and I'll of course update the port if it looks ok:-) Greetings Bjoern -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Responsible Changed From-To: erwin->bz Change responsible to me so I get follow-ups.