From nobody@FreeBSD.org Tue Nov 14 09:56:54 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E49BF16A403 for ; Tue, 14 Nov 2006 09:56:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9671443D62 for ; Tue, 14 Nov 2006 09:56:54 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kAE9usuZ003084 for ; Tue, 14 Nov 2006 09:56:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kAE9ur2w003082; Tue, 14 Nov 2006 09:56:53 GMT (envelope-from nobody) Message-Id: <200611140956.kAE9ur2w003082@www.freebsd.org> Date: Tue, 14 Nov 2006 09:56:53 GMT From: Fabian Wenk To: freebsd-gnats-submit@FreeBSD.org Subject: [patch] sysutils/asr-utils needs ASR_COMPAT kernel option X-Send-Pr-Version: www-3.0 >Number: 105516 >Category: ports >Synopsis: [patch] sysutils/asr-utils needs ASR_COMPAT kernel option >Confidential: no >Severity: non-critical >Priority: medium >Responsible: obrien >State: closed >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 14 10:00:16 GMT 2006 >Closed-Date: Sat May 30 21:16:48 UTC 2009 >Last-Modified: Sat May 30 21:16:48 UTC 2009 >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: Responsible-Changed-From-To: freebsd-ports-bugs->obrien Responsible-Changed-By: edwin Responsible-Changed-When: Tue Nov 14 10:00:24 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=105516 State-Changed-From-To: open->closed State-Changed-By: miwi State-Changed-When: Sat May 30 21:16:46 UTC 2009 State-Changed-Why: no action over 2 years here. http://www.freebsd.org/cgi/query-pr.cgi?pr=105516 >Unformatted: