From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 14 12:10:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9749106566B for ; Wed, 14 Oct 2009 12:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD108FC1A for ; Wed, 14 Oct 2009 12:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9ECA2Ej056455 for ; Wed, 14 Oct 2009 12:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9ECA2CU056454; Wed, 14 Oct 2009 12:10:02 GMT (envelope-from gnats) Resent-Date: Wed, 14 Oct 2009 12:10:02 GMT Resent-Message-Id: <200910141210.n9ECA2CU056454@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Warren Block Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 362A31065679 for ; Wed, 14 Oct 2009 12:00:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7948FC1D for ; Wed, 14 Oct 2009 12:00:39 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9EC0bCm022910 for ; Wed, 14 Oct 2009 12:00:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9EC0b3B022909; Wed, 14 Oct 2009 12:00:37 GMT (envelope-from nobody) Message-Id: <200910141200.n9EC0b3B022909@www.freebsd.org> Date: Wed, 14 Oct 2009 12:00:37 GMT From: Warren Block To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/139598: CAM reports "xptioctl: put "device pass" in your kernel config file" even when already present X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 12:10:03 -0000 >Number: 139598 >Category: misc >Synopsis: CAM reports "xptioctl: put "device pass" in your kernel config file" even when already present >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 14 12:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Warren Block >Release: 8.0-RC1 >Organization: >Environment: FreeBSD lightning 8.0-RC1 FreeBSD 8.0-RC1 #4: Wed Oct 14 04:51:37 MDT 2009 root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 >Description: CAM error message is wrong, reporting "device pass" is not present in the kernel even though the device is present. kernel config: ---------- include GENERIC ident LIGHTNING nocpu I486_CPU nocpu I586_CPU nooptions INET6 nooptions WITNESS nooptions INVARIANTS ---------- "device pass" is included in GENERIC. Adding it explicitly to the config file makes no difference. The device is an IDE DVDRW drive via a USB-to-IDE adapter. This error may occur with other types of devices using CAM, like USB memory card readers. /var/log/messages: ugen3.3: at usbus3 umass0: on usbus3 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:1:0:-1: Attached to scbus1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0 (probe0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) xptioctl: pass driver is not in the kernel xptioctl: put "device pass" in your kernel config file xptioctl: pass driver is not in the kernel xptioctl: put "device pass" in your kernel config file xptioctl: pass driver is not in the kernel xptioctl: put "device pass" in your kernel config file xptioctl: pass driver is not in the kernel xptioctl: put "device pass" in your kernel config file xptioctl: pass driver is not in the kernel xptioctl: put "device pass" in your kernel config file (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present >How-To-Repeat: Connect external USB DVD drive or other device that uses CAM. Check log messages. Verify that kernel already has "device pass" defined. >Fix: >Release-Note: >Audit-Trail: >Unformatted: