From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 26 16:10:02 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6A047B0 for ; Fri, 26 Apr 2013 16:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 34E3E10CA for ; Fri, 26 Apr 2013 16:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3QGA2Zm023664 for ; Fri, 26 Apr 2013 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3QGA2Ev023663; Fri, 26 Apr 2013 16:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 26 Apr 2013 16:10:02 GMT Resent-Message-Id: <201304261610.r3QGA2Ev023663@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, Andre Albsmeier Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72C45E74 for ; Fri, 26 Apr 2013 16:06:14 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.freebsd.org (Postfix) with ESMTP id DEFD710A3 for ; Fri, 26 Apr 2013 16:06:13 +0000 (UTC) Received: from mail3.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.13.6/8.13.6) with ESMTP id r3QG67sK000421 for ; Fri, 26 Apr 2013 18:06:07 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail3.siemens.de (8.13.6/8.13.6) with ESMTP id r3QG67kM021006 for ; Fri, 26 Apr 2013 18:06:07 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.6/8.14.6) id r3QG67mG039467 for FreeBSD-gnats-submit@freebsd.org; Fri, 26 Apr 2013 18:06:07 +0200 (CEST) Message-Id: <201304261606.r3QG6771094791@curry.mchp.siemens.de> Date: Fri, 26 Apr 2013 18:06:07 +0200 (CEST) From: Andre Albsmeier To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: kern/178183: ATAPI CDROM fails to attach correctly with ATA_CAM X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2013 16:10:02 -0000 >Number: 178183 >Category: kern >Synopsis: ATAPI CDROM fails to attach correctly with ATA_CAM >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 26 16:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Andre Albsmeier >Release: FreeBSD 9.1-STABLE i386 >Organization: >Environment: FreeBSD 9.1-STABLE ASUS CUBX-L DVD-Writer GH22LP20 Promise Ultra100 TX2 controller (PDC20268) ATA_CAM enabled in kernel >Description: The DVD-Writer is connected to the Promise controller. With ATA_CAM in the kernel, it fails to attach: (cd2:ata3:0:0:0): got CAM status 0x50 (cd2:ata3:0:0:0): fatal error, failed to attach to device (cd2:ata3:0:0:0): lost device, 4 refs (cd2:ata3:0:0:0): removing device entry It attaches properly with hint.ata.3.mode=PIO4. A harddrive attached to the Promise controller works as well. While some Promise controllers are known to have problems with ATAPI DMA it should be mentioned that the drive - attaches with FreeBSD-7.4 (of course without ATA_CAM) - attaches with FreeBSD-9.1 without ATA_CAM - attaches with FreeBSD-9.1 without ATA_CAM but with atapicam - attaches with FreeBSD-9.1 with ATA_CAM when connected to the mainboard's onboard PIIX4 controller. So it seems to be some problem with ATA_CAM and the controller but no controller-only issue. >How-To-Repeat: See above. >Fix: Unknown. If you want me to test something, just drop me note. >Release-Note: >Audit-Trail: >Unformatted: