Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2004 20:06:41 -0600
From:      Scott Long <scottl@freebsd.org>
To:        noackjr@alumni.rice.edu
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/asr asr.c
Message-ID:  <40999DB1.5010600@freebsd.org>
In-Reply-To: <40999C89.1020004@alumni.rice.edu>
References:  <FE045D4D9F7AED4CBFF1B3B813C85337045D8CB1@mail.sandvine.com> <40999C89.1020004@alumni.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jon Noack wrote:
> Don Bowman wrote:
> 
>> From: Jon Noack [mailto:noackjr@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40999DB1.5010600>