Date: Tue, 14 Nov 2006 09:56:53 GMT From: Fabian Wenk<fabian@wenks.ch> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/105516: [patch] sysutils/asr-utils needs ASR_COMPAT kernel option Message-ID: <200611140956.kAE9ur2w003082@www.freebsd.org> Resent-Message-ID: <200611141000.kAEA0HCi028500@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611140956.kAE9ur2w003082>