Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 12:00:37 GMT
From:      Warren Block <wblock@wonkity.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/139598: CAM reports "xptioctl: put "device pass" in your kernel config file" even when already present
Message-ID:  <200910141200.n9EC0b3B022909@www.freebsd.org>
Resent-Message-ID: <200910141210.n9ECA2CU056454@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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: <vendor 0x059b> at usbus3
umass0: <vendor 0x059b USB 2.0 Storage Device, class 0/0, rev 2.00/1.03, addr 3> 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: <ATAPI DVD A  DH20A4P 9P59> 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910141200.n9EC0b3B022909>