Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 00:10:11 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@uli.it>
To:        Nate Lawson <nate@root.org>
Cc:        freebsd-scsi@FreeBSD.org
Subject:   Re: ciss driver & external devices
Message-ID:  <20021012234637.H74114-100000@olgeni.olgeni>
In-Reply-To: <Pine.BSF.4.21.0210111425180.22335-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi!

On Fri, 11 Oct 2002, Nate Lawson wrote:

> A dmesg from boot -v would help.  The command generation for the devices
> is handled by CAM, so as long as the ciss driver passes them along
> correctly, they should work.

Just rebooted, got some dmesg info:

ciss0: <Compaq Smart Array 5i> port 0x2000-0x20ff mem 0xecef0000-0xecef3fff,0xeeec0000-0xeeefffff irq 3 at device 1.0 on pci0
ciss0: using 256 of 1024 available commands
ciss0:   1 logical drive configured
ciss0:   firmware 1.92
ciss0:   2 SCSI channels
ciss0:   signature 'CISS'
ciss0:   valence 1
ciss0:   supported I/O methods 0xe<simple,performant,MEMQ>
ciss0:   active I/O method 0x3<simple>
ciss0:   4G page base 0x00000000
ciss0:   interrupt coalesce delay 1000us
ciss0:   interrupt coalesce count 16
ciss0:   max outstanding commands 1024
ciss0:   bus types 0x2<ultra3>
ciss0:   server name ''
ciss0:   heartbeat 0x30000036
ciss0: 1 logical drive
ciss0: logical drive 0: RAID 5, 103936MB online

[cut]

ciss0: command status 0x1 (target status) scsi status 0x2
(probe0:ciss0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0
(probe0:ciss0:0:0:0): ILLEGAL REQUEST asc:24,0
(probe0:ciss0:0:0:0): Invalid field in CDB
ciss0: command status 0x1 (target status) scsi status 0x2
(probe0:ciss0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0
(probe0:ciss0:0:0:0): ILLEGAL REQUEST asc:24,0
(probe0:ciss0:0:0:0): Invalid field in CDB

[is this ok?]

Creating DISK da0
pass0 at ciss0 bus 0 target 0 lun 0
pass0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device
pass0: 135.168MB/s transfers
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 104183MB (213367680 512 byte sectors: 255H 32S/T 26148C)
Mounting root from ufs:/dev/da0s1a

The camcontrol devlist command only shows the RAID volume, but the box
is supposed to have a hot-plug tape drive and a CDRW attached. Running
"camcontrol reset" or "rescan" does not help. I saw that the linux
cciss driver has an "engage scsi core" command via /proc, maybe
there's something I should do to attach the devices after booting?

Maybe it's just a detection problem, and it would help if I wired the
devices into the kernel using something like "device sa0 at scbus0
target 6" after "device scbus0 at ciss0". Does this make sense? =)

-- 
jimmy


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021012234637.H74114-100000>