Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 17:41:44 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Jimmy Olgeni <olgeni@uli.it>
Cc:        freebsd-scsi@FreeBSD.org
Subject:   Re: ciss driver & external devices
Message-ID:  <Pine.BSF.4.21.0211261738030.87503-100000@root.org>
In-Reply-To: <20021012234637.H74114-100000@olgeni.olgeni>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry it's taken so long to reply.

On Sun, 13 Oct 2002, Jimmy Olgeni wrote:
> 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

Nothing out of the ordinary here.

> 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?]

Yes, your raid volume is just saying it doesn't support the extended
inquiry data requested.
 
> 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?

No, if it didn't show up in boot or camcontrol rescan, there's nothing
more you can do.

> 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? =)

The driver should be scanning all the valid target ids so hardwiring
wouldn't help.

I don't see anything in the above messages showing that the tape drive and
cdrw are even being scanned.  Are you sure you've enabled scanning for
them in the BIOS?  Are you sure they have a unique target id and the bus
is terminated properly?  Did this work in older versions of FreeBSD or
linux?  If so, what do they say about those devices?

-Nate


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?Pine.BSF.4.21.0211261738030.87503-100000>