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

Jon Noack noackjr at alumni.rice.edu
Wed May 5 19:01:51 PDT 2004


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

Some info:
$ uname -v
FreeBSD 5.2-CURRENT #11: Wed May  5 04:21:10 CDT 2004 ...
$ dmesg | grep asr
asr0: <Adaptec Caching SCSI RAID> mem 0xe4000000-0xe5ffffff irq 21 at 
device 5.1 on pci2
asr0: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xe4000000
asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O
da0 at asr0 bus 0 target 0 lun 0

Jon Noack



More information about the freebsd-scsi mailing list