ports/105516: [patch] sysutils/asr-utils needs ASR_COMPAT kernel option
Fabian Wenk
fabian at wenks.ch
Tue Nov 14 10:00:18 UTC 2006
>Number: 105516
>Category: ports
>Synopsis: [patch] sysutils/asr-utils needs ASR_COMPAT kernel option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 14 10:00:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fabian Wenk
>Release: FreeBSD/i386 6.1-RELEASE
>Organization:
>Environment:
FreeBSD schabell.ethz.ch 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Thu Nov 9 19:10:21 CET 2006 root at schabell.ethz.ch:/usr/obj/usr/src/sys/SCHABELL i386
>Description:
System with Adaptec 3210S (ADAP3210S) and GENERIC kernel with installed sysutils/asr-utils gives the following error:
root at schabell:~# raidutil -L all
Engine connect failed: COMPATILITY number
osdIOrequest : File /dev/rdptr17 Could Not Be Opened
After searching and trying around for a few hours (including creating links in /dev), we saw the comment about ASR_COMPAT kernel option in the webcvs source archive for asr.c [1] (Revision 1.64.2.1).
[1] http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/asr/asr.c
After adding the ASR_COMPAT option to the kernel it worked. Maybe this option is only need with 6.x FreeBSD, did not try any other version.
>How-To-Repeat:
run raidutil with GENERIC kernel
>Fix:
Add additional file pkg-message to sysutils/asr-utils with this content:
*******************************************************************************
* *
* If raidutil gives errors like: *
* Engine connect failed: COMPATILITY number *
* osdIOrequest : File /dev/rdptr17 Could Not Be Opened *
* *
* Then add "option ASR_COMPAT" into your kernel configuration. *
* *
* To configure and recompile your kernel see: *
* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html *
* *
*******************************************************************************
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list