From owner-freebsd-current@FreeBSD.ORG Sun Feb 17 15:48:03 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D9FA16A41A for ; Sun, 17 Feb 2008 15:48:03 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 47B8E13C447 for ; Sun, 17 Feb 2008 15:48:02 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1111860rvb.43 for ; Sun, 17 Feb 2008 07:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=46Q1IViVoQ1Rz+UPxN4bGu8DWXHTjUarC+yJ0YhQffE=; b=nNusgJz6dBFoulC5MDTFaKyW7FZSBZSM9SjecK04cGFbssnk4OEWutOFcOU7qeDy84f11kglJZvyq/xShT97BAZ6CHs75EGzAmKKCbjofYZwq8fb0enf6YVuRmaPW+XDicDZg0pmTJ/hmbwwpnYzpDN+XuJPxkL5V+wamwwprVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=atsK1csK7gIoZHeXw47PnmQbHg520LlkNrPyyen8iWMNAujbxtP5Q1Lf0tw25AMOyQEXNjBsgSgUCmxAWAZBMCprNID9zUMmB2LQp7brqeGIPuOCdYlu7T0gMZmReKZj6zT9NFDjkMeJbWuGs0jTOc0/wZtwfYB8FqmUWYXbs/Q= Received: by 10.141.172.6 with SMTP id z6mr3211644rvo.80.1203263281319; Sun, 17 Feb 2008 07:48:01 -0800 (PST) Received: by 10.141.170.18 with HTTP; Sun, 17 Feb 2008 07:48:01 -0800 (PST) Message-ID: <2e77fc10802170748g757e569ejb079f849cf879668@mail.gmail.com> Date: Sun, 17 Feb 2008 15:48:01 +0000 From: "Niki Denev" Sender: ndenev@gmail.com To: "Justin T. Gibbs" In-Reply-To: <47B8547E.7080103@scsiguy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704182239.59842.gelsemap@superhero.nl> <31439.195.50.100.20.1176984826.squirrel@www.superhero.nl> <20080211184453.GA5605@dragon.NUXI.org> <2e77fc10802111330p738d2c93i9eb1189b307d732d@mail.gmail.com> <47B0C34E.7040804@samsco.org> <20080212010836.GA14441@dragon.NUXI.org> <2e77fc10802161506x5d790149lb688d221b0a96222@mail.gmail.com> <47B7D534.7000204@scsiguy.com> <2e77fc10802170142r51719253r682365fb7d274116@mail.gmail.com> <47B8547E.7080103@scsiguy.com> X-Google-Sender-Auth: a0bcd0737db5c319 Cc: freebsd-current@freebsd.org Subject: Re: Adaptec AHD U320 operating as only U160 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2008 15:48:03 -0000 On Feb 17, 2008 3:36 PM, Justin T. Gibbs wrote: > Niki Denev wrote: > > > > With aic79xx_osm.c 1.30 all of my U320 drives are detected as such. Thanks! > > I'm only wondering why with the latest version > > "cpi->transport_version" is set to 2, and > > then set to 4 on the next line? Probably you left it there for readability? > > It was an oversight. It seems that this section of code came from the > aic7xxx driver where, depending on controller model, the protocol version > must be reported differently. I missed some of the duplication when trying > to remove it in my last checkin. :-( Should be fixed now. > > > Nope, no SES enclosure, just plain 68pin scsi drives. > > I have now put version 1.30 of aic79xx_osm.c on two machines, > > One of them is running the Dtrace snapshot of 8.0-current > > with dual channel PCI-X Adaptec U320 controller (on a plain > > 32bit/33mhz pci slot) : > > > > ahd0@pci0:4:1:0: class=0x010000 card=0x00429005 chip=0x80129005 > > The error only occurs on rev B. controllers (0x10 reported in the PCI > revision register). The machine not reporting the error has an A4 > part. > > > Then there are several messages like this one too : > > Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 > > 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 > > Invalid command opcode. CAM will usually report the command that failed. > You don't see any other output? > > -- > Justin > > Sorry, I must have missed the full output : Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass0:ahd0:0:0:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 (pass0:ahd0:0:0:0): CAM Status: SCSI Status Error (pass0:ahd0:0:0:0): SCSI Status: Check Condition (pass0:ahd0:0:0:0): ILLEGAL REQUEST asc:20,0 (pass0:ahd0:0:0:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass0:ahd0:0:0:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 (pass0:ahd0:0:0:0): CAM Status: SCSI Status Error (pass0:ahd0:0:0:0): SCSI Status: Check Condition (pass0:ahd0:0:0:0): ILLEGAL REQUEST asc:20,0 (pass0:ahd0:0:0:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass1:ahd0:0:1:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 (pass1:ahd0:0:1:0): CAM Status: SCSI Status Error (pass1:ahd0:0:1:0): SCSI Status: Check Condition (pass1:ahd0:0:1:0): ILLEGAL REQUEST asc:20,0 (pass1:ahd0:0:1:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass1:ahd0:0:1:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 (pass1:ahd0:0:1:0): CAM Status: SCSI Status Error (pass1:ahd0:0:1:0): SCSI Status: Check Condition (pass1:ahd0:0:1:0): ILLEGAL REQUEST asc:20,0 (pass1:ahd0:0:1:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass2:ahd0:0:2:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 (pass2:ahd0:0:2:0): CAM Status: SCSI Status Error (pass2:ahd0:0:2:0): SCSI Status: Check Condition (pass2:ahd0:0:2:0): ILLEGAL REQUEST asc:20,0 (pass2:ahd0:0:2:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass2:ahd0:0:2:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 (pass2:ahd0:0:2:0): CAM Status: SCSI Status Error (pass2:ahd0:0:2:0): SCSI Status: Check Condition (pass2:ahd0:0:2:0): ILLEGAL REQUEST asc:20,0 (pass2:ahd0:0:2:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass3:ahd0:0:3:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 (pass3:ahd0:0:3:0): CAM Status: SCSI Status Error (pass3:ahd0:0:3:0): SCSI Status: Check Condition (pass3:ahd0:0:3:0): ILLEGAL REQUEST asc:20,0 (pass3:ahd0:0:3:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x20 0x0 0x2 0xcf 0x0 0x0 (pass3:ahd0:0:3:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 (pass3:ahd0:0:3:0): CAM Status: SCSI Status Error (pass3:ahd0:0:3:0): SCSI Status: Check Condition (pass3:ahd0:0:3:0): ILLEGAL REQUEST asc:20,0 (pass3:ahd0:0:3:0): Invalid command operation code field replaceable unit: 2: Command byte 0 bit 7 is invalid This is printed right after smartd (from smartmontools) is started, and I think it's what it causes these messages. I guess they are harmless too? --Niki