From owner-freebsd-scsi Sat Oct 12 15:10:21 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7453637B401 for ; Sat, 12 Oct 2002 15:10:19 -0700 (PDT) Received: from volcano.planet.it (volcano.planet.it [212.110.160.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D13843E9C for ; Sat, 12 Oct 2002 15:10:18 -0700 (PDT) (envelope-from olgeni@uli.it) Received: from olgeni.olgeni (ppp-25.dial5.ctonet.it [212.110.180.25]) by volcano.planet.it (Postfix) with ESMTP id 5432B11F9CD; Sun, 13 Oct 2002 00:10:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by olgeni.olgeni (8.12.6/8.12.5) with ESMTP id g9CMAB0E074176; Sun, 13 Oct 2002 00:10:11 +0200 (CEST) (envelope-from olgeni@uli.it) Date: Sun, 13 Oct 2002 00:10:11 +0200 (CEST) From: Jimmy Olgeni X-X-Sender: olgeni@olgeni.olgeni To: Nate Lawson Cc: freebsd-scsi@FreeBSD.org Subject: Re: ciss driver & external devices In-Reply-To: Message-ID: <20021012234637.H74114-100000@olgeni.olgeni> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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 ciss0: active I/O method 0x3 ciss0: 4G page base 0x00000000 ciss0: interrupt coalesce delay 1000us ciss0: interrupt coalesce count 16 ciss0: max outstanding commands 1024 ciss0: bus types 0x2 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: Fixed Direct Access SCSI-0 device pass0: 135.168MB/s transfers da0 at ciss0 bus 0 target 0 lun 0 da0: 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