From owner-freebsd-stable@FreeBSD.ORG Fri Jul 20 21:47:36 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 176ED16A468 for ; Fri, 20 Jul 2007 21:47:36 +0000 (UTC) (envelope-from urb@twe.net) Received: from xerox.twe.net (port334.ds1-ba.adsl.cybercity.dk [217.157.204.151]) by mx1.freebsd.org (Postfix) with ESMTP id 83B5C13C45E for ; Fri, 20 Jul 2007 21:47:35 +0000 (UTC) (envelope-from urb@twe.net) Received: from localhost (localhost [127.0.0.1]) by xerox.twe.net (Postfix) with ESMTP id B3140A2755 for ; Fri, 20 Jul 2007 23:47:33 +0200 (CEST) Received: from xerox.twe.net ([127.0.0.1]) by localhost (xerox.internt.twe.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06799-02 for ; Fri, 20 Jul 2007 23:43:42 +0200 (CEST) Received: by xerox.twe.net (Postfix, from userid 23) id 5C25DA2730; Fri, 20 Jul 2007 23:43:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on xerox.internt.twe.net X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.4 X-Spam-Level: Received: from [192.168.21.3] (port334.ds1-ba.adsl.cybercity.dk [217.157.204.151]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by xerox.twe.net (Postfix) with ESMTP id B4156A2755; Fri, 20 Jul 2007 23:43:35 +0200 (CEST) Message-ID: <46A12C87.30408@twe.net> Date: Fri, 20 Jul 2007 23:43:35 +0200 From: "Uffe R. B. Andersen" Organization: Andersen|nu User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: koitsu@FreeBSD.org References: <469E8589.8060105@twe.net> <20070718224051.GA17798@eos.sc1.parodius.com> In-Reply-To: <20070718224051.GA17798@eos.sc1.parodius.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at twe.net Cc: freebsd-stable Subject: Re: SCSI error during boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: urb@twe.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 21:47:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Chadwick wrote: > On Wed, Jul 18, 2007 at 11:26:33PM +0200, Uffe R. B. Andersen wrote: >> When I boot my FreeBSD 6.2-RELEASE-p6, I get the following error: >> >> (pass0:ahc0:0:0:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 e c 0 >> (pass0:ahc0:0:0:0): CAM Status: SCSI Status Error >> (pass0:ahc0:0:0:0): SCSI Status: Check Condition >> (pass0:ahc0:0:0:0): ILLEGAL REQUEST asc:20,0 >> (pass0:ahc0:0:0:0): Invalid command operation code: Command byte 0 is invalid >> {snip} >> pass0: Fixed Direct Access SCSI-3 device > > Your drive is a Quantum/Maxtor/Seagate Atlas V (presumably 10Krpm). Correct, it's about 8 years old, Quantum on the label. > The bottom line here is that your drive doesn't support a specific SCSI > command that's being submit to it. In this case, it looks to be harmless. That's nice to know, though I didn't expect it to be critical, as the disk has worked well for all 8 years, running with Windows 2000 and XP. >> smartctl shows no errors on the disk, but this error occur: >> (pass0:ahc0:0:0:0): MODE SENSE(06). CDB: 1a 0 19 0 40 0 >> (pass0:ahc0:0:0:0): CAM Status: SCSI Status Error >> (pass0:ahc0:0:0:0): SCSI Status: Check Condition >> (pass0:ahc0:0:0:0): ILLEGAL REQUEST asc:24,0 >> (pass0:ahc0:0:0:0): Invalid field in CDB: Command byte 2 is invalid > > That should only occur when you run smartctl. SCSI operation > ASC 0x24 0x00 for this drive means Invalid Field in CDB. Possibly > this is a drive firmware bug or simply an implementation difference; > I've seen similar reports from Seagate drives on Solaris when using > smartctl -a /dev/rdsk/whatever. The SMART results are shown, but it > throws an invalid CDB error on the console. Exactly what I experience. >> I tried booting the server on a Fedora 7 Live cd, ran smartctl and got >> no error, so I assume the error is in the FreeBSD drivers. > >> How do I proceed, to get a fix for this problem? > > It's not a "problem", but admittedly it should be fixed somehow. The So, who do I approach to get it fixed? I poked through the scsi quirks page, but didn't find anything obvious... > SCSI errors you get when using smartctl are something to discuss with > Bruce Allen (author of smartmontools): > > http://smartmontools.sourceforge.net/ Eventhough it does not appear when running smartctl from a Linux Live cd, nor back when it was still running XP? It appears more like a FreeBSD related issue to me, but I must admit that most of your technical explanations are well above my level and I might have missed some things. Thanks for your answer anyway :) - -- Med venlig hilsen - Sincerely Uffe R. B. Andersen - mailto:urb@twe.net http://www.twe.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGoSyHxC95nUQcrpgRAoFQAKD0VdIwzZqWBkcUH+3v+ncjm28W5QCgj8gU rRGRQB8aQCJ5oCTzzqlydpQ= =2m9u -----END PGP SIGNATURE-----