cvs commit: src/sys/dev/asr asr.c

Scott Long scottl at freebsd.org
Wed May 5 19:07:06 PDT 2004


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


More information about the freebsd-scsi mailing list