Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2004 21:01:45 -0500
From:      Jon Noack <noackjr@alumni.rice.edu>
To:        Don Bowman <don@sandvine.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/asr asr.c
Message-ID:  <40999C89.1020004@alumni.rice.edu>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337045D8CB1@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C85337045D8CB1@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

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



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