From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 12 00:06:18 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E803516A4CE for ; Tue, 12 Apr 2005 00:06:18 +0000 (GMT) Received: from halibut.dzfx.net (halibut.dzfx.net [69.67.108.226]) by mx1.FreeBSD.org (Postfix) with SMTP id B55BE43D49 for ; Tue, 12 Apr 2005 00:06:17 +0000 (GMT) (envelope-from don.brown@dzfx.com) Received: (qmail 85108 invoked by uid 98); 12 Apr 2005 00:06:20 -0000 Received: from 69.171.236.246 by halibut.dzfx.net (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.83/705. spamassassin: 3.0.2. Clear:RC:1(69.171.236.246):. Processed in 1.189982 secs); 12 Apr 2005 00:06:20 -0000 X-Qmail-Scanner-Mail-From: don.brown@dzfx.com via halibut.dzfx.net X-Qmail-Scanner: 1.25 (Clear:RC:1(69.171.236.246):. Processed in 1.189982 secs) Received: from 69-171-236-246.clspco.adelphia.net (HELO Office1) (69.171.236.246) by halibut.dzfx.net with SMTP; 12 Apr 2005 00:06:19 -0000 From: "Don Brown" To: Date: Mon, 11 Apr 2005 18:06:19 -0600 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcU+83P91GAY7fhlSH+DmW+dE6A1yw== X-Qmail-Scanner-Message-ID: <111326437970485100@halibut.dzfx.net> Message-Id: <20050412000617.B55BE43D49@mx1.FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: cvs commit: src/sys/dev/asr asr.c X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 00:06:19 -0000 Interestingly enough, I'm experiencing this same problem. I have entered the sym links (ln -s /dev/asr0 /dev/rdptr17): /usr/local/bin/raidutil -L all Which returns: Engine connect failed: COMPATILITY number osdIOrequest : File /dev/rdptr17 Could Not Be Opened The sym link is gone after this. The machine is a 5013AS-8 (Supermicro) http://www.supermicro.com/products/system/1U/5013/SYS-5013S-8.cfm and the Raid card is an Adaptec 2010S with 2x 73GB SCSI 320's I installed this utility from it's port /usr/ports/sysutils/asr-utils/ Thoughts? Jon Noack wrote: > Don Bowman wrote: > >> From: Jon Noack [mailto:noackjr at alumni.rice.edu ] >> >>> Before this commit I could 'ln -s /dev/asr0 /dev/rdpti0' and >>> 'raidutil -L all' would work. Now, it fails: >>> Engine connect failed: COMPATILITY number >>> osdIOrequest : File /dev/rdptr17 Could Not Be Opened >>> >>> Also, the soft link disappears after the above command. This did >>> not happen before. I put 'link asr0 rdpti0' in /etc/devfs.conf >>> before trying raidutil at all, but that doesn't appear to do >>> anything (most likely it is me not grokking devfs though). >> >> >> I was able to ln -s asr0 rdpti0 and then raidutil worked. >> >> # ls -al /dev/rdpti0 lrwxr-xr-x 1 root wheel 4 May 5 09:51 >> /dev/rdpti0 -> asr0 >> # raidutil -L all >> RAIDUTIL Version: 3.04 Date: 9/27/2000 FreeBSD CLI Configuration >> Utility >> Adaptec ENGINE Version: 3.04 Date: 9/27/2000 Adaptec FreeBSD SCSI >> Engine >> >> # b0 b1 b2 Controller Cache FW NVRAM Serial Status >> --------------------------------------------------------------------------- >> >> d0 -- -- ADAP2010S 32MB 3B05 CHNL 1.1 BD0E40303FAOptimal >> >> ... > > > Guess this is just me then: > $ ln -s asr0 rdpti0 > $ ls -al /dev/rdpti0 > lrwxr-xr-x 1 root wheel 4 May 5 20:53 /dev/rdpti0 -> asr0 > $ raidutil -L all > > Engine connect failed: COMPATILITY number > osdIOrequest : File /dev/rdptr17 Could Not Be Opened$ > $ ls -al /dev/rdpti0 > ls: /dev/rdpti0: No such file or directory /dev/rdptr17 is a red herring. The real error is the 'Engine connect failed' message. I'll look at it some more. Until then, you can revert to rev 1.59 of asr.c Scott