Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 18:06:07 +0200 (CEST)
From:      Andre Albsmeier <Andre.Albsmeier@siemens.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/178183: ATAPI CDROM fails to attach correctly with ATA_CAM 
Message-ID:  <201304261606.r3QG6771094791@curry.mchp.siemens.de>
Resent-Message-ID: <201304261610.r3QGA2Ev023663@freefall.freebsd.org>

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

>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:



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