kern/178183: ATAPI CDROM fails to attach correctly with ATA_CAM

Andre Albsmeier Andre.Albsmeier at siemens.com
Fri Apr 26 16:10:02 UTC 2013


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


More information about the freebsd-bugs mailing list