From owner-freebsd-current@FreeBSD.ORG Mon Jun 22 18:57:12 2009 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 CF3E5106564A for ; Mon, 22 Jun 2009 18:57:12 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0378FC28 for ; Mon, 22 Jun 2009 18:57:12 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:52771 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MIohQ-0006AP-5x for freebsd-current@freebsd.org; Mon, 22 Jun 2009 20:57:07 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 6F8EE2C8BB for ; Mon, 22 Jun 2009 20:57:00 +0200 (CEST) Message-Id: <78F1C3C2-679D-4580-A255-2D7B9C02022B@exscape.org> From: Thomas Backman To: FreeBSD current In-Reply-To: <462E2000-6856-46A7-B89C-03F9CE398F5E@exscape.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Mon, 22 Jun 2009 20:56:57 +0200 References: <462E2000-6856-46A7-B89C-03F9CE398F5E@exscape.org> X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MIohQ-0006AP-5x. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MIohQ-0006AP-5x eed386c0393f80cfb0e34fd3858fc057 Subject: Re: smartmontools/smartctl regression - CAMGETPASSTHRU ioctl failed 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: Mon, 22 Jun 2009 18:57:13 -0000 On Jun 20, 2009, at 11:27 AM, Thomas Backman wrote: > I know there have been some recent changes in the area (although TBH > I don't know what CAM is, so...). It used to work a few weeks ago > when I last checked, but now I get this: > > # smartctl -A /dev/da0 > smartctl version 5.38 [amd64-portbld-freebsd8.0] Copyright (C) > 2002-8 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > smartctl: cam_lookup_pass: CAMGETPASSTHRU ioctl failed > cam_lookup_pass: No such file or directory > cam_lookup_pass: either the pass driver isn't in your kernel > cam_lookup_pass: or da0 doesn't exist > Standard Inquiry (36 bytes) failed [Operation not permitted] > Retrying with a 64 byte Standard Inquiry > smartctl: cam_lookup_pass: CAMGETPASSTHRU ioctl failed > cam_lookup_pass: No such file or directory > cam_lookup_pass: either the pass driver isn't in your kernel > cam_lookup_pass: or da0 doesn't exist > Standard Inquiry (64 bytes) failed [Operation not permitted] > A mandatory SMART command failed: exiting. To continue, add one or > more '-T permissive' options. > --------------- > A rebuild of smartmontools did nothing. Am I missing a kernel option > or something? I'm running GENERIC plus DTRACE minus WITNESS/ > INVARIANTS, no other changes. > > Regards, > Thomas Oh, man. I'm such a moron. Or klutz, at least. "... or da0 doesn't exist" is indeed correct. The disks are ad* on this computer. I'm much too used to da* and didn't even think about the possibility that I might actually have the name wrong... Normally, I would stay quiet about it, but seeing how this is/was essentially a bug report, I guess I'll have to tell the truth: there was no bug here in my case. *blushes* Regards, Thomas